package org.panlab.software.officedl2.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.panlab.software.officedl2.services.OfficeDLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalOfficeDLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_INT", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import service description'", "';'", "'Office'", "'{'", "'name'", "'id'", "'description'", "'resourceURI'", "'APIGateway'", "'registeredUsers'", "','", "'}'", "'contributedTaxonomies'", "'offeredServices'", "'offeredServiceCompositions'", "'ResourceServiceContracts'", "'SLAs'", "'-'", "'Taxonomy'", "'hasScenarios'", "'('", "')'", "'hasServices'", "'taxonomies'", "'categories'", "'OfferedService'", "'requiresServices'", "'serviceSettings'", "'ServiceComposition'", "'ResourceServiceContract'", "'StartDate'", "'EndDate'", "'forOfferedService'", "'forOfferedResource'", "'availability'", "'SLA'", "'ValidFrom'", "'ValidUntil'", "'forVT'", "'ReservedRsources'", "'Account'", "'password'", "'username'", "'ResourcesProvider'", "'organization'", "'address'", "'telephone'", "'hasAccount'", "'offeredSiteList'", "'TestbedDesigner'", "'designsVirtualTestbeds'", "'Admin'", "'OfficeCustomer'", "'utilizesVirtualTestbed'", "'hasTestbedDesigner'", "'OfficePersonel'", "'Site'", "'ptm'", "'igwlist'", "'locatedAt'", "'offeredResourcesList'", "'PTM'", "'IP'", "'IGW'", "'SiteLocation'", "'geocoords'", "'OfferedResource'", "'resourceType'", "'multitonMaxOccur'", "'contributesToCategories'", "'requiresResources'", "'implOfferedService'", "'resourceSettings'", "'userExposed'", "'userEditable'", "'canBePublished'", "'ResourceSetting'", "'Readable'", "'Writable'", "'requiresParams'", "'OnlyConfiguredByResources'", "'implServiceSetting'", "'settingType'", "'settingConstraints'", "'ResourceCategory'", "'resourcelist'", "'Resource'", "'Service'", "'SettingConstraint'", "'AvailableAfterOperation'", "'RequiredBeforeOperation'", "'ForOperation'", "'AbstractSetting'", "'ServiceSetting'", "'mappedToResourceSettings'", "'providedByResources'", "'tideTypeString'", "'defaultValue'", "'tideTypeEnum'", "'tideEnumlist'", "'tideTypeList'", "'ContainsElementsOf'", "'tideTypeTideElement'", "'ofTideElement'", "'tideTypeEnumItem'", "'value'", "'Repeat'", "'Availability'", "'FromTime'", "'ToTime'", "'FromDate'", "'ToDate'", "'Repeatability'", "'RepeatUntil'", "'cost'", "'Cost'", "'perUnit'", "'Amount'", "'.'", "'E'", "'e'", "'ReservedResourceContract'", "'forResource'", "'SINGLETON'", "'MULTITON'", "'OP_CREATE'", "'OP_READ'", "'OP_UPDATE'", "'OP_DELETE'", "'DAILY'", "'WEEKLY'", "'MONTHLY'", "'YEARLY'", "'MIN'", "'HOUR'", "'DAY'", "'USAGE'", "'OTHER'"
};
public static final int RULE_ID=6;
public static final int T__29=29;
public static final int T__28=28;
public static final int T__27=27;
public static final int T__26=26;
public static final int T__25=25;
public static final int T__24=24;
public static final int T__23=23;
public static final int T__22=22;
public static final int RULE_ANY_OTHER=10;
public static final int T__21=21;
public static final int T__20=20;
public static final int EOF=-1;
public static final int T__93=93;
public static final int T__19=19;
public static final int T__94=94;
public static final int T__91=91;
public static final int T__92=92;
public static final int T__148=148;
public static final int T__16=16;
public static final int T__147=147;
public static final int T__15=15;
public static final int T__90=90;
public static final int T__18=18;
public static final int T__17=17;
public static final int T__12=12;
public static final int T__11=11;
public static final int T__14=14;
public static final int T__13=13;
public static final int T__99=99;
public static final int T__98=98;
public static final int T__97=97;
public static final int T__96=96;
public static final int T__95=95;
public static final int T__139=139;
public static final int T__138=138;
public static final int T__137=137;
public static final int T__136=136;
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 T__141=141;
public static final int T__85=85;
public static final int T__142=142;
public static final int T__84=84;
public static final int T__87=87;
public static final int T__140=140;
public static final int T__86=86;
public static final int T__145=145;
public static final int T__89=89;
public static final int T__146=146;
public static final int T__88=88;
public static final int RULE_ML_COMMENT=7;
public static final int T__143=143;
public static final int T__144=144;
public static final int T__126=126;
public static final int T__125=125;
public static final int T__128=128;
public static final int RULE_STRING=4;
public static final int T__127=127;
public static final int T__71=71;
public static final int T__129=129;
public static final int T__72=72;
public static final int T__70=70;
public static final int T__76=76;
public static final int T__75=75;
public static final int T__130=130;
public static final int T__74=74;
public static final int T__131=131;
public static final int T__73=73;
public static final int T__132=132;
public static final int T__133=133;
public static final int T__79=79;
public static final int T__134=134;
public static final int T__78=78;
public static final int T__135=135;
public static final int T__77=77;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__66=66;
public static final int T__67=67;
public static final int T__64=64;
public static final int T__65=65;
public static final int T__62=62;
public static final int T__63=63;
public static final int T__118=118;
public static final int T__119=119;
public static final int T__116=116;
public static final int T__117=117;
public static final int T__114=114;
public static final int T__115=115;
public static final int T__124=124;
public static final int T__123=123;
public static final int T__122=122;
public static final int T__121=121;
public static final int T__120=120;
public static final int T__61=61;
public static final int T__60=60;
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__107=107;
public static final int T__108=108;
public static final int T__109=109;
public static final int T__103=103;
public static final int T__59=59;
public static final int T__104=104;
public static final int T__105=105;
public static final int T__106=106;
public static final int T__111=111;
public static final int T__110=110;
public static final int RULE_INT=5;
public static final int T__113=113;
public static final int T__112=112;
public static final int T__50=50;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__102=102;
public static final int T__101=101;
public static final int T__100=100;
public static final int RULE_SL_COMMENT=8;
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__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__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int RULE_WS=9;
// delegates
// delegators
public InternalOfficeDLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalOfficeDLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalOfficeDLParser.tokenNames; }
public String getGrammarFileName() { return "../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g"; }
private OfficeDLGrammarAccess grammarAccess;
public InternalOfficeDLParser(TokenStream input, OfficeDLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "OfficeRule";
}
@Override
protected OfficeDLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleOfficeRule"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:68:1: entryRuleOfficeRule returns [EObject current=null] : iv_ruleOfficeRule= ruleOfficeRule EOF ;
public final EObject entryRuleOfficeRule() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfficeRule = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:69:2: (iv_ruleOfficeRule= ruleOfficeRule EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:70:2: iv_ruleOfficeRule= ruleOfficeRule EOF
{
newCompositeNode(grammarAccess.getOfficeRuleRule());
pushFollow(FOLLOW_ruleOfficeRule_in_entryRuleOfficeRule75);
iv_ruleOfficeRule=ruleOfficeRule();
state._fsp--;
current =iv_ruleOfficeRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficeRule85);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfficeRule"
// $ANTLR start "ruleOfficeRule"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:77:1: ruleOfficeRule returns [EObject current=null] : ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) ) ;
public final EObject ruleOfficeRule() throws RecognitionException {
EObject current = null;
EObject lv_imports_1_0 = null;
EObject lv_testbedOfficev_2_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:80:28: ( ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:81:1: ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:81:1: ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:81:2: () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:81:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:82:5:
{
current = forceCreateModelElement(
grammarAccess.getOfficeRuleAccess().getOfficeRuleAction_0(),
current);
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:87:2: ( (lv_imports_1_0= ruleImportOffice ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==11) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:88:1: (lv_imports_1_0= ruleImportOffice )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:88:1: (lv_imports_1_0= ruleImportOffice )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:89:3: lv_imports_1_0= ruleImportOffice
{
newCompositeNode(grammarAccess.getOfficeRuleAccess().getImportsImportOfficeParserRuleCall_1_0());
pushFollow(FOLLOW_ruleImportOffice_in_ruleOfficeRule140);
lv_imports_1_0=ruleImportOffice();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRuleRule());
}
add(
current,
"imports",
lv_imports_1_0,
"ImportOffice");
afterParserOrEnumRuleCall();
}
}
break;
default :
break loop1;
}
} while (true);
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:105:3: ( (lv_testbedOfficev_2_0= ruleOffice ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:106:1: (lv_testbedOfficev_2_0= ruleOffice )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:106:1: (lv_testbedOfficev_2_0= ruleOffice )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:107:3: lv_testbedOfficev_2_0= ruleOffice
{
newCompositeNode(grammarAccess.getOfficeRuleAccess().getTestbedOfficevOfficeParserRuleCall_2_0());
pushFollow(FOLLOW_ruleOffice_in_ruleOfficeRule162);
lv_testbedOfficev_2_0=ruleOffice();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRuleRule());
}
set(
current,
"testbedOfficev",
lv_testbedOfficev_2_0,
"Office");
afterParserOrEnumRuleCall();
}
}
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfficeRule"
// $ANTLR start "entryRuleImportOffice"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:131:1: entryRuleImportOffice returns [EObject current=null] : iv_ruleImportOffice= ruleImportOffice EOF ;
public final EObject entryRuleImportOffice() throws RecognitionException {
EObject current = null;
EObject iv_ruleImportOffice = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:132:2: (iv_ruleImportOffice= ruleImportOffice EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:133:2: iv_ruleImportOffice= ruleImportOffice EOF
{
newCompositeNode(grammarAccess.getImportOfficeRule());
pushFollow(FOLLOW_ruleImportOffice_in_entryRuleImportOffice198);
iv_ruleImportOffice=ruleImportOffice();
state._fsp--;
current =iv_ruleImportOffice;
match(input,EOF,FOLLOW_EOF_in_entryRuleImportOffice208);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleImportOffice"
// $ANTLR start "ruleImportOffice"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:140:1: ruleImportOffice returns [EObject current=null] : (otherlv_0= 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) otherlv_2= ';' ) ;
public final EObject ruleImportOffice() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_importURI_1_0=null;
Token otherlv_2=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:143:28: ( (otherlv_0= 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) otherlv_2= ';' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:144:1: (otherlv_0= 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) otherlv_2= ';' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:144:1: (otherlv_0= 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) otherlv_2= ';' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:144:3: otherlv_0= 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) otherlv_2= ';'
{
otherlv_0=(Token)match(input,11,FOLLOW_11_in_ruleImportOffice245);
newLeafNode(otherlv_0, grammarAccess.getImportOfficeAccess().getImportServiceDescriptionKeyword_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:148:1: ( (lv_importURI_1_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:149:1: (lv_importURI_1_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:149:1: (lv_importURI_1_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:150:3: lv_importURI_1_0= RULE_STRING
{
lv_importURI_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImportOffice262);
newLeafNode(lv_importURI_1_0, grammarAccess.getImportOfficeAccess().getImportURISTRINGTerminalRuleCall_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getImportOfficeRule());
}
setWithLastConsumed(
current,
"importURI",
lv_importURI_1_0,
"STRING");
}
}
otherlv_2=(Token)match(input,12,FOLLOW_12_in_ruleImportOffice279);
newLeafNode(otherlv_2, grammarAccess.getImportOfficeAccess().getSemicolonKeyword_2());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImportOffice"
// $ANTLR start "entryRuleOffice"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:178:1: entryRuleOffice returns [EObject current=null] : iv_ruleOffice= ruleOffice EOF ;
public final EObject entryRuleOffice() throws RecognitionException {
EObject current = null;
EObject iv_ruleOffice = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:179:2: (iv_ruleOffice= ruleOffice EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:180:2: iv_ruleOffice= ruleOffice EOF
{
newCompositeNode(grammarAccess.getOfficeRule());
pushFollow(FOLLOW_ruleOffice_in_entryRuleOffice315);
iv_ruleOffice=ruleOffice();
state._fsp--;
current =iv_ruleOffice;
match(input,EOF,FOLLOW_EOF_in_entryRuleOffice325);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOffice"
// $ANTLR start "ruleOffice"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:187:1: ruleOffice returns [EObject current=null] : ( () otherlv_1= 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )? (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )? (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )? (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )? (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )? (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ;
public final EObject ruleOffice() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_resourceURI_11_0=null;
Token otherlv_12=null;
Token lv_APIGateway_13_0=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_23=null;
Token otherlv_25=null;
Token otherlv_26=null;
Token otherlv_27=null;
Token otherlv_29=null;
Token otherlv_31=null;
Token otherlv_32=null;
Token otherlv_33=null;
Token otherlv_35=null;
Token otherlv_37=null;
Token otherlv_38=null;
Token otherlv_39=null;
Token otherlv_41=null;
Token otherlv_43=null;
Token otherlv_44=null;
Token otherlv_45=null;
Token otherlv_47=null;
Token otherlv_49=null;
Token otherlv_50=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_registeredUsers_16_0 = null;
EObject lv_registeredUsers_18_0 = null;
EObject lv_contributedTaxonomies_22_0 = null;
EObject lv_contributedTaxonomies_24_0 = null;
EObject lv_offeredServices_28_0 = null;
EObject lv_offeredServices_30_0 = null;
EObject lv_offeredServiceCompositions_34_0 = null;
EObject lv_offeredServiceCompositions_36_0 = null;
EObject lv_ResourceServiceContracts_40_0 = null;
EObject lv_ResourceServiceContracts_42_0 = null;
EObject lv_SLAs_46_0 = null;
EObject lv_SLAs_48_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:190:28: ( ( () otherlv_1= 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )? (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )? (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )? (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )? (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )? (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:191:1: ( () otherlv_1= 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )? (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )? (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )? (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )? (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )? (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )? otherlv_50= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:191:1: ( () otherlv_1= 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )? (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )? (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )? (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )? (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )? (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )? otherlv_50= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:191:2: () otherlv_1= 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )? (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )? (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )? (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )? (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )? (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )? otherlv_50= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:191:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:192:5:
{
current = forceCreateModelElement(
grammarAccess.getOfficeAccess().getOfficeAction_0(),
current);
}
otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleOffice371);
newLeafNode(otherlv_1, grammarAccess.getOfficeAccess().getOfficeKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:201:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:202:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:202:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:203:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice388);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getOfficeAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleOffice405);
newLeafNode(otherlv_3, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:223:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==15) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:223:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleOffice418);
newLeafNode(otherlv_4, grammarAccess.getOfficeAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:227:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:228:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:228:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:229:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice435);
newLeafNode(lv_name_5_0, grammarAccess.getOfficeAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:245:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==16) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:245:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleOffice455);
newLeafNode(otherlv_6, grammarAccess.getOfficeAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:249:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:250:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:250:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:251:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfficeAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOffice476);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:267:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==17) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:267:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleOffice491);
newLeafNode(otherlv_8, grammarAccess.getOfficeAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:271:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:272:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:272:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:273:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice508);
newLeafNode(lv_description_9_0, grammarAccess.getOfficeAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:289:4: (otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==18) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:289:6: otherlv_10= 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,18,FOLLOW_18_in_ruleOffice528);
newLeafNode(otherlv_10, grammarAccess.getOfficeAccess().getResourceURIKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:293:1: ( (lv_resourceURI_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:294:1: (lv_resourceURI_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:294:1: (lv_resourceURI_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:295:3: lv_resourceURI_11_0= RULE_STRING
{
lv_resourceURI_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice545);
newLeafNode(lv_resourceURI_11_0, grammarAccess.getOfficeAccess().getResourceURISTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeRule());
}
setWithLastConsumed(
current,
"resourceURI",
lv_resourceURI_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:311:4: (otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==19) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:311:6: otherlv_12= 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,19,FOLLOW_19_in_ruleOffice565);
newLeafNode(otherlv_12, grammarAccess.getOfficeAccess().getAPIGatewayKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:315:1: ( (lv_APIGateway_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:316:1: (lv_APIGateway_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:316:1: (lv_APIGateway_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:317:3: lv_APIGateway_13_0= RULE_STRING
{
lv_APIGateway_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice582);
newLeafNode(lv_APIGateway_13_0, grammarAccess.getOfficeAccess().getAPIGatewaySTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeRule());
}
setWithLastConsumed(
current,
"APIGateway",
lv_APIGateway_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:333:4: (otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}' )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==20) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:333:6: otherlv_14= 'registeredUsers' otherlv_15= '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* otherlv_19= '}'
{
otherlv_14=(Token)match(input,20,FOLLOW_20_in_ruleOffice602);
newLeafNode(otherlv_14, grammarAccess.getOfficeAccess().getRegisteredUsersKeyword_9_0());
otherlv_15=(Token)match(input,14,FOLLOW_14_in_ruleOffice614);
newLeafNode(otherlv_15, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_9_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:341:1: ( (lv_registeredUsers_16_0= ruleOfficeUser ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:342:1: (lv_registeredUsers_16_0= ruleOfficeUser )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:342:1: (lv_registeredUsers_16_0= ruleOfficeUser )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:343:3: lv_registeredUsers_16_0= ruleOfficeUser
{
newCompositeNode(grammarAccess.getOfficeAccess().getRegisteredUsersOfficeUserParserRuleCall_9_2_0());
pushFollow(FOLLOW_ruleOfficeUser_in_ruleOffice635);
lv_registeredUsers_16_0=ruleOfficeUser();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"registeredUsers",
lv_registeredUsers_16_0,
"OfficeUser");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:359:2: (otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )*
loop7:
do {
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==21) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:359:4: otherlv_17= ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) )
{
otherlv_17=(Token)match(input,21,FOLLOW_21_in_ruleOffice648);
newLeafNode(otherlv_17, grammarAccess.getOfficeAccess().getCommaKeyword_9_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:363:1: ( (lv_registeredUsers_18_0= ruleOfficeUser ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:364:1: (lv_registeredUsers_18_0= ruleOfficeUser )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:364:1: (lv_registeredUsers_18_0= ruleOfficeUser )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:365:3: lv_registeredUsers_18_0= ruleOfficeUser
{
newCompositeNode(grammarAccess.getOfficeAccess().getRegisteredUsersOfficeUserParserRuleCall_9_3_1_0());
pushFollow(FOLLOW_ruleOfficeUser_in_ruleOffice669);
lv_registeredUsers_18_0=ruleOfficeUser();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"registeredUsers",
lv_registeredUsers_18_0,
"OfficeUser");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop7;
}
} while (true);
otherlv_19=(Token)match(input,22,FOLLOW_22_in_ruleOffice683);
newLeafNode(otherlv_19, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_9_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:385:3: (otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}' )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==23) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:385:5: otherlv_20= 'contributedTaxonomies' otherlv_21= '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* otherlv_25= '}'
{
otherlv_20=(Token)match(input,23,FOLLOW_23_in_ruleOffice698);
newLeafNode(otherlv_20, grammarAccess.getOfficeAccess().getContributedTaxonomiesKeyword_10_0());
otherlv_21=(Token)match(input,14,FOLLOW_14_in_ruleOffice710);
newLeafNode(otherlv_21, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:393:1: ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:394:1: (lv_contributedTaxonomies_22_0= ruleTaxonomy )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:394:1: (lv_contributedTaxonomies_22_0= ruleTaxonomy )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:395:3: lv_contributedTaxonomies_22_0= ruleTaxonomy
{
newCompositeNode(grammarAccess.getOfficeAccess().getContributedTaxonomiesTaxonomyParserRuleCall_10_2_0());
pushFollow(FOLLOW_ruleTaxonomy_in_ruleOffice731);
lv_contributedTaxonomies_22_0=ruleTaxonomy();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"contributedTaxonomies",
lv_contributedTaxonomies_22_0,
"Taxonomy");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:411:2: (otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==21) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:411:4: otherlv_23= ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) )
{
otherlv_23=(Token)match(input,21,FOLLOW_21_in_ruleOffice744);
newLeafNode(otherlv_23, grammarAccess.getOfficeAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:415:1: ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:416:1: (lv_contributedTaxonomies_24_0= ruleTaxonomy )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:416:1: (lv_contributedTaxonomies_24_0= ruleTaxonomy )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:417:3: lv_contributedTaxonomies_24_0= ruleTaxonomy
{
newCompositeNode(grammarAccess.getOfficeAccess().getContributedTaxonomiesTaxonomyParserRuleCall_10_3_1_0());
pushFollow(FOLLOW_ruleTaxonomy_in_ruleOffice765);
lv_contributedTaxonomies_24_0=ruleTaxonomy();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"contributedTaxonomies",
lv_contributedTaxonomies_24_0,
"Taxonomy");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop9;
}
} while (true);
otherlv_25=(Token)match(input,22,FOLLOW_22_in_ruleOffice779);
newLeafNode(otherlv_25, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_10_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:437:3: (otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}' )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==24) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:437:5: otherlv_26= 'offeredServices' otherlv_27= '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* otherlv_31= '}'
{
otherlv_26=(Token)match(input,24,FOLLOW_24_in_ruleOffice794);
newLeafNode(otherlv_26, grammarAccess.getOfficeAccess().getOfferedServicesKeyword_11_0());
otherlv_27=(Token)match(input,14,FOLLOW_14_in_ruleOffice806);
newLeafNode(otherlv_27, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_11_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:445:1: ( (lv_offeredServices_28_0= ruleOfferedService ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:446:1: (lv_offeredServices_28_0= ruleOfferedService )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:446:1: (lv_offeredServices_28_0= ruleOfferedService )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:447:3: lv_offeredServices_28_0= ruleOfferedService
{
newCompositeNode(grammarAccess.getOfficeAccess().getOfferedServicesOfferedServiceParserRuleCall_11_2_0());
pushFollow(FOLLOW_ruleOfferedService_in_ruleOffice827);
lv_offeredServices_28_0=ruleOfferedService();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"offeredServices",
lv_offeredServices_28_0,
"OfferedService");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:463:2: (otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )*
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==21) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:463:4: otherlv_29= ',' ( (lv_offeredServices_30_0= ruleOfferedService ) )
{
otherlv_29=(Token)match(input,21,FOLLOW_21_in_ruleOffice840);
newLeafNode(otherlv_29, grammarAccess.getOfficeAccess().getCommaKeyword_11_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:467:1: ( (lv_offeredServices_30_0= ruleOfferedService ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:468:1: (lv_offeredServices_30_0= ruleOfferedService )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:468:1: (lv_offeredServices_30_0= ruleOfferedService )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:469:3: lv_offeredServices_30_0= ruleOfferedService
{
newCompositeNode(grammarAccess.getOfficeAccess().getOfferedServicesOfferedServiceParserRuleCall_11_3_1_0());
pushFollow(FOLLOW_ruleOfferedService_in_ruleOffice861);
lv_offeredServices_30_0=ruleOfferedService();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"offeredServices",
lv_offeredServices_30_0,
"OfferedService");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop11;
}
} while (true);
otherlv_31=(Token)match(input,22,FOLLOW_22_in_ruleOffice875);
newLeafNode(otherlv_31, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_11_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:489:3: (otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}' )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==25) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:489:5: otherlv_32= 'offeredServiceCompositions' otherlv_33= '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* otherlv_37= '}'
{
otherlv_32=(Token)match(input,25,FOLLOW_25_in_ruleOffice890);
newLeafNode(otherlv_32, grammarAccess.getOfficeAccess().getOfferedServiceCompositionsKeyword_12_0());
otherlv_33=(Token)match(input,14,FOLLOW_14_in_ruleOffice902);
newLeafNode(otherlv_33, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_12_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:497:1: ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:498:1: (lv_offeredServiceCompositions_34_0= ruleServiceComposition )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:498:1: (lv_offeredServiceCompositions_34_0= ruleServiceComposition )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:499:3: lv_offeredServiceCompositions_34_0= ruleServiceComposition
{
newCompositeNode(grammarAccess.getOfficeAccess().getOfferedServiceCompositionsServiceCompositionParserRuleCall_12_2_0());
pushFollow(FOLLOW_ruleServiceComposition_in_ruleOffice923);
lv_offeredServiceCompositions_34_0=ruleServiceComposition();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"offeredServiceCompositions",
lv_offeredServiceCompositions_34_0,
"ServiceComposition");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:515:2: (otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )*
loop13:
do {
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==21) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:515:4: otherlv_35= ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) )
{
otherlv_35=(Token)match(input,21,FOLLOW_21_in_ruleOffice936);
newLeafNode(otherlv_35, grammarAccess.getOfficeAccess().getCommaKeyword_12_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:519:1: ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:520:1: (lv_offeredServiceCompositions_36_0= ruleServiceComposition )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:520:1: (lv_offeredServiceCompositions_36_0= ruleServiceComposition )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:521:3: lv_offeredServiceCompositions_36_0= ruleServiceComposition
{
newCompositeNode(grammarAccess.getOfficeAccess().getOfferedServiceCompositionsServiceCompositionParserRuleCall_12_3_1_0());
pushFollow(FOLLOW_ruleServiceComposition_in_ruleOffice957);
lv_offeredServiceCompositions_36_0=ruleServiceComposition();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"offeredServiceCompositions",
lv_offeredServiceCompositions_36_0,
"ServiceComposition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop13;
}
} while (true);
otherlv_37=(Token)match(input,22,FOLLOW_22_in_ruleOffice971);
newLeafNode(otherlv_37, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_12_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:541:3: (otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}' )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==26) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:541:5: otherlv_38= 'ResourceServiceContracts' otherlv_39= '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* otherlv_43= '}'
{
otherlv_38=(Token)match(input,26,FOLLOW_26_in_ruleOffice986);
newLeafNode(otherlv_38, grammarAccess.getOfficeAccess().getResourceServiceContractsKeyword_13_0());
otherlv_39=(Token)match(input,14,FOLLOW_14_in_ruleOffice998);
newLeafNode(otherlv_39, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_13_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:549:1: ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:550:1: (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:550:1: (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:551:3: lv_ResourceServiceContracts_40_0= ruleResourceServiceContract
{
newCompositeNode(grammarAccess.getOfficeAccess().getResourceServiceContractsResourceServiceContractParserRuleCall_13_2_0());
pushFollow(FOLLOW_ruleResourceServiceContract_in_ruleOffice1019);
lv_ResourceServiceContracts_40_0=ruleResourceServiceContract();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"ResourceServiceContracts",
lv_ResourceServiceContracts_40_0,
"ResourceServiceContract");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:567:2: (otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )*
loop15:
do {
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==21) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:567:4: otherlv_41= ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) )
{
otherlv_41=(Token)match(input,21,FOLLOW_21_in_ruleOffice1032);
newLeafNode(otherlv_41, grammarAccess.getOfficeAccess().getCommaKeyword_13_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:571:1: ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:572:1: (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:572:1: (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:573:3: lv_ResourceServiceContracts_42_0= ruleResourceServiceContract
{
newCompositeNode(grammarAccess.getOfficeAccess().getResourceServiceContractsResourceServiceContractParserRuleCall_13_3_1_0());
pushFollow(FOLLOW_ruleResourceServiceContract_in_ruleOffice1053);
lv_ResourceServiceContracts_42_0=ruleResourceServiceContract();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"ResourceServiceContracts",
lv_ResourceServiceContracts_42_0,
"ResourceServiceContract");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop15;
}
} while (true);
otherlv_43=(Token)match(input,22,FOLLOW_22_in_ruleOffice1067);
newLeafNode(otherlv_43, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_13_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:593:3: (otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}' )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==27) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:593:5: otherlv_44= 'SLAs' otherlv_45= '{' ( (lv_SLAs_46_0= ruleSLA ) ) (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* otherlv_49= '}'
{
otherlv_44=(Token)match(input,27,FOLLOW_27_in_ruleOffice1082);
newLeafNode(otherlv_44, grammarAccess.getOfficeAccess().getSLAsKeyword_14_0());
otherlv_45=(Token)match(input,14,FOLLOW_14_in_ruleOffice1094);
newLeafNode(otherlv_45, grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_14_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:601:1: ( (lv_SLAs_46_0= ruleSLA ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:602:1: (lv_SLAs_46_0= ruleSLA )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:602:1: (lv_SLAs_46_0= ruleSLA )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:603:3: lv_SLAs_46_0= ruleSLA
{
newCompositeNode(grammarAccess.getOfficeAccess().getSLAsSLAParserRuleCall_14_2_0());
pushFollow(FOLLOW_ruleSLA_in_ruleOffice1115);
lv_SLAs_46_0=ruleSLA();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"SLAs",
lv_SLAs_46_0,
"SLA");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:619:2: (otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) ) )*
loop17:
do {
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==21) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:619:4: otherlv_47= ',' ( (lv_SLAs_48_0= ruleSLA ) )
{
otherlv_47=(Token)match(input,21,FOLLOW_21_in_ruleOffice1128);
newLeafNode(otherlv_47, grammarAccess.getOfficeAccess().getCommaKeyword_14_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:623:1: ( (lv_SLAs_48_0= ruleSLA ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:624:1: (lv_SLAs_48_0= ruleSLA )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:624:1: (lv_SLAs_48_0= ruleSLA )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:625:3: lv_SLAs_48_0= ruleSLA
{
newCompositeNode(grammarAccess.getOfficeAccess().getSLAsSLAParserRuleCall_14_3_1_0());
pushFollow(FOLLOW_ruleSLA_in_ruleOffice1149);
lv_SLAs_48_0=ruleSLA();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeRule());
}
add(
current,
"SLAs",
lv_SLAs_48_0,
"SLA");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop17;
}
} while (true);
otherlv_49=(Token)match(input,22,FOLLOW_22_in_ruleOffice1163);
newLeafNode(otherlv_49, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_14_4());
}
break;
}
otherlv_50=(Token)match(input,22,FOLLOW_22_in_ruleOffice1177);
newLeafNode(otherlv_50, grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_15());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOffice"
// $ANTLR start "entryRuleOfficeUser"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:657:1: entryRuleOfficeUser returns [EObject current=null] : iv_ruleOfficeUser= ruleOfficeUser EOF ;
public final EObject entryRuleOfficeUser() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfficeUser = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:658:2: (iv_ruleOfficeUser= ruleOfficeUser EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:659:2: iv_ruleOfficeUser= ruleOfficeUser EOF
{
newCompositeNode(grammarAccess.getOfficeUserRule());
pushFollow(FOLLOW_ruleOfficeUser_in_entryRuleOfficeUser1213);
iv_ruleOfficeUser=ruleOfficeUser();
state._fsp--;
current =iv_ruleOfficeUser;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficeUser1223);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfficeUser"
// $ANTLR start "ruleOfficeUser"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:666:1: ruleOfficeUser returns [EObject current=null] : (this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl | this_TestbedDesigner_1= ruleTestbedDesigner | this_Admin_2= ruleAdmin | this_OfficeCustomer_3= ruleOfficeCustomer | this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl ) ;
public final EObject ruleOfficeUser() throws RecognitionException {
EObject current = null;
EObject this_ResourcesProvider_Impl_0 = null;
EObject this_TestbedDesigner_1 = null;
EObject this_Admin_2 = null;
EObject this_OfficeCustomer_3 = null;
EObject this_OfficePersonel_Impl_4 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:669:28: ( (this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl | this_TestbedDesigner_1= ruleTestbedDesigner | this_Admin_2= ruleAdmin | this_OfficeCustomer_3= ruleOfficeCustomer | this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:670:1: (this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl | this_TestbedDesigner_1= ruleTestbedDesigner | this_Admin_2= ruleAdmin | this_OfficeCustomer_3= ruleOfficeCustomer | this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:670:1: (this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl | this_TestbedDesigner_1= ruleTestbedDesigner | this_Admin_2= ruleAdmin | this_OfficeCustomer_3= ruleOfficeCustomer | this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl )
int alt19=5;
switch ( input.LA(1) ) {
case 54:
{
alt19=1;
}
break;
case 60:
{
alt19=2;
}
break;
case 62:
{
alt19=3;
}
break;
case 63:
{
alt19=4;
}
break;
case 66:
{
alt19=5;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:671:5: this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl
{
newCompositeNode(grammarAccess.getOfficeUserAccess().getResourcesProvider_ImplParserRuleCall_0());
pushFollow(FOLLOW_ruleResourcesProvider_Impl_in_ruleOfficeUser1270);
this_ResourcesProvider_Impl_0=ruleResourcesProvider_Impl();
state._fsp--;
current = this_ResourcesProvider_Impl_0;
afterParserOrEnumRuleCall();
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:681:5: this_TestbedDesigner_1= ruleTestbedDesigner
{
newCompositeNode(grammarAccess.getOfficeUserAccess().getTestbedDesignerParserRuleCall_1());
pushFollow(FOLLOW_ruleTestbedDesigner_in_ruleOfficeUser1297);
this_TestbedDesigner_1=ruleTestbedDesigner();
state._fsp--;
current = this_TestbedDesigner_1;
afterParserOrEnumRuleCall();
}
break;
case 3 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:691:5: this_Admin_2= ruleAdmin
{
newCompositeNode(grammarAccess.getOfficeUserAccess().getAdminParserRuleCall_2());
pushFollow(FOLLOW_ruleAdmin_in_ruleOfficeUser1324);
this_Admin_2=ruleAdmin();
state._fsp--;
current = this_Admin_2;
afterParserOrEnumRuleCall();
}
break;
case 4 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:701:5: this_OfficeCustomer_3= ruleOfficeCustomer
{
newCompositeNode(grammarAccess.getOfficeUserAccess().getOfficeCustomerParserRuleCall_3());
pushFollow(FOLLOW_ruleOfficeCustomer_in_ruleOfficeUser1351);
this_OfficeCustomer_3=ruleOfficeCustomer();
state._fsp--;
current = this_OfficeCustomer_3;
afterParserOrEnumRuleCall();
}
break;
case 5 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:711:5: this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl
{
newCompositeNode(grammarAccess.getOfficeUserAccess().getOfficePersonel_ImplParserRuleCall_4());
pushFollow(FOLLOW_ruleOfficePersonel_Impl_in_ruleOfficeUser1378);
this_OfficePersonel_Impl_4=ruleOfficePersonel_Impl();
state._fsp--;
current = this_OfficePersonel_Impl_4;
afterParserOrEnumRuleCall();
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfficeUser"
// $ANTLR start "entryRuleSettingType"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:731:1: entryRuleSettingType returns [EObject current=null] : iv_ruleSettingType= ruleSettingType EOF ;
public final EObject entryRuleSettingType() throws RecognitionException {
EObject current = null;
EObject iv_ruleSettingType = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:732:2: (iv_ruleSettingType= ruleSettingType EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:733:2: iv_ruleSettingType= ruleSettingType EOF
{
newCompositeNode(grammarAccess.getSettingTypeRule());
pushFollow(FOLLOW_ruleSettingType_in_entryRuleSettingType1417);
iv_ruleSettingType=ruleSettingType();
state._fsp--;
current =iv_ruleSettingType;
match(input,EOF,FOLLOW_EOF_in_entryRuleSettingType1427);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSettingType"
// $ANTLR start "ruleSettingType"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:740:1: ruleSettingType returns [EObject current=null] : (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement ) ;
public final EObject ruleSettingType() throws RecognitionException {
EObject current = null;
EObject this_tideTypeString_0 = null;
EObject this_tideTypeEnum_1 = null;
EObject this_tideTypeList_2 = null;
EObject this_tideTypeTideElement_3 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:743:28: ( (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:744:1: (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:744:1: (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement )
int alt20=4;
switch ( input.LA(1) ) {
case 107:
{
alt20=1;
}
break;
case 109:
{
alt20=2;
}
break;
case 111:
{
alt20=3;
}
break;
case 113:
{
alt20=4;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:745:5: this_tideTypeString_0= ruletideTypeString
{
newCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeStringParserRuleCall_0());
pushFollow(FOLLOW_ruletideTypeString_in_ruleSettingType1474);
this_tideTypeString_0=ruletideTypeString();
state._fsp--;
current = this_tideTypeString_0;
afterParserOrEnumRuleCall();
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:755:5: this_tideTypeEnum_1= ruletideTypeEnum
{
newCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeEnumParserRuleCall_1());
pushFollow(FOLLOW_ruletideTypeEnum_in_ruleSettingType1501);
this_tideTypeEnum_1=ruletideTypeEnum();
state._fsp--;
current = this_tideTypeEnum_1;
afterParserOrEnumRuleCall();
}
break;
case 3 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:765:5: this_tideTypeList_2= ruletideTypeList
{
newCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeListParserRuleCall_2());
pushFollow(FOLLOW_ruletideTypeList_in_ruleSettingType1528);
this_tideTypeList_2=ruletideTypeList();
state._fsp--;
current = this_tideTypeList_2;
afterParserOrEnumRuleCall();
}
break;
case 4 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:775:5: this_tideTypeTideElement_3= ruletideTypeTideElement
{
newCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeTideElementParserRuleCall_3());
pushFollow(FOLLOW_ruletideTypeTideElement_in_ruleSettingType1555);
this_tideTypeTideElement_3=ruletideTypeTideElement();
state._fsp--;
current = this_tideTypeTideElement_3;
afterParserOrEnumRuleCall();
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSettingType"
// $ANTLR start "entryRuleEInt"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:795:1: entryRuleEInt returns [String current=null] : iv_ruleEInt= ruleEInt EOF ;
public final String entryRuleEInt() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleEInt = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:796:2: (iv_ruleEInt= ruleEInt EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:797:2: iv_ruleEInt= ruleEInt EOF
{
newCompositeNode(grammarAccess.getEIntRule());
pushFollow(FOLLOW_ruleEInt_in_entryRuleEInt1595);
iv_ruleEInt=ruleEInt();
state._fsp--;
current =iv_ruleEInt.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEInt1606);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEInt"
// $ANTLR start "ruleEInt"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:804:1: ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleEInt() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
Token this_INT_1=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:807:28: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:808:1: ( (kw= '-' )? this_INT_1= RULE_INT )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:808:1: ( (kw= '-' )? this_INT_1= RULE_INT )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:808:2: (kw= '-' )? this_INT_1= RULE_INT
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:808:2: (kw= '-' )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==28) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:809:2: kw= '-'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleEInt1645);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEIntAccess().getHyphenMinusKeyword_0());
}
break;
}
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEInt1662);
current.merge(this_INT_1);
newLeafNode(this_INT_1, grammarAccess.getEIntAccess().getINTTerminalRuleCall_1());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEInt"
// $ANTLR start "entryRuleTaxonomy"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:829:1: entryRuleTaxonomy returns [EObject current=null] : iv_ruleTaxonomy= ruleTaxonomy EOF ;
public final EObject entryRuleTaxonomy() throws RecognitionException {
EObject current = null;
EObject iv_ruleTaxonomy = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:830:2: (iv_ruleTaxonomy= ruleTaxonomy EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:831:2: iv_ruleTaxonomy= ruleTaxonomy EOF
{
newCompositeNode(grammarAccess.getTaxonomyRule());
pushFollow(FOLLOW_ruleTaxonomy_in_entryRuleTaxonomy1707);
iv_ruleTaxonomy=ruleTaxonomy();
state._fsp--;
current =iv_ruleTaxonomy;
match(input,EOF,FOLLOW_EOF_in_entryRuleTaxonomy1717);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTaxonomy"
// $ANTLR start "ruleTaxonomy"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:838:1: ruleTaxonomy returns [EObject current=null] : ( () otherlv_1= 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )? (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )? otherlv_34= '}' ) ;
public final EObject ruleTaxonomy() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_25=null;
Token otherlv_27=null;
Token otherlv_28=null;
Token otherlv_29=null;
Token otherlv_31=null;
Token otherlv_33=null;
Token otherlv_34=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_taxonomies_24_0 = null;
EObject lv_taxonomies_26_0 = null;
EObject lv_categories_30_0 = null;
EObject lv_categories_32_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:841:28: ( ( () otherlv_1= 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )? (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )? otherlv_34= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:842:1: ( () otherlv_1= 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )? (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )? otherlv_34= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:842:1: ( () otherlv_1= 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )? (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )? otherlv_34= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:842:2: () otherlv_1= 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )? (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )? otherlv_34= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:842:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:843:5:
{
current = forceCreateModelElement(
grammarAccess.getTaxonomyAccess().getTaxonomyAction_0(),
current);
}
otherlv_1=(Token)match(input,29,FOLLOW_29_in_ruleTaxonomy1763);
newLeafNode(otherlv_1, grammarAccess.getTaxonomyAccess().getTaxonomyKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:852:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:853:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:853:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:854:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1780);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTaxonomyAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleTaxonomy1797);
newLeafNode(otherlv_3, grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:874:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==15) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:874:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleTaxonomy1810);
newLeafNode(otherlv_4, grammarAccess.getTaxonomyAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:878:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:879:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:879:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:880:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1827);
newLeafNode(lv_name_5_0, grammarAccess.getTaxonomyAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:896:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==16) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:896:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleTaxonomy1847);
newLeafNode(otherlv_6, grammarAccess.getTaxonomyAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:900:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:901:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:901:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:902:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTaxonomyAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleTaxonomy1868);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTaxonomyRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:918:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==17) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:918:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleTaxonomy1883);
newLeafNode(otherlv_8, grammarAccess.getTaxonomyAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:922:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:923:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:923:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:924:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1900);
newLeafNode(lv_description_9_0, grammarAccess.getTaxonomyAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:940:4: (otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==30) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:940:6: otherlv_10= 'hasScenarios' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,30,FOLLOW_30_in_ruleTaxonomy1920);
newLeafNode(otherlv_10, grammarAccess.getTaxonomyAccess().getHasScenariosKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleTaxonomy1932);
newLeafNode(otherlv_11, grammarAccess.getTaxonomyAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:948:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:949:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:949:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:950:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1952);
newLeafNode(otherlv_12, grammarAccess.getTaxonomyAccess().getHasScenariosRequestedFederationScenarioCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:961:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop25:
do {
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==21) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:961:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleTaxonomy1965);
newLeafNode(otherlv_13, grammarAccess.getTaxonomyAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:965:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:966:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:966:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:967:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1985);
newLeafNode(otherlv_14, grammarAccess.getTaxonomyAccess().getHasScenariosRequestedFederationScenarioCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop25;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleTaxonomy1999);
newLeafNode(otherlv_15, grammarAccess.getTaxonomyAccess().getRightParenthesisKeyword_7_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:982:3: (otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==33) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:982:5: otherlv_16= 'hasServices' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')'
{
otherlv_16=(Token)match(input,33,FOLLOW_33_in_ruleTaxonomy2014);
newLeafNode(otherlv_16, grammarAccess.getTaxonomyAccess().getHasServicesKeyword_8_0());
otherlv_17=(Token)match(input,31,FOLLOW_31_in_ruleTaxonomy2026);
newLeafNode(otherlv_17, grammarAccess.getTaxonomyAccess().getLeftParenthesisKeyword_8_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:990:1: ( (otherlv_18= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:991:1: (otherlv_18= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:991:1: (otherlv_18= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:992:3: otherlv_18= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
otherlv_18=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy2046);
newLeafNode(otherlv_18, grammarAccess.getTaxonomyAccess().getHasServicesServiceCrossReference_8_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1003:2: (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==21) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1003:4: otherlv_19= ',' ( (otherlv_20= RULE_STRING ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleTaxonomy2059);
newLeafNode(otherlv_19, grammarAccess.getTaxonomyAccess().getCommaKeyword_8_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1007:1: ( (otherlv_20= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1008:1: (otherlv_20= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1008:1: (otherlv_20= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1009:3: otherlv_20= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTaxonomyRule());
}
otherlv_20=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy2079);
newLeafNode(otherlv_20, grammarAccess.getTaxonomyAccess().getHasServicesServiceCrossReference_8_3_1_0());
}
}
}
break;
default :
break loop27;
}
} while (true);
otherlv_21=(Token)match(input,32,FOLLOW_32_in_ruleTaxonomy2093);
newLeafNode(otherlv_21, grammarAccess.getTaxonomyAccess().getRightParenthesisKeyword_8_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1024:3: (otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}' )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==34) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1024:5: otherlv_22= 'taxonomies' otherlv_23= '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* otherlv_27= '}'
{
otherlv_22=(Token)match(input,34,FOLLOW_34_in_ruleTaxonomy2108);
newLeafNode(otherlv_22, grammarAccess.getTaxonomyAccess().getTaxonomiesKeyword_9_0());
otherlv_23=(Token)match(input,14,FOLLOW_14_in_ruleTaxonomy2120);
newLeafNode(otherlv_23, grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_9_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1032:1: ( (lv_taxonomies_24_0= ruleTaxonomy ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1033:1: (lv_taxonomies_24_0= ruleTaxonomy )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1033:1: (lv_taxonomies_24_0= ruleTaxonomy )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1034:3: lv_taxonomies_24_0= ruleTaxonomy
{
newCompositeNode(grammarAccess.getTaxonomyAccess().getTaxonomiesTaxonomyParserRuleCall_9_2_0());
pushFollow(FOLLOW_ruleTaxonomy_in_ruleTaxonomy2141);
lv_taxonomies_24_0=ruleTaxonomy();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTaxonomyRule());
}
add(
current,
"taxonomies",
lv_taxonomies_24_0,
"Taxonomy");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1050:2: (otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==21) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1050:4: otherlv_25= ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) )
{
otherlv_25=(Token)match(input,21,FOLLOW_21_in_ruleTaxonomy2154);
newLeafNode(otherlv_25, grammarAccess.getTaxonomyAccess().getCommaKeyword_9_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1054:1: ( (lv_taxonomies_26_0= ruleTaxonomy ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1055:1: (lv_taxonomies_26_0= ruleTaxonomy )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1055:1: (lv_taxonomies_26_0= ruleTaxonomy )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1056:3: lv_taxonomies_26_0= ruleTaxonomy
{
newCompositeNode(grammarAccess.getTaxonomyAccess().getTaxonomiesTaxonomyParserRuleCall_9_3_1_0());
pushFollow(FOLLOW_ruleTaxonomy_in_ruleTaxonomy2175);
lv_taxonomies_26_0=ruleTaxonomy();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTaxonomyRule());
}
add(
current,
"taxonomies",
lv_taxonomies_26_0,
"Taxonomy");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop29;
}
} while (true);
otherlv_27=(Token)match(input,22,FOLLOW_22_in_ruleTaxonomy2189);
newLeafNode(otherlv_27, grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_9_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1076:3: (otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}' )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==35) ) {
alt32=1;
}
switch (alt32) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1076:5: otherlv_28= 'categories' otherlv_29= '{' ( (lv_categories_30_0= ruleResourceCategory ) ) (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* otherlv_33= '}'
{
otherlv_28=(Token)match(input,35,FOLLOW_35_in_ruleTaxonomy2204);
newLeafNode(otherlv_28, grammarAccess.getTaxonomyAccess().getCategoriesKeyword_10_0());
otherlv_29=(Token)match(input,14,FOLLOW_14_in_ruleTaxonomy2216);
newLeafNode(otherlv_29, grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1084:1: ( (lv_categories_30_0= ruleResourceCategory ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1085:1: (lv_categories_30_0= ruleResourceCategory )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1085:1: (lv_categories_30_0= ruleResourceCategory )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1086:3: lv_categories_30_0= ruleResourceCategory
{
newCompositeNode(grammarAccess.getTaxonomyAccess().getCategoriesResourceCategoryParserRuleCall_10_2_0());
pushFollow(FOLLOW_ruleResourceCategory_in_ruleTaxonomy2237);
lv_categories_30_0=ruleResourceCategory();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTaxonomyRule());
}
add(
current,
"categories",
lv_categories_30_0,
"ResourceCategory");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1102:2: (otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )*
loop31:
do {
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==21) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1102:4: otherlv_31= ',' ( (lv_categories_32_0= ruleResourceCategory ) )
{
otherlv_31=(Token)match(input,21,FOLLOW_21_in_ruleTaxonomy2250);
newLeafNode(otherlv_31, grammarAccess.getTaxonomyAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1106:1: ( (lv_categories_32_0= ruleResourceCategory ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1107:1: (lv_categories_32_0= ruleResourceCategory )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1107:1: (lv_categories_32_0= ruleResourceCategory )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1108:3: lv_categories_32_0= ruleResourceCategory
{
newCompositeNode(grammarAccess.getTaxonomyAccess().getCategoriesResourceCategoryParserRuleCall_10_3_1_0());
pushFollow(FOLLOW_ruleResourceCategory_in_ruleTaxonomy2271);
lv_categories_32_0=ruleResourceCategory();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTaxonomyRule());
}
add(
current,
"categories",
lv_categories_32_0,
"ResourceCategory");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop31;
}
} while (true);
otherlv_33=(Token)match(input,22,FOLLOW_22_in_ruleTaxonomy2285);
newLeafNode(otherlv_33, grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_10_4());
}
break;
}
otherlv_34=(Token)match(input,22,FOLLOW_22_in_ruleTaxonomy2299);
newLeafNode(otherlv_34, grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_11());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTaxonomy"
// $ANTLR start "entryRuleOfferedService"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1140:1: entryRuleOfferedService returns [EObject current=null] : iv_ruleOfferedService= ruleOfferedService EOF ;
public final EObject entryRuleOfferedService() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfferedService = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1141:2: (iv_ruleOfferedService= ruleOfferedService EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1142:2: iv_ruleOfferedService= ruleOfferedService EOF
{
newCompositeNode(grammarAccess.getOfferedServiceRule());
pushFollow(FOLLOW_ruleOfferedService_in_entryRuleOfferedService2335);
iv_ruleOfferedService=ruleOfferedService();
state._fsp--;
current =iv_ruleOfferedService;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfferedService2345);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfferedService"
// $ANTLR start "ruleOfferedService"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1149:1: ruleOfferedService returns [EObject current=null] : ( () otherlv_1= 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) ;
public final EObject ruleOfferedService() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_21=null;
Token otherlv_22=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_serviceSettings_18_0 = null;
EObject lv_serviceSettings_20_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1152:28: ( ( () otherlv_1= 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1153:1: ( () otherlv_1= 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1153:1: ( () otherlv_1= 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1153:2: () otherlv_1= 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1153:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1154:5:
{
current = forceCreateModelElement(
grammarAccess.getOfferedServiceAccess().getOfferedServiceAction_0(),
current);
}
otherlv_1=(Token)match(input,36,FOLLOW_36_in_ruleOfferedService2391);
newLeafNode(otherlv_1, grammarAccess.getOfferedServiceAccess().getOfferedServiceKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1163:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1164:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1164:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1165:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2408);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getOfferedServiceAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedServiceRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleOfferedService2425);
newLeafNode(otherlv_3, grammarAccess.getOfferedServiceAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1185:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==15) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1185:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleOfferedService2438);
newLeafNode(otherlv_4, grammarAccess.getOfferedServiceAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1189:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1190:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1190:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1191:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2455);
newLeafNode(lv_name_5_0, grammarAccess.getOfferedServiceAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedServiceRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1207:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==16) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1207:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleOfferedService2475);
newLeafNode(otherlv_6, grammarAccess.getOfferedServiceAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1211:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1212:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1212:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1213:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfferedServiceAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedService2496);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedServiceRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1229:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==17) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1229:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleOfferedService2511);
newLeafNode(otherlv_8, grammarAccess.getOfferedServiceAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1233:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1234:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1234:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1235:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2528);
newLeafNode(lv_description_9_0, grammarAccess.getOfferedServiceAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedServiceRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1251:4: (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==37) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1251:6: otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,37,FOLLOW_37_in_ruleOfferedService2548);
newLeafNode(otherlv_10, grammarAccess.getOfferedServiceAccess().getRequiresServicesKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleOfferedService2560);
newLeafNode(otherlv_11, grammarAccess.getOfferedServiceAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1259:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1260:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1260:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1261:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedServiceRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2580);
newLeafNode(otherlv_12, grammarAccess.getOfferedServiceAccess().getRequiresServicesServiceCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1272:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop36:
do {
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==21) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1272:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleOfferedService2593);
newLeafNode(otherlv_13, grammarAccess.getOfferedServiceAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1276:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1277:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1277:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1278:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedServiceRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2613);
newLeafNode(otherlv_14, grammarAccess.getOfferedServiceAccess().getRequiresServicesServiceCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop36;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleOfferedService2627);
newLeafNode(otherlv_15, grammarAccess.getOfferedServiceAccess().getRightParenthesisKeyword_7_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1293:3: (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==38) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1293:5: otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}'
{
otherlv_16=(Token)match(input,38,FOLLOW_38_in_ruleOfferedService2642);
newLeafNode(otherlv_16, grammarAccess.getOfferedServiceAccess().getServiceSettingsKeyword_8_0());
otherlv_17=(Token)match(input,14,FOLLOW_14_in_ruleOfferedService2654);
newLeafNode(otherlv_17, grammarAccess.getOfferedServiceAccess().getLeftCurlyBracketKeyword_8_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1301:1: ( (lv_serviceSettings_18_0= ruleServiceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1302:1: (lv_serviceSettings_18_0= ruleServiceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1302:1: (lv_serviceSettings_18_0= ruleServiceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1303:3: lv_serviceSettings_18_0= ruleServiceSetting
{
newCompositeNode(grammarAccess.getOfferedServiceAccess().getServiceSettingsServiceSettingParserRuleCall_8_2_0());
pushFollow(FOLLOW_ruleServiceSetting_in_ruleOfferedService2675);
lv_serviceSettings_18_0=ruleServiceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedServiceRule());
}
add(
current,
"serviceSettings",
lv_serviceSettings_18_0,
"ServiceSetting");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1319:2: (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )*
loop38:
do {
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==21) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1319:4: otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleOfferedService2688);
newLeafNode(otherlv_19, grammarAccess.getOfferedServiceAccess().getCommaKeyword_8_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1323:1: ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1324:1: (lv_serviceSettings_20_0= ruleServiceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1324:1: (lv_serviceSettings_20_0= ruleServiceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1325:3: lv_serviceSettings_20_0= ruleServiceSetting
{
newCompositeNode(grammarAccess.getOfferedServiceAccess().getServiceSettingsServiceSettingParserRuleCall_8_3_1_0());
pushFollow(FOLLOW_ruleServiceSetting_in_ruleOfferedService2709);
lv_serviceSettings_20_0=ruleServiceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedServiceRule());
}
add(
current,
"serviceSettings",
lv_serviceSettings_20_0,
"ServiceSetting");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop38;
}
} while (true);
otherlv_21=(Token)match(input,22,FOLLOW_22_in_ruleOfferedService2723);
newLeafNode(otherlv_21, grammarAccess.getOfferedServiceAccess().getRightCurlyBracketKeyword_8_4());
}
break;
}
otherlv_22=(Token)match(input,22,FOLLOW_22_in_ruleOfferedService2737);
newLeafNode(otherlv_22, grammarAccess.getOfferedServiceAccess().getRightCurlyBracketKeyword_9());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfferedService"
// $ANTLR start "entryRuleServiceComposition"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1357:1: entryRuleServiceComposition returns [EObject current=null] : iv_ruleServiceComposition= ruleServiceComposition EOF ;
public final EObject entryRuleServiceComposition() throws RecognitionException {
EObject current = null;
EObject iv_ruleServiceComposition = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1358:2: (iv_ruleServiceComposition= ruleServiceComposition EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1359:2: iv_ruleServiceComposition= ruleServiceComposition EOF
{
newCompositeNode(grammarAccess.getServiceCompositionRule());
pushFollow(FOLLOW_ruleServiceComposition_in_entryRuleServiceComposition2773);
iv_ruleServiceComposition=ruleServiceComposition();
state._fsp--;
current =iv_ruleServiceComposition;
match(input,EOF,FOLLOW_EOF_in_entryRuleServiceComposition2783);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleServiceComposition"
// $ANTLR start "ruleServiceComposition"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1366:1: ruleServiceComposition returns [EObject current=null] : ( () otherlv_1= 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' ) ;
public final EObject ruleServiceComposition() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1369:28: ( ( () otherlv_1= 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1370:1: ( () otherlv_1= 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1370:1: ( () otherlv_1= 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1370:2: () otherlv_1= 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1370:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1371:5:
{
current = forceCreateModelElement(
grammarAccess.getServiceCompositionAccess().getServiceCompositionAction_0(),
current);
}
otherlv_1=(Token)match(input,39,FOLLOW_39_in_ruleServiceComposition2829);
newLeafNode(otherlv_1, grammarAccess.getServiceCompositionAccess().getServiceCompositionKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1380:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1381:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1381:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1382:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2846);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getServiceCompositionAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceCompositionRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleServiceComposition2863);
newLeafNode(otherlv_3, grammarAccess.getServiceCompositionAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1402:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==15) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1402:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleServiceComposition2876);
newLeafNode(otherlv_4, grammarAccess.getServiceCompositionAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1406:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1407:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1407:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1408:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2893);
newLeafNode(lv_name_5_0, grammarAccess.getServiceCompositionAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceCompositionRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1424:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==16) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1424:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleServiceComposition2913);
newLeafNode(otherlv_6, grammarAccess.getServiceCompositionAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1428:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1429:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1429:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1430:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getServiceCompositionAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleServiceComposition2934);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getServiceCompositionRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1446:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==17) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1446:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleServiceComposition2949);
newLeafNode(otherlv_8, grammarAccess.getServiceCompositionAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1450:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1451:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1451:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1452:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2966);
newLeafNode(lv_description_9_0, grammarAccess.getServiceCompositionAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceCompositionRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1468:4: (otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==33) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1468:6: otherlv_10= 'hasServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,33,FOLLOW_33_in_ruleServiceComposition2986);
newLeafNode(otherlv_10, grammarAccess.getServiceCompositionAccess().getHasServicesKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleServiceComposition2998);
newLeafNode(otherlv_11, grammarAccess.getServiceCompositionAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1476:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1477:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1477:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1478:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceCompositionRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition3018);
newLeafNode(otherlv_12, grammarAccess.getServiceCompositionAccess().getHasServicesServiceCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1489:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop43:
do {
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==21) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1489:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleServiceComposition3031);
newLeafNode(otherlv_13, grammarAccess.getServiceCompositionAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1493:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1494:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1494:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1495:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceCompositionRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition3051);
newLeafNode(otherlv_14, grammarAccess.getServiceCompositionAccess().getHasServicesServiceCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop43;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleServiceComposition3065);
newLeafNode(otherlv_15, grammarAccess.getServiceCompositionAccess().getRightParenthesisKeyword_7_4());
}
break;
}
otherlv_16=(Token)match(input,22,FOLLOW_22_in_ruleServiceComposition3079);
newLeafNode(otherlv_16, grammarAccess.getServiceCompositionAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleServiceComposition"
// $ANTLR start "entryRuleResourceServiceContract"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1522:1: entryRuleResourceServiceContract returns [EObject current=null] : iv_ruleResourceServiceContract= ruleResourceServiceContract EOF ;
public final EObject entryRuleResourceServiceContract() throws RecognitionException {
EObject current = null;
EObject iv_ruleResourceServiceContract = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1523:2: (iv_ruleResourceServiceContract= ruleResourceServiceContract EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1524:2: iv_ruleResourceServiceContract= ruleResourceServiceContract EOF
{
newCompositeNode(grammarAccess.getResourceServiceContractRule());
pushFollow(FOLLOW_ruleResourceServiceContract_in_entryRuleResourceServiceContract3115);
iv_ruleResourceServiceContract=ruleResourceServiceContract();
state._fsp--;
current =iv_ruleResourceServiceContract;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceServiceContract3125);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResourceServiceContract"
// $ANTLR start "ruleResourceServiceContract"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1531:1: ruleResourceServiceContract returns [EObject current=null] : (otherlv_0= 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) otherlv_11= 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) otherlv_13= 'forOfferedService' ( (otherlv_14= RULE_STRING ) ) otherlv_15= 'forOfferedResource' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? otherlv_19= '}' ) ;
public final EObject ruleResourceServiceContract() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_uniqueID_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_name_4_0=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token lv_description_8_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
AntlrDatatypeRuleToken lv_id_6_0 = null;
AntlrDatatypeRuleToken lv_StartDate_10_0 = null;
AntlrDatatypeRuleToken lv_EndDate_12_0 = null;
EObject lv_availability_18_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1534:28: ( (otherlv_0= 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) otherlv_11= 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) otherlv_13= 'forOfferedService' ( (otherlv_14= RULE_STRING ) ) otherlv_15= 'forOfferedResource' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? otherlv_19= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1535:1: (otherlv_0= 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) otherlv_11= 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) otherlv_13= 'forOfferedService' ( (otherlv_14= RULE_STRING ) ) otherlv_15= 'forOfferedResource' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? otherlv_19= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1535:1: (otherlv_0= 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) otherlv_11= 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) otherlv_13= 'forOfferedService' ( (otherlv_14= RULE_STRING ) ) otherlv_15= 'forOfferedResource' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? otherlv_19= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1535:3: otherlv_0= 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) otherlv_11= 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) otherlv_13= 'forOfferedService' ( (otherlv_14= RULE_STRING ) ) otherlv_15= 'forOfferedResource' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? otherlv_19= '}'
{
otherlv_0=(Token)match(input,40,FOLLOW_40_in_ruleResourceServiceContract3162);
newLeafNode(otherlv_0, grammarAccess.getResourceServiceContractAccess().getResourceServiceContractKeyword_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1539:1: ( (lv_uniqueID_1_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1540:1: (lv_uniqueID_1_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1540:1: (lv_uniqueID_1_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1541:3: lv_uniqueID_1_0= RULE_STRING
{
lv_uniqueID_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3179);
newLeafNode(lv_uniqueID_1_0, grammarAccess.getResourceServiceContractAccess().getUniqueIDSTRINGTerminalRuleCall_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceServiceContractRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_1_0,
"STRING");
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleResourceServiceContract3196);
newLeafNode(otherlv_2, grammarAccess.getResourceServiceContractAccess().getLeftCurlyBracketKeyword_2());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1561:1: (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )?
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==15) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1561:3: otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,15,FOLLOW_15_in_ruleResourceServiceContract3209);
newLeafNode(otherlv_3, grammarAccess.getResourceServiceContractAccess().getNameKeyword_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1565:1: ( (lv_name_4_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1566:1: (lv_name_4_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1566:1: (lv_name_4_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1567:3: lv_name_4_0= RULE_STRING
{
lv_name_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3226);
newLeafNode(lv_name_4_0, grammarAccess.getResourceServiceContractAccess().getNameSTRINGTerminalRuleCall_3_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceServiceContractRule());
}
setWithLastConsumed(
current,
"name",
lv_name_4_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1583:4: (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==16) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1583:6: otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) )
{
otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleResourceServiceContract3246);
newLeafNode(otherlv_5, grammarAccess.getResourceServiceContractAccess().getIdKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1587:1: ( (lv_id_6_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1588:1: (lv_id_6_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1588:1: (lv_id_6_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1589:3: lv_id_6_0= ruleEInt
{
newCompositeNode(grammarAccess.getResourceServiceContractAccess().getIdEIntParserRuleCall_4_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleResourceServiceContract3267);
lv_id_6_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceServiceContractRule());
}
set(
current,
"id",
lv_id_6_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1605:4: (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )?
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==17) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1605:6: otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) )
{
otherlv_7=(Token)match(input,17,FOLLOW_17_in_ruleResourceServiceContract3282);
newLeafNode(otherlv_7, grammarAccess.getResourceServiceContractAccess().getDescriptionKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1609:1: ( (lv_description_8_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1610:1: (lv_description_8_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1610:1: (lv_description_8_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1611:3: lv_description_8_0= RULE_STRING
{
lv_description_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3299);
newLeafNode(lv_description_8_0, grammarAccess.getResourceServiceContractAccess().getDescriptionSTRINGTerminalRuleCall_5_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceServiceContractRule());
}
setWithLastConsumed(
current,
"description",
lv_description_8_0,
"STRING");
}
}
}
break;
}
otherlv_9=(Token)match(input,41,FOLLOW_41_in_ruleResourceServiceContract3318);
newLeafNode(otherlv_9, grammarAccess.getResourceServiceContractAccess().getStartDateKeyword_6());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1631:1: ( (lv_StartDate_10_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1632:1: (lv_StartDate_10_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1632:1: (lv_StartDate_10_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1633:3: lv_StartDate_10_0= ruleEDate
{
newCompositeNode(grammarAccess.getResourceServiceContractAccess().getStartDateEDateParserRuleCall_7_0());
pushFollow(FOLLOW_ruleEDate_in_ruleResourceServiceContract3339);
lv_StartDate_10_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceServiceContractRule());
}
set(
current,
"StartDate",
lv_StartDate_10_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
otherlv_11=(Token)match(input,42,FOLLOW_42_in_ruleResourceServiceContract3351);
newLeafNode(otherlv_11, grammarAccess.getResourceServiceContractAccess().getEndDateKeyword_8());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1653:1: ( (lv_EndDate_12_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1654:1: (lv_EndDate_12_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1654:1: (lv_EndDate_12_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1655:3: lv_EndDate_12_0= ruleEDate
{
newCompositeNode(grammarAccess.getResourceServiceContractAccess().getEndDateEDateParserRuleCall_9_0());
pushFollow(FOLLOW_ruleEDate_in_ruleResourceServiceContract3372);
lv_EndDate_12_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceServiceContractRule());
}
set(
current,
"EndDate",
lv_EndDate_12_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
otherlv_13=(Token)match(input,43,FOLLOW_43_in_ruleResourceServiceContract3384);
newLeafNode(otherlv_13, grammarAccess.getResourceServiceContractAccess().getForOfferedServiceKeyword_10());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1675:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1676:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1676:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1677:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceServiceContractRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3404);
newLeafNode(otherlv_14, grammarAccess.getResourceServiceContractAccess().getForOfferedServiceServiceCrossReference_11_0());
}
}
otherlv_15=(Token)match(input,44,FOLLOW_44_in_ruleResourceServiceContract3416);
newLeafNode(otherlv_15, grammarAccess.getResourceServiceContractAccess().getForOfferedResourceKeyword_12());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1692:1: ( (otherlv_16= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1693:1: (otherlv_16= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1693:1: (otherlv_16= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1694:3: otherlv_16= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceServiceContractRule());
}
otherlv_16=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3436);
newLeafNode(otherlv_16, grammarAccess.getResourceServiceContractAccess().getForOfferedResourceOfferedResourceCrossReference_13_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1705:2: (otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )?
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==45) ) {
alt48=1;
}
switch (alt48) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1705:4: otherlv_17= 'availability' ( (lv_availability_18_0= ruleAvailability ) )
{
otherlv_17=(Token)match(input,45,FOLLOW_45_in_ruleResourceServiceContract3449);
newLeafNode(otherlv_17, grammarAccess.getResourceServiceContractAccess().getAvailabilityKeyword_14_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1709:1: ( (lv_availability_18_0= ruleAvailability ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1710:1: (lv_availability_18_0= ruleAvailability )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1710:1: (lv_availability_18_0= ruleAvailability )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1711:3: lv_availability_18_0= ruleAvailability
{
newCompositeNode(grammarAccess.getResourceServiceContractAccess().getAvailabilityAvailabilityParserRuleCall_14_1_0());
pushFollow(FOLLOW_ruleAvailability_in_ruleResourceServiceContract3470);
lv_availability_18_0=ruleAvailability();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceServiceContractRule());
}
set(
current,
"availability",
lv_availability_18_0,
"Availability");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_19=(Token)match(input,22,FOLLOW_22_in_ruleResourceServiceContract3484);
newLeafNode(otherlv_19, grammarAccess.getResourceServiceContractAccess().getRightCurlyBracketKeyword_15());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResourceServiceContract"
// $ANTLR start "entryRuleSLA"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1739:1: entryRuleSLA returns [EObject current=null] : iv_ruleSLA= ruleSLA EOF ;
public final EObject entryRuleSLA() throws RecognitionException {
EObject current = null;
EObject iv_ruleSLA = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1740:2: (iv_ruleSLA= ruleSLA EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1741:2: iv_ruleSLA= ruleSLA EOF
{
newCompositeNode(grammarAccess.getSLARule());
pushFollow(FOLLOW_ruleSLA_in_entryRuleSLA3520);
iv_ruleSLA=ruleSLA();
state._fsp--;
current =iv_ruleSLA;
match(input,EOF,FOLLOW_EOF_in_entryRuleSLA3530);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSLA"
// $ANTLR start "ruleSLA"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1748:1: ruleSLA returns [EObject current=null] : ( () otherlv_1= 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )? (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) ;
public final EObject ruleSLA() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_21=null;
Token otherlv_22=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
AntlrDatatypeRuleToken lv_ValidFrom_11_0 = null;
AntlrDatatypeRuleToken lv_ValidUntil_13_0 = null;
EObject lv_ReservedRsources_18_0 = null;
EObject lv_ReservedRsources_20_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1751:28: ( ( () otherlv_1= 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )? (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1752:1: ( () otherlv_1= 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )? (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1752:1: ( () otherlv_1= 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )? (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1752:2: () otherlv_1= 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )? (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )? otherlv_22= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1752:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1753:5:
{
current = forceCreateModelElement(
grammarAccess.getSLAAccess().getSLAAction_0(),
current);
}
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleSLA3576);
newLeafNode(otherlv_1, grammarAccess.getSLAAccess().getSLAKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1762:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1763:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1763:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1764:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3593);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getSLAAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getSLARule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleSLA3610);
newLeafNode(otherlv_3, grammarAccess.getSLAAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1784:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==15) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1784:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleSLA3623);
newLeafNode(otherlv_4, grammarAccess.getSLAAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1788:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1789:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1789:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1790:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3640);
newLeafNode(lv_name_5_0, grammarAccess.getSLAAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSLARule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1806:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==16) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1806:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleSLA3660);
newLeafNode(otherlv_6, grammarAccess.getSLAAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1810:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1811:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1811:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1812:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getSLAAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleSLA3681);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSLARule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1828:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==17) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1828:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleSLA3696);
newLeafNode(otherlv_8, grammarAccess.getSLAAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1832:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1833:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1833:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1834:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3713);
newLeafNode(lv_description_9_0, grammarAccess.getSLAAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSLARule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1850:4: (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )?
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==47) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1850:6: otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) )
{
otherlv_10=(Token)match(input,47,FOLLOW_47_in_ruleSLA3733);
newLeafNode(otherlv_10, grammarAccess.getSLAAccess().getValidFromKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1854:1: ( (lv_ValidFrom_11_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1855:1: (lv_ValidFrom_11_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1855:1: (lv_ValidFrom_11_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1856:3: lv_ValidFrom_11_0= ruleEDate
{
newCompositeNode(grammarAccess.getSLAAccess().getValidFromEDateParserRuleCall_7_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleSLA3754);
lv_ValidFrom_11_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSLARule());
}
set(
current,
"ValidFrom",
lv_ValidFrom_11_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1872:4: (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )?
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==48) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1872:6: otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) )
{
otherlv_12=(Token)match(input,48,FOLLOW_48_in_ruleSLA3769);
newLeafNode(otherlv_12, grammarAccess.getSLAAccess().getValidUntilKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1876:1: ( (lv_ValidUntil_13_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1877:1: (lv_ValidUntil_13_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1877:1: (lv_ValidUntil_13_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1878:3: lv_ValidUntil_13_0= ruleEDate
{
newCompositeNode(grammarAccess.getSLAAccess().getValidUntilEDateParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleSLA3790);
lv_ValidUntil_13_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSLARule());
}
set(
current,
"ValidUntil",
lv_ValidUntil_13_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1894:4: (otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==49) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1894:6: otherlv_14= 'forVT' ( (otherlv_15= RULE_STRING ) )
{
otherlv_14=(Token)match(input,49,FOLLOW_49_in_ruleSLA3805);
newLeafNode(otherlv_14, grammarAccess.getSLAAccess().getForVTKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1898:1: ( (otherlv_15= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1899:1: (otherlv_15= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1899:1: (otherlv_15= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1900:3: otherlv_15= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getSLARule());
}
otherlv_15=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3825);
newLeafNode(otherlv_15, grammarAccess.getSLAAccess().getForVTRequestedFederationScenarioCrossReference_9_1_0());
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1911:4: (otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}' )?
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==50) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1911:6: otherlv_16= 'ReservedRsources' otherlv_17= '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* otherlv_21= '}'
{
otherlv_16=(Token)match(input,50,FOLLOW_50_in_ruleSLA3840);
newLeafNode(otherlv_16, grammarAccess.getSLAAccess().getReservedRsourcesKeyword_10_0());
otherlv_17=(Token)match(input,14,FOLLOW_14_in_ruleSLA3852);
newLeafNode(otherlv_17, grammarAccess.getSLAAccess().getLeftCurlyBracketKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1919:1: ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1920:1: (lv_ReservedRsources_18_0= ruleReservedResourceContract )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1920:1: (lv_ReservedRsources_18_0= ruleReservedResourceContract )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1921:3: lv_ReservedRsources_18_0= ruleReservedResourceContract
{
newCompositeNode(grammarAccess.getSLAAccess().getReservedRsourcesReservedResourceContractParserRuleCall_10_2_0());
pushFollow(FOLLOW_ruleReservedResourceContract_in_ruleSLA3873);
lv_ReservedRsources_18_0=ruleReservedResourceContract();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSLARule());
}
add(
current,
"ReservedRsources",
lv_ReservedRsources_18_0,
"ReservedResourceContract");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1937:2: (otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )*
loop55:
do {
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==21) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1937:4: otherlv_19= ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleSLA3886);
newLeafNode(otherlv_19, grammarAccess.getSLAAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1941:1: ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1942:1: (lv_ReservedRsources_20_0= ruleReservedResourceContract )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1942:1: (lv_ReservedRsources_20_0= ruleReservedResourceContract )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1943:3: lv_ReservedRsources_20_0= ruleReservedResourceContract
{
newCompositeNode(grammarAccess.getSLAAccess().getReservedRsourcesReservedResourceContractParserRuleCall_10_3_1_0());
pushFollow(FOLLOW_ruleReservedResourceContract_in_ruleSLA3907);
lv_ReservedRsources_20_0=ruleReservedResourceContract();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSLARule());
}
add(
current,
"ReservedRsources",
lv_ReservedRsources_20_0,
"ReservedResourceContract");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop55;
}
} while (true);
otherlv_21=(Token)match(input,22,FOLLOW_22_in_ruleSLA3921);
newLeafNode(otherlv_21, grammarAccess.getSLAAccess().getRightCurlyBracketKeyword_10_4());
}
break;
}
otherlv_22=(Token)match(input,22,FOLLOW_22_in_ruleSLA3935);
newLeafNode(otherlv_22, grammarAccess.getSLAAccess().getRightCurlyBracketKeyword_11());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSLA"
// $ANTLR start "entryRuleAccount"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1975:1: entryRuleAccount returns [EObject current=null] : iv_ruleAccount= ruleAccount EOF ;
public final EObject entryRuleAccount() throws RecognitionException {
EObject current = null;
EObject iv_ruleAccount = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1976:2: (iv_ruleAccount= ruleAccount EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1977:2: iv_ruleAccount= ruleAccount EOF
{
newCompositeNode(grammarAccess.getAccountRule());
pushFollow(FOLLOW_ruleAccount_in_entryRuleAccount3971);
iv_ruleAccount=ruleAccount();
state._fsp--;
current =iv_ruleAccount;
match(input,EOF,FOLLOW_EOF_in_entryRuleAccount3981);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAccount"
// $ANTLR start "ruleAccount"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1984:1: ruleAccount returns [EObject current=null] : ( () otherlv_1= 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )? (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )? otherlv_14= '}' ) ;
public final EObject ruleAccount() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_password_11_0=null;
Token otherlv_12=null;
Token lv_username_13_0=null;
Token otherlv_14=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1987:28: ( ( () otherlv_1= 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )? (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )? otherlv_14= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1988:1: ( () otherlv_1= 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )? (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )? otherlv_14= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1988:1: ( () otherlv_1= 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )? (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )? otherlv_14= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1988:2: () otherlv_1= 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )? (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )? otherlv_14= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1988:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1989:5:
{
current = forceCreateModelElement(
grammarAccess.getAccountAccess().getAccountAction_0(),
current);
}
otherlv_1=(Token)match(input,51,FOLLOW_51_in_ruleAccount4027);
newLeafNode(otherlv_1, grammarAccess.getAccountAccess().getAccountKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1998:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1999:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:1999:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2000:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount4044);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getAccountAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getAccountRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleAccount4061);
newLeafNode(otherlv_3, grammarAccess.getAccountAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2020:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==15) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2020:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleAccount4074);
newLeafNode(otherlv_4, grammarAccess.getAccountAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2024:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2025:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2025:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2026:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount4091);
newLeafNode(lv_name_5_0, grammarAccess.getAccountAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAccountRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2042:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==16) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2042:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleAccount4111);
newLeafNode(otherlv_6, grammarAccess.getAccountAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2046:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2047:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2047:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2048:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getAccountAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleAccount4132);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAccountRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2064:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==17) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2064:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleAccount4147);
newLeafNode(otherlv_8, grammarAccess.getAccountAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2068:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2069:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2069:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2070:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount4164);
newLeafNode(lv_description_9_0, grammarAccess.getAccountAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAccountRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2086:4: (otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) ) )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==52) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2086:6: otherlv_10= 'password' ( (lv_password_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,52,FOLLOW_52_in_ruleAccount4184);
newLeafNode(otherlv_10, grammarAccess.getAccountAccess().getPasswordKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2090:1: ( (lv_password_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2091:1: (lv_password_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2091:1: (lv_password_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2092:3: lv_password_11_0= RULE_STRING
{
lv_password_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount4201);
newLeafNode(lv_password_11_0, grammarAccess.getAccountAccess().getPasswordSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAccountRule());
}
setWithLastConsumed(
current,
"password",
lv_password_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2108:4: (otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) ) )?
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==53) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2108:6: otherlv_12= 'username' ( (lv_username_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,53,FOLLOW_53_in_ruleAccount4221);
newLeafNode(otherlv_12, grammarAccess.getAccountAccess().getUsernameKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2112:1: ( (lv_username_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2113:1: (lv_username_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2113:1: (lv_username_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2114:3: lv_username_13_0= RULE_STRING
{
lv_username_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount4238);
newLeafNode(lv_username_13_0, grammarAccess.getAccountAccess().getUsernameSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAccountRule());
}
setWithLastConsumed(
current,
"username",
lv_username_13_0,
"STRING");
}
}
}
break;
}
otherlv_14=(Token)match(input,22,FOLLOW_22_in_ruleAccount4257);
newLeafNode(otherlv_14, grammarAccess.getAccountAccess().getRightCurlyBracketKeyword_9());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAccount"
// $ANTLR start "entryRuleResourcesProvider_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2142:1: entryRuleResourcesProvider_Impl returns [EObject current=null] : iv_ruleResourcesProvider_Impl= ruleResourcesProvider_Impl EOF ;
public final EObject entryRuleResourcesProvider_Impl() throws RecognitionException {
EObject current = null;
EObject iv_ruleResourcesProvider_Impl = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2143:2: (iv_ruleResourcesProvider_Impl= ruleResourcesProvider_Impl EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2144:2: iv_ruleResourcesProvider_Impl= ruleResourcesProvider_Impl EOF
{
newCompositeNode(grammarAccess.getResourcesProvider_ImplRule());
pushFollow(FOLLOW_ruleResourcesProvider_Impl_in_entryRuleResourcesProvider_Impl4293);
iv_ruleResourcesProvider_Impl=ruleResourcesProvider_Impl();
state._fsp--;
current =iv_ruleResourcesProvider_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourcesProvider_Impl4303);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResourcesProvider_Impl"
// $ANTLR start "ruleResourcesProvider_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2151:1: ruleResourcesProvider_Impl returns [EObject current=null] : ( () otherlv_1= 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) ;
public final EObject ruleResourcesProvider_Impl() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_organization_11_0=null;
Token otherlv_12=null;
Token lv_address_13_0=null;
Token otherlv_14=null;
Token lv_telephone_15_0=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_21=null;
Token otherlv_23=null;
Token otherlv_24=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_17_0 = null;
EObject lv_offeredSiteList_20_0 = null;
EObject lv_offeredSiteList_22_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2154:28: ( ( () otherlv_1= 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2155:1: ( () otherlv_1= 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )? otherlv_24= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2155:1: ( () otherlv_1= 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )? otherlv_24= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2155:2: () otherlv_1= 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )? otherlv_24= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2155:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2156:5:
{
current = forceCreateModelElement(
grammarAccess.getResourcesProvider_ImplAccess().getResourcesProviderAction_0(),
current);
}
otherlv_1=(Token)match(input,54,FOLLOW_54_in_ruleResourcesProvider_Impl4349);
newLeafNode(otherlv_1, grammarAccess.getResourcesProvider_ImplAccess().getResourcesProviderKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2165:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2166:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2166:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2167:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4366);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getResourcesProvider_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleResourcesProvider_Impl4383);
newLeafNode(otherlv_3, grammarAccess.getResourcesProvider_ImplAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2187:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==15) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2187:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleResourcesProvider_Impl4396);
newLeafNode(otherlv_4, grammarAccess.getResourcesProvider_ImplAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2191:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2192:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2192:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2193:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4413);
newLeafNode(lv_name_5_0, grammarAccess.getResourcesProvider_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2209:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==16) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2209:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleResourcesProvider_Impl4433);
newLeafNode(otherlv_6, grammarAccess.getResourcesProvider_ImplAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2213:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2214:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2214:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2215:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleResourcesProvider_Impl4454);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourcesProvider_ImplRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2231:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt64=2;
int LA64_0 = input.LA(1);
if ( (LA64_0==17) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2231:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleResourcesProvider_Impl4469);
newLeafNode(otherlv_8, grammarAccess.getResourcesProvider_ImplAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2235:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2236:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2236:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2237:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4486);
newLeafNode(lv_description_9_0, grammarAccess.getResourcesProvider_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2253:4: (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )?
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==55) ) {
alt65=1;
}
switch (alt65) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2253:6: otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,55,FOLLOW_55_in_ruleResourcesProvider_Impl4506);
newLeafNode(otherlv_10, grammarAccess.getResourcesProvider_ImplAccess().getOrganizationKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2257:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2258:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2258:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2259:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4523);
newLeafNode(lv_organization_11_0, grammarAccess.getResourcesProvider_ImplAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"organization",
lv_organization_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2275:4: (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )?
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==56) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2275:6: otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,56,FOLLOW_56_in_ruleResourcesProvider_Impl4543);
newLeafNode(otherlv_12, grammarAccess.getResourcesProvider_ImplAccess().getAddressKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2279:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2280:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2280:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2281:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4560);
newLeafNode(lv_address_13_0, grammarAccess.getResourcesProvider_ImplAccess().getAddressSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"address",
lv_address_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2297:4: (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==57) ) {
alt67=1;
}
switch (alt67) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2297:6: otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,57,FOLLOW_57_in_ruleResourcesProvider_Impl4580);
newLeafNode(otherlv_14, grammarAccess.getResourcesProvider_ImplAccess().getTelephoneKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2301:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2302:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2302:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2303:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4597);
newLeafNode(lv_telephone_15_0, grammarAccess.getResourcesProvider_ImplAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourcesProvider_ImplRule());
}
setWithLastConsumed(
current,
"telephone",
lv_telephone_15_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2319:4: (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )?
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==58) ) {
alt68=1;
}
switch (alt68) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2319:6: otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
otherlv_16=(Token)match(input,58,FOLLOW_58_in_ruleResourcesProvider_Impl4617);
newLeafNode(otherlv_16, grammarAccess.getResourcesProvider_ImplAccess().getHasAccountKeyword_10_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2323:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2324:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2324:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2325:3: lv_hasAccount_17_0= ruleAccount
{
newCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getHasAccountAccountParserRuleCall_10_1_0());
pushFollow(FOLLOW_ruleAccount_in_ruleResourcesProvider_Impl4638);
lv_hasAccount_17_0=ruleAccount();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourcesProvider_ImplRule());
}
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2341:4: (otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}' )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==59) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2341:6: otherlv_18= 'offeredSiteList' otherlv_19= '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* otherlv_23= '}'
{
otherlv_18=(Token)match(input,59,FOLLOW_59_in_ruleResourcesProvider_Impl4653);
newLeafNode(otherlv_18, grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListKeyword_11_0());
otherlv_19=(Token)match(input,14,FOLLOW_14_in_ruleResourcesProvider_Impl4665);
newLeafNode(otherlv_19, grammarAccess.getResourcesProvider_ImplAccess().getLeftCurlyBracketKeyword_11_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2349:1: ( (lv_offeredSiteList_20_0= ruleSite ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2350:1: (lv_offeredSiteList_20_0= ruleSite )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2350:1: (lv_offeredSiteList_20_0= ruleSite )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2351:3: lv_offeredSiteList_20_0= ruleSite
{
newCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListSiteParserRuleCall_11_2_0());
pushFollow(FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4686);
lv_offeredSiteList_20_0=ruleSite();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourcesProvider_ImplRule());
}
add(
current,
"offeredSiteList",
lv_offeredSiteList_20_0,
"Site");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2367:2: (otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )*
loop69:
do {
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==21) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2367:4: otherlv_21= ',' ( (lv_offeredSiteList_22_0= ruleSite ) )
{
otherlv_21=(Token)match(input,21,FOLLOW_21_in_ruleResourcesProvider_Impl4699);
newLeafNode(otherlv_21, grammarAccess.getResourcesProvider_ImplAccess().getCommaKeyword_11_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2371:1: ( (lv_offeredSiteList_22_0= ruleSite ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2372:1: (lv_offeredSiteList_22_0= ruleSite )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2372:1: (lv_offeredSiteList_22_0= ruleSite )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2373:3: lv_offeredSiteList_22_0= ruleSite
{
newCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListSiteParserRuleCall_11_3_1_0());
pushFollow(FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4720);
lv_offeredSiteList_22_0=ruleSite();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourcesProvider_ImplRule());
}
add(
current,
"offeredSiteList",
lv_offeredSiteList_22_0,
"Site");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop69;
}
} while (true);
otherlv_23=(Token)match(input,22,FOLLOW_22_in_ruleResourcesProvider_Impl4734);
newLeafNode(otherlv_23, grammarAccess.getResourcesProvider_ImplAccess().getRightCurlyBracketKeyword_11_4());
}
break;
}
otherlv_24=(Token)match(input,22,FOLLOW_22_in_ruleResourcesProvider_Impl4748);
newLeafNode(otherlv_24, grammarAccess.getResourcesProvider_ImplAccess().getRightCurlyBracketKeyword_12());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResourcesProvider_Impl"
// $ANTLR start "entryRuleTestbedDesigner"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2405:1: entryRuleTestbedDesigner returns [EObject current=null] : iv_ruleTestbedDesigner= ruleTestbedDesigner EOF ;
public final EObject entryRuleTestbedDesigner() throws RecognitionException {
EObject current = null;
EObject iv_ruleTestbedDesigner = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2406:2: (iv_ruleTestbedDesigner= ruleTestbedDesigner EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2407:2: iv_ruleTestbedDesigner= ruleTestbedDesigner EOF
{
newCompositeNode(grammarAccess.getTestbedDesignerRule());
pushFollow(FOLLOW_ruleTestbedDesigner_in_entryRuleTestbedDesigner4784);
iv_ruleTestbedDesigner=ruleTestbedDesigner();
state._fsp--;
current =iv_ruleTestbedDesigner;
match(input,EOF,FOLLOW_EOF_in_entryRuleTestbedDesigner4794);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTestbedDesigner"
// $ANTLR start "ruleTestbedDesigner"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2414:1: ruleTestbedDesigner returns [EObject current=null] : ( () otherlv_1= 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? otherlv_24= '}' ) ;
public final EObject ruleTestbedDesigner() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_organization_11_0=null;
Token otherlv_12=null;
Token lv_address_13_0=null;
Token otherlv_14=null;
Token lv_telephone_15_0=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_24=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_23_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2417:28: ( ( () otherlv_1= 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? otherlv_24= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2418:1: ( () otherlv_1= 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? otherlv_24= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2418:1: ( () otherlv_1= 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? otherlv_24= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2418:2: () otherlv_1= 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? otherlv_24= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2418:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2419:5:
{
current = forceCreateModelElement(
grammarAccess.getTestbedDesignerAccess().getTestbedDesignerAction_0(),
current);
}
otherlv_1=(Token)match(input,60,FOLLOW_60_in_ruleTestbedDesigner4840);
newLeafNode(otherlv_1, grammarAccess.getTestbedDesignerAccess().getTestbedDesignerKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2428:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2429:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2429:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2430:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4857);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTestbedDesignerAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleTestbedDesigner4874);
newLeafNode(otherlv_3, grammarAccess.getTestbedDesignerAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2450:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==15) ) {
alt71=1;
}
switch (alt71) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2450:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleTestbedDesigner4887);
newLeafNode(otherlv_4, grammarAccess.getTestbedDesignerAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2454:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2455:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2455:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2456:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4904);
newLeafNode(lv_name_5_0, grammarAccess.getTestbedDesignerAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2472:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==16) ) {
alt72=1;
}
switch (alt72) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2472:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleTestbedDesigner4924);
newLeafNode(otherlv_6, grammarAccess.getTestbedDesignerAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2476:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2477:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2477:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2478:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTestbedDesignerAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleTestbedDesigner4945);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTestbedDesignerRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2494:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==17) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2494:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleTestbedDesigner4960);
newLeafNode(otherlv_8, grammarAccess.getTestbedDesignerAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2498:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2499:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2499:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2500:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4977);
newLeafNode(lv_description_9_0, grammarAccess.getTestbedDesignerAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2516:4: (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )?
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==55) ) {
alt74=1;
}
switch (alt74) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2516:6: otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,55,FOLLOW_55_in_ruleTestbedDesigner4997);
newLeafNode(otherlv_10, grammarAccess.getTestbedDesignerAccess().getOrganizationKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2520:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2521:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2521:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2522:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner5014);
newLeafNode(lv_organization_11_0, grammarAccess.getTestbedDesignerAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"organization",
lv_organization_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2538:4: (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )?
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==56) ) {
alt75=1;
}
switch (alt75) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2538:6: otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,56,FOLLOW_56_in_ruleTestbedDesigner5034);
newLeafNode(otherlv_12, grammarAccess.getTestbedDesignerAccess().getAddressKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2542:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2543:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2543:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2544:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner5051);
newLeafNode(lv_address_13_0, grammarAccess.getTestbedDesignerAccess().getAddressSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"address",
lv_address_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2560:4: (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )?
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==57) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2560:6: otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,57,FOLLOW_57_in_ruleTestbedDesigner5071);
newLeafNode(otherlv_14, grammarAccess.getTestbedDesignerAccess().getTelephoneKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2564:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2565:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2565:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2566:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner5088);
newLeafNode(lv_telephone_15_0, grammarAccess.getTestbedDesignerAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
setWithLastConsumed(
current,
"telephone",
lv_telephone_15_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2582:4: (otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )?
int alt78=2;
int LA78_0 = input.LA(1);
if ( (LA78_0==61) ) {
alt78=1;
}
switch (alt78) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2582:6: otherlv_16= 'designsVirtualTestbeds' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')'
{
otherlv_16=(Token)match(input,61,FOLLOW_61_in_ruleTestbedDesigner5108);
newLeafNode(otherlv_16, grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsKeyword_10_0());
otherlv_17=(Token)match(input,31,FOLLOW_31_in_ruleTestbedDesigner5120);
newLeafNode(otherlv_17, grammarAccess.getTestbedDesignerAccess().getLeftParenthesisKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2590:1: ( (otherlv_18= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2591:1: (otherlv_18= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2591:1: (otherlv_18= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2592:3: otherlv_18= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
otherlv_18=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner5140);
newLeafNode(otherlv_18, grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsRequestedFederationScenarioCrossReference_10_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2603:2: (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )*
loop77:
do {
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==21) ) {
alt77=1;
}
switch (alt77) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2603:4: otherlv_19= ',' ( (otherlv_20= RULE_STRING ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleTestbedDesigner5153);
newLeafNode(otherlv_19, grammarAccess.getTestbedDesignerAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2607:1: ( (otherlv_20= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2608:1: (otherlv_20= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2608:1: (otherlv_20= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2609:3: otherlv_20= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTestbedDesignerRule());
}
otherlv_20=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner5173);
newLeafNode(otherlv_20, grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsRequestedFederationScenarioCrossReference_10_3_1_0());
}
}
}
break;
default :
break loop77;
}
} while (true);
otherlv_21=(Token)match(input,32,FOLLOW_32_in_ruleTestbedDesigner5187);
newLeafNode(otherlv_21, grammarAccess.getTestbedDesignerAccess().getRightParenthesisKeyword_10_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2624:3: (otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )?
int alt79=2;
int LA79_0 = input.LA(1);
if ( (LA79_0==58) ) {
alt79=1;
}
switch (alt79) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2624:5: otherlv_22= 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) )
{
otherlv_22=(Token)match(input,58,FOLLOW_58_in_ruleTestbedDesigner5202);
newLeafNode(otherlv_22, grammarAccess.getTestbedDesignerAccess().getHasAccountKeyword_11_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2628:1: ( (lv_hasAccount_23_0= ruleAccount ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2629:1: (lv_hasAccount_23_0= ruleAccount )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2629:1: (lv_hasAccount_23_0= ruleAccount )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2630:3: lv_hasAccount_23_0= ruleAccount
{
newCompositeNode(grammarAccess.getTestbedDesignerAccess().getHasAccountAccountParserRuleCall_11_1_0());
pushFollow(FOLLOW_ruleAccount_in_ruleTestbedDesigner5223);
lv_hasAccount_23_0=ruleAccount();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTestbedDesignerRule());
}
set(
current,
"hasAccount",
lv_hasAccount_23_0,
"Account");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_24=(Token)match(input,22,FOLLOW_22_in_ruleTestbedDesigner5237);
newLeafNode(otherlv_24, grammarAccess.getTestbedDesignerAccess().getRightCurlyBracketKeyword_12());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTestbedDesigner"
// $ANTLR start "entryRuleAdmin"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2658:1: entryRuleAdmin returns [EObject current=null] : iv_ruleAdmin= ruleAdmin EOF ;
public final EObject entryRuleAdmin() throws RecognitionException {
EObject current = null;
EObject iv_ruleAdmin = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2659:2: (iv_ruleAdmin= ruleAdmin EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2660:2: iv_ruleAdmin= ruleAdmin EOF
{
newCompositeNode(grammarAccess.getAdminRule());
pushFollow(FOLLOW_ruleAdmin_in_entryRuleAdmin5273);
iv_ruleAdmin=ruleAdmin();
state._fsp--;
current =iv_ruleAdmin;
match(input,EOF,FOLLOW_EOF_in_entryRuleAdmin5283);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAdmin"
// $ANTLR start "ruleAdmin"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2667:1: ruleAdmin returns [EObject current=null] : ( () otherlv_1= 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' ) ;
public final EObject ruleAdmin() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_organization_11_0=null;
Token otherlv_12=null;
Token lv_address_13_0=null;
Token otherlv_14=null;
Token lv_telephone_15_0=null;
Token otherlv_16=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_17_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2670:28: ( ( () otherlv_1= 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2671:1: ( () otherlv_1= 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2671:1: ( () otherlv_1= 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2671:2: () otherlv_1= 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2671:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2672:5:
{
current = forceCreateModelElement(
grammarAccess.getAdminAccess().getAdminAction_0(),
current);
}
otherlv_1=(Token)match(input,62,FOLLOW_62_in_ruleAdmin5329);
newLeafNode(otherlv_1, grammarAccess.getAdminAccess().getAdminKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2681:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2682:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2682:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2683:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5346);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getAdminAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleAdmin5363);
newLeafNode(otherlv_3, grammarAccess.getAdminAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2703:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==15) ) {
alt80=1;
}
switch (alt80) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2703:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleAdmin5376);
newLeafNode(otherlv_4, grammarAccess.getAdminAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2707:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2708:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2708:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2709:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5393);
newLeafNode(lv_name_5_0, grammarAccess.getAdminAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2725:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt81=2;
int LA81_0 = input.LA(1);
if ( (LA81_0==16) ) {
alt81=1;
}
switch (alt81) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2725:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleAdmin5413);
newLeafNode(otherlv_6, grammarAccess.getAdminAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2729:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2730:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2730:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2731:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getAdminAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleAdmin5434);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAdminRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2747:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt82=2;
int LA82_0 = input.LA(1);
if ( (LA82_0==17) ) {
alt82=1;
}
switch (alt82) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2747:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleAdmin5449);
newLeafNode(otherlv_8, grammarAccess.getAdminAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2751:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2752:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2752:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2753:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5466);
newLeafNode(lv_description_9_0, grammarAccess.getAdminAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2769:4: (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )?
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==55) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2769:6: otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,55,FOLLOW_55_in_ruleAdmin5486);
newLeafNode(otherlv_10, grammarAccess.getAdminAccess().getOrganizationKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2773:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2774:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2774:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2775:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5503);
newLeafNode(lv_organization_11_0, grammarAccess.getAdminAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"organization",
lv_organization_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2791:4: (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )?
int alt84=2;
int LA84_0 = input.LA(1);
if ( (LA84_0==56) ) {
alt84=1;
}
switch (alt84) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2791:6: otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,56,FOLLOW_56_in_ruleAdmin5523);
newLeafNode(otherlv_12, grammarAccess.getAdminAccess().getAddressKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2795:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2796:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2796:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2797:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5540);
newLeafNode(lv_address_13_0, grammarAccess.getAdminAccess().getAddressSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"address",
lv_address_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2813:4: (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )?
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==57) ) {
alt85=1;
}
switch (alt85) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2813:6: otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,57,FOLLOW_57_in_ruleAdmin5560);
newLeafNode(otherlv_14, grammarAccess.getAdminAccess().getTelephoneKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2817:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2818:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2818:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2819:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5577);
newLeafNode(lv_telephone_15_0, grammarAccess.getAdminAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAdminRule());
}
setWithLastConsumed(
current,
"telephone",
lv_telephone_15_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2835:4: (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )?
int alt86=2;
int LA86_0 = input.LA(1);
if ( (LA86_0==58) ) {
alt86=1;
}
switch (alt86) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2835:6: otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
otherlv_16=(Token)match(input,58,FOLLOW_58_in_ruleAdmin5597);
newLeafNode(otherlv_16, grammarAccess.getAdminAccess().getHasAccountKeyword_10_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2839:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2840:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2840:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2841:3: lv_hasAccount_17_0= ruleAccount
{
newCompositeNode(grammarAccess.getAdminAccess().getHasAccountAccountParserRuleCall_10_1_0());
pushFollow(FOLLOW_ruleAccount_in_ruleAdmin5618);
lv_hasAccount_17_0=ruleAccount();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAdminRule());
}
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_18=(Token)match(input,22,FOLLOW_22_in_ruleAdmin5632);
newLeafNode(otherlv_18, grammarAccess.getAdminAccess().getRightCurlyBracketKeyword_11());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAdmin"
// $ANTLR start "entryRuleOfficeCustomer"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2869:1: entryRuleOfficeCustomer returns [EObject current=null] : iv_ruleOfficeCustomer= ruleOfficeCustomer EOF ;
public final EObject entryRuleOfficeCustomer() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfficeCustomer = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2870:2: (iv_ruleOfficeCustomer= ruleOfficeCustomer EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2871:2: iv_ruleOfficeCustomer= ruleOfficeCustomer EOF
{
newCompositeNode(grammarAccess.getOfficeCustomerRule());
pushFollow(FOLLOW_ruleOfficeCustomer_in_entryRuleOfficeCustomer5668);
iv_ruleOfficeCustomer=ruleOfficeCustomer();
state._fsp--;
current =iv_ruleOfficeCustomer;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficeCustomer5678);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfficeCustomer"
// $ANTLR start "ruleOfficeCustomer"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2878:1: ruleOfficeCustomer returns [EObject current=null] : ( () otherlv_1= 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )? (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? otherlv_26= '}' ) ;
public final EObject ruleOfficeCustomer() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_organization_11_0=null;
Token otherlv_12=null;
Token lv_address_13_0=null;
Token otherlv_14=null;
Token lv_telephone_15_0=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_24=null;
Token otherlv_26=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_25_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2881:28: ( ( () otherlv_1= 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )? (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? otherlv_26= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2882:1: ( () otherlv_1= 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )? (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? otherlv_26= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2882:1: ( () otherlv_1= 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )? (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? otherlv_26= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2882:2: () otherlv_1= 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )? (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? otherlv_26= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2882:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2883:5:
{
current = forceCreateModelElement(
grammarAccess.getOfficeCustomerAccess().getOfficeCustomerAction_0(),
current);
}
otherlv_1=(Token)match(input,63,FOLLOW_63_in_ruleOfficeCustomer5724);
newLeafNode(otherlv_1, grammarAccess.getOfficeCustomerAccess().getOfficeCustomerKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2892:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2893:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2893:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2894:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5741);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getOfficeCustomerAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleOfficeCustomer5758);
newLeafNode(otherlv_3, grammarAccess.getOfficeCustomerAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2914:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt87=2;
int LA87_0 = input.LA(1);
if ( (LA87_0==15) ) {
alt87=1;
}
switch (alt87) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2914:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleOfficeCustomer5771);
newLeafNode(otherlv_4, grammarAccess.getOfficeCustomerAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2918:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2919:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2919:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2920:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5788);
newLeafNode(lv_name_5_0, grammarAccess.getOfficeCustomerAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2936:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==16) ) {
alt88=1;
}
switch (alt88) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2936:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleOfficeCustomer5808);
newLeafNode(otherlv_6, grammarAccess.getOfficeCustomerAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2940:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2941:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2941:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2942:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfficeCustomerAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOfficeCustomer5829);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeCustomerRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2958:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt89=2;
int LA89_0 = input.LA(1);
if ( (LA89_0==17) ) {
alt89=1;
}
switch (alt89) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2958:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleOfficeCustomer5844);
newLeafNode(otherlv_8, grammarAccess.getOfficeCustomerAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2962:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2963:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2963:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2964:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5861);
newLeafNode(lv_description_9_0, grammarAccess.getOfficeCustomerAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2980:4: (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )?
int alt90=2;
int LA90_0 = input.LA(1);
if ( (LA90_0==55) ) {
alt90=1;
}
switch (alt90) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2980:6: otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,55,FOLLOW_55_in_ruleOfficeCustomer5881);
newLeafNode(otherlv_10, grammarAccess.getOfficeCustomerAccess().getOrganizationKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2984:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2985:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2985:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:2986:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5898);
newLeafNode(lv_organization_11_0, grammarAccess.getOfficeCustomerAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"organization",
lv_organization_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3002:4: (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )?
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==56) ) {
alt91=1;
}
switch (alt91) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3002:6: otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,56,FOLLOW_56_in_ruleOfficeCustomer5918);
newLeafNode(otherlv_12, grammarAccess.getOfficeCustomerAccess().getAddressKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3006:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3007:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3007:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3008:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5935);
newLeafNode(lv_address_13_0, grammarAccess.getOfficeCustomerAccess().getAddressSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"address",
lv_address_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3024:4: (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )?
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==57) ) {
alt92=1;
}
switch (alt92) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3024:6: otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,57,FOLLOW_57_in_ruleOfficeCustomer5955);
newLeafNode(otherlv_14, grammarAccess.getOfficeCustomerAccess().getTelephoneKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3028:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3029:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3029:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3030:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5972);
newLeafNode(lv_telephone_15_0, grammarAccess.getOfficeCustomerAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
setWithLastConsumed(
current,
"telephone",
lv_telephone_15_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3046:4: (otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )?
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==64) ) {
alt94=1;
}
switch (alt94) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3046:6: otherlv_16= 'utilizesVirtualTestbed' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')'
{
otherlv_16=(Token)match(input,64,FOLLOW_64_in_ruleOfficeCustomer5992);
newLeafNode(otherlv_16, grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedKeyword_10_0());
otherlv_17=(Token)match(input,31,FOLLOW_31_in_ruleOfficeCustomer6004);
newLeafNode(otherlv_17, grammarAccess.getOfficeCustomerAccess().getLeftParenthesisKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3054:1: ( (otherlv_18= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3055:1: (otherlv_18= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3055:1: (otherlv_18= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3056:3: otherlv_18= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
otherlv_18=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer6024);
newLeafNode(otherlv_18, grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedRequestedFederationScenarioCrossReference_10_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3067:2: (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )*
loop93:
do {
int alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==21) ) {
alt93=1;
}
switch (alt93) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3067:4: otherlv_19= ',' ( (otherlv_20= RULE_STRING ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleOfficeCustomer6037);
newLeafNode(otherlv_19, grammarAccess.getOfficeCustomerAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3071:1: ( (otherlv_20= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3072:1: (otherlv_20= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3072:1: (otherlv_20= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3073:3: otherlv_20= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
otherlv_20=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer6057);
newLeafNode(otherlv_20, grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedRequestedFederationScenarioCrossReference_10_3_1_0());
}
}
}
break;
default :
break loop93;
}
} while (true);
otherlv_21=(Token)match(input,32,FOLLOW_32_in_ruleOfficeCustomer6071);
newLeafNode(otherlv_21, grammarAccess.getOfficeCustomerAccess().getRightParenthesisKeyword_10_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3088:3: (otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) ) )?
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==65) ) {
alt95=1;
}
switch (alt95) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3088:5: otherlv_22= 'hasTestbedDesigner' ( (otherlv_23= RULE_STRING ) )
{
otherlv_22=(Token)match(input,65,FOLLOW_65_in_ruleOfficeCustomer6086);
newLeafNode(otherlv_22, grammarAccess.getOfficeCustomerAccess().getHasTestbedDesignerKeyword_11_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3092:1: ( (otherlv_23= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3093:1: (otherlv_23= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3093:1: (otherlv_23= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3094:3: otherlv_23= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfficeCustomerRule());
}
otherlv_23=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer6106);
newLeafNode(otherlv_23, grammarAccess.getOfficeCustomerAccess().getHasTestbedDesignerTestbedDesignerCrossReference_11_1_0());
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3105:4: (otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )?
int alt96=2;
int LA96_0 = input.LA(1);
if ( (LA96_0==58) ) {
alt96=1;
}
switch (alt96) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3105:6: otherlv_24= 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) )
{
otherlv_24=(Token)match(input,58,FOLLOW_58_in_ruleOfficeCustomer6121);
newLeafNode(otherlv_24, grammarAccess.getOfficeCustomerAccess().getHasAccountKeyword_12_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3109:1: ( (lv_hasAccount_25_0= ruleAccount ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3110:1: (lv_hasAccount_25_0= ruleAccount )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3110:1: (lv_hasAccount_25_0= ruleAccount )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3111:3: lv_hasAccount_25_0= ruleAccount
{
newCompositeNode(grammarAccess.getOfficeCustomerAccess().getHasAccountAccountParserRuleCall_12_1_0());
pushFollow(FOLLOW_ruleAccount_in_ruleOfficeCustomer6142);
lv_hasAccount_25_0=ruleAccount();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficeCustomerRule());
}
set(
current,
"hasAccount",
lv_hasAccount_25_0,
"Account");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_26=(Token)match(input,22,FOLLOW_22_in_ruleOfficeCustomer6156);
newLeafNode(otherlv_26, grammarAccess.getOfficeCustomerAccess().getRightCurlyBracketKeyword_13());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfficeCustomer"
// $ANTLR start "entryRuleOfficePersonel_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3139:1: entryRuleOfficePersonel_Impl returns [EObject current=null] : iv_ruleOfficePersonel_Impl= ruleOfficePersonel_Impl EOF ;
public final EObject entryRuleOfficePersonel_Impl() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfficePersonel_Impl = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3140:2: (iv_ruleOfficePersonel_Impl= ruleOfficePersonel_Impl EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3141:2: iv_ruleOfficePersonel_Impl= ruleOfficePersonel_Impl EOF
{
newCompositeNode(grammarAccess.getOfficePersonel_ImplRule());
pushFollow(FOLLOW_ruleOfficePersonel_Impl_in_entryRuleOfficePersonel_Impl6192);
iv_ruleOfficePersonel_Impl=ruleOfficePersonel_Impl();
state._fsp--;
current =iv_ruleOfficePersonel_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficePersonel_Impl6202);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfficePersonel_Impl"
// $ANTLR start "ruleOfficePersonel_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3148:1: ruleOfficePersonel_Impl returns [EObject current=null] : ( () otherlv_1= 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' ) ;
public final EObject ruleOfficePersonel_Impl() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_organization_11_0=null;
Token otherlv_12=null;
Token lv_address_13_0=null;
Token otherlv_14=null;
Token lv_telephone_15_0=null;
Token otherlv_16=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_17_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3151:28: ( ( () otherlv_1= 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3152:1: ( () otherlv_1= 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3152:1: ( () otherlv_1= 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3152:2: () otherlv_1= 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )? (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? otherlv_18= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3152:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3153:5:
{
current = forceCreateModelElement(
grammarAccess.getOfficePersonel_ImplAccess().getOfficePersonelAction_0(),
current);
}
otherlv_1=(Token)match(input,66,FOLLOW_66_in_ruleOfficePersonel_Impl6248);
newLeafNode(otherlv_1, grammarAccess.getOfficePersonel_ImplAccess().getOfficePersonelKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3162:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3163:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3163:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3164:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6265);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getOfficePersonel_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleOfficePersonel_Impl6282);
newLeafNode(otherlv_3, grammarAccess.getOfficePersonel_ImplAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3184:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==15) ) {
alt97=1;
}
switch (alt97) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3184:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleOfficePersonel_Impl6295);
newLeafNode(otherlv_4, grammarAccess.getOfficePersonel_ImplAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3188:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3189:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3189:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3190:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6312);
newLeafNode(lv_name_5_0, grammarAccess.getOfficePersonel_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3206:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==16) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3206:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleOfficePersonel_Impl6332);
newLeafNode(otherlv_6, grammarAccess.getOfficePersonel_ImplAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3210:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3211:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3211:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3212:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfficePersonel_ImplAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOfficePersonel_Impl6353);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficePersonel_ImplRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3228:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==17) ) {
alt99=1;
}
switch (alt99) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3228:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleOfficePersonel_Impl6368);
newLeafNode(otherlv_8, grammarAccess.getOfficePersonel_ImplAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3232:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3233:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3233:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3234:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6385);
newLeafNode(lv_description_9_0, grammarAccess.getOfficePersonel_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3250:4: (otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )?
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==55) ) {
alt100=1;
}
switch (alt100) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3250:6: otherlv_10= 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,55,FOLLOW_55_in_ruleOfficePersonel_Impl6405);
newLeafNode(otherlv_10, grammarAccess.getOfficePersonel_ImplAccess().getOrganizationKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3254:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3255:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3255:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3256:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6422);
newLeafNode(lv_organization_11_0, grammarAccess.getOfficePersonel_ImplAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"organization",
lv_organization_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3272:4: (otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) ) )?
int alt101=2;
int LA101_0 = input.LA(1);
if ( (LA101_0==56) ) {
alt101=1;
}
switch (alt101) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3272:6: otherlv_12= 'address' ( (lv_address_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,56,FOLLOW_56_in_ruleOfficePersonel_Impl6442);
newLeafNode(otherlv_12, grammarAccess.getOfficePersonel_ImplAccess().getAddressKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3276:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3277:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3277:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3278:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6459);
newLeafNode(lv_address_13_0, grammarAccess.getOfficePersonel_ImplAccess().getAddressSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"address",
lv_address_13_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3294:4: (otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )?
int alt102=2;
int LA102_0 = input.LA(1);
if ( (LA102_0==57) ) {
alt102=1;
}
switch (alt102) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3294:6: otherlv_14= 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,57,FOLLOW_57_in_ruleOfficePersonel_Impl6479);
newLeafNode(otherlv_14, grammarAccess.getOfficePersonel_ImplAccess().getTelephoneKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3298:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3299:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3299:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3300:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6496);
newLeafNode(lv_telephone_15_0, grammarAccess.getOfficePersonel_ImplAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfficePersonel_ImplRule());
}
setWithLastConsumed(
current,
"telephone",
lv_telephone_15_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3316:4: (otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )?
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==58) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3316:6: otherlv_16= 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
otherlv_16=(Token)match(input,58,FOLLOW_58_in_ruleOfficePersonel_Impl6516);
newLeafNode(otherlv_16, grammarAccess.getOfficePersonel_ImplAccess().getHasAccountKeyword_10_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3320:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3321:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3321:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3322:3: lv_hasAccount_17_0= ruleAccount
{
newCompositeNode(grammarAccess.getOfficePersonel_ImplAccess().getHasAccountAccountParserRuleCall_10_1_0());
pushFollow(FOLLOW_ruleAccount_in_ruleOfficePersonel_Impl6537);
lv_hasAccount_17_0=ruleAccount();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfficePersonel_ImplRule());
}
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_18=(Token)match(input,22,FOLLOW_22_in_ruleOfficePersonel_Impl6551);
newLeafNode(otherlv_18, grammarAccess.getOfficePersonel_ImplAccess().getRightCurlyBracketKeyword_11());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfficePersonel_Impl"
// $ANTLR start "entryRuleSite"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3350:1: entryRuleSite returns [EObject current=null] : iv_ruleSite= ruleSite EOF ;
public final EObject entryRuleSite() throws RecognitionException {
EObject current = null;
EObject iv_ruleSite = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3351:2: (iv_ruleSite= ruleSite EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3352:2: iv_ruleSite= ruleSite EOF
{
newCompositeNode(grammarAccess.getSiteRule());
pushFollow(FOLLOW_ruleSite_in_entryRuleSite6587);
iv_ruleSite=ruleSite();
state._fsp--;
current =iv_ruleSite;
match(input,EOF,FOLLOW_EOF_in_entryRuleSite6597);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSite"
// $ANTLR start "ruleSite"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3359:1: ruleSite returns [EObject current=null] : (otherlv_0= 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'ptm' ( (lv_ptm_10_0= rulePTM ) ) otherlv_11= 'igwlist' otherlv_12= '{' ( (lv_igwlist_13_0= ruleIGW ) ) (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* otherlv_16= '}' otherlv_17= 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )? otherlv_25= '}' ) ;
public final EObject ruleSite() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_uniqueID_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_name_4_0=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token lv_description_8_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_22=null;
Token otherlv_24=null;
Token otherlv_25=null;
AntlrDatatypeRuleToken lv_id_6_0 = null;
EObject lv_ptm_10_0 = null;
EObject lv_igwlist_13_0 = null;
EObject lv_igwlist_15_0 = null;
EObject lv_locatedAt_18_0 = null;
EObject lv_offeredResourcesList_21_0 = null;
EObject lv_offeredResourcesList_23_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3362:28: ( (otherlv_0= 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'ptm' ( (lv_ptm_10_0= rulePTM ) ) otherlv_11= 'igwlist' otherlv_12= '{' ( (lv_igwlist_13_0= ruleIGW ) ) (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* otherlv_16= '}' otherlv_17= 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )? otherlv_25= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3363:1: (otherlv_0= 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'ptm' ( (lv_ptm_10_0= rulePTM ) ) otherlv_11= 'igwlist' otherlv_12= '{' ( (lv_igwlist_13_0= ruleIGW ) ) (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* otherlv_16= '}' otherlv_17= 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )? otherlv_25= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3363:1: (otherlv_0= 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'ptm' ( (lv_ptm_10_0= rulePTM ) ) otherlv_11= 'igwlist' otherlv_12= '{' ( (lv_igwlist_13_0= ruleIGW ) ) (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* otherlv_16= '}' otherlv_17= 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )? otherlv_25= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3363:3: otherlv_0= 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) otherlv_2= '{' (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )? (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )? (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )? otherlv_9= 'ptm' ( (lv_ptm_10_0= rulePTM ) ) otherlv_11= 'igwlist' otherlv_12= '{' ( (lv_igwlist_13_0= ruleIGW ) ) (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* otherlv_16= '}' otherlv_17= 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )? otherlv_25= '}'
{
otherlv_0=(Token)match(input,67,FOLLOW_67_in_ruleSite6634);
newLeafNode(otherlv_0, grammarAccess.getSiteAccess().getSiteKeyword_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3367:1: ( (lv_uniqueID_1_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3368:1: (lv_uniqueID_1_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3368:1: (lv_uniqueID_1_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3369:3: lv_uniqueID_1_0= RULE_STRING
{
lv_uniqueID_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6651);
newLeafNode(lv_uniqueID_1_0, grammarAccess.getSiteAccess().getUniqueIDSTRINGTerminalRuleCall_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_1_0,
"STRING");
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleSite6668);
newLeafNode(otherlv_2, grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_2());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3389:1: (otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) ) )?
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==15) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3389:3: otherlv_3= 'name' ( (lv_name_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,15,FOLLOW_15_in_ruleSite6681);
newLeafNode(otherlv_3, grammarAccess.getSiteAccess().getNameKeyword_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3393:1: ( (lv_name_4_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3394:1: (lv_name_4_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3394:1: (lv_name_4_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3395:3: lv_name_4_0= RULE_STRING
{
lv_name_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6698);
newLeafNode(lv_name_4_0, grammarAccess.getSiteAccess().getNameSTRINGTerminalRuleCall_3_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteRule());
}
setWithLastConsumed(
current,
"name",
lv_name_4_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3411:4: (otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) ) )?
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==16) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3411:6: otherlv_5= 'id' ( (lv_id_6_0= ruleEInt ) )
{
otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleSite6718);
newLeafNode(otherlv_5, grammarAccess.getSiteAccess().getIdKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3415:1: ( (lv_id_6_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3416:1: (lv_id_6_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3416:1: (lv_id_6_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3417:3: lv_id_6_0= ruleEInt
{
newCompositeNode(grammarAccess.getSiteAccess().getIdEIntParserRuleCall_4_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleSite6739);
lv_id_6_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
set(
current,
"id",
lv_id_6_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3433:4: (otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) ) )?
int alt106=2;
int LA106_0 = input.LA(1);
if ( (LA106_0==17) ) {
alt106=1;
}
switch (alt106) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3433:6: otherlv_7= 'description' ( (lv_description_8_0= RULE_STRING ) )
{
otherlv_7=(Token)match(input,17,FOLLOW_17_in_ruleSite6754);
newLeafNode(otherlv_7, grammarAccess.getSiteAccess().getDescriptionKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3437:1: ( (lv_description_8_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3438:1: (lv_description_8_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3438:1: (lv_description_8_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3439:3: lv_description_8_0= RULE_STRING
{
lv_description_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6771);
newLeafNode(lv_description_8_0, grammarAccess.getSiteAccess().getDescriptionSTRINGTerminalRuleCall_5_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteRule());
}
setWithLastConsumed(
current,
"description",
lv_description_8_0,
"STRING");
}
}
}
break;
}
otherlv_9=(Token)match(input,68,FOLLOW_68_in_ruleSite6790);
newLeafNode(otherlv_9, grammarAccess.getSiteAccess().getPtmKeyword_6());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3459:1: ( (lv_ptm_10_0= rulePTM ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3460:1: (lv_ptm_10_0= rulePTM )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3460:1: (lv_ptm_10_0= rulePTM )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3461:3: lv_ptm_10_0= rulePTM
{
newCompositeNode(grammarAccess.getSiteAccess().getPtmPTMParserRuleCall_7_0());
pushFollow(FOLLOW_rulePTM_in_ruleSite6811);
lv_ptm_10_0=rulePTM();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
set(
current,
"ptm",
lv_ptm_10_0,
"PTM");
afterParserOrEnumRuleCall();
}
}
otherlv_11=(Token)match(input,69,FOLLOW_69_in_ruleSite6823);
newLeafNode(otherlv_11, grammarAccess.getSiteAccess().getIgwlistKeyword_8());
otherlv_12=(Token)match(input,14,FOLLOW_14_in_ruleSite6835);
newLeafNode(otherlv_12, grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_9());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3485:1: ( (lv_igwlist_13_0= ruleIGW ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3486:1: (lv_igwlist_13_0= ruleIGW )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3486:1: (lv_igwlist_13_0= ruleIGW )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3487:3: lv_igwlist_13_0= ruleIGW
{
newCompositeNode(grammarAccess.getSiteAccess().getIgwlistIGWParserRuleCall_10_0());
pushFollow(FOLLOW_ruleIGW_in_ruleSite6856);
lv_igwlist_13_0=ruleIGW();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
add(
current,
"igwlist",
lv_igwlist_13_0,
"IGW");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3503:2: (otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) ) )*
loop107:
do {
int alt107=2;
int LA107_0 = input.LA(1);
if ( (LA107_0==21) ) {
alt107=1;
}
switch (alt107) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3503:4: otherlv_14= ',' ( (lv_igwlist_15_0= ruleIGW ) )
{
otherlv_14=(Token)match(input,21,FOLLOW_21_in_ruleSite6869);
newLeafNode(otherlv_14, grammarAccess.getSiteAccess().getCommaKeyword_11_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3507:1: ( (lv_igwlist_15_0= ruleIGW ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3508:1: (lv_igwlist_15_0= ruleIGW )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3508:1: (lv_igwlist_15_0= ruleIGW )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3509:3: lv_igwlist_15_0= ruleIGW
{
newCompositeNode(grammarAccess.getSiteAccess().getIgwlistIGWParserRuleCall_11_1_0());
pushFollow(FOLLOW_ruleIGW_in_ruleSite6890);
lv_igwlist_15_0=ruleIGW();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
add(
current,
"igwlist",
lv_igwlist_15_0,
"IGW");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop107;
}
} while (true);
otherlv_16=(Token)match(input,22,FOLLOW_22_in_ruleSite6904);
newLeafNode(otherlv_16, grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_12());
otherlv_17=(Token)match(input,70,FOLLOW_70_in_ruleSite6916);
newLeafNode(otherlv_17, grammarAccess.getSiteAccess().getLocatedAtKeyword_13());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3533:1: ( (lv_locatedAt_18_0= ruleSiteLocation ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3534:1: (lv_locatedAt_18_0= ruleSiteLocation )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3534:1: (lv_locatedAt_18_0= ruleSiteLocation )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3535:3: lv_locatedAt_18_0= ruleSiteLocation
{
newCompositeNode(grammarAccess.getSiteAccess().getLocatedAtSiteLocationParserRuleCall_14_0());
pushFollow(FOLLOW_ruleSiteLocation_in_ruleSite6937);
lv_locatedAt_18_0=ruleSiteLocation();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
set(
current,
"locatedAt",
lv_locatedAt_18_0,
"SiteLocation");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3551:2: (otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}' )?
int alt109=2;
int LA109_0 = input.LA(1);
if ( (LA109_0==71) ) {
alt109=1;
}
switch (alt109) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3551:4: otherlv_19= 'offeredResourcesList' otherlv_20= '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* otherlv_24= '}'
{
otherlv_19=(Token)match(input,71,FOLLOW_71_in_ruleSite6950);
newLeafNode(otherlv_19, grammarAccess.getSiteAccess().getOfferedResourcesListKeyword_15_0());
otherlv_20=(Token)match(input,14,FOLLOW_14_in_ruleSite6962);
newLeafNode(otherlv_20, grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_15_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3559:1: ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3560:1: (lv_offeredResourcesList_21_0= ruleOfferedResource )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3560:1: (lv_offeredResourcesList_21_0= ruleOfferedResource )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3561:3: lv_offeredResourcesList_21_0= ruleOfferedResource
{
newCompositeNode(grammarAccess.getSiteAccess().getOfferedResourcesListOfferedResourceParserRuleCall_15_2_0());
pushFollow(FOLLOW_ruleOfferedResource_in_ruleSite6983);
lv_offeredResourcesList_21_0=ruleOfferedResource();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
add(
current,
"offeredResourcesList",
lv_offeredResourcesList_21_0,
"OfferedResource");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3577:2: (otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )*
loop108:
do {
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==21) ) {
alt108=1;
}
switch (alt108) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3577:4: otherlv_22= ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) )
{
otherlv_22=(Token)match(input,21,FOLLOW_21_in_ruleSite6996);
newLeafNode(otherlv_22, grammarAccess.getSiteAccess().getCommaKeyword_15_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3581:1: ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3582:1: (lv_offeredResourcesList_23_0= ruleOfferedResource )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3582:1: (lv_offeredResourcesList_23_0= ruleOfferedResource )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3583:3: lv_offeredResourcesList_23_0= ruleOfferedResource
{
newCompositeNode(grammarAccess.getSiteAccess().getOfferedResourcesListOfferedResourceParserRuleCall_15_3_1_0());
pushFollow(FOLLOW_ruleOfferedResource_in_ruleSite7017);
lv_offeredResourcesList_23_0=ruleOfferedResource();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteRule());
}
add(
current,
"offeredResourcesList",
lv_offeredResourcesList_23_0,
"OfferedResource");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop108;
}
} while (true);
otherlv_24=(Token)match(input,22,FOLLOW_22_in_ruleSite7031);
newLeafNode(otherlv_24, grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_15_4());
}
break;
}
otherlv_25=(Token)match(input,22,FOLLOW_22_in_ruleSite7045);
newLeafNode(otherlv_25, grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_16());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSite"
// $ANTLR start "entryRulePTM"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3615:1: entryRulePTM returns [EObject current=null] : iv_rulePTM= rulePTM EOF ;
public final EObject entryRulePTM() throws RecognitionException {
EObject current = null;
EObject iv_rulePTM = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3616:2: (iv_rulePTM= rulePTM EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3617:2: iv_rulePTM= rulePTM EOF
{
newCompositeNode(grammarAccess.getPTMRule());
pushFollow(FOLLOW_rulePTM_in_entryRulePTM7081);
iv_rulePTM=rulePTM();
state._fsp--;
current =iv_rulePTM;
match(input,EOF,FOLLOW_EOF_in_entryRulePTM7091);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePTM"
// $ANTLR start "rulePTM"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3624:1: rulePTM returns [EObject current=null] : ( () otherlv_1= 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) ;
public final EObject rulePTM() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_IP_11_0=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3627:28: ( ( () otherlv_1= 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3628:1: ( () otherlv_1= 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3628:1: ( () otherlv_1= 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3628:2: () otherlv_1= 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3628:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3629:5:
{
current = forceCreateModelElement(
grammarAccess.getPTMAccess().getPTMAction_0(),
current);
}
otherlv_1=(Token)match(input,72,FOLLOW_72_in_rulePTM7137);
newLeafNode(otherlv_1, grammarAccess.getPTMAccess().getPTMKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3638:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3639:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3639:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3640:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM7154);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getPTMAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getPTMRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_rulePTM7171);
newLeafNode(otherlv_3, grammarAccess.getPTMAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3660:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==15) ) {
alt110=1;
}
switch (alt110) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3660:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_rulePTM7184);
newLeafNode(otherlv_4, grammarAccess.getPTMAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3664:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3665:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3665:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3666:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM7201);
newLeafNode(lv_name_5_0, grammarAccess.getPTMAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getPTMRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3682:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==16) ) {
alt111=1;
}
switch (alt111) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3682:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_rulePTM7221);
newLeafNode(otherlv_6, grammarAccess.getPTMAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3686:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3687:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3687:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3688:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getPTMAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_rulePTM7242);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getPTMRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3704:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt112=2;
int LA112_0 = input.LA(1);
if ( (LA112_0==17) ) {
alt112=1;
}
switch (alt112) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3704:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_rulePTM7257);
newLeafNode(otherlv_8, grammarAccess.getPTMAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3708:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3709:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3709:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3710:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM7274);
newLeafNode(lv_description_9_0, grammarAccess.getPTMAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getPTMRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3726:4: (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )?
int alt113=2;
int LA113_0 = input.LA(1);
if ( (LA113_0==73) ) {
alt113=1;
}
switch (alt113) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3726:6: otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,73,FOLLOW_73_in_rulePTM7294);
newLeafNode(otherlv_10, grammarAccess.getPTMAccess().getIPKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3730:1: ( (lv_IP_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3731:1: (lv_IP_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3731:1: (lv_IP_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3732:3: lv_IP_11_0= RULE_STRING
{
lv_IP_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM7311);
newLeafNode(lv_IP_11_0, grammarAccess.getPTMAccess().getIPSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getPTMRule());
}
setWithLastConsumed(
current,
"IP",
lv_IP_11_0,
"STRING");
}
}
}
break;
}
otherlv_12=(Token)match(input,22,FOLLOW_22_in_rulePTM7330);
newLeafNode(otherlv_12, grammarAccess.getPTMAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePTM"
// $ANTLR start "entryRuleIGW"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3760:1: entryRuleIGW returns [EObject current=null] : iv_ruleIGW= ruleIGW EOF ;
public final EObject entryRuleIGW() throws RecognitionException {
EObject current = null;
EObject iv_ruleIGW = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3761:2: (iv_ruleIGW= ruleIGW EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3762:2: iv_ruleIGW= ruleIGW EOF
{
newCompositeNode(grammarAccess.getIGWRule());
pushFollow(FOLLOW_ruleIGW_in_entryRuleIGW7366);
iv_ruleIGW=ruleIGW();
state._fsp--;
current =iv_ruleIGW;
match(input,EOF,FOLLOW_EOF_in_entryRuleIGW7376);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIGW"
// $ANTLR start "ruleIGW"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3769:1: ruleIGW returns [EObject current=null] : ( () otherlv_1= 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) ;
public final EObject ruleIGW() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_IP_11_0=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3772:28: ( ( () otherlv_1= 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3773:1: ( () otherlv_1= 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3773:1: ( () otherlv_1= 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3773:2: () otherlv_1= 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? otherlv_12= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3773:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3774:5:
{
current = forceCreateModelElement(
grammarAccess.getIGWAccess().getIGWAction_0(),
current);
}
otherlv_1=(Token)match(input,74,FOLLOW_74_in_ruleIGW7422);
newLeafNode(otherlv_1, grammarAccess.getIGWAccess().getIGWKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3783:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3784:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3784:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3785:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7439);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getIGWAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getIGWRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleIGW7456);
newLeafNode(otherlv_3, grammarAccess.getIGWAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3805:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==15) ) {
alt114=1;
}
switch (alt114) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3805:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleIGW7469);
newLeafNode(otherlv_4, grammarAccess.getIGWAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3809:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3810:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3810:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3811:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7486);
newLeafNode(lv_name_5_0, grammarAccess.getIGWAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getIGWRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3827:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt115=2;
int LA115_0 = input.LA(1);
if ( (LA115_0==16) ) {
alt115=1;
}
switch (alt115) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3827:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleIGW7506);
newLeafNode(otherlv_6, grammarAccess.getIGWAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3831:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3832:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3832:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3833:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getIGWAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleIGW7527);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getIGWRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3849:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt116=2;
int LA116_0 = input.LA(1);
if ( (LA116_0==17) ) {
alt116=1;
}
switch (alt116) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3849:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleIGW7542);
newLeafNode(otherlv_8, grammarAccess.getIGWAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3853:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3854:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3854:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3855:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7559);
newLeafNode(lv_description_9_0, grammarAccess.getIGWAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getIGWRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3871:4: (otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )?
int alt117=2;
int LA117_0 = input.LA(1);
if ( (LA117_0==73) ) {
alt117=1;
}
switch (alt117) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3871:6: otherlv_10= 'IP' ( (lv_IP_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,73,FOLLOW_73_in_ruleIGW7579);
newLeafNode(otherlv_10, grammarAccess.getIGWAccess().getIPKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3875:1: ( (lv_IP_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3876:1: (lv_IP_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3876:1: (lv_IP_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3877:3: lv_IP_11_0= RULE_STRING
{
lv_IP_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7596);
newLeafNode(lv_IP_11_0, grammarAccess.getIGWAccess().getIPSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getIGWRule());
}
setWithLastConsumed(
current,
"IP",
lv_IP_11_0,
"STRING");
}
}
}
break;
}
otherlv_12=(Token)match(input,22,FOLLOW_22_in_ruleIGW7615);
newLeafNode(otherlv_12, grammarAccess.getIGWAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIGW"
// $ANTLR start "entryRuleSiteLocation"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3905:1: entryRuleSiteLocation returns [EObject current=null] : iv_ruleSiteLocation= ruleSiteLocation EOF ;
public final EObject entryRuleSiteLocation() throws RecognitionException {
EObject current = null;
EObject iv_ruleSiteLocation = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3906:2: (iv_ruleSiteLocation= ruleSiteLocation EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3907:2: iv_ruleSiteLocation= ruleSiteLocation EOF
{
newCompositeNode(grammarAccess.getSiteLocationRule());
pushFollow(FOLLOW_ruleSiteLocation_in_entryRuleSiteLocation7651);
iv_ruleSiteLocation=ruleSiteLocation();
state._fsp--;
current =iv_ruleSiteLocation;
match(input,EOF,FOLLOW_EOF_in_entryRuleSiteLocation7661);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSiteLocation"
// $ANTLR start "ruleSiteLocation"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3914:1: ruleSiteLocation returns [EObject current=null] : ( () otherlv_1= 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )? (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? otherlv_14= '}' ) ;
public final EObject ruleSiteLocation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_address_11_0=null;
Token otherlv_12=null;
Token lv_geocoords_13_0=null;
Token otherlv_14=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3917:28: ( ( () otherlv_1= 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )? (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? otherlv_14= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3918:1: ( () otherlv_1= 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )? (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? otherlv_14= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3918:1: ( () otherlv_1= 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )? (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? otherlv_14= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3918:2: () otherlv_1= 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )? (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? otherlv_14= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3918:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3919:5:
{
current = forceCreateModelElement(
grammarAccess.getSiteLocationAccess().getSiteLocationAction_0(),
current);
}
otherlv_1=(Token)match(input,75,FOLLOW_75_in_ruleSiteLocation7707);
newLeafNode(otherlv_1, grammarAccess.getSiteLocationAccess().getSiteLocationKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3928:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3929:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3929:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3930:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7724);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getSiteLocationAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteLocationRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleSiteLocation7741);
newLeafNode(otherlv_3, grammarAccess.getSiteLocationAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3950:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt118=2;
int LA118_0 = input.LA(1);
if ( (LA118_0==15) ) {
alt118=1;
}
switch (alt118) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3950:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleSiteLocation7754);
newLeafNode(otherlv_4, grammarAccess.getSiteLocationAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3954:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3955:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3955:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3956:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7771);
newLeafNode(lv_name_5_0, grammarAccess.getSiteLocationAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteLocationRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3972:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt119=2;
int LA119_0 = input.LA(1);
if ( (LA119_0==16) ) {
alt119=1;
}
switch (alt119) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3972:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleSiteLocation7791);
newLeafNode(otherlv_6, grammarAccess.getSiteLocationAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3976:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3977:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3977:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3978:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getSiteLocationAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleSiteLocation7812);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSiteLocationRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3994:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==17) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3994:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleSiteLocation7827);
newLeafNode(otherlv_8, grammarAccess.getSiteLocationAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3998:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3999:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:3999:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4000:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7844);
newLeafNode(lv_description_9_0, grammarAccess.getSiteLocationAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteLocationRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4016:4: (otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) ) )?
int alt121=2;
int LA121_0 = input.LA(1);
if ( (LA121_0==56) ) {
alt121=1;
}
switch (alt121) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4016:6: otherlv_10= 'address' ( (lv_address_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,56,FOLLOW_56_in_ruleSiteLocation7864);
newLeafNode(otherlv_10, grammarAccess.getSiteLocationAccess().getAddressKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4020:1: ( (lv_address_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4021:1: (lv_address_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4021:1: (lv_address_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4022:3: lv_address_11_0= RULE_STRING
{
lv_address_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7881);
newLeafNode(lv_address_11_0, grammarAccess.getSiteLocationAccess().getAddressSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteLocationRule());
}
setWithLastConsumed(
current,
"address",
lv_address_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4038:4: (otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )?
int alt122=2;
int LA122_0 = input.LA(1);
if ( (LA122_0==76) ) {
alt122=1;
}
switch (alt122) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4038:6: otherlv_12= 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) )
{
otherlv_12=(Token)match(input,76,FOLLOW_76_in_ruleSiteLocation7901);
newLeafNode(otherlv_12, grammarAccess.getSiteLocationAccess().getGeocoordsKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4042:1: ( (lv_geocoords_13_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4043:1: (lv_geocoords_13_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4043:1: (lv_geocoords_13_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4044:3: lv_geocoords_13_0= RULE_STRING
{
lv_geocoords_13_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7918);
newLeafNode(lv_geocoords_13_0, grammarAccess.getSiteLocationAccess().getGeocoordsSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSiteLocationRule());
}
setWithLastConsumed(
current,
"geocoords",
lv_geocoords_13_0,
"STRING");
}
}
}
break;
}
otherlv_14=(Token)match(input,22,FOLLOW_22_in_ruleSiteLocation7937);
newLeafNode(otherlv_14, grammarAccess.getSiteLocationAccess().getRightCurlyBracketKeyword_9());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSiteLocation"
// $ANTLR start "entryRuleOfferedResource"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4072:1: entryRuleOfferedResource returns [EObject current=null] : iv_ruleOfferedResource= ruleOfferedResource EOF ;
public final EObject entryRuleOfferedResource() throws RecognitionException {
EObject current = null;
EObject iv_ruleOfferedResource = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4073:2: (iv_ruleOfferedResource= ruleOfferedResource EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4074:2: iv_ruleOfferedResource= ruleOfferedResource EOF
{
newCompositeNode(grammarAccess.getOfferedResourceRule());
pushFollow(FOLLOW_ruleOfferedResource_in_entryRuleOfferedResource7973);
iv_ruleOfferedResource=ruleOfferedResource();
state._fsp--;
current =iv_ruleOfferedResource;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfferedResource7983);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOfferedResource"
// $ANTLR start "ruleOfferedResource"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4081:1: ruleOfferedResource returns [EObject current=null] : ( () otherlv_1= 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )? (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )? (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )? (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )? otherlv_34= '}' ) ;
public final EObject ruleOfferedResource() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_24=null;
Token otherlv_25=null;
Token otherlv_26=null;
Token otherlv_27=null;
Token otherlv_28=null;
Token otherlv_29=null;
Token otherlv_31=null;
Token otherlv_33=null;
Token otherlv_34=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
Enumerator lv_resourceType_11_0 = null;
AntlrDatatypeRuleToken lv_multitonMaxOccur_13_0 = null;
EObject lv_resourceSettings_30_0 = null;
EObject lv_resourceSettings_32_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4084:28: ( ( () otherlv_1= 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )? (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )? (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )? (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )? otherlv_34= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4085:1: ( () otherlv_1= 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )? (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )? (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )? (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )? otherlv_34= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4085:1: ( () otherlv_1= 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )? (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )? (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )? (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )? otherlv_34= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4085:2: () otherlv_1= 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )? (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )? (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )? (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )? otherlv_34= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4085:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4086:5:
{
current = forceCreateModelElement(
grammarAccess.getOfferedResourceAccess().getOfferedResourceAction_0(),
current);
}
otherlv_1=(Token)match(input,77,FOLLOW_77_in_ruleOfferedResource8029);
newLeafNode(otherlv_1, grammarAccess.getOfferedResourceAccess().getOfferedResourceKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4095:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4096:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4096:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4097:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8046);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getOfferedResourceAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleOfferedResource8063);
newLeafNode(otherlv_3, grammarAccess.getOfferedResourceAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4117:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt123=2;
int LA123_0 = input.LA(1);
if ( (LA123_0==15) ) {
alt123=1;
}
switch (alt123) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4117:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleOfferedResource8076);
newLeafNode(otherlv_4, grammarAccess.getOfferedResourceAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4121:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4122:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4122:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4123:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8093);
newLeafNode(lv_name_5_0, grammarAccess.getOfferedResourceAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4139:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt124=2;
int LA124_0 = input.LA(1);
if ( (LA124_0==16) ) {
alt124=1;
}
switch (alt124) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4139:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleOfferedResource8113);
newLeafNode(otherlv_6, grammarAccess.getOfferedResourceAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4143:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4144:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4144:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4145:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfferedResourceAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedResource8134);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedResourceRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4161:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt125=2;
int LA125_0 = input.LA(1);
if ( (LA125_0==17) ) {
alt125=1;
}
switch (alt125) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4161:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleOfferedResource8149);
newLeafNode(otherlv_8, grammarAccess.getOfferedResourceAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4165:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4166:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4166:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4167:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8166);
newLeafNode(lv_description_9_0, grammarAccess.getOfferedResourceAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4183:4: (otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )?
int alt126=2;
int LA126_0 = input.LA(1);
if ( (LA126_0==78) ) {
alt126=1;
}
switch (alt126) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4183:6: otherlv_10= 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) )
{
otherlv_10=(Token)match(input,78,FOLLOW_78_in_ruleOfferedResource8186);
newLeafNode(otherlv_10, grammarAccess.getOfferedResourceAccess().getResourceTypeKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4187:1: ( (lv_resourceType_11_0= ruleResourceType ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4188:1: (lv_resourceType_11_0= ruleResourceType )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4188:1: (lv_resourceType_11_0= ruleResourceType )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4189:3: lv_resourceType_11_0= ruleResourceType
{
newCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceTypeResourceTypeEnumRuleCall_7_1_0());
pushFollow(FOLLOW_ruleResourceType_in_ruleOfferedResource8207);
lv_resourceType_11_0=ruleResourceType();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedResourceRule());
}
set(
current,
"resourceType",
lv_resourceType_11_0,
"ResourceType");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4205:4: (otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )?
int alt127=2;
int LA127_0 = input.LA(1);
if ( (LA127_0==79) ) {
alt127=1;
}
switch (alt127) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4205:6: otherlv_12= 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) )
{
otherlv_12=(Token)match(input,79,FOLLOW_79_in_ruleOfferedResource8222);
newLeafNode(otherlv_12, grammarAccess.getOfferedResourceAccess().getMultitonMaxOccurKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4209:1: ( (lv_multitonMaxOccur_13_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4210:1: (lv_multitonMaxOccur_13_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4210:1: (lv_multitonMaxOccur_13_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4211:3: lv_multitonMaxOccur_13_0= ruleEInt
{
newCompositeNode(grammarAccess.getOfferedResourceAccess().getMultitonMaxOccurEIntParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedResource8243);
lv_multitonMaxOccur_13_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedResourceRule());
}
set(
current,
"multitonMaxOccur",
lv_multitonMaxOccur_13_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4227:4: (otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')' )?
int alt129=2;
int LA129_0 = input.LA(1);
if ( (LA129_0==80) ) {
alt129=1;
}
switch (alt129) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4227:6: otherlv_14= 'contributesToCategories' otherlv_15= '(' ( (otherlv_16= RULE_STRING ) ) (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )* otherlv_19= ')'
{
otherlv_14=(Token)match(input,80,FOLLOW_80_in_ruleOfferedResource8258);
newLeafNode(otherlv_14, grammarAccess.getOfferedResourceAccess().getContributesToCategoriesKeyword_9_0());
otherlv_15=(Token)match(input,31,FOLLOW_31_in_ruleOfferedResource8270);
newLeafNode(otherlv_15, grammarAccess.getOfferedResourceAccess().getLeftParenthesisKeyword_9_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4235:1: ( (otherlv_16= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4236:1: (otherlv_16= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4236:1: (otherlv_16= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4237:3: otherlv_16= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
otherlv_16=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8290);
newLeafNode(otherlv_16, grammarAccess.getOfferedResourceAccess().getContributesToCategoriesResourceCategoryCrossReference_9_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4248:2: (otherlv_17= ',' ( (otherlv_18= RULE_STRING ) ) )*
loop128:
do {
int alt128=2;
int LA128_0 = input.LA(1);
if ( (LA128_0==21) ) {
alt128=1;
}
switch (alt128) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4248:4: otherlv_17= ',' ( (otherlv_18= RULE_STRING ) )
{
otherlv_17=(Token)match(input,21,FOLLOW_21_in_ruleOfferedResource8303);
newLeafNode(otherlv_17, grammarAccess.getOfferedResourceAccess().getCommaKeyword_9_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4252:1: ( (otherlv_18= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4253:1: (otherlv_18= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4253:1: (otherlv_18= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4254:3: otherlv_18= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
otherlv_18=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8323);
newLeafNode(otherlv_18, grammarAccess.getOfferedResourceAccess().getContributesToCategoriesResourceCategoryCrossReference_9_3_1_0());
}
}
}
break;
default :
break loop128;
}
} while (true);
otherlv_19=(Token)match(input,32,FOLLOW_32_in_ruleOfferedResource8337);
newLeafNode(otherlv_19, grammarAccess.getOfferedResourceAccess().getRightParenthesisKeyword_9_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4269:3: (otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')' )?
int alt131=2;
int LA131_0 = input.LA(1);
if ( (LA131_0==81) ) {
alt131=1;
}
switch (alt131) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4269:5: otherlv_20= 'requiresResources' otherlv_21= '(' ( (otherlv_22= RULE_STRING ) ) (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )* otherlv_25= ')'
{
otherlv_20=(Token)match(input,81,FOLLOW_81_in_ruleOfferedResource8352);
newLeafNode(otherlv_20, grammarAccess.getOfferedResourceAccess().getRequiresResourcesKeyword_10_0());
otherlv_21=(Token)match(input,31,FOLLOW_31_in_ruleOfferedResource8364);
newLeafNode(otherlv_21, grammarAccess.getOfferedResourceAccess().getLeftParenthesisKeyword_10_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4277:1: ( (otherlv_22= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4278:1: (otherlv_22= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4278:1: (otherlv_22= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4279:3: otherlv_22= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
otherlv_22=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8384);
newLeafNode(otherlv_22, grammarAccess.getOfferedResourceAccess().getRequiresResourcesResourceCrossReference_10_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4290:2: (otherlv_23= ',' ( (otherlv_24= RULE_STRING ) ) )*
loop130:
do {
int alt130=2;
int LA130_0 = input.LA(1);
if ( (LA130_0==21) ) {
alt130=1;
}
switch (alt130) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4290:4: otherlv_23= ',' ( (otherlv_24= RULE_STRING ) )
{
otherlv_23=(Token)match(input,21,FOLLOW_21_in_ruleOfferedResource8397);
newLeafNode(otherlv_23, grammarAccess.getOfferedResourceAccess().getCommaKeyword_10_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4294:1: ( (otherlv_24= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4295:1: (otherlv_24= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4295:1: (otherlv_24= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4296:3: otherlv_24= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
otherlv_24=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8417);
newLeafNode(otherlv_24, grammarAccess.getOfferedResourceAccess().getRequiresResourcesResourceCrossReference_10_3_1_0());
}
}
}
break;
default :
break loop130;
}
} while (true);
otherlv_25=(Token)match(input,32,FOLLOW_32_in_ruleOfferedResource8431);
newLeafNode(otherlv_25, grammarAccess.getOfferedResourceAccess().getRightParenthesisKeyword_10_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4311:3: (otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) ) )?
int alt132=2;
int LA132_0 = input.LA(1);
if ( (LA132_0==82) ) {
alt132=1;
}
switch (alt132) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4311:5: otherlv_26= 'implOfferedService' ( (otherlv_27= RULE_STRING ) )
{
otherlv_26=(Token)match(input,82,FOLLOW_82_in_ruleOfferedResource8446);
newLeafNode(otherlv_26, grammarAccess.getOfferedResourceAccess().getImplOfferedServiceKeyword_11_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4315:1: ( (otherlv_27= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4316:1: (otherlv_27= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4316:1: (otherlv_27= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4317:3: otherlv_27= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getOfferedResourceRule());
}
otherlv_27=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource8466);
newLeafNode(otherlv_27, grammarAccess.getOfferedResourceAccess().getImplOfferedServiceServiceCrossReference_11_1_0());
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4328:4: (otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}' )?
int alt134=2;
int LA134_0 = input.LA(1);
if ( (LA134_0==83) ) {
alt134=1;
}
switch (alt134) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4328:6: otherlv_28= 'resourceSettings' otherlv_29= '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* otherlv_33= '}'
{
otherlv_28=(Token)match(input,83,FOLLOW_83_in_ruleOfferedResource8481);
newLeafNode(otherlv_28, grammarAccess.getOfferedResourceAccess().getResourceSettingsKeyword_12_0());
otherlv_29=(Token)match(input,14,FOLLOW_14_in_ruleOfferedResource8493);
newLeafNode(otherlv_29, grammarAccess.getOfferedResourceAccess().getLeftCurlyBracketKeyword_12_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4336:1: ( (lv_resourceSettings_30_0= ruleResourceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4337:1: (lv_resourceSettings_30_0= ruleResourceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4337:1: (lv_resourceSettings_30_0= ruleResourceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4338:3: lv_resourceSettings_30_0= ruleResourceSetting
{
newCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceSettingsResourceSettingParserRuleCall_12_2_0());
pushFollow(FOLLOW_ruleResourceSetting_in_ruleOfferedResource8514);
lv_resourceSettings_30_0=ruleResourceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedResourceRule());
}
add(
current,
"resourceSettings",
lv_resourceSettings_30_0,
"ResourceSetting");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4354:2: (otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )*
loop133:
do {
int alt133=2;
int LA133_0 = input.LA(1);
if ( (LA133_0==21) ) {
alt133=1;
}
switch (alt133) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4354:4: otherlv_31= ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) )
{
otherlv_31=(Token)match(input,21,FOLLOW_21_in_ruleOfferedResource8527);
newLeafNode(otherlv_31, grammarAccess.getOfferedResourceAccess().getCommaKeyword_12_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4358:1: ( (lv_resourceSettings_32_0= ruleResourceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4359:1: (lv_resourceSettings_32_0= ruleResourceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4359:1: (lv_resourceSettings_32_0= ruleResourceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4360:3: lv_resourceSettings_32_0= ruleResourceSetting
{
newCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceSettingsResourceSettingParserRuleCall_12_3_1_0());
pushFollow(FOLLOW_ruleResourceSetting_in_ruleOfferedResource8548);
lv_resourceSettings_32_0=ruleResourceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getOfferedResourceRule());
}
add(
current,
"resourceSettings",
lv_resourceSettings_32_0,
"ResourceSetting");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop133;
}
} while (true);
otherlv_33=(Token)match(input,22,FOLLOW_22_in_ruleOfferedResource8562);
newLeafNode(otherlv_33, grammarAccess.getOfferedResourceAccess().getRightCurlyBracketKeyword_12_4());
}
break;
}
otherlv_34=(Token)match(input,22,FOLLOW_22_in_ruleOfferedResource8576);
newLeafNode(otherlv_34, grammarAccess.getOfferedResourceAccess().getRightCurlyBracketKeyword_13());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOfferedResource"
// $ANTLR start "entryRuleResourceSetting"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4392:1: entryRuleResourceSetting returns [EObject current=null] : iv_ruleResourceSetting= ruleResourceSetting EOF ;
public final EObject entryRuleResourceSetting() throws RecognitionException {
EObject current = null;
EObject iv_ruleResourceSetting = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4393:2: (iv_ruleResourceSetting= ruleResourceSetting EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4394:2: iv_ruleResourceSetting= ruleResourceSetting EOF
{
newCompositeNode(grammarAccess.getResourceSettingRule());
pushFollow(FOLLOW_ruleResourceSetting_in_entryRuleResourceSetting8612);
iv_ruleResourceSetting=ruleResourceSetting();
state._fsp--;
current =iv_ruleResourceSetting;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceSetting8622);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResourceSetting"
// $ANTLR start "ruleResourceSetting"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4401:1: ruleResourceSetting returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )? (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )? otherlv_37= '}' ) ;
public final EObject ruleResourceSetting() throws RecognitionException {
EObject current = null;
Token lv_userExposed_1_0=null;
Token lv_userEditable_2_0=null;
Token lv_canBePublished_3_0=null;
Token otherlv_4=null;
Token lv_uniqueID_5_0=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token lv_name_8_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_24=null;
Token otherlv_25=null;
Token otherlv_26=null;
Token otherlv_27=null;
Token otherlv_28=null;
Token otherlv_29=null;
Token otherlv_31=null;
Token otherlv_32=null;
Token otherlv_34=null;
Token otherlv_36=null;
Token otherlv_37=null;
AntlrDatatypeRuleToken lv_id_10_0 = null;
EObject lv_settingType_30_0 = null;
EObject lv_settingConstraints_33_0 = null;
EObject lv_settingConstraints_35_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4404:28: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )? (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )? otherlv_37= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4405:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )? (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )? otherlv_37= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4405:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )? (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )? otherlv_37= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4405:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )? (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )? otherlv_37= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4405:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4406:5:
{
current = forceCreateModelElement(
grammarAccess.getResourceSettingAccess().getResourceSettingAction_0(),
current);
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4411:2: ( (lv_userExposed_1_0= 'userExposed' ) )?
int alt135=2;
int LA135_0 = input.LA(1);
if ( (LA135_0==84) ) {
alt135=1;
}
switch (alt135) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4412:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4412:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4413:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)match(input,84,FOLLOW_84_in_ruleResourceSetting8674);
newLeafNode(lv_userExposed_1_0, grammarAccess.getResourceSettingAccess().getUserExposedUserExposedKeyword_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(current, "userExposed", true, "userExposed");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4426:3: ( (lv_userEditable_2_0= 'userEditable' ) )?
int alt136=2;
int LA136_0 = input.LA(1);
if ( (LA136_0==85) ) {
alt136=1;
}
switch (alt136) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4427:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4427:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4428:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)match(input,85,FOLLOW_85_in_ruleResourceSetting8706);
newLeafNode(lv_userEditable_2_0, grammarAccess.getResourceSettingAccess().getUserEditableUserEditableKeyword_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(current, "userEditable", true, "userEditable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4441:3: ( (lv_canBePublished_3_0= 'canBePublished' ) )?
int alt137=2;
int LA137_0 = input.LA(1);
if ( (LA137_0==86) ) {
alt137=1;
}
switch (alt137) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4442:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4442:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4443:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)match(input,86,FOLLOW_86_in_ruleResourceSetting8738);
newLeafNode(lv_canBePublished_3_0, grammarAccess.getResourceSettingAccess().getCanBePublishedCanBePublishedKeyword_3_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(current, "canBePublished", true, "canBePublished");
}
}
break;
}
otherlv_4=(Token)match(input,87,FOLLOW_87_in_ruleResourceSetting8764);
newLeafNode(otherlv_4, grammarAccess.getResourceSettingAccess().getResourceSettingKeyword_4());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4460:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4461:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4461:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4462:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8781);
newLeafNode(lv_uniqueID_5_0, grammarAccess.getResourceSettingAccess().getUniqueIDSTRINGTerminalRuleCall_5_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING");
}
}
otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleResourceSetting8798);
newLeafNode(otherlv_6, grammarAccess.getResourceSettingAccess().getLeftCurlyBracketKeyword_6());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4482:1: (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )?
int alt138=2;
int LA138_0 = input.LA(1);
if ( (LA138_0==15) ) {
alt138=1;
}
switch (alt138) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4482:3: otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) )
{
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleResourceSetting8811);
newLeafNode(otherlv_7, grammarAccess.getResourceSettingAccess().getNameKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4486:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4487:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4487:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4488:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8828);
newLeafNode(lv_name_8_0, grammarAccess.getResourceSettingAccess().getNameSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(
current,
"name",
lv_name_8_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4504:4: (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )?
int alt139=2;
int LA139_0 = input.LA(1);
if ( (LA139_0==16) ) {
alt139=1;
}
switch (alt139) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4504:6: otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) )
{
otherlv_9=(Token)match(input,16,FOLLOW_16_in_ruleResourceSetting8848);
newLeafNode(otherlv_9, grammarAccess.getResourceSettingAccess().getIdKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4508:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4509:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4509:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4510:3: lv_id_10_0= ruleEInt
{
newCompositeNode(grammarAccess.getResourceSettingAccess().getIdEIntParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleResourceSetting8869);
lv_id_10_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceSettingRule());
}
set(
current,
"id",
lv_id_10_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4526:4: (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )?
int alt140=2;
int LA140_0 = input.LA(1);
if ( (LA140_0==17) ) {
alt140=1;
}
switch (alt140) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4526:6: otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) )
{
otherlv_11=(Token)match(input,17,FOLLOW_17_in_ruleResourceSetting8884);
newLeafNode(otherlv_11, grammarAccess.getResourceSettingAccess().getDescriptionKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4530:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4531:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4531:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4532:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8901);
newLeafNode(lv_description_12_0, grammarAccess.getResourceSettingAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(
current,
"description",
lv_description_12_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4548:4: ( (lv_Readable_13_0= 'Readable' ) )?
int alt141=2;
int LA141_0 = input.LA(1);
if ( (LA141_0==88) ) {
alt141=1;
}
switch (alt141) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4549:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4549:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4550:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)match(input,88,FOLLOW_88_in_ruleResourceSetting8926);
newLeafNode(lv_Readable_13_0, grammarAccess.getResourceSettingAccess().getReadableReadableKeyword_10_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(current, "Readable", true, "Readable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4563:3: ( (lv_Writable_14_0= 'Writable' ) )?
int alt142=2;
int LA142_0 = input.LA(1);
if ( (LA142_0==89) ) {
alt142=1;
}
switch (alt142) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4564:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4564:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4565:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)match(input,89,FOLLOW_89_in_ruleResourceSetting8958);
newLeafNode(lv_Writable_14_0, grammarAccess.getResourceSettingAccess().getWritableWritableKeyword_11_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
setWithLastConsumed(current, "Writable", true, "Writable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4578:3: (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )?
int alt144=2;
int LA144_0 = input.LA(1);
if ( (LA144_0==90) ) {
alt144=1;
}
switch (alt144) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4578:5: otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')'
{
otherlv_15=(Token)match(input,90,FOLLOW_90_in_ruleResourceSetting8985);
newLeafNode(otherlv_15, grammarAccess.getResourceSettingAccess().getRequiresParamsKeyword_12_0());
otherlv_16=(Token)match(input,31,FOLLOW_31_in_ruleResourceSetting8997);
newLeafNode(otherlv_16, grammarAccess.getResourceSettingAccess().getLeftParenthesisKeyword_12_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4586:1: ( (otherlv_17= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4587:1: (otherlv_17= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4587:1: (otherlv_17= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4588:3: otherlv_17= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
otherlv_17=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting9017);
newLeafNode(otherlv_17, grammarAccess.getResourceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4599:2: (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )*
loop143:
do {
int alt143=2;
int LA143_0 = input.LA(1);
if ( (LA143_0==21) ) {
alt143=1;
}
switch (alt143) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4599:4: otherlv_18= ',' ( (otherlv_19= RULE_STRING ) )
{
otherlv_18=(Token)match(input,21,FOLLOW_21_in_ruleResourceSetting9030);
newLeafNode(otherlv_18, grammarAccess.getResourceSettingAccess().getCommaKeyword_12_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4603:1: ( (otherlv_19= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4604:1: (otherlv_19= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4604:1: (otherlv_19= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4605:3: otherlv_19= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
otherlv_19=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting9050);
newLeafNode(otherlv_19, grammarAccess.getResourceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0());
}
}
}
break;
default :
break loop143;
}
} while (true);
otherlv_20=(Token)match(input,32,FOLLOW_32_in_ruleResourceSetting9064);
newLeafNode(otherlv_20, grammarAccess.getResourceSettingAccess().getRightParenthesisKeyword_12_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4620:3: (otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )?
int alt146=2;
int LA146_0 = input.LA(1);
if ( (LA146_0==91) ) {
alt146=1;
}
switch (alt146) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4620:5: otherlv_21= 'OnlyConfiguredByResources' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')'
{
otherlv_21=(Token)match(input,91,FOLLOW_91_in_ruleResourceSetting9079);
newLeafNode(otherlv_21, grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesKeyword_13_0());
otherlv_22=(Token)match(input,31,FOLLOW_31_in_ruleResourceSetting9091);
newLeafNode(otherlv_22, grammarAccess.getResourceSettingAccess().getLeftParenthesisKeyword_13_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4628:1: ( (otherlv_23= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4629:1: (otherlv_23= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4629:1: (otherlv_23= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4630:3: otherlv_23= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
otherlv_23=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting9111);
newLeafNode(otherlv_23, grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesResourceCrossReference_13_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4641:2: (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )*
loop145:
do {
int alt145=2;
int LA145_0 = input.LA(1);
if ( (LA145_0==21) ) {
alt145=1;
}
switch (alt145) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4641:4: otherlv_24= ',' ( (otherlv_25= RULE_STRING ) )
{
otherlv_24=(Token)match(input,21,FOLLOW_21_in_ruleResourceSetting9124);
newLeafNode(otherlv_24, grammarAccess.getResourceSettingAccess().getCommaKeyword_13_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4645:1: ( (otherlv_25= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4646:1: (otherlv_25= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4646:1: (otherlv_25= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4647:3: otherlv_25= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
otherlv_25=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting9144);
newLeafNode(otherlv_25, grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesResourceCrossReference_13_3_1_0());
}
}
}
break;
default :
break loop145;
}
} while (true);
otherlv_26=(Token)match(input,32,FOLLOW_32_in_ruleResourceSetting9158);
newLeafNode(otherlv_26, grammarAccess.getResourceSettingAccess().getRightParenthesisKeyword_13_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4662:3: (otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) ) )?
int alt147=2;
int LA147_0 = input.LA(1);
if ( (LA147_0==92) ) {
alt147=1;
}
switch (alt147) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4662:5: otherlv_27= 'implServiceSetting' ( (otherlv_28= RULE_STRING ) )
{
otherlv_27=(Token)match(input,92,FOLLOW_92_in_ruleResourceSetting9173);
newLeafNode(otherlv_27, grammarAccess.getResourceSettingAccess().getImplServiceSettingKeyword_14_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4666:1: ( (otherlv_28= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4667:1: (otherlv_28= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4667:1: (otherlv_28= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4668:3: otherlv_28= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceSettingRule());
}
otherlv_28=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting9193);
newLeafNode(otherlv_28, grammarAccess.getResourceSettingAccess().getImplServiceSettingServiceSettingCrossReference_14_1_0());
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4679:4: (otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )?
int alt148=2;
int LA148_0 = input.LA(1);
if ( (LA148_0==93) ) {
alt148=1;
}
switch (alt148) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4679:6: otherlv_29= 'settingType' ( (lv_settingType_30_0= ruleSettingType ) )
{
otherlv_29=(Token)match(input,93,FOLLOW_93_in_ruleResourceSetting9208);
newLeafNode(otherlv_29, grammarAccess.getResourceSettingAccess().getSettingTypeKeyword_15_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4683:1: ( (lv_settingType_30_0= ruleSettingType ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4684:1: (lv_settingType_30_0= ruleSettingType )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4684:1: (lv_settingType_30_0= ruleSettingType )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4685:3: lv_settingType_30_0= ruleSettingType
{
newCompositeNode(grammarAccess.getResourceSettingAccess().getSettingTypeSettingTypeParserRuleCall_15_1_0());
pushFollow(FOLLOW_ruleSettingType_in_ruleResourceSetting9229);
lv_settingType_30_0=ruleSettingType();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceSettingRule());
}
set(
current,
"settingType",
lv_settingType_30_0,
"SettingType");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4701:4: (otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}' )?
int alt150=2;
int LA150_0 = input.LA(1);
if ( (LA150_0==94) ) {
alt150=1;
}
switch (alt150) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4701:6: otherlv_31= 'settingConstraints' otherlv_32= '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* otherlv_36= '}'
{
otherlv_31=(Token)match(input,94,FOLLOW_94_in_ruleResourceSetting9244);
newLeafNode(otherlv_31, grammarAccess.getResourceSettingAccess().getSettingConstraintsKeyword_16_0());
otherlv_32=(Token)match(input,14,FOLLOW_14_in_ruleResourceSetting9256);
newLeafNode(otherlv_32, grammarAccess.getResourceSettingAccess().getLeftCurlyBracketKeyword_16_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4709:1: ( (lv_settingConstraints_33_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4710:1: (lv_settingConstraints_33_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4710:1: (lv_settingConstraints_33_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4711:3: lv_settingConstraints_33_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getResourceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_2_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleResourceSetting9277);
lv_settingConstraints_33_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceSettingRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_33_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4727:2: (otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )*
loop149:
do {
int alt149=2;
int LA149_0 = input.LA(1);
if ( (LA149_0==21) ) {
alt149=1;
}
switch (alt149) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4727:4: otherlv_34= ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) )
{
otherlv_34=(Token)match(input,21,FOLLOW_21_in_ruleResourceSetting9290);
newLeafNode(otherlv_34, grammarAccess.getResourceSettingAccess().getCommaKeyword_16_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4731:1: ( (lv_settingConstraints_35_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4732:1: (lv_settingConstraints_35_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4732:1: (lv_settingConstraints_35_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4733:3: lv_settingConstraints_35_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getResourceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_3_1_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleResourceSetting9311);
lv_settingConstraints_35_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceSettingRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_35_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop149;
}
} while (true);
otherlv_36=(Token)match(input,22,FOLLOW_22_in_ruleResourceSetting9325);
newLeafNode(otherlv_36, grammarAccess.getResourceSettingAccess().getRightCurlyBracketKeyword_16_4());
}
break;
}
otherlv_37=(Token)match(input,22,FOLLOW_22_in_ruleResourceSetting9339);
newLeafNode(otherlv_37, grammarAccess.getResourceSettingAccess().getRightCurlyBracketKeyword_17());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResourceSetting"
// $ANTLR start "entryRuleResourceCategory"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4765:1: entryRuleResourceCategory returns [EObject current=null] : iv_ruleResourceCategory= ruleResourceCategory EOF ;
public final EObject entryRuleResourceCategory() throws RecognitionException {
EObject current = null;
EObject iv_ruleResourceCategory = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4766:2: (iv_ruleResourceCategory= ruleResourceCategory EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4767:2: iv_ruleResourceCategory= ruleResourceCategory EOF
{
newCompositeNode(grammarAccess.getResourceCategoryRule());
pushFollow(FOLLOW_ruleResourceCategory_in_entryRuleResourceCategory9375);
iv_ruleResourceCategory=ruleResourceCategory();
state._fsp--;
current =iv_ruleResourceCategory;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceCategory9385);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResourceCategory"
// $ANTLR start "ruleResourceCategory"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4774:1: ruleResourceCategory returns [EObject current=null] : ( () otherlv_1= 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' ) ;
public final EObject ruleResourceCategory() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4777:28: ( ( () otherlv_1= 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4778:1: ( () otherlv_1= 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4778:1: ( () otherlv_1= 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4778:2: () otherlv_1= 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? otherlv_16= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4778:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4779:5:
{
current = forceCreateModelElement(
grammarAccess.getResourceCategoryAccess().getResourceCategoryAction_0(),
current);
}
otherlv_1=(Token)match(input,95,FOLLOW_95_in_ruleResourceCategory9431);
newLeafNode(otherlv_1, grammarAccess.getResourceCategoryAccess().getResourceCategoryKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4788:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4789:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4789:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4790:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9448);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getResourceCategoryAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceCategoryRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleResourceCategory9465);
newLeafNode(otherlv_3, grammarAccess.getResourceCategoryAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4810:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt151=2;
int LA151_0 = input.LA(1);
if ( (LA151_0==15) ) {
alt151=1;
}
switch (alt151) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4810:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleResourceCategory9478);
newLeafNode(otherlv_4, grammarAccess.getResourceCategoryAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4814:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4815:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4815:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4816:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9495);
newLeafNode(lv_name_5_0, grammarAccess.getResourceCategoryAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceCategoryRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4832:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt152=2;
int LA152_0 = input.LA(1);
if ( (LA152_0==16) ) {
alt152=1;
}
switch (alt152) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4832:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleResourceCategory9515);
newLeafNode(otherlv_6, grammarAccess.getResourceCategoryAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4836:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4837:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4837:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4838:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getResourceCategoryAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleResourceCategory9536);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResourceCategoryRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4854:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt153=2;
int LA153_0 = input.LA(1);
if ( (LA153_0==17) ) {
alt153=1;
}
switch (alt153) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4854:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleResourceCategory9551);
newLeafNode(otherlv_8, grammarAccess.getResourceCategoryAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4858:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4859:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4859:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4860:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9568);
newLeafNode(lv_description_9_0, grammarAccess.getResourceCategoryAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResourceCategoryRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4876:4: (otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt155=2;
int LA155_0 = input.LA(1);
if ( (LA155_0==96) ) {
alt155=1;
}
switch (alt155) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4876:6: otherlv_10= 'resourcelist' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,96,FOLLOW_96_in_ruleResourceCategory9588);
newLeafNode(otherlv_10, grammarAccess.getResourceCategoryAccess().getResourcelistKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleResourceCategory9600);
newLeafNode(otherlv_11, grammarAccess.getResourceCategoryAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4884:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4885:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4885:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4886:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceCategoryRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9620);
newLeafNode(otherlv_12, grammarAccess.getResourceCategoryAccess().getResourcelistResourceCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4897:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop154:
do {
int alt154=2;
int LA154_0 = input.LA(1);
if ( (LA154_0==21) ) {
alt154=1;
}
switch (alt154) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4897:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleResourceCategory9633);
newLeafNode(otherlv_13, grammarAccess.getResourceCategoryAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4901:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4902:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4902:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4903:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResourceCategoryRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9653);
newLeafNode(otherlv_14, grammarAccess.getResourceCategoryAccess().getResourcelistResourceCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop154;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleResourceCategory9667);
newLeafNode(otherlv_15, grammarAccess.getResourceCategoryAccess().getRightParenthesisKeyword_7_4());
}
break;
}
otherlv_16=(Token)match(input,22,FOLLOW_22_in_ruleResourceCategory9681);
newLeafNode(otherlv_16, grammarAccess.getResourceCategoryAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResourceCategory"
// $ANTLR start "entryRuleResource_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4930:1: entryRuleResource_Impl returns [EObject current=null] : iv_ruleResource_Impl= ruleResource_Impl EOF ;
public final EObject entryRuleResource_Impl() throws RecognitionException {
EObject current = null;
EObject iv_ruleResource_Impl = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4931:2: (iv_ruleResource_Impl= ruleResource_Impl EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4932:2: iv_ruleResource_Impl= ruleResource_Impl EOF
{
newCompositeNode(grammarAccess.getResource_ImplRule());
pushFollow(FOLLOW_ruleResource_Impl_in_entryRuleResource_Impl9717);
iv_ruleResource_Impl=ruleResource_Impl();
state._fsp--;
current =iv_ruleResource_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleResource_Impl9727);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResource_Impl"
// $ANTLR start "ruleResource_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4939:1: ruleResource_Impl returns [EObject current=null] : ( () otherlv_1= 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) ;
public final EObject ruleResource_Impl() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_25=null;
Token otherlv_27=null;
Token otherlv_28=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_resourceSettings_24_0 = null;
EObject lv_resourceSettings_26_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4942:28: ( ( () otherlv_1= 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4943:1: ( () otherlv_1= 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )? otherlv_28= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4943:1: ( () otherlv_1= 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )? otherlv_28= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4943:2: () otherlv_1= 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )? (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )? otherlv_28= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4943:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4944:5:
{
current = forceCreateModelElement(
grammarAccess.getResource_ImplAccess().getResourceAction_0(),
current);
}
otherlv_1=(Token)match(input,97,FOLLOW_97_in_ruleResource_Impl9773);
newLeafNode(otherlv_1, grammarAccess.getResource_ImplAccess().getResourceKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4953:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4954:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4954:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4955:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9790);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getResource_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleResource_Impl9807);
newLeafNode(otherlv_3, grammarAccess.getResource_ImplAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4975:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt156=2;
int LA156_0 = input.LA(1);
if ( (LA156_0==15) ) {
alt156=1;
}
switch (alt156) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4975:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleResource_Impl9820);
newLeafNode(otherlv_4, grammarAccess.getResource_ImplAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4979:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4980:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4980:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4981:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9837);
newLeafNode(lv_name_5_0, grammarAccess.getResource_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4997:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt157=2;
int LA157_0 = input.LA(1);
if ( (LA157_0==16) ) {
alt157=1;
}
switch (alt157) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:4997:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleResource_Impl9857);
newLeafNode(otherlv_6, grammarAccess.getResource_ImplAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5001:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5002:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5002:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5003:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getResource_ImplAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleResource_Impl9878);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResource_ImplRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5019:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt158=2;
int LA158_0 = input.LA(1);
if ( (LA158_0==17) ) {
alt158=1;
}
switch (alt158) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5019:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleResource_Impl9893);
newLeafNode(otherlv_8, grammarAccess.getResource_ImplAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5023:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5024:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5024:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5025:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9910);
newLeafNode(lv_description_9_0, grammarAccess.getResource_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5041:4: (otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt160=2;
int LA160_0 = input.LA(1);
if ( (LA160_0==80) ) {
alt160=1;
}
switch (alt160) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5041:6: otherlv_10= 'contributesToCategories' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,80,FOLLOW_80_in_ruleResource_Impl9930);
newLeafNode(otherlv_10, grammarAccess.getResource_ImplAccess().getContributesToCategoriesKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleResource_Impl9942);
newLeafNode(otherlv_11, grammarAccess.getResource_ImplAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5049:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5050:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5050:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5051:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9962);
newLeafNode(otherlv_12, grammarAccess.getResource_ImplAccess().getContributesToCategoriesResourceCategoryCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5062:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop159:
do {
int alt159=2;
int LA159_0 = input.LA(1);
if ( (LA159_0==21) ) {
alt159=1;
}
switch (alt159) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5062:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleResource_Impl9975);
newLeafNode(otherlv_13, grammarAccess.getResource_ImplAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5066:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5067:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5067:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5068:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9995);
newLeafNode(otherlv_14, grammarAccess.getResource_ImplAccess().getContributesToCategoriesResourceCategoryCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop159;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleResource_Impl10009);
newLeafNode(otherlv_15, grammarAccess.getResource_ImplAccess().getRightParenthesisKeyword_7_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5083:3: (otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')' )?
int alt162=2;
int LA162_0 = input.LA(1);
if ( (LA162_0==81) ) {
alt162=1;
}
switch (alt162) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5083:5: otherlv_16= 'requiresResources' otherlv_17= '(' ( (otherlv_18= RULE_STRING ) ) (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )* otherlv_21= ')'
{
otherlv_16=(Token)match(input,81,FOLLOW_81_in_ruleResource_Impl10024);
newLeafNode(otherlv_16, grammarAccess.getResource_ImplAccess().getRequiresResourcesKeyword_8_0());
otherlv_17=(Token)match(input,31,FOLLOW_31_in_ruleResource_Impl10036);
newLeafNode(otherlv_17, grammarAccess.getResource_ImplAccess().getLeftParenthesisKeyword_8_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5091:1: ( (otherlv_18= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5092:1: (otherlv_18= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5092:1: (otherlv_18= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5093:3: otherlv_18= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
otherlv_18=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl10056);
newLeafNode(otherlv_18, grammarAccess.getResource_ImplAccess().getRequiresResourcesResourceCrossReference_8_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5104:2: (otherlv_19= ',' ( (otherlv_20= RULE_STRING ) ) )*
loop161:
do {
int alt161=2;
int LA161_0 = input.LA(1);
if ( (LA161_0==21) ) {
alt161=1;
}
switch (alt161) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5104:4: otherlv_19= ',' ( (otherlv_20= RULE_STRING ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleResource_Impl10069);
newLeafNode(otherlv_19, grammarAccess.getResource_ImplAccess().getCommaKeyword_8_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5108:1: ( (otherlv_20= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5109:1: (otherlv_20= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5109:1: (otherlv_20= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5110:3: otherlv_20= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getResource_ImplRule());
}
otherlv_20=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl10089);
newLeafNode(otherlv_20, grammarAccess.getResource_ImplAccess().getRequiresResourcesResourceCrossReference_8_3_1_0());
}
}
}
break;
default :
break loop161;
}
} while (true);
otherlv_21=(Token)match(input,32,FOLLOW_32_in_ruleResource_Impl10103);
newLeafNode(otherlv_21, grammarAccess.getResource_ImplAccess().getRightParenthesisKeyword_8_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5125:3: (otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}' )?
int alt164=2;
int LA164_0 = input.LA(1);
if ( (LA164_0==83) ) {
alt164=1;
}
switch (alt164) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5125:5: otherlv_22= 'resourceSettings' otherlv_23= '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* otherlv_27= '}'
{
otherlv_22=(Token)match(input,83,FOLLOW_83_in_ruleResource_Impl10118);
newLeafNode(otherlv_22, grammarAccess.getResource_ImplAccess().getResourceSettingsKeyword_9_0());
otherlv_23=(Token)match(input,14,FOLLOW_14_in_ruleResource_Impl10130);
newLeafNode(otherlv_23, grammarAccess.getResource_ImplAccess().getLeftCurlyBracketKeyword_9_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5133:1: ( (lv_resourceSettings_24_0= ruleResourceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5134:1: (lv_resourceSettings_24_0= ruleResourceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5134:1: (lv_resourceSettings_24_0= ruleResourceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5135:3: lv_resourceSettings_24_0= ruleResourceSetting
{
newCompositeNode(grammarAccess.getResource_ImplAccess().getResourceSettingsResourceSettingParserRuleCall_9_2_0());
pushFollow(FOLLOW_ruleResourceSetting_in_ruleResource_Impl10151);
lv_resourceSettings_24_0=ruleResourceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResource_ImplRule());
}
add(
current,
"resourceSettings",
lv_resourceSettings_24_0,
"ResourceSetting");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5151:2: (otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )*
loop163:
do {
int alt163=2;
int LA163_0 = input.LA(1);
if ( (LA163_0==21) ) {
alt163=1;
}
switch (alt163) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5151:4: otherlv_25= ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) )
{
otherlv_25=(Token)match(input,21,FOLLOW_21_in_ruleResource_Impl10164);
newLeafNode(otherlv_25, grammarAccess.getResource_ImplAccess().getCommaKeyword_9_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5155:1: ( (lv_resourceSettings_26_0= ruleResourceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5156:1: (lv_resourceSettings_26_0= ruleResourceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5156:1: (lv_resourceSettings_26_0= ruleResourceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5157:3: lv_resourceSettings_26_0= ruleResourceSetting
{
newCompositeNode(grammarAccess.getResource_ImplAccess().getResourceSettingsResourceSettingParserRuleCall_9_3_1_0());
pushFollow(FOLLOW_ruleResourceSetting_in_ruleResource_Impl10185);
lv_resourceSettings_26_0=ruleResourceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getResource_ImplRule());
}
add(
current,
"resourceSettings",
lv_resourceSettings_26_0,
"ResourceSetting");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop163;
}
} while (true);
otherlv_27=(Token)match(input,22,FOLLOW_22_in_ruleResource_Impl10199);
newLeafNode(otherlv_27, grammarAccess.getResource_ImplAccess().getRightCurlyBracketKeyword_9_4());
}
break;
}
otherlv_28=(Token)match(input,22,FOLLOW_22_in_ruleResource_Impl10213);
newLeafNode(otherlv_28, grammarAccess.getResource_ImplAccess().getRightCurlyBracketKeyword_10());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResource_Impl"
// $ANTLR start "entryRuleService_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5189:1: entryRuleService_Impl returns [EObject current=null] : iv_ruleService_Impl= ruleService_Impl EOF ;
public final EObject entryRuleService_Impl() throws RecognitionException {
EObject current = null;
EObject iv_ruleService_Impl = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5190:2: (iv_ruleService_Impl= ruleService_Impl EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5191:2: iv_ruleService_Impl= ruleService_Impl EOF
{
newCompositeNode(grammarAccess.getService_ImplRule());
pushFollow(FOLLOW_ruleService_Impl_in_entryRuleService_Impl10249);
iv_ruleService_Impl=ruleService_Impl();
state._fsp--;
current =iv_ruleService_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleService_Impl10259);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleService_Impl"
// $ANTLR start "ruleService_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5198:1: ruleService_Impl returns [EObject current=null] : ( () otherlv_1= 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) ;
public final EObject ruleService_Impl() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_21=null;
Token otherlv_22=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_serviceSettings_18_0 = null;
EObject lv_serviceSettings_20_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5201:28: ( ( () otherlv_1= 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5202:1: ( () otherlv_1= 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5202:1: ( () otherlv_1= 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5202:2: () otherlv_1= 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )? (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )? otherlv_22= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5202:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5203:5:
{
current = forceCreateModelElement(
grammarAccess.getService_ImplAccess().getServiceAction_0(),
current);
}
otherlv_1=(Token)match(input,98,FOLLOW_98_in_ruleService_Impl10305);
newLeafNode(otherlv_1, grammarAccess.getService_ImplAccess().getServiceKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5212:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5213:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5213:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5214:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl10322);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getService_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getService_ImplRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleService_Impl10339);
newLeafNode(otherlv_3, grammarAccess.getService_ImplAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5234:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt165=2;
int LA165_0 = input.LA(1);
if ( (LA165_0==15) ) {
alt165=1;
}
switch (alt165) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5234:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleService_Impl10352);
newLeafNode(otherlv_4, grammarAccess.getService_ImplAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5238:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5239:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5239:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5240:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl10369);
newLeafNode(lv_name_5_0, grammarAccess.getService_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getService_ImplRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5256:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt166=2;
int LA166_0 = input.LA(1);
if ( (LA166_0==16) ) {
alt166=1;
}
switch (alt166) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5256:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleService_Impl10389);
newLeafNode(otherlv_6, grammarAccess.getService_ImplAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5260:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5261:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5261:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5262:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getService_ImplAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleService_Impl10410);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getService_ImplRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5278:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt167=2;
int LA167_0 = input.LA(1);
if ( (LA167_0==17) ) {
alt167=1;
}
switch (alt167) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5278:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleService_Impl10425);
newLeafNode(otherlv_8, grammarAccess.getService_ImplAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5282:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5283:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5283:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5284:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl10442);
newLeafNode(lv_description_9_0, grammarAccess.getService_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getService_ImplRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5300:4: (otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')' )?
int alt169=2;
int LA169_0 = input.LA(1);
if ( (LA169_0==37) ) {
alt169=1;
}
switch (alt169) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5300:6: otherlv_10= 'requiresServices' otherlv_11= '(' ( (otherlv_12= RULE_STRING ) ) (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )* otherlv_15= ')'
{
otherlv_10=(Token)match(input,37,FOLLOW_37_in_ruleService_Impl10462);
newLeafNode(otherlv_10, grammarAccess.getService_ImplAccess().getRequiresServicesKeyword_7_0());
otherlv_11=(Token)match(input,31,FOLLOW_31_in_ruleService_Impl10474);
newLeafNode(otherlv_11, grammarAccess.getService_ImplAccess().getLeftParenthesisKeyword_7_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5308:1: ( (otherlv_12= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5309:1: (otherlv_12= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5309:1: (otherlv_12= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5310:3: otherlv_12= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getService_ImplRule());
}
otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl10494);
newLeafNode(otherlv_12, grammarAccess.getService_ImplAccess().getRequiresServicesServiceCrossReference_7_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5321:2: (otherlv_13= ',' ( (otherlv_14= RULE_STRING ) ) )*
loop168:
do {
int alt168=2;
int LA168_0 = input.LA(1);
if ( (LA168_0==21) ) {
alt168=1;
}
switch (alt168) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5321:4: otherlv_13= ',' ( (otherlv_14= RULE_STRING ) )
{
otherlv_13=(Token)match(input,21,FOLLOW_21_in_ruleService_Impl10507);
newLeafNode(otherlv_13, grammarAccess.getService_ImplAccess().getCommaKeyword_7_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5325:1: ( (otherlv_14= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5326:1: (otherlv_14= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5326:1: (otherlv_14= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5327:3: otherlv_14= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getService_ImplRule());
}
otherlv_14=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl10527);
newLeafNode(otherlv_14, grammarAccess.getService_ImplAccess().getRequiresServicesServiceCrossReference_7_3_1_0());
}
}
}
break;
default :
break loop168;
}
} while (true);
otherlv_15=(Token)match(input,32,FOLLOW_32_in_ruleService_Impl10541);
newLeafNode(otherlv_15, grammarAccess.getService_ImplAccess().getRightParenthesisKeyword_7_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5342:3: (otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}' )?
int alt171=2;
int LA171_0 = input.LA(1);
if ( (LA171_0==38) ) {
alt171=1;
}
switch (alt171) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5342:5: otherlv_16= 'serviceSettings' otherlv_17= '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* otherlv_21= '}'
{
otherlv_16=(Token)match(input,38,FOLLOW_38_in_ruleService_Impl10556);
newLeafNode(otherlv_16, grammarAccess.getService_ImplAccess().getServiceSettingsKeyword_8_0());
otherlv_17=(Token)match(input,14,FOLLOW_14_in_ruleService_Impl10568);
newLeafNode(otherlv_17, grammarAccess.getService_ImplAccess().getLeftCurlyBracketKeyword_8_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5350:1: ( (lv_serviceSettings_18_0= ruleServiceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5351:1: (lv_serviceSettings_18_0= ruleServiceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5351:1: (lv_serviceSettings_18_0= ruleServiceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5352:3: lv_serviceSettings_18_0= ruleServiceSetting
{
newCompositeNode(grammarAccess.getService_ImplAccess().getServiceSettingsServiceSettingParserRuleCall_8_2_0());
pushFollow(FOLLOW_ruleServiceSetting_in_ruleService_Impl10589);
lv_serviceSettings_18_0=ruleServiceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getService_ImplRule());
}
add(
current,
"serviceSettings",
lv_serviceSettings_18_0,
"ServiceSetting");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5368:2: (otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )*
loop170:
do {
int alt170=2;
int LA170_0 = input.LA(1);
if ( (LA170_0==21) ) {
alt170=1;
}
switch (alt170) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5368:4: otherlv_19= ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
{
otherlv_19=(Token)match(input,21,FOLLOW_21_in_ruleService_Impl10602);
newLeafNode(otherlv_19, grammarAccess.getService_ImplAccess().getCommaKeyword_8_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5372:1: ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5373:1: (lv_serviceSettings_20_0= ruleServiceSetting )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5373:1: (lv_serviceSettings_20_0= ruleServiceSetting )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5374:3: lv_serviceSettings_20_0= ruleServiceSetting
{
newCompositeNode(grammarAccess.getService_ImplAccess().getServiceSettingsServiceSettingParserRuleCall_8_3_1_0());
pushFollow(FOLLOW_ruleServiceSetting_in_ruleService_Impl10623);
lv_serviceSettings_20_0=ruleServiceSetting();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getService_ImplRule());
}
add(
current,
"serviceSettings",
lv_serviceSettings_20_0,
"ServiceSetting");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop170;
}
} while (true);
otherlv_21=(Token)match(input,22,FOLLOW_22_in_ruleService_Impl10637);
newLeafNode(otherlv_21, grammarAccess.getService_ImplAccess().getRightCurlyBracketKeyword_8_4());
}
break;
}
otherlv_22=(Token)match(input,22,FOLLOW_22_in_ruleService_Impl10651);
newLeafNode(otherlv_22, grammarAccess.getService_ImplAccess().getRightCurlyBracketKeyword_9());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleService_Impl"
// $ANTLR start "entryRuleSettingConstraint"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5408:1: entryRuleSettingConstraint returns [EObject current=null] : iv_ruleSettingConstraint= ruleSettingConstraint EOF ;
public final EObject entryRuleSettingConstraint() throws RecognitionException {
EObject current = null;
EObject iv_ruleSettingConstraint = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5409:2: (iv_ruleSettingConstraint= ruleSettingConstraint EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5410:2: iv_ruleSettingConstraint= ruleSettingConstraint EOF
{
newCompositeNode(grammarAccess.getSettingConstraintRule());
pushFollow(FOLLOW_ruleSettingConstraint_in_entryRuleSettingConstraint10689);
iv_ruleSettingConstraint=ruleSettingConstraint();
state._fsp--;
current =iv_ruleSettingConstraint;
match(input,EOF,FOLLOW_EOF_in_entryRuleSettingConstraint10699);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSettingConstraint"
// $ANTLR start "ruleSettingConstraint"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5417:1: ruleSettingConstraint returns [EObject current=null] : ( () otherlv_1= 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )? (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )? (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )? (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? otherlv_14= '}' ) ;
public final EObject ruleSettingConstraint() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token lv_AvailableAfterOperation_4_0=null;
Token lv_RequiredBeforeOperation_5_0=null;
Token otherlv_6=null;
Token lv_name_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token lv_description_11_0=null;
Token otherlv_12=null;
Token otherlv_14=null;
AntlrDatatypeRuleToken lv_id_9_0 = null;
Enumerator lv_ForOperation_13_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5420:28: ( ( () otherlv_1= 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )? (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )? (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )? (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? otherlv_14= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5421:1: ( () otherlv_1= 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )? (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )? (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )? (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? otherlv_14= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5421:1: ( () otherlv_1= 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )? (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )? (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )? (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? otherlv_14= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5421:2: () otherlv_1= 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )? (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )? (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )? (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? otherlv_14= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5421:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5422:5:
{
current = forceCreateModelElement(
grammarAccess.getSettingConstraintAccess().getSettingConstraintAction_0(),
current);
}
otherlv_1=(Token)match(input,99,FOLLOW_99_in_ruleSettingConstraint10745);
newLeafNode(otherlv_1, grammarAccess.getSettingConstraintAccess().getSettingConstraintKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5431:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5432:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5432:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5433:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10762);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getSettingConstraintAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getSettingConstraintRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleSettingConstraint10779);
newLeafNode(otherlv_3, grammarAccess.getSettingConstraintAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5453:1: ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )?
int alt172=2;
int LA172_0 = input.LA(1);
if ( (LA172_0==100) ) {
alt172=1;
}
switch (alt172) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5454:1: (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5454:1: (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5455:3: lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation'
{
lv_AvailableAfterOperation_4_0=(Token)match(input,100,FOLLOW_100_in_ruleSettingConstraint10797);
newLeafNode(lv_AvailableAfterOperation_4_0, grammarAccess.getSettingConstraintAccess().getAvailableAfterOperationAvailableAfterOperationKeyword_4_0());
if (current==null) {
current = createModelElement(grammarAccess.getSettingConstraintRule());
}
setWithLastConsumed(current, "AvailableAfterOperation", true, "AvailableAfterOperation");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5468:3: ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )?
int alt173=2;
int LA173_0 = input.LA(1);
if ( (LA173_0==101) ) {
alt173=1;
}
switch (alt173) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5469:1: (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5469:1: (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5470:3: lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation'
{
lv_RequiredBeforeOperation_5_0=(Token)match(input,101,FOLLOW_101_in_ruleSettingConstraint10829);
newLeafNode(lv_RequiredBeforeOperation_5_0, grammarAccess.getSettingConstraintAccess().getRequiredBeforeOperationRequiredBeforeOperationKeyword_5_0());
if (current==null) {
current = createModelElement(grammarAccess.getSettingConstraintRule());
}
setWithLastConsumed(current, "RequiredBeforeOperation", true, "RequiredBeforeOperation");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5483:3: (otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) ) )?
int alt174=2;
int LA174_0 = input.LA(1);
if ( (LA174_0==15) ) {
alt174=1;
}
switch (alt174) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5483:5: otherlv_6= 'name' ( (lv_name_7_0= RULE_STRING ) )
{
otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleSettingConstraint10856);
newLeafNode(otherlv_6, grammarAccess.getSettingConstraintAccess().getNameKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5487:1: ( (lv_name_7_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5488:1: (lv_name_7_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5488:1: (lv_name_7_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5489:3: lv_name_7_0= RULE_STRING
{
lv_name_7_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10873);
newLeafNode(lv_name_7_0, grammarAccess.getSettingConstraintAccess().getNameSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSettingConstraintRule());
}
setWithLastConsumed(
current,
"name",
lv_name_7_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5505:4: (otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) ) )?
int alt175=2;
int LA175_0 = input.LA(1);
if ( (LA175_0==16) ) {
alt175=1;
}
switch (alt175) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5505:6: otherlv_8= 'id' ( (lv_id_9_0= ruleEInt ) )
{
otherlv_8=(Token)match(input,16,FOLLOW_16_in_ruleSettingConstraint10893);
newLeafNode(otherlv_8, grammarAccess.getSettingConstraintAccess().getIdKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5509:1: ( (lv_id_9_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5510:1: (lv_id_9_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5510:1: (lv_id_9_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5511:3: lv_id_9_0= ruleEInt
{
newCompositeNode(grammarAccess.getSettingConstraintAccess().getIdEIntParserRuleCall_7_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleSettingConstraint10914);
lv_id_9_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSettingConstraintRule());
}
set(
current,
"id",
lv_id_9_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5527:4: (otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) ) )?
int alt176=2;
int LA176_0 = input.LA(1);
if ( (LA176_0==17) ) {
alt176=1;
}
switch (alt176) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5527:6: otherlv_10= 'description' ( (lv_description_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,17,FOLLOW_17_in_ruleSettingConstraint10929);
newLeafNode(otherlv_10, grammarAccess.getSettingConstraintAccess().getDescriptionKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5531:1: ( (lv_description_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5532:1: (lv_description_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5532:1: (lv_description_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5533:3: lv_description_11_0= RULE_STRING
{
lv_description_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10946);
newLeafNode(lv_description_11_0, grammarAccess.getSettingConstraintAccess().getDescriptionSTRINGTerminalRuleCall_8_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getSettingConstraintRule());
}
setWithLastConsumed(
current,
"description",
lv_description_11_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5549:4: (otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )?
int alt177=2;
int LA177_0 = input.LA(1);
if ( (LA177_0==102) ) {
alt177=1;
}
switch (alt177) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5549:6: otherlv_12= 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) )
{
otherlv_12=(Token)match(input,102,FOLLOW_102_in_ruleSettingConstraint10966);
newLeafNode(otherlv_12, grammarAccess.getSettingConstraintAccess().getForOperationKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5553:1: ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5554:1: (lv_ForOperation_13_0= ruleServiceResourceOperation )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5554:1: (lv_ForOperation_13_0= ruleServiceResourceOperation )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5555:3: lv_ForOperation_13_0= ruleServiceResourceOperation
{
newCompositeNode(grammarAccess.getSettingConstraintAccess().getForOperationServiceResourceOperationEnumRuleCall_9_1_0());
pushFollow(FOLLOW_ruleServiceResourceOperation_in_ruleSettingConstraint10987);
lv_ForOperation_13_0=ruleServiceResourceOperation();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getSettingConstraintRule());
}
set(
current,
"ForOperation",
lv_ForOperation_13_0,
"ServiceResourceOperation");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_14=(Token)match(input,22,FOLLOW_22_in_ruleSettingConstraint11001);
newLeafNode(otherlv_14, grammarAccess.getSettingConstraintAccess().getRightCurlyBracketKeyword_10());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSettingConstraint"
// $ANTLR start "entryRuleAbstractSetting_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5583:1: entryRuleAbstractSetting_Impl returns [EObject current=null] : iv_ruleAbstractSetting_Impl= ruleAbstractSetting_Impl EOF ;
public final EObject entryRuleAbstractSetting_Impl() throws RecognitionException {
EObject current = null;
EObject iv_ruleAbstractSetting_Impl = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5584:2: (iv_ruleAbstractSetting_Impl= ruleAbstractSetting_Impl EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5585:2: iv_ruleAbstractSetting_Impl= ruleAbstractSetting_Impl EOF
{
newCompositeNode(grammarAccess.getAbstractSetting_ImplRule());
pushFollow(FOLLOW_ruleAbstractSetting_Impl_in_entryRuleAbstractSetting_Impl11037);
iv_ruleAbstractSetting_Impl=ruleAbstractSetting_Impl();
state._fsp--;
current =iv_ruleAbstractSetting_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractSetting_Impl11047);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAbstractSetting_Impl"
// $ANTLR start "ruleAbstractSetting_Impl"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5592:1: ruleAbstractSetting_Impl returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )? otherlv_29= '}' ) ;
public final EObject ruleAbstractSetting_Impl() throws RecognitionException {
EObject current = null;
Token lv_userExposed_1_0=null;
Token lv_userEditable_2_0=null;
Token lv_canBePublished_3_0=null;
Token otherlv_4=null;
Token lv_uniqueID_5_0=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token lv_name_8_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_23=null;
Token otherlv_24=null;
Token otherlv_26=null;
Token otherlv_28=null;
Token otherlv_29=null;
AntlrDatatypeRuleToken lv_id_10_0 = null;
EObject lv_settingType_22_0 = null;
EObject lv_settingConstraints_25_0 = null;
EObject lv_settingConstraints_27_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5595:28: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )? otherlv_29= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5596:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )? otherlv_29= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5596:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )? otherlv_29= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5596:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )? otherlv_29= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5596:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5597:5:
{
current = forceCreateModelElement(
grammarAccess.getAbstractSetting_ImplAccess().getAbstractSettingAction_0(),
current);
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5602:2: ( (lv_userExposed_1_0= 'userExposed' ) )?
int alt178=2;
int LA178_0 = input.LA(1);
if ( (LA178_0==84) ) {
alt178=1;
}
switch (alt178) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5603:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5603:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5604:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)match(input,84,FOLLOW_84_in_ruleAbstractSetting_Impl11099);
newLeafNode(lv_userExposed_1_0, grammarAccess.getAbstractSetting_ImplAccess().getUserExposedUserExposedKeyword_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(current, "userExposed", true, "userExposed");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5617:3: ( (lv_userEditable_2_0= 'userEditable' ) )?
int alt179=2;
int LA179_0 = input.LA(1);
if ( (LA179_0==85) ) {
alt179=1;
}
switch (alt179) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5618:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5618:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5619:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)match(input,85,FOLLOW_85_in_ruleAbstractSetting_Impl11131);
newLeafNode(lv_userEditable_2_0, grammarAccess.getAbstractSetting_ImplAccess().getUserEditableUserEditableKeyword_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(current, "userEditable", true, "userEditable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5632:3: ( (lv_canBePublished_3_0= 'canBePublished' ) )?
int alt180=2;
int LA180_0 = input.LA(1);
if ( (LA180_0==86) ) {
alt180=1;
}
switch (alt180) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5633:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5633:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5634:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)match(input,86,FOLLOW_86_in_ruleAbstractSetting_Impl11163);
newLeafNode(lv_canBePublished_3_0, grammarAccess.getAbstractSetting_ImplAccess().getCanBePublishedCanBePublishedKeyword_3_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(current, "canBePublished", true, "canBePublished");
}
}
break;
}
otherlv_4=(Token)match(input,103,FOLLOW_103_in_ruleAbstractSetting_Impl11189);
newLeafNode(otherlv_4, grammarAccess.getAbstractSetting_ImplAccess().getAbstractSettingKeyword_4());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5651:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5652:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5652:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5653:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11206);
newLeafNode(lv_uniqueID_5_0, grammarAccess.getAbstractSetting_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_5_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING");
}
}
otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleAbstractSetting_Impl11223);
newLeafNode(otherlv_6, grammarAccess.getAbstractSetting_ImplAccess().getLeftCurlyBracketKeyword_6());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5673:1: (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )?
int alt181=2;
int LA181_0 = input.LA(1);
if ( (LA181_0==15) ) {
alt181=1;
}
switch (alt181) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5673:3: otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) )
{
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleAbstractSetting_Impl11236);
newLeafNode(otherlv_7, grammarAccess.getAbstractSetting_ImplAccess().getNameKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5677:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5678:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5678:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5679:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11253);
newLeafNode(lv_name_8_0, grammarAccess.getAbstractSetting_ImplAccess().getNameSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(
current,
"name",
lv_name_8_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5695:4: (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )?
int alt182=2;
int LA182_0 = input.LA(1);
if ( (LA182_0==16) ) {
alt182=1;
}
switch (alt182) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5695:6: otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) )
{
otherlv_9=(Token)match(input,16,FOLLOW_16_in_ruleAbstractSetting_Impl11273);
newLeafNode(otherlv_9, grammarAccess.getAbstractSetting_ImplAccess().getIdKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5699:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5700:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5700:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5701:3: lv_id_10_0= ruleEInt
{
newCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getIdEIntParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleAbstractSetting_Impl11294);
lv_id_10_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAbstractSetting_ImplRule());
}
set(
current,
"id",
lv_id_10_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5717:4: (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )?
int alt183=2;
int LA183_0 = input.LA(1);
if ( (LA183_0==17) ) {
alt183=1;
}
switch (alt183) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5717:6: otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) )
{
otherlv_11=(Token)match(input,17,FOLLOW_17_in_ruleAbstractSetting_Impl11309);
newLeafNode(otherlv_11, grammarAccess.getAbstractSetting_ImplAccess().getDescriptionKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5721:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5722:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5722:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5723:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11326);
newLeafNode(lv_description_12_0, grammarAccess.getAbstractSetting_ImplAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(
current,
"description",
lv_description_12_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5739:4: ( (lv_Readable_13_0= 'Readable' ) )?
int alt184=2;
int LA184_0 = input.LA(1);
if ( (LA184_0==88) ) {
alt184=1;
}
switch (alt184) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5740:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5740:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5741:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)match(input,88,FOLLOW_88_in_ruleAbstractSetting_Impl11351);
newLeafNode(lv_Readable_13_0, grammarAccess.getAbstractSetting_ImplAccess().getReadableReadableKeyword_10_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(current, "Readable", true, "Readable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5754:3: ( (lv_Writable_14_0= 'Writable' ) )?
int alt185=2;
int LA185_0 = input.LA(1);
if ( (LA185_0==89) ) {
alt185=1;
}
switch (alt185) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5755:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5755:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5756:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)match(input,89,FOLLOW_89_in_ruleAbstractSetting_Impl11383);
newLeafNode(lv_Writable_14_0, grammarAccess.getAbstractSetting_ImplAccess().getWritableWritableKeyword_11_0());
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
setWithLastConsumed(current, "Writable", true, "Writable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5769:3: (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )?
int alt187=2;
int LA187_0 = input.LA(1);
if ( (LA187_0==90) ) {
alt187=1;
}
switch (alt187) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5769:5: otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')'
{
otherlv_15=(Token)match(input,90,FOLLOW_90_in_ruleAbstractSetting_Impl11410);
newLeafNode(otherlv_15, grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsKeyword_12_0());
otherlv_16=(Token)match(input,31,FOLLOW_31_in_ruleAbstractSetting_Impl11422);
newLeafNode(otherlv_16, grammarAccess.getAbstractSetting_ImplAccess().getLeftParenthesisKeyword_12_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5777:1: ( (otherlv_17= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5778:1: (otherlv_17= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5778:1: (otherlv_17= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5779:3: otherlv_17= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
otherlv_17=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11442);
newLeafNode(otherlv_17, grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5790:2: (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )*
loop186:
do {
int alt186=2;
int LA186_0 = input.LA(1);
if ( (LA186_0==21) ) {
alt186=1;
}
switch (alt186) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5790:4: otherlv_18= ',' ( (otherlv_19= RULE_STRING ) )
{
otherlv_18=(Token)match(input,21,FOLLOW_21_in_ruleAbstractSetting_Impl11455);
newLeafNode(otherlv_18, grammarAccess.getAbstractSetting_ImplAccess().getCommaKeyword_12_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5794:1: ( (otherlv_19= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5795:1: (otherlv_19= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5795:1: (otherlv_19= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5796:3: otherlv_19= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getAbstractSetting_ImplRule());
}
otherlv_19=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11475);
newLeafNode(otherlv_19, grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0());
}
}
}
break;
default :
break loop186;
}
} while (true);
otherlv_20=(Token)match(input,32,FOLLOW_32_in_ruleAbstractSetting_Impl11489);
newLeafNode(otherlv_20, grammarAccess.getAbstractSetting_ImplAccess().getRightParenthesisKeyword_12_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5811:3: (otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )?
int alt188=2;
int LA188_0 = input.LA(1);
if ( (LA188_0==93) ) {
alt188=1;
}
switch (alt188) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5811:5: otherlv_21= 'settingType' ( (lv_settingType_22_0= ruleSettingType ) )
{
otherlv_21=(Token)match(input,93,FOLLOW_93_in_ruleAbstractSetting_Impl11504);
newLeafNode(otherlv_21, grammarAccess.getAbstractSetting_ImplAccess().getSettingTypeKeyword_13_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5815:1: ( (lv_settingType_22_0= ruleSettingType ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5816:1: (lv_settingType_22_0= ruleSettingType )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5816:1: (lv_settingType_22_0= ruleSettingType )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5817:3: lv_settingType_22_0= ruleSettingType
{
newCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingTypeSettingTypeParserRuleCall_13_1_0());
pushFollow(FOLLOW_ruleSettingType_in_ruleAbstractSetting_Impl11525);
lv_settingType_22_0=ruleSettingType();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAbstractSetting_ImplRule());
}
set(
current,
"settingType",
lv_settingType_22_0,
"SettingType");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5833:4: (otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}' )?
int alt190=2;
int LA190_0 = input.LA(1);
if ( (LA190_0==94) ) {
alt190=1;
}
switch (alt190) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5833:6: otherlv_23= 'settingConstraints' otherlv_24= '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* otherlv_28= '}'
{
otherlv_23=(Token)match(input,94,FOLLOW_94_in_ruleAbstractSetting_Impl11540);
newLeafNode(otherlv_23, grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsKeyword_14_0());
otherlv_24=(Token)match(input,14,FOLLOW_14_in_ruleAbstractSetting_Impl11552);
newLeafNode(otherlv_24, grammarAccess.getAbstractSetting_ImplAccess().getLeftCurlyBracketKeyword_14_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5841:1: ( (lv_settingConstraints_25_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5842:1: (lv_settingConstraints_25_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5842:1: (lv_settingConstraints_25_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5843:3: lv_settingConstraints_25_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsSettingConstraintParserRuleCall_14_2_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl11573);
lv_settingConstraints_25_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAbstractSetting_ImplRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_25_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5859:2: (otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )*
loop189:
do {
int alt189=2;
int LA189_0 = input.LA(1);
if ( (LA189_0==21) ) {
alt189=1;
}
switch (alt189) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5859:4: otherlv_26= ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) )
{
otherlv_26=(Token)match(input,21,FOLLOW_21_in_ruleAbstractSetting_Impl11586);
newLeafNode(otherlv_26, grammarAccess.getAbstractSetting_ImplAccess().getCommaKeyword_14_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5863:1: ( (lv_settingConstraints_27_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5864:1: (lv_settingConstraints_27_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5864:1: (lv_settingConstraints_27_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5865:3: lv_settingConstraints_27_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsSettingConstraintParserRuleCall_14_3_1_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl11607);
lv_settingConstraints_27_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAbstractSetting_ImplRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_27_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop189;
}
} while (true);
otherlv_28=(Token)match(input,22,FOLLOW_22_in_ruleAbstractSetting_Impl11621);
newLeafNode(otherlv_28, grammarAccess.getAbstractSetting_ImplAccess().getRightCurlyBracketKeyword_14_4());
}
break;
}
otherlv_29=(Token)match(input,22,FOLLOW_22_in_ruleAbstractSetting_Impl11635);
newLeafNode(otherlv_29, grammarAccess.getAbstractSetting_ImplAccess().getRightCurlyBracketKeyword_15());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAbstractSetting_Impl"
// $ANTLR start "entryRuleServiceSetting"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5897:1: entryRuleServiceSetting returns [EObject current=null] : iv_ruleServiceSetting= ruleServiceSetting EOF ;
public final EObject entryRuleServiceSetting() throws RecognitionException {
EObject current = null;
EObject iv_ruleServiceSetting = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5898:2: (iv_ruleServiceSetting= ruleServiceSetting EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5899:2: iv_ruleServiceSetting= ruleServiceSetting EOF
{
newCompositeNode(grammarAccess.getServiceSettingRule());
pushFollow(FOLLOW_ruleServiceSetting_in_entryRuleServiceSetting11671);
iv_ruleServiceSetting=ruleServiceSetting();
state._fsp--;
current =iv_ruleServiceSetting;
match(input,EOF,FOLLOW_EOF_in_entryRuleServiceSetting11681);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleServiceSetting"
// $ANTLR start "ruleServiceSetting"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5906:1: ruleServiceSetting returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )? (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )? otherlv_41= '}' ) ;
public final EObject ruleServiceSetting() throws RecognitionException {
EObject current = null;
Token lv_userExposed_1_0=null;
Token lv_userEditable_2_0=null;
Token lv_canBePublished_3_0=null;
Token otherlv_4=null;
Token lv_uniqueID_5_0=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token lv_name_8_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_22=null;
Token otherlv_23=null;
Token otherlv_24=null;
Token otherlv_25=null;
Token otherlv_26=null;
Token otherlv_27=null;
Token otherlv_28=null;
Token otherlv_29=null;
Token otherlv_30=null;
Token otherlv_31=null;
Token otherlv_32=null;
Token otherlv_33=null;
Token otherlv_35=null;
Token otherlv_36=null;
Token otherlv_38=null;
Token otherlv_40=null;
Token otherlv_41=null;
AntlrDatatypeRuleToken lv_id_10_0 = null;
EObject lv_settingType_34_0 = null;
EObject lv_settingConstraints_37_0 = null;
EObject lv_settingConstraints_39_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5909:28: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )? (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )? otherlv_41= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5910:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )? (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )? otherlv_41= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5910:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )? (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )? otherlv_41= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5910:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? otherlv_4= 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) otherlv_6= '{' (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )? (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )? (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )? (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )? (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )? (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )? otherlv_41= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5910:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5911:5:
{
current = forceCreateModelElement(
grammarAccess.getServiceSettingAccess().getServiceSettingAction_0(),
current);
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5916:2: ( (lv_userExposed_1_0= 'userExposed' ) )?
int alt191=2;
int LA191_0 = input.LA(1);
if ( (LA191_0==84) ) {
alt191=1;
}
switch (alt191) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5917:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5917:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5918:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)match(input,84,FOLLOW_84_in_ruleServiceSetting11733);
newLeafNode(lv_userExposed_1_0, grammarAccess.getServiceSettingAccess().getUserExposedUserExposedKeyword_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(current, "userExposed", true, "userExposed");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5931:3: ( (lv_userEditable_2_0= 'userEditable' ) )?
int alt192=2;
int LA192_0 = input.LA(1);
if ( (LA192_0==85) ) {
alt192=1;
}
switch (alt192) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5932:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5932:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5933:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)match(input,85,FOLLOW_85_in_ruleServiceSetting11765);
newLeafNode(lv_userEditable_2_0, grammarAccess.getServiceSettingAccess().getUserEditableUserEditableKeyword_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(current, "userEditable", true, "userEditable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5946:3: ( (lv_canBePublished_3_0= 'canBePublished' ) )?
int alt193=2;
int LA193_0 = input.LA(1);
if ( (LA193_0==86) ) {
alt193=1;
}
switch (alt193) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5947:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5947:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5948:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)match(input,86,FOLLOW_86_in_ruleServiceSetting11797);
newLeafNode(lv_canBePublished_3_0, grammarAccess.getServiceSettingAccess().getCanBePublishedCanBePublishedKeyword_3_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(current, "canBePublished", true, "canBePublished");
}
}
break;
}
otherlv_4=(Token)match(input,104,FOLLOW_104_in_ruleServiceSetting11823);
newLeafNode(otherlv_4, grammarAccess.getServiceSettingAccess().getServiceSettingKeyword_4());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5965:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5966:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5966:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5967:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11840);
newLeafNode(lv_uniqueID_5_0, grammarAccess.getServiceSettingAccess().getUniqueIDSTRINGTerminalRuleCall_5_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING");
}
}
otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleServiceSetting11857);
newLeafNode(otherlv_6, grammarAccess.getServiceSettingAccess().getLeftCurlyBracketKeyword_6());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5987:1: (otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) ) )?
int alt194=2;
int LA194_0 = input.LA(1);
if ( (LA194_0==15) ) {
alt194=1;
}
switch (alt194) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5987:3: otherlv_7= 'name' ( (lv_name_8_0= RULE_STRING ) )
{
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleServiceSetting11870);
newLeafNode(otherlv_7, grammarAccess.getServiceSettingAccess().getNameKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5991:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5992:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5992:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:5993:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11887);
newLeafNode(lv_name_8_0, grammarAccess.getServiceSettingAccess().getNameSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(
current,
"name",
lv_name_8_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6009:4: (otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) ) )?
int alt195=2;
int LA195_0 = input.LA(1);
if ( (LA195_0==16) ) {
alt195=1;
}
switch (alt195) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6009:6: otherlv_9= 'id' ( (lv_id_10_0= ruleEInt ) )
{
otherlv_9=(Token)match(input,16,FOLLOW_16_in_ruleServiceSetting11907);
newLeafNode(otherlv_9, grammarAccess.getServiceSettingAccess().getIdKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6013:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6014:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6014:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6015:3: lv_id_10_0= ruleEInt
{
newCompositeNode(grammarAccess.getServiceSettingAccess().getIdEIntParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleServiceSetting11928);
lv_id_10_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getServiceSettingRule());
}
set(
current,
"id",
lv_id_10_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6031:4: (otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) ) )?
int alt196=2;
int LA196_0 = input.LA(1);
if ( (LA196_0==17) ) {
alt196=1;
}
switch (alt196) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6031:6: otherlv_11= 'description' ( (lv_description_12_0= RULE_STRING ) )
{
otherlv_11=(Token)match(input,17,FOLLOW_17_in_ruleServiceSetting11943);
newLeafNode(otherlv_11, grammarAccess.getServiceSettingAccess().getDescriptionKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6035:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6036:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6036:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6037:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11960);
newLeafNode(lv_description_12_0, grammarAccess.getServiceSettingAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(
current,
"description",
lv_description_12_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6053:4: ( (lv_Readable_13_0= 'Readable' ) )?
int alt197=2;
int LA197_0 = input.LA(1);
if ( (LA197_0==88) ) {
alt197=1;
}
switch (alt197) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6054:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6054:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6055:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)match(input,88,FOLLOW_88_in_ruleServiceSetting11985);
newLeafNode(lv_Readable_13_0, grammarAccess.getServiceSettingAccess().getReadableReadableKeyword_10_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(current, "Readable", true, "Readable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6068:3: ( (lv_Writable_14_0= 'Writable' ) )?
int alt198=2;
int LA198_0 = input.LA(1);
if ( (LA198_0==89) ) {
alt198=1;
}
switch (alt198) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6069:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6069:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6070:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)match(input,89,FOLLOW_89_in_ruleServiceSetting12017);
newLeafNode(lv_Writable_14_0, grammarAccess.getServiceSettingAccess().getWritableWritableKeyword_11_0());
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
setWithLastConsumed(current, "Writable", true, "Writable");
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6083:3: (otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')' )?
int alt200=2;
int LA200_0 = input.LA(1);
if ( (LA200_0==90) ) {
alt200=1;
}
switch (alt200) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6083:5: otherlv_15= 'requiresParams' otherlv_16= '(' ( (otherlv_17= RULE_STRING ) ) (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )* otherlv_20= ')'
{
otherlv_15=(Token)match(input,90,FOLLOW_90_in_ruleServiceSetting12044);
newLeafNode(otherlv_15, grammarAccess.getServiceSettingAccess().getRequiresParamsKeyword_12_0());
otherlv_16=(Token)match(input,31,FOLLOW_31_in_ruleServiceSetting12056);
newLeafNode(otherlv_16, grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_12_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6091:1: ( (otherlv_17= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6092:1: (otherlv_17= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6092:1: (otherlv_17= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6093:3: otherlv_17= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_17=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12076);
newLeafNode(otherlv_17, grammarAccess.getServiceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6104:2: (otherlv_18= ',' ( (otherlv_19= RULE_STRING ) ) )*
loop199:
do {
int alt199=2;
int LA199_0 = input.LA(1);
if ( (LA199_0==21) ) {
alt199=1;
}
switch (alt199) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6104:4: otherlv_18= ',' ( (otherlv_19= RULE_STRING ) )
{
otherlv_18=(Token)match(input,21,FOLLOW_21_in_ruleServiceSetting12089);
newLeafNode(otherlv_18, grammarAccess.getServiceSettingAccess().getCommaKeyword_12_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6108:1: ( (otherlv_19= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6109:1: (otherlv_19= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6109:1: (otherlv_19= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6110:3: otherlv_19= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_19=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12109);
newLeafNode(otherlv_19, grammarAccess.getServiceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0());
}
}
}
break;
default :
break loop199;
}
} while (true);
otherlv_20=(Token)match(input,32,FOLLOW_32_in_ruleServiceSetting12123);
newLeafNode(otherlv_20, grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_12_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6125:3: (otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')' )?
int alt202=2;
int LA202_0 = input.LA(1);
if ( (LA202_0==105) ) {
alt202=1;
}
switch (alt202) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6125:5: otherlv_21= 'mappedToResourceSettings' otherlv_22= '(' ( (otherlv_23= RULE_STRING ) ) (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )* otherlv_26= ')'
{
otherlv_21=(Token)match(input,105,FOLLOW_105_in_ruleServiceSetting12138);
newLeafNode(otherlv_21, grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsKeyword_13_0());
otherlv_22=(Token)match(input,31,FOLLOW_31_in_ruleServiceSetting12150);
newLeafNode(otherlv_22, grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_13_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6133:1: ( (otherlv_23= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6134:1: (otherlv_23= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6134:1: (otherlv_23= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6135:3: otherlv_23= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_23=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12170);
newLeafNode(otherlv_23, grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsResourceSettingCrossReference_13_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6146:2: (otherlv_24= ',' ( (otherlv_25= RULE_STRING ) ) )*
loop201:
do {
int alt201=2;
int LA201_0 = input.LA(1);
if ( (LA201_0==21) ) {
alt201=1;
}
switch (alt201) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6146:4: otherlv_24= ',' ( (otherlv_25= RULE_STRING ) )
{
otherlv_24=(Token)match(input,21,FOLLOW_21_in_ruleServiceSetting12183);
newLeafNode(otherlv_24, grammarAccess.getServiceSettingAccess().getCommaKeyword_13_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6150:1: ( (otherlv_25= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6151:1: (otherlv_25= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6151:1: (otherlv_25= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6152:3: otherlv_25= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_25=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12203);
newLeafNode(otherlv_25, grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsResourceSettingCrossReference_13_3_1_0());
}
}
}
break;
default :
break loop201;
}
} while (true);
otherlv_26=(Token)match(input,32,FOLLOW_32_in_ruleServiceSetting12217);
newLeafNode(otherlv_26, grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_13_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6167:3: (otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')' )?
int alt204=2;
int LA204_0 = input.LA(1);
if ( (LA204_0==106) ) {
alt204=1;
}
switch (alt204) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6167:5: otherlv_27= 'providedByResources' otherlv_28= '(' ( (otherlv_29= RULE_STRING ) ) (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )* otherlv_32= ')'
{
otherlv_27=(Token)match(input,106,FOLLOW_106_in_ruleServiceSetting12232);
newLeafNode(otherlv_27, grammarAccess.getServiceSettingAccess().getProvidedByResourcesKeyword_14_0());
otherlv_28=(Token)match(input,31,FOLLOW_31_in_ruleServiceSetting12244);
newLeafNode(otherlv_28, grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_14_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6175:1: ( (otherlv_29= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6176:1: (otherlv_29= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6176:1: (otherlv_29= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6177:3: otherlv_29= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_29=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12264);
newLeafNode(otherlv_29, grammarAccess.getServiceSettingAccess().getProvidedByResourcesResourceCrossReference_14_2_0());
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6188:2: (otherlv_30= ',' ( (otherlv_31= RULE_STRING ) ) )*
loop203:
do {
int alt203=2;
int LA203_0 = input.LA(1);
if ( (LA203_0==21) ) {
alt203=1;
}
switch (alt203) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6188:4: otherlv_30= ',' ( (otherlv_31= RULE_STRING ) )
{
otherlv_30=(Token)match(input,21,FOLLOW_21_in_ruleServiceSetting12277);
newLeafNode(otherlv_30, grammarAccess.getServiceSettingAccess().getCommaKeyword_14_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6192:1: ( (otherlv_31= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6193:1: (otherlv_31= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6193:1: (otherlv_31= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6194:3: otherlv_31= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getServiceSettingRule());
}
otherlv_31=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting12297);
newLeafNode(otherlv_31, grammarAccess.getServiceSettingAccess().getProvidedByResourcesResourceCrossReference_14_3_1_0());
}
}
}
break;
default :
break loop203;
}
} while (true);
otherlv_32=(Token)match(input,32,FOLLOW_32_in_ruleServiceSetting12311);
newLeafNode(otherlv_32, grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_14_4());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6209:3: (otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )?
int alt205=2;
int LA205_0 = input.LA(1);
if ( (LA205_0==93) ) {
alt205=1;
}
switch (alt205) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6209:5: otherlv_33= 'settingType' ( (lv_settingType_34_0= ruleSettingType ) )
{
otherlv_33=(Token)match(input,93,FOLLOW_93_in_ruleServiceSetting12326);
newLeafNode(otherlv_33, grammarAccess.getServiceSettingAccess().getSettingTypeKeyword_15_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6213:1: ( (lv_settingType_34_0= ruleSettingType ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6214:1: (lv_settingType_34_0= ruleSettingType )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6214:1: (lv_settingType_34_0= ruleSettingType )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6215:3: lv_settingType_34_0= ruleSettingType
{
newCompositeNode(grammarAccess.getServiceSettingAccess().getSettingTypeSettingTypeParserRuleCall_15_1_0());
pushFollow(FOLLOW_ruleSettingType_in_ruleServiceSetting12347);
lv_settingType_34_0=ruleSettingType();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getServiceSettingRule());
}
set(
current,
"settingType",
lv_settingType_34_0,
"SettingType");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6231:4: (otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}' )?
int alt207=2;
int LA207_0 = input.LA(1);
if ( (LA207_0==94) ) {
alt207=1;
}
switch (alt207) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6231:6: otherlv_35= 'settingConstraints' otherlv_36= '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* otherlv_40= '}'
{
otherlv_35=(Token)match(input,94,FOLLOW_94_in_ruleServiceSetting12362);
newLeafNode(otherlv_35, grammarAccess.getServiceSettingAccess().getSettingConstraintsKeyword_16_0());
otherlv_36=(Token)match(input,14,FOLLOW_14_in_ruleServiceSetting12374);
newLeafNode(otherlv_36, grammarAccess.getServiceSettingAccess().getLeftCurlyBracketKeyword_16_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6239:1: ( (lv_settingConstraints_37_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6240:1: (lv_settingConstraints_37_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6240:1: (lv_settingConstraints_37_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6241:3: lv_settingConstraints_37_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getServiceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_2_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleServiceSetting12395);
lv_settingConstraints_37_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getServiceSettingRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_37_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6257:2: (otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )*
loop206:
do {
int alt206=2;
int LA206_0 = input.LA(1);
if ( (LA206_0==21) ) {
alt206=1;
}
switch (alt206) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6257:4: otherlv_38= ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) )
{
otherlv_38=(Token)match(input,21,FOLLOW_21_in_ruleServiceSetting12408);
newLeafNode(otherlv_38, grammarAccess.getServiceSettingAccess().getCommaKeyword_16_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6261:1: ( (lv_settingConstraints_39_0= ruleSettingConstraint ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6262:1: (lv_settingConstraints_39_0= ruleSettingConstraint )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6262:1: (lv_settingConstraints_39_0= ruleSettingConstraint )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6263:3: lv_settingConstraints_39_0= ruleSettingConstraint
{
newCompositeNode(grammarAccess.getServiceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_3_1_0());
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleServiceSetting12429);
lv_settingConstraints_39_0=ruleSettingConstraint();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getServiceSettingRule());
}
add(
current,
"settingConstraints",
lv_settingConstraints_39_0,
"SettingConstraint");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop206;
}
} while (true);
otherlv_40=(Token)match(input,22,FOLLOW_22_in_ruleServiceSetting12443);
newLeafNode(otherlv_40, grammarAccess.getServiceSettingAccess().getRightCurlyBracketKeyword_16_4());
}
break;
}
otherlv_41=(Token)match(input,22,FOLLOW_22_in_ruleServiceSetting12457);
newLeafNode(otherlv_41, grammarAccess.getServiceSettingAccess().getRightCurlyBracketKeyword_17());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleServiceSetting"
// $ANTLR start "entryRuletideTypeString"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6295:1: entryRuletideTypeString returns [EObject current=null] : iv_ruletideTypeString= ruletideTypeString EOF ;
public final EObject entryRuletideTypeString() throws RecognitionException {
EObject current = null;
EObject iv_ruletideTypeString = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6296:2: (iv_ruletideTypeString= ruletideTypeString EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6297:2: iv_ruletideTypeString= ruletideTypeString EOF
{
newCompositeNode(grammarAccess.getTideTypeStringRule());
pushFollow(FOLLOW_ruletideTypeString_in_entryRuletideTypeString12493);
iv_ruletideTypeString=ruletideTypeString();
state._fsp--;
current =iv_ruletideTypeString;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeString12503);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuletideTypeString"
// $ANTLR start "ruletideTypeString"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6304:1: ruletideTypeString returns [EObject current=null] : ( () otherlv_1= 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) ;
public final EObject ruletideTypeString() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token lv_defaultValue_11_0=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6307:28: ( ( () otherlv_1= 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? otherlv_12= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6308:1: ( () otherlv_1= 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6308:1: ( () otherlv_1= 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? otherlv_12= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6308:2: () otherlv_1= 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? otherlv_12= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6308:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6309:5:
{
current = forceCreateModelElement(
grammarAccess.getTideTypeStringAccess().getTideTypeStringAction_0(),
current);
}
otherlv_1=(Token)match(input,107,FOLLOW_107_in_ruletideTypeString12549);
newLeafNode(otherlv_1, grammarAccess.getTideTypeStringAccess().getTideTypeStringKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6318:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6319:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6319:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6320:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString12566);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTideTypeStringAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeStringRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruletideTypeString12583);
newLeafNode(otherlv_3, grammarAccess.getTideTypeStringAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6340:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt208=2;
int LA208_0 = input.LA(1);
if ( (LA208_0==15) ) {
alt208=1;
}
switch (alt208) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6340:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruletideTypeString12596);
newLeafNode(otherlv_4, grammarAccess.getTideTypeStringAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6344:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6345:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6345:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6346:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString12613);
newLeafNode(lv_name_5_0, grammarAccess.getTideTypeStringAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeStringRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6362:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt209=2;
int LA209_0 = input.LA(1);
if ( (LA209_0==16) ) {
alt209=1;
}
switch (alt209) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6362:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruletideTypeString12633);
newLeafNode(otherlv_6, grammarAccess.getTideTypeStringAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6366:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6367:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6367:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6368:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTideTypeStringAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeString12654);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeStringRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6384:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt210=2;
int LA210_0 = input.LA(1);
if ( (LA210_0==17) ) {
alt210=1;
}
switch (alt210) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6384:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruletideTypeString12669);
newLeafNode(otherlv_8, grammarAccess.getTideTypeStringAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6388:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6389:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6389:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6390:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString12686);
newLeafNode(lv_description_9_0, grammarAccess.getTideTypeStringAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeStringRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6406:4: (otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )?
int alt211=2;
int LA211_0 = input.LA(1);
if ( (LA211_0==108) ) {
alt211=1;
}
switch (alt211) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6406:6: otherlv_10= 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) )
{
otherlv_10=(Token)match(input,108,FOLLOW_108_in_ruletideTypeString12706);
newLeafNode(otherlv_10, grammarAccess.getTideTypeStringAccess().getDefaultValueKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6410:1: ( (lv_defaultValue_11_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6411:1: (lv_defaultValue_11_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6411:1: (lv_defaultValue_11_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6412:3: lv_defaultValue_11_0= RULE_STRING
{
lv_defaultValue_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString12723);
newLeafNode(lv_defaultValue_11_0, grammarAccess.getTideTypeStringAccess().getDefaultValueSTRINGTerminalRuleCall_7_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeStringRule());
}
setWithLastConsumed(
current,
"defaultValue",
lv_defaultValue_11_0,
"STRING");
}
}
}
break;
}
otherlv_12=(Token)match(input,22,FOLLOW_22_in_ruletideTypeString12742);
newLeafNode(otherlv_12, grammarAccess.getTideTypeStringAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruletideTypeString"
// $ANTLR start "entryRuletideTypeEnum"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6440:1: entryRuletideTypeEnum returns [EObject current=null] : iv_ruletideTypeEnum= ruletideTypeEnum EOF ;
public final EObject entryRuletideTypeEnum() throws RecognitionException {
EObject current = null;
EObject iv_ruletideTypeEnum = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6441:2: (iv_ruletideTypeEnum= ruletideTypeEnum EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6442:2: iv_ruletideTypeEnum= ruletideTypeEnum EOF
{
newCompositeNode(grammarAccess.getTideTypeEnumRule());
pushFollow(FOLLOW_ruletideTypeEnum_in_entryRuletideTypeEnum12778);
iv_ruletideTypeEnum=ruletideTypeEnum();
state._fsp--;
current =iv_ruletideTypeEnum;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeEnum12788);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuletideTypeEnum"
// $ANTLR start "ruletideTypeEnum"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6449:1: ruletideTypeEnum returns [EObject current=null] : ( () otherlv_1= 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )? (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )? otherlv_18= '}' ) ;
public final EObject ruletideTypeEnum() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token otherlv_17=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_tideEnumlist_14_0 = null;
EObject lv_tideEnumlist_16_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6452:28: ( ( () otherlv_1= 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )? (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )? otherlv_18= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6453:1: ( () otherlv_1= 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )? (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )? otherlv_18= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6453:1: ( () otherlv_1= 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )? (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )? otherlv_18= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6453:2: () otherlv_1= 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )? (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )? otherlv_18= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6453:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6454:5:
{
current = forceCreateModelElement(
grammarAccess.getTideTypeEnumAccess().getTideTypeEnumAction_0(),
current);
}
otherlv_1=(Token)match(input,109,FOLLOW_109_in_ruletideTypeEnum12834);
newLeafNode(otherlv_1, grammarAccess.getTideTypeEnumAccess().getTideTypeEnumKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6463:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6464:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6464:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6465:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12851);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTideTypeEnumAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruletideTypeEnum12868);
newLeafNode(otherlv_3, grammarAccess.getTideTypeEnumAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6485:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt212=2;
int LA212_0 = input.LA(1);
if ( (LA212_0==15) ) {
alt212=1;
}
switch (alt212) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6485:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruletideTypeEnum12881);
newLeafNode(otherlv_4, grammarAccess.getTideTypeEnumAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6489:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6490:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6490:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6491:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12898);
newLeafNode(lv_name_5_0, grammarAccess.getTideTypeEnumAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6507:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt213=2;
int LA213_0 = input.LA(1);
if ( (LA213_0==16) ) {
alt213=1;
}
switch (alt213) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6507:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruletideTypeEnum12918);
newLeafNode(otherlv_6, grammarAccess.getTideTypeEnumAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6511:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6512:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6512:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6513:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTideTypeEnumAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeEnum12939);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeEnumRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6529:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt214=2;
int LA214_0 = input.LA(1);
if ( (LA214_0==17) ) {
alt214=1;
}
switch (alt214) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6529:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruletideTypeEnum12954);
newLeafNode(otherlv_8, grammarAccess.getTideTypeEnumAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6533:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6534:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6534:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6535:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12971);
newLeafNode(lv_description_9_0, grammarAccess.getTideTypeEnumAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6551:4: (otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) ) )?
int alt215=2;
int LA215_0 = input.LA(1);
if ( (LA215_0==108) ) {
alt215=1;
}
switch (alt215) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6551:6: otherlv_10= 'defaultValue' ( (otherlv_11= RULE_STRING ) )
{
otherlv_10=(Token)match(input,108,FOLLOW_108_in_ruletideTypeEnum12991);
newLeafNode(otherlv_10, grammarAccess.getTideTypeEnumAccess().getDefaultValueKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6555:1: ( (otherlv_11= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6556:1: (otherlv_11= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6556:1: (otherlv_11= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6557:3: otherlv_11= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumRule());
}
otherlv_11=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum13011);
newLeafNode(otherlv_11, grammarAccess.getTideTypeEnumAccess().getDefaultValueTideTypeEnumItemCrossReference_7_1_0());
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6568:4: (otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}' )?
int alt217=2;
int LA217_0 = input.LA(1);
if ( (LA217_0==110) ) {
alt217=1;
}
switch (alt217) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6568:6: otherlv_12= 'tideEnumlist' otherlv_13= '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* otherlv_17= '}'
{
otherlv_12=(Token)match(input,110,FOLLOW_110_in_ruletideTypeEnum13026);
newLeafNode(otherlv_12, grammarAccess.getTideTypeEnumAccess().getTideEnumlistKeyword_8_0());
otherlv_13=(Token)match(input,14,FOLLOW_14_in_ruletideTypeEnum13038);
newLeafNode(otherlv_13, grammarAccess.getTideTypeEnumAccess().getLeftCurlyBracketKeyword_8_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6576:1: ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6577:1: (lv_tideEnumlist_14_0= ruletideTypeEnumItem )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6577:1: (lv_tideEnumlist_14_0= ruletideTypeEnumItem )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6578:3: lv_tideEnumlist_14_0= ruletideTypeEnumItem
{
newCompositeNode(grammarAccess.getTideTypeEnumAccess().getTideEnumlistTideTypeEnumItemParserRuleCall_8_2_0());
pushFollow(FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum13059);
lv_tideEnumlist_14_0=ruletideTypeEnumItem();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeEnumRule());
}
add(
current,
"tideEnumlist",
lv_tideEnumlist_14_0,
"tideTypeEnumItem");
afterParserOrEnumRuleCall();
}
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6594:2: (otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )*
loop216:
do {
int alt216=2;
int LA216_0 = input.LA(1);
if ( (LA216_0==21) ) {
alt216=1;
}
switch (alt216) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6594:4: otherlv_15= ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) )
{
otherlv_15=(Token)match(input,21,FOLLOW_21_in_ruletideTypeEnum13072);
newLeafNode(otherlv_15, grammarAccess.getTideTypeEnumAccess().getCommaKeyword_8_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6598:1: ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6599:1: (lv_tideEnumlist_16_0= ruletideTypeEnumItem )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6599:1: (lv_tideEnumlist_16_0= ruletideTypeEnumItem )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6600:3: lv_tideEnumlist_16_0= ruletideTypeEnumItem
{
newCompositeNode(grammarAccess.getTideTypeEnumAccess().getTideEnumlistTideTypeEnumItemParserRuleCall_8_3_1_0());
pushFollow(FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum13093);
lv_tideEnumlist_16_0=ruletideTypeEnumItem();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeEnumRule());
}
add(
current,
"tideEnumlist",
lv_tideEnumlist_16_0,
"tideTypeEnumItem");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop216;
}
} while (true);
otherlv_17=(Token)match(input,22,FOLLOW_22_in_ruletideTypeEnum13107);
newLeafNode(otherlv_17, grammarAccess.getTideTypeEnumAccess().getRightCurlyBracketKeyword_8_4());
}
break;
}
otherlv_18=(Token)match(input,22,FOLLOW_22_in_ruletideTypeEnum13121);
newLeafNode(otherlv_18, grammarAccess.getTideTypeEnumAccess().getRightCurlyBracketKeyword_9());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruletideTypeEnum"
// $ANTLR start "entryRuletideTypeList"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6632:1: entryRuletideTypeList returns [EObject current=null] : iv_ruletideTypeList= ruletideTypeList EOF ;
public final EObject entryRuletideTypeList() throws RecognitionException {
EObject current = null;
EObject iv_ruletideTypeList = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6633:2: (iv_ruletideTypeList= ruletideTypeList EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6634:2: iv_ruletideTypeList= ruletideTypeList EOF
{
newCompositeNode(grammarAccess.getTideTypeListRule());
pushFollow(FOLLOW_ruletideTypeList_in_entryRuletideTypeList13157);
iv_ruletideTypeList=ruletideTypeList();
state._fsp--;
current =iv_ruletideTypeList;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeList13167);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuletideTypeList"
// $ANTLR start "ruletideTypeList"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6641:1: ruletideTypeList returns [EObject current=null] : ( () otherlv_1= 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' ) ;
public final EObject ruletideTypeList() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6644:28: ( ( () otherlv_1= 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6645:1: ( () otherlv_1= 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6645:1: ( () otherlv_1= 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6645:2: () otherlv_1= 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6645:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6646:5:
{
current = forceCreateModelElement(
grammarAccess.getTideTypeListAccess().getTideTypeListAction_0(),
current);
}
otherlv_1=(Token)match(input,111,FOLLOW_111_in_ruletideTypeList13213);
newLeafNode(otherlv_1, grammarAccess.getTideTypeListAccess().getTideTypeListKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6655:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6656:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6656:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6657:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList13230);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTideTypeListAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeListRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruletideTypeList13247);
newLeafNode(otherlv_3, grammarAccess.getTideTypeListAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6677:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt218=2;
int LA218_0 = input.LA(1);
if ( (LA218_0==15) ) {
alt218=1;
}
switch (alt218) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6677:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruletideTypeList13260);
newLeafNode(otherlv_4, grammarAccess.getTideTypeListAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6681:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6682:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6682:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6683:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList13277);
newLeafNode(lv_name_5_0, grammarAccess.getTideTypeListAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeListRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6699:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt219=2;
int LA219_0 = input.LA(1);
if ( (LA219_0==16) ) {
alt219=1;
}
switch (alt219) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6699:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruletideTypeList13297);
newLeafNode(otherlv_6, grammarAccess.getTideTypeListAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6703:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6704:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6704:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6705:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTideTypeListAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeList13318);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeListRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6721:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt220=2;
int LA220_0 = input.LA(1);
if ( (LA220_0==17) ) {
alt220=1;
}
switch (alt220) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6721:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruletideTypeList13333);
newLeafNode(otherlv_8, grammarAccess.getTideTypeListAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6725:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6726:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6726:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6727:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList13350);
newLeafNode(lv_description_9_0, grammarAccess.getTideTypeListAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeListRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6743:4: (otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) ) )?
int alt221=2;
int LA221_0 = input.LA(1);
if ( (LA221_0==112) ) {
alt221=1;
}
switch (alt221) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6743:6: otherlv_10= 'ContainsElementsOf' ( (otherlv_11= RULE_STRING ) )
{
otherlv_10=(Token)match(input,112,FOLLOW_112_in_ruletideTypeList13370);
newLeafNode(otherlv_10, grammarAccess.getTideTypeListAccess().getContainsElementsOfKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6747:1: ( (otherlv_11= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6748:1: (otherlv_11= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6748:1: (otherlv_11= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6749:3: otherlv_11= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeListRule());
}
otherlv_11=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList13390);
newLeafNode(otherlv_11, grammarAccess.getTideTypeListAccess().getContainsElementsOfNamedElementCrossReference_7_1_0());
}
}
}
break;
}
otherlv_12=(Token)match(input,22,FOLLOW_22_in_ruletideTypeList13404);
newLeafNode(otherlv_12, grammarAccess.getTideTypeListAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruletideTypeList"
// $ANTLR start "entryRuletideTypeTideElement"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6772:1: entryRuletideTypeTideElement returns [EObject current=null] : iv_ruletideTypeTideElement= ruletideTypeTideElement EOF ;
public final EObject entryRuletideTypeTideElement() throws RecognitionException {
EObject current = null;
EObject iv_ruletideTypeTideElement = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6773:2: (iv_ruletideTypeTideElement= ruletideTypeTideElement EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6774:2: iv_ruletideTypeTideElement= ruletideTypeTideElement EOF
{
newCompositeNode(grammarAccess.getTideTypeTideElementRule());
pushFollow(FOLLOW_ruletideTypeTideElement_in_entryRuletideTypeTideElement13440);
iv_ruletideTypeTideElement=ruletideTypeTideElement();
state._fsp--;
current =iv_ruletideTypeTideElement;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeTideElement13450);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuletideTypeTideElement"
// $ANTLR start "ruletideTypeTideElement"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6781:1: ruletideTypeTideElement returns [EObject current=null] : ( () otherlv_1= 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' ) ;
public final EObject ruletideTypeTideElement() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6784:28: ( ( () otherlv_1= 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6785:1: ( () otherlv_1= 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6785:1: ( () otherlv_1= 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6785:2: () otherlv_1= 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )? otherlv_12= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6785:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6786:5:
{
current = forceCreateModelElement(
grammarAccess.getTideTypeTideElementAccess().getTideTypeTideElementAction_0(),
current);
}
otherlv_1=(Token)match(input,113,FOLLOW_113_in_ruletideTypeTideElement13496);
newLeafNode(otherlv_1, grammarAccess.getTideTypeTideElementAccess().getTideTypeTideElementKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6795:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6796:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6796:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6797:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement13513);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getTideTypeTideElementAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeTideElementRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruletideTypeTideElement13530);
newLeafNode(otherlv_3, grammarAccess.getTideTypeTideElementAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6817:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt222=2;
int LA222_0 = input.LA(1);
if ( (LA222_0==15) ) {
alt222=1;
}
switch (alt222) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6817:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruletideTypeTideElement13543);
newLeafNode(otherlv_4, grammarAccess.getTideTypeTideElementAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6821:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6822:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6822:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6823:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement13560);
newLeafNode(lv_name_5_0, grammarAccess.getTideTypeTideElementAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeTideElementRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6839:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt223=2;
int LA223_0 = input.LA(1);
if ( (LA223_0==16) ) {
alt223=1;
}
switch (alt223) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6839:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruletideTypeTideElement13580);
newLeafNode(otherlv_6, grammarAccess.getTideTypeTideElementAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6843:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6844:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6844:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6845:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getTideTypeTideElementAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeTideElement13601);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getTideTypeTideElementRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6861:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt224=2;
int LA224_0 = input.LA(1);
if ( (LA224_0==17) ) {
alt224=1;
}
switch (alt224) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6861:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruletideTypeTideElement13616);
newLeafNode(otherlv_8, grammarAccess.getTideTypeTideElementAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6865:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6866:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6866:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6867:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement13633);
newLeafNode(lv_description_9_0, grammarAccess.getTideTypeTideElementAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeTideElementRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6883:4: (otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) ) )?
int alt225=2;
int LA225_0 = input.LA(1);
if ( (LA225_0==114) ) {
alt225=1;
}
switch (alt225) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6883:6: otherlv_10= 'ofTideElement' ( (otherlv_11= RULE_STRING ) )
{
otherlv_10=(Token)match(input,114,FOLLOW_114_in_ruletideTypeTideElement13653);
newLeafNode(otherlv_10, grammarAccess.getTideTypeTideElementAccess().getOfTideElementKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6887:1: ( (otherlv_11= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6888:1: (otherlv_11= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6888:1: (otherlv_11= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6889:3: otherlv_11= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeTideElementRule());
}
otherlv_11=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement13673);
newLeafNode(otherlv_11, grammarAccess.getTideTypeTideElementAccess().getOfTideElementNamedElementCrossReference_7_1_0());
}
}
}
break;
}
otherlv_12=(Token)match(input,22,FOLLOW_22_in_ruletideTypeTideElement13687);
newLeafNode(otherlv_12, grammarAccess.getTideTypeTideElementAccess().getRightCurlyBracketKeyword_8());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruletideTypeTideElement"
// $ANTLR start "entryRuletideTypeEnumItem"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6912:1: entryRuletideTypeEnumItem returns [EObject current=null] : iv_ruletideTypeEnumItem= ruletideTypeEnumItem EOF ;
public final EObject entryRuletideTypeEnumItem() throws RecognitionException {
EObject current = null;
EObject iv_ruletideTypeEnumItem = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6913:2: (iv_ruletideTypeEnumItem= ruletideTypeEnumItem EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6914:2: iv_ruletideTypeEnumItem= ruletideTypeEnumItem EOF
{
newCompositeNode(grammarAccess.getTideTypeEnumItemRule());
pushFollow(FOLLOW_ruletideTypeEnumItem_in_entryRuletideTypeEnumItem13723);
iv_ruletideTypeEnumItem=ruletideTypeEnumItem();
state._fsp--;
current =iv_ruletideTypeEnumItem;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeEnumItem13733);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuletideTypeEnumItem"
// $ANTLR start "ruletideTypeEnumItem"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6921:1: ruletideTypeEnumItem returns [EObject current=null] : ( () otherlv_1= 'tideTypeEnumItem' otherlv_2= '{' (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )? (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )? otherlv_7= '}' ) ;
public final EObject ruletideTypeEnumItem() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_value_4_0=null;
Token otherlv_5=null;
Token lv_description_6_0=null;
Token otherlv_7=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6924:28: ( ( () otherlv_1= 'tideTypeEnumItem' otherlv_2= '{' (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )? (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )? otherlv_7= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6925:1: ( () otherlv_1= 'tideTypeEnumItem' otherlv_2= '{' (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )? (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )? otherlv_7= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6925:1: ( () otherlv_1= 'tideTypeEnumItem' otherlv_2= '{' (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )? (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )? otherlv_7= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6925:2: () otherlv_1= 'tideTypeEnumItem' otherlv_2= '{' (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )? (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )? otherlv_7= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6925:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6926:5:
{
current = forceCreateModelElement(
grammarAccess.getTideTypeEnumItemAccess().getTideTypeEnumItemAction_0(),
current);
}
otherlv_1=(Token)match(input,115,FOLLOW_115_in_ruletideTypeEnumItem13779);
newLeafNode(otherlv_1, grammarAccess.getTideTypeEnumItemAccess().getTideTypeEnumItemKeyword_1());
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruletideTypeEnumItem13791);
newLeafNode(otherlv_2, grammarAccess.getTideTypeEnumItemAccess().getLeftCurlyBracketKeyword_2());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6939:1: (otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) ) )?
int alt226=2;
int LA226_0 = input.LA(1);
if ( (LA226_0==116) ) {
alt226=1;
}
switch (alt226) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6939:3: otherlv_3= 'value' ( (lv_value_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,116,FOLLOW_116_in_ruletideTypeEnumItem13804);
newLeafNode(otherlv_3, grammarAccess.getTideTypeEnumItemAccess().getValueKeyword_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6943:1: ( (lv_value_4_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6944:1: (lv_value_4_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6944:1: (lv_value_4_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6945:3: lv_value_4_0= RULE_STRING
{
lv_value_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13821);
newLeafNode(lv_value_4_0, grammarAccess.getTideTypeEnumItemAccess().getValueSTRINGTerminalRuleCall_3_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumItemRule());
}
setWithLastConsumed(
current,
"value",
lv_value_4_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6961:4: (otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) ) )?
int alt227=2;
int LA227_0 = input.LA(1);
if ( (LA227_0==17) ) {
alt227=1;
}
switch (alt227) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6961:6: otherlv_5= 'description' ( (lv_description_6_0= RULE_STRING ) )
{
otherlv_5=(Token)match(input,17,FOLLOW_17_in_ruletideTypeEnumItem13841);
newLeafNode(otherlv_5, grammarAccess.getTideTypeEnumItemAccess().getDescriptionKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6965:1: ( (lv_description_6_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6966:1: (lv_description_6_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6966:1: (lv_description_6_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6967:3: lv_description_6_0= RULE_STRING
{
lv_description_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13858);
newLeafNode(lv_description_6_0, grammarAccess.getTideTypeEnumItemAccess().getDescriptionSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getTideTypeEnumItemRule());
}
setWithLastConsumed(
current,
"description",
lv_description_6_0,
"STRING");
}
}
}
break;
}
otherlv_7=(Token)match(input,22,FOLLOW_22_in_ruletideTypeEnumItem13877);
newLeafNode(otherlv_7, grammarAccess.getTideTypeEnumItemAccess().getRightCurlyBracketKeyword_5());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruletideTypeEnumItem"
// $ANTLR start "entryRuleEDate"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6995:1: entryRuleEDate returns [String current=null] : iv_ruleEDate= ruleEDate EOF ;
public final String entryRuleEDate() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleEDate = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6996:2: (iv_ruleEDate= ruleEDate EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:6997:2: iv_ruleEDate= ruleEDate EOF
{
newCompositeNode(grammarAccess.getEDateRule());
pushFollow(FOLLOW_ruleEDate_in_entryRuleEDate13914);
iv_ruleEDate=ruleEDate();
state._fsp--;
current =iv_ruleEDate.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEDate13925);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEDate"
// $ANTLR start "ruleEDate"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7004:1: ruleEDate returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
public final AntlrDatatypeRuleToken ruleEDate() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_STRING_0=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7007:28: (this_STRING_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7008:5: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEDate13964);
current.merge(this_STRING_0);
newLeafNode(this_STRING_0, grammarAccess.getEDateAccess().getSTRINGTerminalRuleCall());
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEDate"
// $ANTLR start "entryRuleAvailability"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7023:1: entryRuleAvailability returns [EObject current=null] : iv_ruleAvailability= ruleAvailability EOF ;
public final EObject entryRuleAvailability() throws RecognitionException {
EObject current = null;
EObject iv_ruleAvailability = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7024:2: (iv_ruleAvailability= ruleAvailability EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7025:2: iv_ruleAvailability= ruleAvailability EOF
{
newCompositeNode(grammarAccess.getAvailabilityRule());
pushFollow(FOLLOW_ruleAvailability_in_entryRuleAvailability14008);
iv_ruleAvailability=ruleAvailability();
state._fsp--;
current =iv_ruleAvailability;
match(input,EOF,FOLLOW_EOF_in_entryRuleAvailability14018);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAvailability"
// $ANTLR start "ruleAvailability"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7032:1: ruleAvailability returns [EObject current=null] : ( () ( (lv_Repeat_1_0= 'Repeat' ) )? otherlv_2= 'Availability' otherlv_3= '{' (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )? otherlv_18= '}' ) ;
public final EObject ruleAvailability() throws RecognitionException {
EObject current = null;
Token lv_Repeat_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_16=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_FromTime_5_0 = null;
AntlrDatatypeRuleToken lv_ToTime_7_0 = null;
AntlrDatatypeRuleToken lv_FromDate_9_0 = null;
AntlrDatatypeRuleToken lv_ToDate_11_0 = null;
Enumerator lv_Repeatability_13_0 = null;
AntlrDatatypeRuleToken lv_RepeatUntil_15_0 = null;
EObject lv_cost_17_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7035:28: ( ( () ( (lv_Repeat_1_0= 'Repeat' ) )? otherlv_2= 'Availability' otherlv_3= '{' (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )? otherlv_18= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7036:1: ( () ( (lv_Repeat_1_0= 'Repeat' ) )? otherlv_2= 'Availability' otherlv_3= '{' (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )? otherlv_18= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7036:1: ( () ( (lv_Repeat_1_0= 'Repeat' ) )? otherlv_2= 'Availability' otherlv_3= '{' (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )? otherlv_18= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7036:2: () ( (lv_Repeat_1_0= 'Repeat' ) )? otherlv_2= 'Availability' otherlv_3= '{' (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )? otherlv_18= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7036:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7037:5:
{
current = forceCreateModelElement(
grammarAccess.getAvailabilityAccess().getAvailabilityAction_0(),
current);
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7042:2: ( (lv_Repeat_1_0= 'Repeat' ) )?
int alt228=2;
int LA228_0 = input.LA(1);
if ( (LA228_0==117) ) {
alt228=1;
}
switch (alt228) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7043:1: (lv_Repeat_1_0= 'Repeat' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7043:1: (lv_Repeat_1_0= 'Repeat' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7044:3: lv_Repeat_1_0= 'Repeat'
{
lv_Repeat_1_0=(Token)match(input,117,FOLLOW_117_in_ruleAvailability14070);
newLeafNode(lv_Repeat_1_0, grammarAccess.getAvailabilityAccess().getRepeatRepeatKeyword_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getAvailabilityRule());
}
setWithLastConsumed(current, "Repeat", true, "Repeat");
}
}
break;
}
otherlv_2=(Token)match(input,118,FOLLOW_118_in_ruleAvailability14096);
newLeafNode(otherlv_2, grammarAccess.getAvailabilityAccess().getAvailabilityKeyword_2());
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleAvailability14108);
newLeafNode(otherlv_3, grammarAccess.getAvailabilityAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7065:1: (otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )?
int alt229=2;
int LA229_0 = input.LA(1);
if ( (LA229_0==119) ) {
alt229=1;
}
switch (alt229) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7065:3: otherlv_4= 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) )
{
otherlv_4=(Token)match(input,119,FOLLOW_119_in_ruleAvailability14121);
newLeafNode(otherlv_4, grammarAccess.getAvailabilityAccess().getFromTimeKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7069:1: ( (lv_FromTime_5_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7070:1: (lv_FromTime_5_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7070:1: (lv_FromTime_5_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7071:3: lv_FromTime_5_0= ruleEDate
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getFromTimeEDateParserRuleCall_4_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability14142);
lv_FromTime_5_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"FromTime",
lv_FromTime_5_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7087:4: (otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )?
int alt230=2;
int LA230_0 = input.LA(1);
if ( (LA230_0==120) ) {
alt230=1;
}
switch (alt230) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7087:6: otherlv_6= 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) )
{
otherlv_6=(Token)match(input,120,FOLLOW_120_in_ruleAvailability14157);
newLeafNode(otherlv_6, grammarAccess.getAvailabilityAccess().getToTimeKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7091:1: ( (lv_ToTime_7_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7092:1: (lv_ToTime_7_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7092:1: (lv_ToTime_7_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7093:3: lv_ToTime_7_0= ruleEDate
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getToTimeEDateParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability14178);
lv_ToTime_7_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"ToTime",
lv_ToTime_7_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7109:4: (otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )?
int alt231=2;
int LA231_0 = input.LA(1);
if ( (LA231_0==121) ) {
alt231=1;
}
switch (alt231) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7109:6: otherlv_8= 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) )
{
otherlv_8=(Token)match(input,121,FOLLOW_121_in_ruleAvailability14193);
newLeafNode(otherlv_8, grammarAccess.getAvailabilityAccess().getFromDateKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7113:1: ( (lv_FromDate_9_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7114:1: (lv_FromDate_9_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7114:1: (lv_FromDate_9_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7115:3: lv_FromDate_9_0= ruleEDate
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getFromDateEDateParserRuleCall_6_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability14214);
lv_FromDate_9_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"FromDate",
lv_FromDate_9_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7131:4: (otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )?
int alt232=2;
int LA232_0 = input.LA(1);
if ( (LA232_0==122) ) {
alt232=1;
}
switch (alt232) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7131:6: otherlv_10= 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) )
{
otherlv_10=(Token)match(input,122,FOLLOW_122_in_ruleAvailability14229);
newLeafNode(otherlv_10, grammarAccess.getAvailabilityAccess().getToDateKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7135:1: ( (lv_ToDate_11_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7136:1: (lv_ToDate_11_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7136:1: (lv_ToDate_11_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7137:3: lv_ToDate_11_0= ruleEDate
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getToDateEDateParserRuleCall_7_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability14250);
lv_ToDate_11_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"ToDate",
lv_ToDate_11_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7153:4: (otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )?
int alt233=2;
int LA233_0 = input.LA(1);
if ( (LA233_0==123) ) {
alt233=1;
}
switch (alt233) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7153:6: otherlv_12= 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) )
{
otherlv_12=(Token)match(input,123,FOLLOW_123_in_ruleAvailability14265);
newLeafNode(otherlv_12, grammarAccess.getAvailabilityAccess().getRepeatabilityKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7157:1: ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7158:1: (lv_Repeatability_13_0= ruleRepatabilityScheme )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7158:1: (lv_Repeatability_13_0= ruleRepatabilityScheme )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7159:3: lv_Repeatability_13_0= ruleRepatabilityScheme
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getRepeatabilityRepatabilitySchemeEnumRuleCall_8_1_0());
pushFollow(FOLLOW_ruleRepatabilityScheme_in_ruleAvailability14286);
lv_Repeatability_13_0=ruleRepatabilityScheme();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"Repeatability",
lv_Repeatability_13_0,
"RepatabilityScheme");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7175:4: (otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )?
int alt234=2;
int LA234_0 = input.LA(1);
if ( (LA234_0==124) ) {
alt234=1;
}
switch (alt234) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7175:6: otherlv_14= 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) )
{
otherlv_14=(Token)match(input,124,FOLLOW_124_in_ruleAvailability14301);
newLeafNode(otherlv_14, grammarAccess.getAvailabilityAccess().getRepeatUntilKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7179:1: ( (lv_RepeatUntil_15_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7180:1: (lv_RepeatUntil_15_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7180:1: (lv_RepeatUntil_15_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7181:3: lv_RepeatUntil_15_0= ruleEDate
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getRepeatUntilEDateParserRuleCall_9_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability14322);
lv_RepeatUntil_15_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"RepeatUntil",
lv_RepeatUntil_15_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7197:4: (otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) ) )?
int alt235=2;
int LA235_0 = input.LA(1);
if ( (LA235_0==125) ) {
alt235=1;
}
switch (alt235) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7197:6: otherlv_16= 'cost' ( (lv_cost_17_0= ruleCost ) )
{
otherlv_16=(Token)match(input,125,FOLLOW_125_in_ruleAvailability14337);
newLeafNode(otherlv_16, grammarAccess.getAvailabilityAccess().getCostKeyword_10_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7201:1: ( (lv_cost_17_0= ruleCost ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7202:1: (lv_cost_17_0= ruleCost )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7202:1: (lv_cost_17_0= ruleCost )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7203:3: lv_cost_17_0= ruleCost
{
newCompositeNode(grammarAccess.getAvailabilityAccess().getCostCostParserRuleCall_10_1_0());
pushFollow(FOLLOW_ruleCost_in_ruleAvailability14358);
lv_cost_17_0=ruleCost();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getAvailabilityRule());
}
set(
current,
"cost",
lv_cost_17_0,
"Cost");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_18=(Token)match(input,22,FOLLOW_22_in_ruleAvailability14372);
newLeafNode(otherlv_18, grammarAccess.getAvailabilityAccess().getRightCurlyBracketKeyword_11());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAvailability"
// $ANTLR start "entryRuleCost"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7231:1: entryRuleCost returns [EObject current=null] : iv_ruleCost= ruleCost EOF ;
public final EObject entryRuleCost() throws RecognitionException {
EObject current = null;
EObject iv_ruleCost = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7232:2: (iv_ruleCost= ruleCost EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7233:2: iv_ruleCost= ruleCost EOF
{
newCompositeNode(grammarAccess.getCostRule());
pushFollow(FOLLOW_ruleCost_in_entryRuleCost14408);
iv_ruleCost=ruleCost();
state._fsp--;
current =iv_ruleCost;
match(input,EOF,FOLLOW_EOF_in_entryRuleCost14418);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCost"
// $ANTLR start "ruleCost"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7240:1: ruleCost returns [EObject current=null] : ( () otherlv_1= 'Cost' otherlv_2= '{' (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? otherlv_7= '}' ) ;
public final EObject ruleCost() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Enumerator lv_perUnit_4_0 = null;
AntlrDatatypeRuleToken lv_Amount_6_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7243:28: ( ( () otherlv_1= 'Cost' otherlv_2= '{' (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? otherlv_7= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7244:1: ( () otherlv_1= 'Cost' otherlv_2= '{' (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? otherlv_7= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7244:1: ( () otherlv_1= 'Cost' otherlv_2= '{' (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? otherlv_7= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7244:2: () otherlv_1= 'Cost' otherlv_2= '{' (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? otherlv_7= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7244:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7245:5:
{
current = forceCreateModelElement(
grammarAccess.getCostAccess().getCostAction_0(),
current);
}
otherlv_1=(Token)match(input,126,FOLLOW_126_in_ruleCost14464);
newLeafNode(otherlv_1, grammarAccess.getCostAccess().getCostKeyword_1());
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleCost14476);
newLeafNode(otherlv_2, grammarAccess.getCostAccess().getLeftCurlyBracketKeyword_2());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7258:1: (otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )?
int alt236=2;
int LA236_0 = input.LA(1);
if ( (LA236_0==127) ) {
alt236=1;
}
switch (alt236) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7258:3: otherlv_3= 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) )
{
otherlv_3=(Token)match(input,127,FOLLOW_127_in_ruleCost14489);
newLeafNode(otherlv_3, grammarAccess.getCostAccess().getPerUnitKeyword_3_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7262:1: ( (lv_perUnit_4_0= rulecostUnit ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7263:1: (lv_perUnit_4_0= rulecostUnit )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7263:1: (lv_perUnit_4_0= rulecostUnit )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7264:3: lv_perUnit_4_0= rulecostUnit
{
newCompositeNode(grammarAccess.getCostAccess().getPerUnitCostUnitEnumRuleCall_3_1_0());
pushFollow(FOLLOW_rulecostUnit_in_ruleCost14510);
lv_perUnit_4_0=rulecostUnit();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getCostRule());
}
set(
current,
"perUnit",
lv_perUnit_4_0,
"costUnit");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7280:4: (otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )?
int alt237=2;
int LA237_0 = input.LA(1);
if ( (LA237_0==128) ) {
alt237=1;
}
switch (alt237) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7280:6: otherlv_5= 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) )
{
otherlv_5=(Token)match(input,128,FOLLOW_128_in_ruleCost14525);
newLeafNode(otherlv_5, grammarAccess.getCostAccess().getAmountKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7284:1: ( (lv_Amount_6_0= ruleEDoubleObject ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7285:1: (lv_Amount_6_0= ruleEDoubleObject )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7285:1: (lv_Amount_6_0= ruleEDoubleObject )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7286:3: lv_Amount_6_0= ruleEDoubleObject
{
newCompositeNode(grammarAccess.getCostAccess().getAmountEDoubleObjectParserRuleCall_4_1_0());
pushFollow(FOLLOW_ruleEDoubleObject_in_ruleCost14546);
lv_Amount_6_0=ruleEDoubleObject();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getCostRule());
}
set(
current,
"Amount",
lv_Amount_6_0,
"EDoubleObject");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_7=(Token)match(input,22,FOLLOW_22_in_ruleCost14560);
newLeafNode(otherlv_7, grammarAccess.getCostAccess().getRightCurlyBracketKeyword_5());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCost"
// $ANTLR start "entryRuleEDoubleObject"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7314:1: entryRuleEDoubleObject returns [String current=null] : iv_ruleEDoubleObject= ruleEDoubleObject EOF ;
public final String entryRuleEDoubleObject() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleEDoubleObject = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7315:2: (iv_ruleEDoubleObject= ruleEDoubleObject EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7316:2: iv_ruleEDoubleObject= ruleEDoubleObject EOF
{
newCompositeNode(grammarAccess.getEDoubleObjectRule());
pushFollow(FOLLOW_ruleEDoubleObject_in_entryRuleEDoubleObject14597);
iv_ruleEDoubleObject=ruleEDoubleObject();
state._fsp--;
current =iv_ruleEDoubleObject.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEDoubleObject14608);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEDoubleObject"
// $ANTLR start "ruleEDoubleObject"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7323:1: ruleEDoubleObject returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) ;
public final AntlrDatatypeRuleToken ruleEDoubleObject() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
Token this_INT_1=null;
Token this_INT_3=null;
Token this_INT_7=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7326:28: ( ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7327:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7327:1: ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7327:2: (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )?
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7327:2: (kw= '-' )?
int alt238=2;
int LA238_0 = input.LA(1);
if ( (LA238_0==28) ) {
alt238=1;
}
switch (alt238) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7328:2: kw= '-'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleEDoubleObject14647);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEDoubleObjectAccess().getHyphenMinusKeyword_0());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7333:3: (this_INT_1= RULE_INT )?
int alt239=2;
int LA239_0 = input.LA(1);
if ( (LA239_0==RULE_INT) ) {
alt239=1;
}
switch (alt239) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7333:8: this_INT_1= RULE_INT
{
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject14665);
current.merge(this_INT_1);
newLeafNode(this_INT_1, grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_1());
}
break;
}
kw=(Token)match(input,129,FOLLOW_129_in_ruleEDoubleObject14685);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEDoubleObjectAccess().getFullStopKeyword_2());
this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject14700);
current.merge(this_INT_3);
newLeafNode(this_INT_3, grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7353:1: ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )?
int alt242=2;
int LA242_0 = input.LA(1);
if ( ((LA242_0>=130 && LA242_0<=131)) ) {
alt242=1;
}
switch (alt242) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7353:2: (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7353:2: (kw= 'E' | kw= 'e' )
int alt240=2;
int LA240_0 = input.LA(1);
if ( (LA240_0==130) ) {
alt240=1;
}
else if ( (LA240_0==131) ) {
alt240=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 240, 0, input);
throw nvae;
}
switch (alt240) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7354:2: kw= 'E'
{
kw=(Token)match(input,130,FOLLOW_130_in_ruleEDoubleObject14720);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEDoubleObjectAccess().getEKeyword_4_0_0());
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7361:2: kw= 'e'
{
kw=(Token)match(input,131,FOLLOW_131_in_ruleEDoubleObject14739);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEDoubleObjectAccess().getEKeyword_4_0_1());
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7366:2: (kw= '-' )?
int alt241=2;
int LA241_0 = input.LA(1);
if ( (LA241_0==28) ) {
alt241=1;
}
switch (alt241) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7367:2: kw= '-'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleEDoubleObject14754);
current.merge(kw);
newLeafNode(kw, grammarAccess.getEDoubleObjectAccess().getHyphenMinusKeyword_4_1());
}
break;
}
this_INT_7=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject14771);
current.merge(this_INT_7);
newLeafNode(this_INT_7, grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_4_2());
}
break;
}
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEDoubleObject"
// $ANTLR start "entryRuleReservedResourceContract"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7387:1: entryRuleReservedResourceContract returns [EObject current=null] : iv_ruleReservedResourceContract= ruleReservedResourceContract EOF ;
public final EObject entryRuleReservedResourceContract() throws RecognitionException {
EObject current = null;
EObject iv_ruleReservedResourceContract = null;
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7388:2: (iv_ruleReservedResourceContract= ruleReservedResourceContract EOF )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7389:2: iv_ruleReservedResourceContract= ruleReservedResourceContract EOF
{
newCompositeNode(grammarAccess.getReservedResourceContractRule());
pushFollow(FOLLOW_ruleReservedResourceContract_in_entryRuleReservedResourceContract14818);
iv_ruleReservedResourceContract=ruleReservedResourceContract();
state._fsp--;
current =iv_ruleReservedResourceContract;
match(input,EOF,FOLLOW_EOF_in_entryRuleReservedResourceContract14828);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReservedResourceContract"
// $ANTLR start "ruleReservedResourceContract"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7396:1: ruleReservedResourceContract returns [EObject current=null] : ( () otherlv_1= 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )? otherlv_16= '}' ) ;
public final EObject ruleReservedResourceContract() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_uniqueID_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_name_5_0=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_description_9_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
AntlrDatatypeRuleToken lv_ValidFrom_11_0 = null;
AntlrDatatypeRuleToken lv_ValidUntil_13_0 = null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7399:28: ( ( () otherlv_1= 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )? otherlv_16= '}' ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7400:1: ( () otherlv_1= 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )? otherlv_16= '}' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7400:1: ( () otherlv_1= 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )? otherlv_16= '}' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7400:2: () otherlv_1= 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) otherlv_3= '{' (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )? (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )? (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )? (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )? otherlv_16= '}'
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7400:2: ()
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7401:5:
{
current = forceCreateModelElement(
grammarAccess.getReservedResourceContractAccess().getReservedResourceContractAction_0(),
current);
}
otherlv_1=(Token)match(input,132,FOLLOW_132_in_ruleReservedResourceContract14874);
newLeafNode(otherlv_1, grammarAccess.getReservedResourceContractAccess().getReservedResourceContractKeyword_1());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7410:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7411:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7411:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7412:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14891);
newLeafNode(lv_uniqueID_2_0, grammarAccess.getReservedResourceContractAccess().getUniqueIDSTRINGTerminalRuleCall_2_0());
if (current==null) {
current = createModelElement(grammarAccess.getReservedResourceContractRule());
}
setWithLastConsumed(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING");
}
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleReservedResourceContract14908);
newLeafNode(otherlv_3, grammarAccess.getReservedResourceContractAccess().getLeftCurlyBracketKeyword_3());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7432:1: (otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) ) )?
int alt243=2;
int LA243_0 = input.LA(1);
if ( (LA243_0==15) ) {
alt243=1;
}
switch (alt243) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7432:3: otherlv_4= 'name' ( (lv_name_5_0= RULE_STRING ) )
{
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleReservedResourceContract14921);
newLeafNode(otherlv_4, grammarAccess.getReservedResourceContractAccess().getNameKeyword_4_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7436:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7437:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7437:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7438:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14938);
newLeafNode(lv_name_5_0, grammarAccess.getReservedResourceContractAccess().getNameSTRINGTerminalRuleCall_4_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getReservedResourceContractRule());
}
setWithLastConsumed(
current,
"name",
lv_name_5_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7454:4: (otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) ) )?
int alt244=2;
int LA244_0 = input.LA(1);
if ( (LA244_0==16) ) {
alt244=1;
}
switch (alt244) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7454:6: otherlv_6= 'id' ( (lv_id_7_0= ruleEInt ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleReservedResourceContract14958);
newLeafNode(otherlv_6, grammarAccess.getReservedResourceContractAccess().getIdKeyword_5_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7458:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7459:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7459:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7460:3: lv_id_7_0= ruleEInt
{
newCompositeNode(grammarAccess.getReservedResourceContractAccess().getIdEIntParserRuleCall_5_1_0());
pushFollow(FOLLOW_ruleEInt_in_ruleReservedResourceContract14979);
lv_id_7_0=ruleEInt();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getReservedResourceContractRule());
}
set(
current,
"id",
lv_id_7_0,
"EInt");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7476:4: (otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) ) )?
int alt245=2;
int LA245_0 = input.LA(1);
if ( (LA245_0==17) ) {
alt245=1;
}
switch (alt245) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7476:6: otherlv_8= 'description' ( (lv_description_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleReservedResourceContract14994);
newLeafNode(otherlv_8, grammarAccess.getReservedResourceContractAccess().getDescriptionKeyword_6_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7480:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7481:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7481:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7482:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract15011);
newLeafNode(lv_description_9_0, grammarAccess.getReservedResourceContractAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0());
if (current==null) {
current = createModelElement(grammarAccess.getReservedResourceContractRule());
}
setWithLastConsumed(
current,
"description",
lv_description_9_0,
"STRING");
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7498:4: (otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )?
int alt246=2;
int LA246_0 = input.LA(1);
if ( (LA246_0==47) ) {
alt246=1;
}
switch (alt246) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7498:6: otherlv_10= 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) )
{
otherlv_10=(Token)match(input,47,FOLLOW_47_in_ruleReservedResourceContract15031);
newLeafNode(otherlv_10, grammarAccess.getReservedResourceContractAccess().getValidFromKeyword_7_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7502:1: ( (lv_ValidFrom_11_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7503:1: (lv_ValidFrom_11_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7503:1: (lv_ValidFrom_11_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7504:3: lv_ValidFrom_11_0= ruleEDate
{
newCompositeNode(grammarAccess.getReservedResourceContractAccess().getValidFromEDateParserRuleCall_7_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleReservedResourceContract15052);
lv_ValidFrom_11_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getReservedResourceContractRule());
}
set(
current,
"ValidFrom",
lv_ValidFrom_11_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7520:4: (otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )?
int alt247=2;
int LA247_0 = input.LA(1);
if ( (LA247_0==48) ) {
alt247=1;
}
switch (alt247) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7520:6: otherlv_12= 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) )
{
otherlv_12=(Token)match(input,48,FOLLOW_48_in_ruleReservedResourceContract15067);
newLeafNode(otherlv_12, grammarAccess.getReservedResourceContractAccess().getValidUntilKeyword_8_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7524:1: ( (lv_ValidUntil_13_0= ruleEDate ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7525:1: (lv_ValidUntil_13_0= ruleEDate )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7525:1: (lv_ValidUntil_13_0= ruleEDate )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7526:3: lv_ValidUntil_13_0= ruleEDate
{
newCompositeNode(grammarAccess.getReservedResourceContractAccess().getValidUntilEDateParserRuleCall_8_1_0());
pushFollow(FOLLOW_ruleEDate_in_ruleReservedResourceContract15088);
lv_ValidUntil_13_0=ruleEDate();
state._fsp--;
if (current==null) {
current = createModelElementForParent(grammarAccess.getReservedResourceContractRule());
}
set(
current,
"ValidUntil",
lv_ValidUntil_13_0,
"EDate");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7542:4: (otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) ) )?
int alt248=2;
int LA248_0 = input.LA(1);
if ( (LA248_0==133) ) {
alt248=1;
}
switch (alt248) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7542:6: otherlv_14= 'forResource' ( (otherlv_15= RULE_STRING ) )
{
otherlv_14=(Token)match(input,133,FOLLOW_133_in_ruleReservedResourceContract15103);
newLeafNode(otherlv_14, grammarAccess.getReservedResourceContractAccess().getForResourceKeyword_9_0());
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7546:1: ( (otherlv_15= RULE_STRING ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7547:1: (otherlv_15= RULE_STRING )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7547:1: (otherlv_15= RULE_STRING )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7548:3: otherlv_15= RULE_STRING
{
if (current==null) {
current = createModelElement(grammarAccess.getReservedResourceContractRule());
}
otherlv_15=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract15123);
newLeafNode(otherlv_15, grammarAccess.getReservedResourceContractAccess().getForResourceOfferedResourceCrossReference_9_1_0());
}
}
}
break;
}
otherlv_16=(Token)match(input,22,FOLLOW_22_in_ruleReservedResourceContract15137);
newLeafNode(otherlv_16, grammarAccess.getReservedResourceContractAccess().getRightCurlyBracketKeyword_10());
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReservedResourceContract"
// $ANTLR start "ruleResourceType"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7571:1: ruleResourceType returns [Enumerator current=null] : ( (enumLiteral_0= 'SINGLETON' ) | (enumLiteral_1= 'MULTITON' ) ) ;
public final Enumerator ruleResourceType() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7573:28: ( ( (enumLiteral_0= 'SINGLETON' ) | (enumLiteral_1= 'MULTITON' ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7574:1: ( (enumLiteral_0= 'SINGLETON' ) | (enumLiteral_1= 'MULTITON' ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7574:1: ( (enumLiteral_0= 'SINGLETON' ) | (enumLiteral_1= 'MULTITON' ) )
int alt249=2;
int LA249_0 = input.LA(1);
if ( (LA249_0==134) ) {
alt249=1;
}
else if ( (LA249_0==135) ) {
alt249=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 249, 0, input);
throw nvae;
}
switch (alt249) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7574:2: (enumLiteral_0= 'SINGLETON' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7574:2: (enumLiteral_0= 'SINGLETON' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7574:4: enumLiteral_0= 'SINGLETON'
{
enumLiteral_0=(Token)match(input,134,FOLLOW_134_in_ruleResourceType15187);
current = grammarAccess.getResourceTypeAccess().getSINGLETONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getResourceTypeAccess().getSINGLETONEnumLiteralDeclaration_0());
}
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7580:6: (enumLiteral_1= 'MULTITON' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7580:6: (enumLiteral_1= 'MULTITON' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7580:8: enumLiteral_1= 'MULTITON'
{
enumLiteral_1=(Token)match(input,135,FOLLOW_135_in_ruleResourceType15204);
current = grammarAccess.getResourceTypeAccess().getMULTITONEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getResourceTypeAccess().getMULTITONEnumLiteralDeclaration_1());
}
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResourceType"
// $ANTLR start "ruleServiceResourceOperation"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7590:1: ruleServiceResourceOperation returns [Enumerator current=null] : ( (enumLiteral_0= 'OP_CREATE' ) | (enumLiteral_1= 'OP_READ' ) | (enumLiteral_2= 'OP_UPDATE' ) | (enumLiteral_3= 'OP_DELETE' ) ) ;
public final Enumerator ruleServiceResourceOperation() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7592:28: ( ( (enumLiteral_0= 'OP_CREATE' ) | (enumLiteral_1= 'OP_READ' ) | (enumLiteral_2= 'OP_UPDATE' ) | (enumLiteral_3= 'OP_DELETE' ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7593:1: ( (enumLiteral_0= 'OP_CREATE' ) | (enumLiteral_1= 'OP_READ' ) | (enumLiteral_2= 'OP_UPDATE' ) | (enumLiteral_3= 'OP_DELETE' ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7593:1: ( (enumLiteral_0= 'OP_CREATE' ) | (enumLiteral_1= 'OP_READ' ) | (enumLiteral_2= 'OP_UPDATE' ) | (enumLiteral_3= 'OP_DELETE' ) )
int alt250=4;
switch ( input.LA(1) ) {
case 136:
{
alt250=1;
}
break;
case 137:
{
alt250=2;
}
break;
case 138:
{
alt250=3;
}
break;
case 139:
{
alt250=4;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 250, 0, input);
throw nvae;
}
switch (alt250) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7593:2: (enumLiteral_0= 'OP_CREATE' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7593:2: (enumLiteral_0= 'OP_CREATE' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7593:4: enumLiteral_0= 'OP_CREATE'
{
enumLiteral_0=(Token)match(input,136,FOLLOW_136_in_ruleServiceResourceOperation15249);
current = grammarAccess.getServiceResourceOperationAccess().getOP_CREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getServiceResourceOperationAccess().getOP_CREATEEnumLiteralDeclaration_0());
}
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7599:6: (enumLiteral_1= 'OP_READ' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7599:6: (enumLiteral_1= 'OP_READ' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7599:8: enumLiteral_1= 'OP_READ'
{
enumLiteral_1=(Token)match(input,137,FOLLOW_137_in_ruleServiceResourceOperation15266);
current = grammarAccess.getServiceResourceOperationAccess().getOP_READEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getServiceResourceOperationAccess().getOP_READEnumLiteralDeclaration_1());
}
}
break;
case 3 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7605:6: (enumLiteral_2= 'OP_UPDATE' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7605:6: (enumLiteral_2= 'OP_UPDATE' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7605:8: enumLiteral_2= 'OP_UPDATE'
{
enumLiteral_2=(Token)match(input,138,FOLLOW_138_in_ruleServiceResourceOperation15283);
current = grammarAccess.getServiceResourceOperationAccess().getOP_UPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getServiceResourceOperationAccess().getOP_UPDATEEnumLiteralDeclaration_2());
}
}
break;
case 4 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7611:6: (enumLiteral_3= 'OP_DELETE' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7611:6: (enumLiteral_3= 'OP_DELETE' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7611:8: enumLiteral_3= 'OP_DELETE'
{
enumLiteral_3=(Token)match(input,139,FOLLOW_139_in_ruleServiceResourceOperation15300);
current = grammarAccess.getServiceResourceOperationAccess().getOP_DELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getServiceResourceOperationAccess().getOP_DELETEEnumLiteralDeclaration_3());
}
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleServiceResourceOperation"
// $ANTLR start "ruleRepatabilityScheme"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7621:1: ruleRepatabilityScheme returns [Enumerator current=null] : ( (enumLiteral_0= 'DAILY' ) | (enumLiteral_1= 'WEEKLY' ) | (enumLiteral_2= 'MONTHLY' ) | (enumLiteral_3= 'YEARLY' ) ) ;
public final Enumerator ruleRepatabilityScheme() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7623:28: ( ( (enumLiteral_0= 'DAILY' ) | (enumLiteral_1= 'WEEKLY' ) | (enumLiteral_2= 'MONTHLY' ) | (enumLiteral_3= 'YEARLY' ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7624:1: ( (enumLiteral_0= 'DAILY' ) | (enumLiteral_1= 'WEEKLY' ) | (enumLiteral_2= 'MONTHLY' ) | (enumLiteral_3= 'YEARLY' ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7624:1: ( (enumLiteral_0= 'DAILY' ) | (enumLiteral_1= 'WEEKLY' ) | (enumLiteral_2= 'MONTHLY' ) | (enumLiteral_3= 'YEARLY' ) )
int alt251=4;
switch ( input.LA(1) ) {
case 140:
{
alt251=1;
}
break;
case 141:
{
alt251=2;
}
break;
case 142:
{
alt251=3;
}
break;
case 143:
{
alt251=4;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 251, 0, input);
throw nvae;
}
switch (alt251) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7624:2: (enumLiteral_0= 'DAILY' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7624:2: (enumLiteral_0= 'DAILY' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7624:4: enumLiteral_0= 'DAILY'
{
enumLiteral_0=(Token)match(input,140,FOLLOW_140_in_ruleRepatabilityScheme15345);
current = grammarAccess.getRepatabilitySchemeAccess().getDAILYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getRepatabilitySchemeAccess().getDAILYEnumLiteralDeclaration_0());
}
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7630:6: (enumLiteral_1= 'WEEKLY' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7630:6: (enumLiteral_1= 'WEEKLY' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7630:8: enumLiteral_1= 'WEEKLY'
{
enumLiteral_1=(Token)match(input,141,FOLLOW_141_in_ruleRepatabilityScheme15362);
current = grammarAccess.getRepatabilitySchemeAccess().getWEEKLYEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getRepatabilitySchemeAccess().getWEEKLYEnumLiteralDeclaration_1());
}
}
break;
case 3 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7636:6: (enumLiteral_2= 'MONTHLY' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7636:6: (enumLiteral_2= 'MONTHLY' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7636:8: enumLiteral_2= 'MONTHLY'
{
enumLiteral_2=(Token)match(input,142,FOLLOW_142_in_ruleRepatabilityScheme15379);
current = grammarAccess.getRepatabilitySchemeAccess().getMONTHLYEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getRepatabilitySchemeAccess().getMONTHLYEnumLiteralDeclaration_2());
}
}
break;
case 4 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7642:6: (enumLiteral_3= 'YEARLY' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7642:6: (enumLiteral_3= 'YEARLY' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7642:8: enumLiteral_3= 'YEARLY'
{
enumLiteral_3=(Token)match(input,143,FOLLOW_143_in_ruleRepatabilityScheme15396);
current = grammarAccess.getRepatabilitySchemeAccess().getYEARLYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getRepatabilitySchemeAccess().getYEARLYEnumLiteralDeclaration_3());
}
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleRepatabilityScheme"
// $ANTLR start "rulecostUnit"
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7652:1: rulecostUnit returns [Enumerator current=null] : ( (enumLiteral_0= 'MIN' ) | (enumLiteral_1= 'HOUR' ) | (enumLiteral_2= 'DAY' ) | (enumLiteral_3= 'USAGE' ) | (enumLiteral_4= 'OTHER' ) ) ;
public final Enumerator rulecostUnit() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
enterRule();
try {
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7654:28: ( ( (enumLiteral_0= 'MIN' ) | (enumLiteral_1= 'HOUR' ) | (enumLiteral_2= 'DAY' ) | (enumLiteral_3= 'USAGE' ) | (enumLiteral_4= 'OTHER' ) ) )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7655:1: ( (enumLiteral_0= 'MIN' ) | (enumLiteral_1= 'HOUR' ) | (enumLiteral_2= 'DAY' ) | (enumLiteral_3= 'USAGE' ) | (enumLiteral_4= 'OTHER' ) )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7655:1: ( (enumLiteral_0= 'MIN' ) | (enumLiteral_1= 'HOUR' ) | (enumLiteral_2= 'DAY' ) | (enumLiteral_3= 'USAGE' ) | (enumLiteral_4= 'OTHER' ) )
int alt252=5;
switch ( input.LA(1) ) {
case 144:
{
alt252=1;
}
break;
case 145:
{
alt252=2;
}
break;
case 146:
{
alt252=3;
}
break;
case 147:
{
alt252=4;
}
break;
case 148:
{
alt252=5;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 252, 0, input);
throw nvae;
}
switch (alt252) {
case 1 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7655:2: (enumLiteral_0= 'MIN' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7655:2: (enumLiteral_0= 'MIN' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7655:4: enumLiteral_0= 'MIN'
{
enumLiteral_0=(Token)match(input,144,FOLLOW_144_in_rulecostUnit15441);
current = grammarAccess.getCostUnitAccess().getMINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getCostUnitAccess().getMINEnumLiteralDeclaration_0());
}
}
break;
case 2 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7661:6: (enumLiteral_1= 'HOUR' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7661:6: (enumLiteral_1= 'HOUR' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7661:8: enumLiteral_1= 'HOUR'
{
enumLiteral_1=(Token)match(input,145,FOLLOW_145_in_rulecostUnit15458);
current = grammarAccess.getCostUnitAccess().getHOUREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getCostUnitAccess().getHOUREnumLiteralDeclaration_1());
}
}
break;
case 3 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7667:6: (enumLiteral_2= 'DAY' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7667:6: (enumLiteral_2= 'DAY' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7667:8: enumLiteral_2= 'DAY'
{
enumLiteral_2=(Token)match(input,146,FOLLOW_146_in_rulecostUnit15475);
current = grammarAccess.getCostUnitAccess().getDAYEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getCostUnitAccess().getDAYEnumLiteralDeclaration_2());
}
}
break;
case 4 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7673:6: (enumLiteral_3= 'USAGE' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7673:6: (enumLiteral_3= 'USAGE' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7673:8: enumLiteral_3= 'USAGE'
{
enumLiteral_3=(Token)match(input,147,FOLLOW_147_in_rulecostUnit15492);
current = grammarAccess.getCostUnitAccess().getUSAGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getCostUnitAccess().getUSAGEEnumLiteralDeclaration_3());
}
}
break;
case 5 :
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7679:6: (enumLiteral_4= 'OTHER' )
{
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7679:6: (enumLiteral_4= 'OTHER' )
// ../org.panlab.software.officedl2/src-gen/org/panlab/software/officedl2/parser/antlr/internal/InternalOfficeDL.g:7679:8: enumLiteral_4= 'OTHER'
{
enumLiteral_4=(Token)match(input,148,FOLLOW_148_in_rulecostUnit15509);
current = grammarAccess.getCostUnitAccess().getOTHEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getCostUnitAccess().getOTHEREnumLiteralDeclaration_4());
}
}
break;
}
}
leaveRule();
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulecostUnit"
// Delegated rules
public static final BitSet FOLLOW_ruleOfficeRule_in_entryRuleOfficeRule75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficeRule85 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleImportOffice_in_ruleOfficeRule140 = new BitSet(new long[]{0x0000000000002800L});
public static final BitSet FOLLOW_ruleOffice_in_ruleOfficeRule162 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleImportOffice_in_entryRuleImportOffice198 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleImportOffice208 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_11_in_ruleImportOffice245 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleImportOffice262 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_12_in_ruleImportOffice279 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOffice_in_entryRuleOffice315 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOffice325 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_13_in_ruleOffice371 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice388 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice405 = new BitSet(new long[]{0x000000000FDF8000L});
public static final BitSet FOLLOW_15_in_ruleOffice418 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice435 = new BitSet(new long[]{0x000000000FDF0000L});
public static final BitSet FOLLOW_16_in_ruleOffice455 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOffice476 = new BitSet(new long[]{0x000000000FDE0000L});
public static final BitSet FOLLOW_17_in_ruleOffice491 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice508 = new BitSet(new long[]{0x000000000FDC0000L});
public static final BitSet FOLLOW_18_in_ruleOffice528 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice545 = new BitSet(new long[]{0x000000000FD80000L});
public static final BitSet FOLLOW_19_in_ruleOffice565 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice582 = new BitSet(new long[]{0x000000000FD00000L});
public static final BitSet FOLLOW_20_in_ruleOffice602 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice614 = new BitSet(new long[]{0xD040000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_ruleOfficeUser_in_ruleOffice635 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice648 = new BitSet(new long[]{0xD040000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_ruleOfficeUser_in_ruleOffice669 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice683 = new BitSet(new long[]{0x000000000FC00000L});
public static final BitSet FOLLOW_23_in_ruleOffice698 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice710 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleOffice731 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice744 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleOffice765 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice779 = new BitSet(new long[]{0x000000000F400000L});
public static final BitSet FOLLOW_24_in_ruleOffice794 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice806 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_ruleOfferedService_in_ruleOffice827 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice840 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_ruleOfferedService_in_ruleOffice861 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice875 = new BitSet(new long[]{0x000000000E400000L});
public static final BitSet FOLLOW_25_in_ruleOffice890 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice902 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_ruleServiceComposition_in_ruleOffice923 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice936 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_ruleServiceComposition_in_ruleOffice957 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice971 = new BitSet(new long[]{0x000000000C400000L});
public static final BitSet FOLLOW_26_in_ruleOffice986 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice998 = new BitSet(new long[]{0x0000010000000000L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_ruleOffice1019 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice1032 = new BitSet(new long[]{0x0000010000000000L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_ruleOffice1053 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice1067 = new BitSet(new long[]{0x0000000008400000L});
public static final BitSet FOLLOW_27_in_ruleOffice1082 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice1094 = new BitSet(new long[]{0x0000400000000000L});
public static final BitSet FOLLOW_ruleSLA_in_ruleOffice1115 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice1128 = new BitSet(new long[]{0x0000400000000000L});
public static final BitSet FOLLOW_ruleSLA_in_ruleOffice1149 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice1163 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOffice1177 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeUser_in_entryRuleOfficeUser1213 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficeUser1223 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourcesProvider_Impl_in_ruleOfficeUser1270 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTestbedDesigner_in_ruleOfficeUser1297 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdmin_in_ruleOfficeUser1324 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeCustomer_in_ruleOfficeUser1351 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficePersonel_Impl_in_ruleOfficeUser1378 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSettingType_in_entryRuleSettingType1417 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSettingType1427 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeString_in_ruleSettingType1474 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnum_in_ruleSettingType1501 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeList_in_ruleSettingType1528 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeTideElement_in_ruleSettingType1555 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEInt_in_entryRuleEInt1595 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEInt1606 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleEInt1645 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEInt1662 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTaxonomy_in_entryRuleTaxonomy1707 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTaxonomy1717 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleTaxonomy1763 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1780 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy1797 = new BitSet(new long[]{0x0000000E40438000L});
public static final BitSet FOLLOW_15_in_ruleTaxonomy1810 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1827 = new BitSet(new long[]{0x0000000E40430000L});
public static final BitSet FOLLOW_16_in_ruleTaxonomy1847 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleTaxonomy1868 = new BitSet(new long[]{0x0000000E40420000L});
public static final BitSet FOLLOW_17_in_ruleTaxonomy1883 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1900 = new BitSet(new long[]{0x0000000E40400000L});
public static final BitSet FOLLOW_30_in_ruleTaxonomy1920 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleTaxonomy1932 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1952 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy1965 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1985 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTaxonomy1999 = new BitSet(new long[]{0x0000000E00400000L});
public static final BitSet FOLLOW_33_in_ruleTaxonomy2014 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleTaxonomy2026 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy2046 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy2059 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy2079 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTaxonomy2093 = new BitSet(new long[]{0x0000000C00400000L});
public static final BitSet FOLLOW_34_in_ruleTaxonomy2108 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy2120 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleTaxonomy2141 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy2154 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleTaxonomy2175 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2189 = new BitSet(new long[]{0x0000000800400000L});
public static final BitSet FOLLOW_35_in_ruleTaxonomy2204 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy2216 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L});
public static final BitSet FOLLOW_ruleResourceCategory_in_ruleTaxonomy2237 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy2250 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L});
public static final BitSet FOLLOW_ruleResourceCategory_in_ruleTaxonomy2271 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2285 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2299 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfferedService_in_entryRuleOfferedService2335 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfferedService2345 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_36_in_ruleOfferedService2391 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2408 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedService2425 = new BitSet(new long[]{0x0000006000438000L});
public static final BitSet FOLLOW_15_in_ruleOfferedService2438 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2455 = new BitSet(new long[]{0x0000006000430000L});
public static final BitSet FOLLOW_16_in_ruleOfferedService2475 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedService2496 = new BitSet(new long[]{0x0000006000420000L});
public static final BitSet FOLLOW_17_in_ruleOfferedService2511 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2528 = new BitSet(new long[]{0x0000006000400000L});
public static final BitSet FOLLOW_37_in_ruleOfferedService2548 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedService2560 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2580 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedService2593 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2613 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedService2627 = new BitSet(new long[]{0x0000004000400000L});
public static final BitSet FOLLOW_38_in_ruleOfferedService2642 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedService2654 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleOfferedService2675 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOfferedService2688 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleOfferedService2709 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOfferedService2723 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfferedService2737 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleServiceComposition_in_entryRuleServiceComposition2773 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleServiceComposition2783 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_39_in_ruleServiceComposition2829 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2846 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceComposition2863 = new BitSet(new long[]{0x0000000200438000L});
public static final BitSet FOLLOW_15_in_ruleServiceComposition2876 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2893 = new BitSet(new long[]{0x0000000200430000L});
public static final BitSet FOLLOW_16_in_ruleServiceComposition2913 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleServiceComposition2934 = new BitSet(new long[]{0x0000000200420000L});
public static final BitSet FOLLOW_17_in_ruleServiceComposition2949 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2966 = new BitSet(new long[]{0x0000000200400000L});
public static final BitSet FOLLOW_33_in_ruleServiceComposition2986 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceComposition2998 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition3018 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceComposition3031 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition3051 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceComposition3065 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleServiceComposition3079 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_entryRuleResourceServiceContract3115 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceServiceContract3125 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleResourceServiceContract3162 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3179 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceServiceContract3196 = new BitSet(new long[]{0x0000020000038000L});
public static final BitSet FOLLOW_15_in_ruleResourceServiceContract3209 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3226 = new BitSet(new long[]{0x0000020000030000L});
public static final BitSet FOLLOW_16_in_ruleResourceServiceContract3246 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceServiceContract3267 = new BitSet(new long[]{0x0000020000020000L});
public static final BitSet FOLLOW_17_in_ruleResourceServiceContract3282 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3299 = new BitSet(new long[]{0x0000020000000000L});
public static final BitSet FOLLOW_41_in_ruleResourceServiceContract3318 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleResourceServiceContract3339 = new BitSet(new long[]{0x0000040000000000L});
public static final BitSet FOLLOW_42_in_ruleResourceServiceContract3351 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleResourceServiceContract3372 = new BitSet(new long[]{0x0000080000000000L});
public static final BitSet FOLLOW_43_in_ruleResourceServiceContract3384 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3404 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_44_in_ruleResourceServiceContract3416 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3436 = new BitSet(new long[]{0x0000200000400000L});
public static final BitSet FOLLOW_45_in_ruleResourceServiceContract3449 = new BitSet(new long[]{0x0000000000000000L,0x0060000000000000L});
public static final BitSet FOLLOW_ruleAvailability_in_ruleResourceServiceContract3470 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceServiceContract3484 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSLA_in_entryRuleSLA3520 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSLA3530 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_46_in_ruleSLA3576 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3593 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSLA3610 = new BitSet(new long[]{0x0007800000438000L});
public static final BitSet FOLLOW_15_in_ruleSLA3623 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3640 = new BitSet(new long[]{0x0007800000430000L});
public static final BitSet FOLLOW_16_in_ruleSLA3660 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSLA3681 = new BitSet(new long[]{0x0007800000420000L});
public static final BitSet FOLLOW_17_in_ruleSLA3696 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3713 = new BitSet(new long[]{0x0007800000400000L});
public static final BitSet FOLLOW_47_in_ruleSLA3733 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleSLA3754 = new BitSet(new long[]{0x0007000000400000L});
public static final BitSet FOLLOW_48_in_ruleSLA3769 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleSLA3790 = new BitSet(new long[]{0x0006000000400000L});
public static final BitSet FOLLOW_49_in_ruleSLA3805 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3825 = new BitSet(new long[]{0x0004000000400000L});
public static final BitSet FOLLOW_50_in_ruleSLA3840 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSLA3852 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_ruleSLA3873 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSLA3886 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_ruleSLA3907 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSLA3921 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSLA3935 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAccount_in_entryRuleAccount3971 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAccount3981 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleAccount4027 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount4044 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAccount4061 = new BitSet(new long[]{0x0030000000438000L});
public static final BitSet FOLLOW_15_in_ruleAccount4074 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount4091 = new BitSet(new long[]{0x0030000000430000L});
public static final BitSet FOLLOW_16_in_ruleAccount4111 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAccount4132 = new BitSet(new long[]{0x0030000000420000L});
public static final BitSet FOLLOW_17_in_ruleAccount4147 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount4164 = new BitSet(new long[]{0x0030000000400000L});
public static final BitSet FOLLOW_52_in_ruleAccount4184 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount4201 = new BitSet(new long[]{0x0020000000400000L});
public static final BitSet FOLLOW_53_in_ruleAccount4221 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount4238 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAccount4257 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourcesProvider_Impl_in_entryRuleResourcesProvider_Impl4293 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourcesProvider_Impl4303 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_ruleResourcesProvider_Impl4349 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4366 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourcesProvider_Impl4383 = new BitSet(new long[]{0x0F80000000438000L});
public static final BitSet FOLLOW_15_in_ruleResourcesProvider_Impl4396 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4413 = new BitSet(new long[]{0x0F80000000430000L});
public static final BitSet FOLLOW_16_in_ruleResourcesProvider_Impl4433 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourcesProvider_Impl4454 = new BitSet(new long[]{0x0F80000000420000L});
public static final BitSet FOLLOW_17_in_ruleResourcesProvider_Impl4469 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4486 = new BitSet(new long[]{0x0F80000000400000L});
public static final BitSet FOLLOW_55_in_ruleResourcesProvider_Impl4506 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4523 = new BitSet(new long[]{0x0F00000000400000L});
public static final BitSet FOLLOW_56_in_ruleResourcesProvider_Impl4543 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4560 = new BitSet(new long[]{0x0E00000000400000L});
public static final BitSet FOLLOW_57_in_ruleResourcesProvider_Impl4580 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4597 = new BitSet(new long[]{0x0C00000000400000L});
public static final BitSet FOLLOW_58_in_ruleResourcesProvider_Impl4617 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleResourcesProvider_Impl4638 = new BitSet(new long[]{0x0800000000400000L});
public static final BitSet FOLLOW_59_in_ruleResourcesProvider_Impl4653 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourcesProvider_Impl4665 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4686 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResourcesProvider_Impl4699 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4720 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResourcesProvider_Impl4734 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourcesProvider_Impl4748 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTestbedDesigner_in_entryRuleTestbedDesigner4784 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTestbedDesigner4794 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_ruleTestbedDesigner4840 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4857 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTestbedDesigner4874 = new BitSet(new long[]{0x2780000000438000L});
public static final BitSet FOLLOW_15_in_ruleTestbedDesigner4887 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4904 = new BitSet(new long[]{0x2780000000430000L});
public static final BitSet FOLLOW_16_in_ruleTestbedDesigner4924 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleTestbedDesigner4945 = new BitSet(new long[]{0x2780000000420000L});
public static final BitSet FOLLOW_17_in_ruleTestbedDesigner4960 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4977 = new BitSet(new long[]{0x2780000000400000L});
public static final BitSet FOLLOW_55_in_ruleTestbedDesigner4997 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner5014 = new BitSet(new long[]{0x2700000000400000L});
public static final BitSet FOLLOW_56_in_ruleTestbedDesigner5034 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner5051 = new BitSet(new long[]{0x2600000000400000L});
public static final BitSet FOLLOW_57_in_ruleTestbedDesigner5071 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner5088 = new BitSet(new long[]{0x2400000000400000L});
public static final BitSet FOLLOW_61_in_ruleTestbedDesigner5108 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleTestbedDesigner5120 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner5140 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTestbedDesigner5153 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner5173 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTestbedDesigner5187 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleTestbedDesigner5202 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleTestbedDesigner5223 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleTestbedDesigner5237 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdmin_in_entryRuleAdmin5273 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAdmin5283 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_62_in_ruleAdmin5329 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5346 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAdmin5363 = new BitSet(new long[]{0x0780000000438000L});
public static final BitSet FOLLOW_15_in_ruleAdmin5376 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5393 = new BitSet(new long[]{0x0780000000430000L});
public static final BitSet FOLLOW_16_in_ruleAdmin5413 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAdmin5434 = new BitSet(new long[]{0x0780000000420000L});
public static final BitSet FOLLOW_17_in_ruleAdmin5449 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5466 = new BitSet(new long[]{0x0780000000400000L});
public static final BitSet FOLLOW_55_in_ruleAdmin5486 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5503 = new BitSet(new long[]{0x0700000000400000L});
public static final BitSet FOLLOW_56_in_ruleAdmin5523 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5540 = new BitSet(new long[]{0x0600000000400000L});
public static final BitSet FOLLOW_57_in_ruleAdmin5560 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5577 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleAdmin5597 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleAdmin5618 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAdmin5632 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeCustomer_in_entryRuleOfficeCustomer5668 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficeCustomer5678 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_63_in_ruleOfficeCustomer5724 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5741 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfficeCustomer5758 = new BitSet(new long[]{0x0780000000438000L,0x0000000000000003L});
public static final BitSet FOLLOW_15_in_ruleOfficeCustomer5771 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5788 = new BitSet(new long[]{0x0780000000430000L,0x0000000000000003L});
public static final BitSet FOLLOW_16_in_ruleOfficeCustomer5808 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfficeCustomer5829 = new BitSet(new long[]{0x0780000000420000L,0x0000000000000003L});
public static final BitSet FOLLOW_17_in_ruleOfficeCustomer5844 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5861 = new BitSet(new long[]{0x0780000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_55_in_ruleOfficeCustomer5881 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5898 = new BitSet(new long[]{0x0700000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_56_in_ruleOfficeCustomer5918 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5935 = new BitSet(new long[]{0x0600000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_57_in_ruleOfficeCustomer5955 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5972 = new BitSet(new long[]{0x0400000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_64_in_ruleOfficeCustomer5992 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfficeCustomer6004 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer6024 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfficeCustomer6037 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer6057 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfficeCustomer6071 = new BitSet(new long[]{0x0400000000400000L,0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ruleOfficeCustomer6086 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer6106 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleOfficeCustomer6121 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleOfficeCustomer6142 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfficeCustomer6156 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficePersonel_Impl_in_entryRuleOfficePersonel_Impl6192 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficePersonel_Impl6202 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_ruleOfficePersonel_Impl6248 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6265 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfficePersonel_Impl6282 = new BitSet(new long[]{0x0780000000438000L});
public static final BitSet FOLLOW_15_in_ruleOfficePersonel_Impl6295 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6312 = new BitSet(new long[]{0x0780000000430000L});
public static final BitSet FOLLOW_16_in_ruleOfficePersonel_Impl6332 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfficePersonel_Impl6353 = new BitSet(new long[]{0x0780000000420000L});
public static final BitSet FOLLOW_17_in_ruleOfficePersonel_Impl6368 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6385 = new BitSet(new long[]{0x0780000000400000L});
public static final BitSet FOLLOW_55_in_ruleOfficePersonel_Impl6405 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6422 = new BitSet(new long[]{0x0700000000400000L});
public static final BitSet FOLLOW_56_in_ruleOfficePersonel_Impl6442 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6459 = new BitSet(new long[]{0x0600000000400000L});
public static final BitSet FOLLOW_57_in_ruleOfficePersonel_Impl6479 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6496 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleOfficePersonel_Impl6516 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleOfficePersonel_Impl6537 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfficePersonel_Impl6551 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSite_in_entryRuleSite6587 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSite6597 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_67_in_ruleSite6634 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6651 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6668 = new BitSet(new long[]{0x0000000000038000L,0x0000000000000010L});
public static final BitSet FOLLOW_15_in_ruleSite6681 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6698 = new BitSet(new long[]{0x0000000000030000L,0x0000000000000010L});
public static final BitSet FOLLOW_16_in_ruleSite6718 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSite6739 = new BitSet(new long[]{0x0000000000020000L,0x0000000000000010L});
public static final BitSet FOLLOW_17_in_ruleSite6754 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6771 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_68_in_ruleSite6790 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
public static final BitSet FOLLOW_rulePTM_in_ruleSite6811 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_69_in_ruleSite6823 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6835 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_ruleIGW_in_ruleSite6856 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSite6869 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_ruleIGW_in_ruleSite6890 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSite6904 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
public static final BitSet FOLLOW_70_in_ruleSite6916 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
public static final BitSet FOLLOW_ruleSiteLocation_in_ruleSite6937 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000080L});
public static final BitSet FOLLOW_71_in_ruleSite6950 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6962 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L});
public static final BitSet FOLLOW_ruleOfferedResource_in_ruleSite6983 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSite6996 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L});
public static final BitSet FOLLOW_ruleOfferedResource_in_ruleSite7017 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSite7031 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSite7045 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePTM_in_entryRulePTM7081 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRulePTM7091 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_rulePTM7137 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM7154 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_rulePTM7171 = new BitSet(new long[]{0x0000000000438000L,0x0000000000000200L});
public static final BitSet FOLLOW_15_in_rulePTM7184 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM7201 = new BitSet(new long[]{0x0000000000430000L,0x0000000000000200L});
public static final BitSet FOLLOW_16_in_rulePTM7221 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_rulePTM7242 = new BitSet(new long[]{0x0000000000420000L,0x0000000000000200L});
public static final BitSet FOLLOW_17_in_rulePTM7257 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM7274 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000200L});
public static final BitSet FOLLOW_73_in_rulePTM7294 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM7311 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_rulePTM7330 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIGW_in_entryRuleIGW7366 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleIGW7376 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_ruleIGW7422 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7439 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleIGW7456 = new BitSet(new long[]{0x0000000000438000L,0x0000000000000200L});
public static final BitSet FOLLOW_15_in_ruleIGW7469 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7486 = new BitSet(new long[]{0x0000000000430000L,0x0000000000000200L});
public static final BitSet FOLLOW_16_in_ruleIGW7506 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleIGW7527 = new BitSet(new long[]{0x0000000000420000L,0x0000000000000200L});
public static final BitSet FOLLOW_17_in_ruleIGW7542 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7559 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000200L});
public static final BitSet FOLLOW_73_in_ruleIGW7579 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7596 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleIGW7615 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSiteLocation_in_entryRuleSiteLocation7651 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSiteLocation7661 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_75_in_ruleSiteLocation7707 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7724 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSiteLocation7741 = new BitSet(new long[]{0x0100000000438000L,0x0000000000001000L});
public static final BitSet FOLLOW_15_in_ruleSiteLocation7754 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7771 = new BitSet(new long[]{0x0100000000430000L,0x0000000000001000L});
public static final BitSet FOLLOW_16_in_ruleSiteLocation7791 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSiteLocation7812 = new BitSet(new long[]{0x0100000000420000L,0x0000000000001000L});
public static final BitSet FOLLOW_17_in_ruleSiteLocation7827 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7844 = new BitSet(new long[]{0x0100000000400000L,0x0000000000001000L});
public static final BitSet FOLLOW_56_in_ruleSiteLocation7864 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7881 = new BitSet(new long[]{0x0000000000400000L,0x0000000000001000L});
public static final BitSet FOLLOW_76_in_ruleSiteLocation7901 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7918 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSiteLocation7937 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfferedResource_in_entryRuleOfferedResource7973 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfferedResource7983 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_ruleOfferedResource8029 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8046 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedResource8063 = new BitSet(new long[]{0x0000000000438000L,0x00000000000FC000L});
public static final BitSet FOLLOW_15_in_ruleOfferedResource8076 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8093 = new BitSet(new long[]{0x0000000000430000L,0x00000000000FC000L});
public static final BitSet FOLLOW_16_in_ruleOfferedResource8113 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedResource8134 = new BitSet(new long[]{0x0000000000420000L,0x00000000000FC000L});
public static final BitSet FOLLOW_17_in_ruleOfferedResource8149 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8166 = new BitSet(new long[]{0x0000000000400000L,0x00000000000FC000L});
public static final BitSet FOLLOW_78_in_ruleOfferedResource8186 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000000000000C0L});
public static final BitSet FOLLOW_ruleResourceType_in_ruleOfferedResource8207 = new BitSet(new long[]{0x0000000000400000L,0x00000000000F8000L});
public static final BitSet FOLLOW_79_in_ruleOfferedResource8222 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedResource8243 = new BitSet(new long[]{0x0000000000400000L,0x00000000000F0000L});
public static final BitSet FOLLOW_80_in_ruleOfferedResource8258 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedResource8270 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8290 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource8303 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8323 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedResource8337 = new BitSet(new long[]{0x0000000000400000L,0x00000000000E0000L});
public static final BitSet FOLLOW_81_in_ruleOfferedResource8352 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedResource8364 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8384 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource8397 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8417 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedResource8431 = new BitSet(new long[]{0x0000000000400000L,0x00000000000C0000L});
public static final BitSet FOLLOW_82_in_ruleOfferedResource8446 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource8466 = new BitSet(new long[]{0x0000000000400000L,0x0000000000080000L});
public static final BitSet FOLLOW_83_in_ruleOfferedResource8481 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedResource8493 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleOfferedResource8514 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource8527 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleOfferedResource8548 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOfferedResource8562 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfferedResource8576 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceSetting_in_entryRuleResourceSetting8612 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceSetting8622 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleResourceSetting8674 = new BitSet(new long[]{0x0000000000000000L,0x0000000000E00000L});
public static final BitSet FOLLOW_85_in_ruleResourceSetting8706 = new BitSet(new long[]{0x0000000000000000L,0x0000000000C00000L});
public static final BitSet FOLLOW_86_in_ruleResourceSetting8738 = new BitSet(new long[]{0x0000000000000000L,0x0000000000800000L});
public static final BitSet FOLLOW_87_in_ruleResourceSetting8764 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8781 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceSetting8798 = new BitSet(new long[]{0x0000000000438000L,0x000000007F000000L});
public static final BitSet FOLLOW_15_in_ruleResourceSetting8811 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8828 = new BitSet(new long[]{0x0000000000430000L,0x000000007F000000L});
public static final BitSet FOLLOW_16_in_ruleResourceSetting8848 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceSetting8869 = new BitSet(new long[]{0x0000000000420000L,0x000000007F000000L});
public static final BitSet FOLLOW_17_in_ruleResourceSetting8884 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8901 = new BitSet(new long[]{0x0000000000400000L,0x000000007F000000L});
public static final BitSet FOLLOW_88_in_ruleResourceSetting8926 = new BitSet(new long[]{0x0000000000400000L,0x000000007E000000L});
public static final BitSet FOLLOW_89_in_ruleResourceSetting8958 = new BitSet(new long[]{0x0000000000400000L,0x000000007C000000L});
public static final BitSet FOLLOW_90_in_ruleResourceSetting8985 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceSetting8997 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting9017 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting9030 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting9050 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceSetting9064 = new BitSet(new long[]{0x0000000000400000L,0x0000000078000000L});
public static final BitSet FOLLOW_91_in_ruleResourceSetting9079 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceSetting9091 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting9111 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting9124 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting9144 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceSetting9158 = new BitSet(new long[]{0x0000000000400000L,0x0000000070000000L});
public static final BitSet FOLLOW_92_in_ruleResourceSetting9173 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting9193 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleResourceSetting9208 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleResourceSetting9229 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleResourceSetting9244 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceSetting9256 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleResourceSetting9277 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting9290 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleResourceSetting9311 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResourceSetting9325 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceSetting9339 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceCategory_in_entryRuleResourceCategory9375 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceCategory9385 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_95_in_ruleResourceCategory9431 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9448 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceCategory9465 = new BitSet(new long[]{0x0000000000438000L,0x0000000100000000L});
public static final BitSet FOLLOW_15_in_ruleResourceCategory9478 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9495 = new BitSet(new long[]{0x0000000000430000L,0x0000000100000000L});
public static final BitSet FOLLOW_16_in_ruleResourceCategory9515 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceCategory9536 = new BitSet(new long[]{0x0000000000420000L,0x0000000100000000L});
public static final BitSet FOLLOW_17_in_ruleResourceCategory9551 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9568 = new BitSet(new long[]{0x0000000000400000L,0x0000000100000000L});
public static final BitSet FOLLOW_96_in_ruleResourceCategory9588 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceCategory9600 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9620 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceCategory9633 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9653 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceCategory9667 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceCategory9681 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResource_Impl_in_entryRuleResource_Impl9717 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResource_Impl9727 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_97_in_ruleResource_Impl9773 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9790 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResource_Impl9807 = new BitSet(new long[]{0x0000000000438000L,0x00000000000B0000L});
public static final BitSet FOLLOW_15_in_ruleResource_Impl9820 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9837 = new BitSet(new long[]{0x0000000000430000L,0x00000000000B0000L});
public static final BitSet FOLLOW_16_in_ruleResource_Impl9857 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResource_Impl9878 = new BitSet(new long[]{0x0000000000420000L,0x00000000000B0000L});
public static final BitSet FOLLOW_17_in_ruleResource_Impl9893 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9910 = new BitSet(new long[]{0x0000000000400000L,0x00000000000B0000L});
public static final BitSet FOLLOW_80_in_ruleResource_Impl9930 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResource_Impl9942 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9962 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl9975 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9995 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResource_Impl10009 = new BitSet(new long[]{0x0000000000400000L,0x00000000000A0000L});
public static final BitSet FOLLOW_81_in_ruleResource_Impl10024 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResource_Impl10036 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl10056 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl10069 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl10089 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResource_Impl10103 = new BitSet(new long[]{0x0000000000400000L,0x0000000000080000L});
public static final BitSet FOLLOW_83_in_ruleResource_Impl10118 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResource_Impl10130 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleResource_Impl10151 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl10164 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleResource_Impl10185 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResource_Impl10199 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResource_Impl10213 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleService_Impl_in_entryRuleService_Impl10249 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleService_Impl10259 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_98_in_ruleService_Impl10305 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl10322 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleService_Impl10339 = new BitSet(new long[]{0x0000006000438000L});
public static final BitSet FOLLOW_15_in_ruleService_Impl10352 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl10369 = new BitSet(new long[]{0x0000006000430000L});
public static final BitSet FOLLOW_16_in_ruleService_Impl10389 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleService_Impl10410 = new BitSet(new long[]{0x0000006000420000L});
public static final BitSet FOLLOW_17_in_ruleService_Impl10425 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl10442 = new BitSet(new long[]{0x0000006000400000L});
public static final BitSet FOLLOW_37_in_ruleService_Impl10462 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleService_Impl10474 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl10494 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleService_Impl10507 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl10527 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleService_Impl10541 = new BitSet(new long[]{0x0000004000400000L});
public static final BitSet FOLLOW_38_in_ruleService_Impl10556 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleService_Impl10568 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleService_Impl10589 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleService_Impl10602 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleService_Impl10623 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleService_Impl10637 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleService_Impl10651 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_entryRuleSettingConstraint10689 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSettingConstraint10699 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_99_in_ruleSettingConstraint10745 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10762 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSettingConstraint10779 = new BitSet(new long[]{0x0000000000438000L,0x0000007000000000L});
public static final BitSet FOLLOW_100_in_ruleSettingConstraint10797 = new BitSet(new long[]{0x0000000000438000L,0x0000006000000000L});
public static final BitSet FOLLOW_101_in_ruleSettingConstraint10829 = new BitSet(new long[]{0x0000000000438000L,0x0000004000000000L});
public static final BitSet FOLLOW_15_in_ruleSettingConstraint10856 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10873 = new BitSet(new long[]{0x0000000000430000L,0x0000004000000000L});
public static final BitSet FOLLOW_16_in_ruleSettingConstraint10893 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSettingConstraint10914 = new BitSet(new long[]{0x0000000000420000L,0x0000004000000000L});
public static final BitSet FOLLOW_17_in_ruleSettingConstraint10929 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10946 = new BitSet(new long[]{0x0000000000400000L,0x0000004000000000L});
public static final BitSet FOLLOW_102_in_ruleSettingConstraint10966 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000F00L});
public static final BitSet FOLLOW_ruleServiceResourceOperation_in_ruleSettingConstraint10987 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSettingConstraint11001 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAbstractSetting_Impl_in_entryRuleAbstractSetting_Impl11037 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAbstractSetting_Impl11047 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleAbstractSetting_Impl11099 = new BitSet(new long[]{0x0000000000000000L,0x0000008000600000L});
public static final BitSet FOLLOW_85_in_ruleAbstractSetting_Impl11131 = new BitSet(new long[]{0x0000000000000000L,0x0000008000400000L});
public static final BitSet FOLLOW_86_in_ruleAbstractSetting_Impl11163 = new BitSet(new long[]{0x0000000000000000L,0x0000008000000000L});
public static final BitSet FOLLOW_103_in_ruleAbstractSetting_Impl11189 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11206 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAbstractSetting_Impl11223 = new BitSet(new long[]{0x0000000000438000L,0x0000000067000000L});
public static final BitSet FOLLOW_15_in_ruleAbstractSetting_Impl11236 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11253 = new BitSet(new long[]{0x0000000000430000L,0x0000000067000000L});
public static final BitSet FOLLOW_16_in_ruleAbstractSetting_Impl11273 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAbstractSetting_Impl11294 = new BitSet(new long[]{0x0000000000420000L,0x0000000067000000L});
public static final BitSet FOLLOW_17_in_ruleAbstractSetting_Impl11309 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11326 = new BitSet(new long[]{0x0000000000400000L,0x0000000067000000L});
public static final BitSet FOLLOW_88_in_ruleAbstractSetting_Impl11351 = new BitSet(new long[]{0x0000000000400000L,0x0000000066000000L});
public static final BitSet FOLLOW_89_in_ruleAbstractSetting_Impl11383 = new BitSet(new long[]{0x0000000000400000L,0x0000000064000000L});
public static final BitSet FOLLOW_90_in_ruleAbstractSetting_Impl11410 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleAbstractSetting_Impl11422 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11442 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleAbstractSetting_Impl11455 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl11475 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleAbstractSetting_Impl11489 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleAbstractSetting_Impl11504 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleAbstractSetting_Impl11525 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleAbstractSetting_Impl11540 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAbstractSetting_Impl11552 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl11573 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleAbstractSetting_Impl11586 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl11607 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleAbstractSetting_Impl11621 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAbstractSetting_Impl11635 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleServiceSetting_in_entryRuleServiceSetting11671 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleServiceSetting11681 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleServiceSetting11733 = new BitSet(new long[]{0x0000000000000000L,0x0000010000600000L});
public static final BitSet FOLLOW_85_in_ruleServiceSetting11765 = new BitSet(new long[]{0x0000000000000000L,0x0000010000400000L});
public static final BitSet FOLLOW_86_in_ruleServiceSetting11797 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L});
public static final BitSet FOLLOW_104_in_ruleServiceSetting11823 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11840 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceSetting11857 = new BitSet(new long[]{0x0000000000438000L,0x0000060067000000L});
public static final BitSet FOLLOW_15_in_ruleServiceSetting11870 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11887 = new BitSet(new long[]{0x0000000000430000L,0x0000060067000000L});
public static final BitSet FOLLOW_16_in_ruleServiceSetting11907 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleServiceSetting11928 = new BitSet(new long[]{0x0000000000420000L,0x0000060067000000L});
public static final BitSet FOLLOW_17_in_ruleServiceSetting11943 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11960 = new BitSet(new long[]{0x0000000000400000L,0x0000060067000000L});
public static final BitSet FOLLOW_88_in_ruleServiceSetting11985 = new BitSet(new long[]{0x0000000000400000L,0x0000060066000000L});
public static final BitSet FOLLOW_89_in_ruleServiceSetting12017 = new BitSet(new long[]{0x0000000000400000L,0x0000060064000000L});
public static final BitSet FOLLOW_90_in_ruleServiceSetting12044 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting12056 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12076 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting12089 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12109 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting12123 = new BitSet(new long[]{0x0000000000400000L,0x0000060060000000L});
public static final BitSet FOLLOW_105_in_ruleServiceSetting12138 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting12150 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12170 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting12183 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12203 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting12217 = new BitSet(new long[]{0x0000000000400000L,0x0000040060000000L});
public static final BitSet FOLLOW_106_in_ruleServiceSetting12232 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting12244 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12264 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting12277 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting12297 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting12311 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleServiceSetting12326 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleServiceSetting12347 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleServiceSetting12362 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceSetting12374 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleServiceSetting12395 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting12408 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleServiceSetting12429 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleServiceSetting12443 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleServiceSetting12457 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeString_in_entryRuletideTypeString12493 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeString12503 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_107_in_ruletideTypeString12549 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString12566 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeString12583 = new BitSet(new long[]{0x0000000000438000L,0x0000100000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeString12596 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString12613 = new BitSet(new long[]{0x0000000000430000L,0x0000100000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeString12633 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeString12654 = new BitSet(new long[]{0x0000000000420000L,0x0000100000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeString12669 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString12686 = new BitSet(new long[]{0x0000000000400000L,0x0000100000000000L});
public static final BitSet FOLLOW_108_in_ruletideTypeString12706 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString12723 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeString12742 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnum_in_entryRuletideTypeEnum12778 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeEnum12788 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_109_in_ruletideTypeEnum12834 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12851 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnum12868 = new BitSet(new long[]{0x0000000000438000L,0x0000500000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeEnum12881 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12898 = new BitSet(new long[]{0x0000000000430000L,0x0000500000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeEnum12918 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeEnum12939 = new BitSet(new long[]{0x0000000000420000L,0x0000500000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeEnum12954 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12971 = new BitSet(new long[]{0x0000000000400000L,0x0000500000000000L});
public static final BitSet FOLLOW_108_in_ruletideTypeEnum12991 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum13011 = new BitSet(new long[]{0x0000000000400000L,0x0000400000000000L});
public static final BitSet FOLLOW_110_in_ruletideTypeEnum13026 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnum13038 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum13059 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruletideTypeEnum13072 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum13093 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnum13107 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnum13121 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeList_in_entryRuletideTypeList13157 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeList13167 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_111_in_ruletideTypeList13213 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList13230 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeList13247 = new BitSet(new long[]{0x0000000000438000L,0x0001000000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeList13260 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList13277 = new BitSet(new long[]{0x0000000000430000L,0x0001000000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeList13297 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeList13318 = new BitSet(new long[]{0x0000000000420000L,0x0001000000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeList13333 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList13350 = new BitSet(new long[]{0x0000000000400000L,0x0001000000000000L});
public static final BitSet FOLLOW_112_in_ruletideTypeList13370 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList13390 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeList13404 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeTideElement_in_entryRuletideTypeTideElement13440 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeTideElement13450 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_113_in_ruletideTypeTideElement13496 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement13513 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeTideElement13530 = new BitSet(new long[]{0x0000000000438000L,0x0004000000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeTideElement13543 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement13560 = new BitSet(new long[]{0x0000000000430000L,0x0004000000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeTideElement13580 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeTideElement13601 = new BitSet(new long[]{0x0000000000420000L,0x0004000000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeTideElement13616 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement13633 = new BitSet(new long[]{0x0000000000400000L,0x0004000000000000L});
public static final BitSet FOLLOW_114_in_ruletideTypeTideElement13653 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement13673 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeTideElement13687 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_entryRuletideTypeEnumItem13723 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeEnumItem13733 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_115_in_ruletideTypeEnumItem13779 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnumItem13791 = new BitSet(new long[]{0x0000000000420000L,0x0010000000000000L});
public static final BitSet FOLLOW_116_in_ruletideTypeEnumItem13804 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13821 = new BitSet(new long[]{0x0000000000420000L});
public static final BitSet FOLLOW_17_in_ruletideTypeEnumItem13841 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13858 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnumItem13877 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDate_in_entryRuleEDate13914 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEDate13925 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleEDate13964 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAvailability_in_entryRuleAvailability14008 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAvailability14018 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_117_in_ruleAvailability14070 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L});
public static final BitSet FOLLOW_118_in_ruleAvailability14096 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAvailability14108 = new BitSet(new long[]{0x0000000000400000L,0x3F80000000000000L});
public static final BitSet FOLLOW_119_in_ruleAvailability14121 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability14142 = new BitSet(new long[]{0x0000000000400000L,0x3F00000000000000L});
public static final BitSet FOLLOW_120_in_ruleAvailability14157 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability14178 = new BitSet(new long[]{0x0000000000400000L,0x3E00000000000000L});
public static final BitSet FOLLOW_121_in_ruleAvailability14193 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability14214 = new BitSet(new long[]{0x0000000000400000L,0x3C00000000000000L});
public static final BitSet FOLLOW_122_in_ruleAvailability14229 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability14250 = new BitSet(new long[]{0x0000000000400000L,0x3800000000000000L});
public static final BitSet FOLLOW_123_in_ruleAvailability14265 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000000000000F000L});
public static final BitSet FOLLOW_ruleRepatabilityScheme_in_ruleAvailability14286 = new BitSet(new long[]{0x0000000000400000L,0x3000000000000000L});
public static final BitSet FOLLOW_124_in_ruleAvailability14301 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability14322 = new BitSet(new long[]{0x0000000000400000L,0x2000000000000000L});
public static final BitSet FOLLOW_125_in_ruleAvailability14337 = new BitSet(new long[]{0x0000000000000000L,0x4000000000000000L});
public static final BitSet FOLLOW_ruleCost_in_ruleAvailability14358 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAvailability14372 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleCost_in_entryRuleCost14408 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleCost14418 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_126_in_ruleCost14464 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleCost14476 = new BitSet(new long[]{0x0000000000400000L,0x8000000000000000L,0x0000000000000001L});
public static final BitSet FOLLOW_127_in_ruleCost14489 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000000001F0000L});
public static final BitSet FOLLOW_rulecostUnit_in_ruleCost14510 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000000L,0x0000000000000001L});
public static final BitSet FOLLOW_128_in_ruleCost14525 = new BitSet(new long[]{0x0000000010000020L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDoubleObject_in_ruleCost14546 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleCost14560 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDoubleObject_in_entryRuleEDoubleObject14597 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEDoubleObject14608 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleEDoubleObject14647 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject14665 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_129_in_ruleEDoubleObject14685 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject14700 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x000000000000000CL});
public static final BitSet FOLLOW_130_in_ruleEDoubleObject14720 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_131_in_ruleEDoubleObject14739 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_28_in_ruleEDoubleObject14754 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject14771 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_entryRuleReservedResourceContract14818 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleReservedResourceContract14828 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_132_in_ruleReservedResourceContract14874 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14891 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleReservedResourceContract14908 = new BitSet(new long[]{0x0001800000438000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_15_in_ruleReservedResourceContract14921 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14938 = new BitSet(new long[]{0x0001800000430000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_16_in_ruleReservedResourceContract14958 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleReservedResourceContract14979 = new BitSet(new long[]{0x0001800000420000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_17_in_ruleReservedResourceContract14994 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract15011 = new BitSet(new long[]{0x0001800000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_47_in_ruleReservedResourceContract15031 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleReservedResourceContract15052 = new BitSet(new long[]{0x0001000000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_48_in_ruleReservedResourceContract15067 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleReservedResourceContract15088 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_133_in_ruleReservedResourceContract15103 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract15123 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleReservedResourceContract15137 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_134_in_ruleResourceType15187 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_135_in_ruleResourceType15204 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_136_in_ruleServiceResourceOperation15249 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_137_in_ruleServiceResourceOperation15266 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_138_in_ruleServiceResourceOperation15283 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_139_in_ruleServiceResourceOperation15300 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_140_in_ruleRepatabilityScheme15345 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_141_in_ruleRepatabilityScheme15362 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_142_in_ruleRepatabilityScheme15379 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_143_in_ruleRepatabilityScheme15396 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_144_in_rulecostUnit15441 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_145_in_rulecostUnit15458 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_146_in_rulecostUnit15475 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_147_in_rulecostUnit15492 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_148_in_rulecostUnit15509 = new BitSet(new long[]{0x0000000000000002L});
}