package org.panlab.officedl.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.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.eclipse.xtext.conversion.ValueConverterException;
import org.panlab.officedl.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 RULE_STRING=4;
public static final int RULE_ANY_OTHER=10;
public static final int RULE_INT=5;
public static final int RULE_WS=9;
public static final int RULE_SL_COMMENT=8;
public static final int EOF=-1;
public static final int RULE_ML_COMMENT=7;
public InternalOfficeDLParser(TokenStream input) {
super(input);
}
public String[] getTokenNames() { return tokenNames; }
public String getGrammarFileName() { return "../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g"; }
private OfficeDLGrammarAccess grammarAccess;
public InternalOfficeDLParser(TokenStream input, IAstFactory factory, OfficeDLGrammarAccess grammarAccess) {
this(input);
this.factory = factory;
registerRules(grammarAccess.getGrammar());
this.grammarAccess = grammarAccess;
}
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = getClass().getClassLoader();
return classLoader.getResourceAsStream("org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.tokens");
}
@Override
protected String getFirstRuleName() {
return "OfficeRule";
}
@Override
protected OfficeDLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start entryRuleOfficeRule
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:78: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:79:2: (iv_ruleOfficeRule= ruleOfficeRule EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:80:2: iv_ruleOfficeRule= ruleOfficeRule EOF
{
currentNode = createCompositeNode(grammarAccess.getOfficeRuleRule(), currentNode);
pushFollow(FOLLOW_ruleOfficeRule_in_entryRuleOfficeRule75);
iv_ruleOfficeRule=ruleOfficeRule();
_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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:87: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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:92:6: ( ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:93:1: ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:93:1: ( () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:93:2: () ( (lv_imports_1_0= ruleImportOffice ) )* ( (lv_testbedOfficev_2_0= ruleOffice ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:93:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:94:5:
{
temp=factory.create(grammarAccess.getOfficeRuleAccess().getOfficeRuleAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfficeRuleAccess().getOfficeRuleAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:104: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:105:1: (lv_imports_1_0= ruleImportOffice )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:105:1: (lv_imports_1_0= ruleImportOffice )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:106:3: lv_imports_1_0= ruleImportOffice
{
currentNode=createCompositeNode(grammarAccess.getOfficeRuleAccess().getImportsImportOfficeParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleImportOffice_in_ruleOfficeRule140);
lv_imports_1_0=ruleImportOffice();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRuleRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"imports",
lv_imports_1_0,
"ImportOffice",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
break;
default :
break loop1;
}
} while (true);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:128:3: ( (lv_testbedOfficev_2_0= ruleOffice ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:129:1: (lv_testbedOfficev_2_0= ruleOffice )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:129:1: (lv_testbedOfficev_2_0= ruleOffice )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:130:3: lv_testbedOfficev_2_0= ruleOffice
{
currentNode=createCompositeNode(grammarAccess.getOfficeRuleAccess().getTestbedOfficevOfficeParserRuleCall_2_0(), currentNode);
pushFollow(FOLLOW_ruleOffice_in_ruleOfficeRule162);
lv_testbedOfficev_2_0=ruleOffice();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRuleRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"testbedOfficev",
lv_testbedOfficev_2_0,
"Office",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfficeRule
// $ANTLR start entryRuleImportOffice
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:160: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:161:2: (iv_ruleImportOffice= ruleImportOffice EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:162:2: iv_ruleImportOffice= ruleImportOffice EOF
{
currentNode = createCompositeNode(grammarAccess.getImportOfficeRule(), currentNode);
pushFollow(FOLLOW_ruleImportOffice_in_entryRuleImportOffice198);
iv_ruleImportOffice=ruleImportOffice();
_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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:169:1: ruleImportOffice returns [EObject current=null] : ( 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) ';' ) ;
public final EObject ruleImportOffice() throws RecognitionException {
EObject current = null;
Token lv_importURI_1_0=null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:174:6: ( ( 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) ';' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:175:1: ( 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) ';' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:175:1: ( 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) ';' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:175:3: 'import service description' ( (lv_importURI_1_0= RULE_STRING ) ) ';'
{
match(input,11,FOLLOW_11_in_ruleImportOffice243);
createLeafNode(grammarAccess.getImportOfficeAccess().getImportServiceDescriptionKeyword_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:179:1: ( (lv_importURI_1_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:180:1: (lv_importURI_1_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:180:1: (lv_importURI_1_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:181:3: lv_importURI_1_0= RULE_STRING
{
lv_importURI_1_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImportOffice260);
createLeafNode(grammarAccess.getImportOfficeAccess().getImportURISTRINGTerminalRuleCall_1_0(), "importURI");
if (current==null) {
current = factory.create(grammarAccess.getImportOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"importURI",
lv_importURI_1_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,12,FOLLOW_12_in_ruleImportOffice275);
createLeafNode(grammarAccess.getImportOfficeAccess().getSemicolonKeyword_2(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleImportOffice
// $ANTLR start entryRuleOffice
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:215: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:216:2: (iv_ruleOffice= ruleOffice EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:217:2: iv_ruleOffice= ruleOffice EOF
{
currentNode = createCompositeNode(grammarAccess.getOfficeRule(), currentNode);
pushFollow(FOLLOW_ruleOffice_in_entryRuleOffice311);
iv_ruleOffice=ruleOffice();
_fsp--;
current =iv_ruleOffice;
match(input,EOF,FOLLOW_EOF_in_entryRuleOffice321);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOffice
// $ANTLR start ruleOffice
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:224:1: ruleOffice returns [EObject current=null] : ( () 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? ( 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )? ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )? ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )? ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )? ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )? ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )? '}' ) ;
public final EObject ruleOffice() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_resourceURI_11_0=null;
Token lv_APIGateway_13_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:229:6: ( ( () 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? ( 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )? ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )? ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )? ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )? ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )? ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:230:1: ( () 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? ( 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )? ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )? ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )? ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )? ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )? ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:230:1: ( () 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? ( 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )? ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )? ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )? ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )? ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )? ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:230:2: () 'Office' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) ) )? ( 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) ) )? ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )? ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )? ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )? ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )? ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )? ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:230:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:231:5:
{
temp=factory.create(grammarAccess.getOfficeAccess().getOfficeAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfficeAccess().getOfficeAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,13,FOLLOW_13_in_ruleOffice365);
createLeafNode(grammarAccess.getOfficeAccess().getOfficeKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:245:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:246:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:246:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:247:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice382);
createLeafNode(grammarAccess.getOfficeAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleOffice397);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:273:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:273:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleOffice408);
createLeafNode(grammarAccess.getOfficeAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:277:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:278:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:278:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:279:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice425);
createLeafNode(grammarAccess.getOfficeAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:301:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:301:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleOffice443);
createLeafNode(grammarAccess.getOfficeAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:305:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:306:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:306:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:307:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOffice464);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:329:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:329:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleOffice477);
createLeafNode(grammarAccess.getOfficeAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:333:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:334:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:334:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:335:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice494);
createLeafNode(grammarAccess.getOfficeAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:357:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:357:6: 'resourceURI' ( (lv_resourceURI_11_0= RULE_STRING ) )
{
match(input,18,FOLLOW_18_in_ruleOffice512);
createLeafNode(grammarAccess.getOfficeAccess().getResourceURIKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:361:1: ( (lv_resourceURI_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:362:1: (lv_resourceURI_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:362:1: (lv_resourceURI_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:363:3: lv_resourceURI_11_0= RULE_STRING
{
lv_resourceURI_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice529);
createLeafNode(grammarAccess.getOfficeAccess().getResourceURISTRINGTerminalRuleCall_7_1_0(), "resourceURI");
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"resourceURI",
lv_resourceURI_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:385:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:385:6: 'APIGateway' ( (lv_APIGateway_13_0= RULE_STRING ) )
{
match(input,19,FOLLOW_19_in_ruleOffice547);
createLeafNode(grammarAccess.getOfficeAccess().getAPIGatewayKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:389:1: ( (lv_APIGateway_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:390:1: (lv_APIGateway_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:390:1: (lv_APIGateway_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:391:3: lv_APIGateway_13_0= RULE_STRING
{
lv_APIGateway_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOffice564);
createLeafNode(grammarAccess.getOfficeAccess().getAPIGatewaySTRINGTerminalRuleCall_8_1_0(), "APIGateway");
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"APIGateway",
lv_APIGateway_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:413:4: ( 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}' )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==20) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:413:6: 'registeredUsers' '{' ( (lv_registeredUsers_16_0= ruleOfficeUser ) ) ( ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) ) )* '}'
{
match(input,20,FOLLOW_20_in_ruleOffice582);
createLeafNode(grammarAccess.getOfficeAccess().getRegisteredUsersKeyword_9_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice592);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_9_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:421:1: ( (lv_registeredUsers_16_0= ruleOfficeUser ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:422:1: (lv_registeredUsers_16_0= ruleOfficeUser )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:422:1: (lv_registeredUsers_16_0= ruleOfficeUser )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:423:3: lv_registeredUsers_16_0= ruleOfficeUser
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getRegisteredUsersOfficeUserParserRuleCall_9_2_0(), currentNode);
pushFollow(FOLLOW_ruleOfficeUser_in_ruleOffice613);
lv_registeredUsers_16_0=ruleOfficeUser();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"registeredUsers",
lv_registeredUsers_16_0,
"OfficeUser",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:445:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:445:4: ',' ( (lv_registeredUsers_18_0= ruleOfficeUser ) )
{
match(input,21,FOLLOW_21_in_ruleOffice624);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_9_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:449:1: ( (lv_registeredUsers_18_0= ruleOfficeUser ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:450:1: (lv_registeredUsers_18_0= ruleOfficeUser )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:450:1: (lv_registeredUsers_18_0= ruleOfficeUser )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:451:3: lv_registeredUsers_18_0= ruleOfficeUser
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getRegisteredUsersOfficeUserParserRuleCall_9_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleOfficeUser_in_ruleOffice645);
lv_registeredUsers_18_0=ruleOfficeUser();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"registeredUsers",
lv_registeredUsers_18_0,
"OfficeUser",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop7;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice657);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_9_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:477:3: ( 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}' )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==23) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:477:5: 'contributedTaxonomies' '{' ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) ) ( ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) ) )* '}'
{
match(input,23,FOLLOW_23_in_ruleOffice670);
createLeafNode(grammarAccess.getOfficeAccess().getContributedTaxonomiesKeyword_10_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice680);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:485:1: ( (lv_contributedTaxonomies_22_0= ruleTaxonomy ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:486:1: (lv_contributedTaxonomies_22_0= ruleTaxonomy )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:486:1: (lv_contributedTaxonomies_22_0= ruleTaxonomy )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:487:3: lv_contributedTaxonomies_22_0= ruleTaxonomy
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getContributedTaxonomiesTaxonomyParserRuleCall_10_2_0(), currentNode);
pushFollow(FOLLOW_ruleTaxonomy_in_ruleOffice701);
lv_contributedTaxonomies_22_0=ruleTaxonomy();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"contributedTaxonomies",
lv_contributedTaxonomies_22_0,
"Taxonomy",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:509:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:509:4: ',' ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) )
{
match(input,21,FOLLOW_21_in_ruleOffice712);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:513:1: ( (lv_contributedTaxonomies_24_0= ruleTaxonomy ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:514:1: (lv_contributedTaxonomies_24_0= ruleTaxonomy )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:514:1: (lv_contributedTaxonomies_24_0= ruleTaxonomy )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:515:3: lv_contributedTaxonomies_24_0= ruleTaxonomy
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getContributedTaxonomiesTaxonomyParserRuleCall_10_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleTaxonomy_in_ruleOffice733);
lv_contributedTaxonomies_24_0=ruleTaxonomy();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"contributedTaxonomies",
lv_contributedTaxonomies_24_0,
"Taxonomy",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop9;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice745);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_10_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:541:3: ( 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}' )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==24) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:541:5: 'offeredServices' '{' ( (lv_offeredServices_28_0= ruleOfferedService ) ) ( ',' ( (lv_offeredServices_30_0= ruleOfferedService ) ) )* '}'
{
match(input,24,FOLLOW_24_in_ruleOffice758);
createLeafNode(grammarAccess.getOfficeAccess().getOfferedServicesKeyword_11_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice768);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_11_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:549:1: ( (lv_offeredServices_28_0= ruleOfferedService ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:550:1: (lv_offeredServices_28_0= ruleOfferedService )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:550:1: (lv_offeredServices_28_0= ruleOfferedService )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:551:3: lv_offeredServices_28_0= ruleOfferedService
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getOfferedServicesOfferedServiceParserRuleCall_11_2_0(), currentNode);
pushFollow(FOLLOW_ruleOfferedService_in_ruleOffice789);
lv_offeredServices_28_0=ruleOfferedService();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredServices",
lv_offeredServices_28_0,
"OfferedService",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:573:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:573:4: ',' ( (lv_offeredServices_30_0= ruleOfferedService ) )
{
match(input,21,FOLLOW_21_in_ruleOffice800);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_11_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:577:1: ( (lv_offeredServices_30_0= ruleOfferedService ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:578:1: (lv_offeredServices_30_0= ruleOfferedService )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:578:1: (lv_offeredServices_30_0= ruleOfferedService )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:579:3: lv_offeredServices_30_0= ruleOfferedService
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getOfferedServicesOfferedServiceParserRuleCall_11_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleOfferedService_in_ruleOffice821);
lv_offeredServices_30_0=ruleOfferedService();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredServices",
lv_offeredServices_30_0,
"OfferedService",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop11;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice833);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_11_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:605:3: ( 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}' )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==25) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:605:5: 'offeredServiceCompositions' '{' ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) ) ( ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) ) )* '}'
{
match(input,25,FOLLOW_25_in_ruleOffice846);
createLeafNode(grammarAccess.getOfficeAccess().getOfferedServiceCompositionsKeyword_12_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice856);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_12_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:613:1: ( (lv_offeredServiceCompositions_34_0= ruleServiceComposition ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:614:1: (lv_offeredServiceCompositions_34_0= ruleServiceComposition )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:614:1: (lv_offeredServiceCompositions_34_0= ruleServiceComposition )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:615:3: lv_offeredServiceCompositions_34_0= ruleServiceComposition
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getOfferedServiceCompositionsServiceCompositionParserRuleCall_12_2_0(), currentNode);
pushFollow(FOLLOW_ruleServiceComposition_in_ruleOffice877);
lv_offeredServiceCompositions_34_0=ruleServiceComposition();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredServiceCompositions",
lv_offeredServiceCompositions_34_0,
"ServiceComposition",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:637:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:637:4: ',' ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) )
{
match(input,21,FOLLOW_21_in_ruleOffice888);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_12_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:641:1: ( (lv_offeredServiceCompositions_36_0= ruleServiceComposition ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:642:1: (lv_offeredServiceCompositions_36_0= ruleServiceComposition )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:642:1: (lv_offeredServiceCompositions_36_0= ruleServiceComposition )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:643:3: lv_offeredServiceCompositions_36_0= ruleServiceComposition
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getOfferedServiceCompositionsServiceCompositionParserRuleCall_12_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleServiceComposition_in_ruleOffice909);
lv_offeredServiceCompositions_36_0=ruleServiceComposition();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredServiceCompositions",
lv_offeredServiceCompositions_36_0,
"ServiceComposition",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop13;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice921);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_12_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:669:3: ( 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}' )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==26) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:669:5: 'ResourceServiceContracts' '{' ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) ) ( ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) ) )* '}'
{
match(input,26,FOLLOW_26_in_ruleOffice934);
createLeafNode(grammarAccess.getOfficeAccess().getResourceServiceContractsKeyword_13_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice944);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_13_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:677:1: ( (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:678:1: (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:678:1: (lv_ResourceServiceContracts_40_0= ruleResourceServiceContract )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:679:3: lv_ResourceServiceContracts_40_0= ruleResourceServiceContract
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getResourceServiceContractsResourceServiceContractParserRuleCall_13_2_0(), currentNode);
pushFollow(FOLLOW_ruleResourceServiceContract_in_ruleOffice965);
lv_ResourceServiceContracts_40_0=ruleResourceServiceContract();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"ResourceServiceContracts",
lv_ResourceServiceContracts_40_0,
"ResourceServiceContract",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:701:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:701:4: ',' ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) )
{
match(input,21,FOLLOW_21_in_ruleOffice976);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_13_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:705:1: ( (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:706:1: (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:706:1: (lv_ResourceServiceContracts_42_0= ruleResourceServiceContract )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:707:3: lv_ResourceServiceContracts_42_0= ruleResourceServiceContract
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getResourceServiceContractsResourceServiceContractParserRuleCall_13_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleResourceServiceContract_in_ruleOffice997);
lv_ResourceServiceContracts_42_0=ruleResourceServiceContract();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"ResourceServiceContracts",
lv_ResourceServiceContracts_42_0,
"ResourceServiceContract",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop15;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice1009);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_13_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:733:3: ( 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}' )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==27) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:733:5: 'SLAs' '{' ( (lv_SLAs_46_0= ruleSLA ) ) ( ',' ( (lv_SLAs_48_0= ruleSLA ) ) )* '}'
{
match(input,27,FOLLOW_27_in_ruleOffice1022);
createLeafNode(grammarAccess.getOfficeAccess().getSLAsKeyword_14_0(), null);
match(input,14,FOLLOW_14_in_ruleOffice1032);
createLeafNode(grammarAccess.getOfficeAccess().getLeftCurlyBracketKeyword_14_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:741:1: ( (lv_SLAs_46_0= ruleSLA ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:742:1: (lv_SLAs_46_0= ruleSLA )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:742:1: (lv_SLAs_46_0= ruleSLA )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:743:3: lv_SLAs_46_0= ruleSLA
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getSLAsSLAParserRuleCall_14_2_0(), currentNode);
pushFollow(FOLLOW_ruleSLA_in_ruleOffice1053);
lv_SLAs_46_0=ruleSLA();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"SLAs",
lv_SLAs_46_0,
"SLA",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:765:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:765:4: ',' ( (lv_SLAs_48_0= ruleSLA ) )
{
match(input,21,FOLLOW_21_in_ruleOffice1064);
createLeafNode(grammarAccess.getOfficeAccess().getCommaKeyword_14_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:769:1: ( (lv_SLAs_48_0= ruleSLA ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:770:1: (lv_SLAs_48_0= ruleSLA )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:770:1: (lv_SLAs_48_0= ruleSLA )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:771:3: lv_SLAs_48_0= ruleSLA
{
currentNode=createCompositeNode(grammarAccess.getOfficeAccess().getSLAsSLAParserRuleCall_14_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleSLA_in_ruleOffice1085);
lv_SLAs_48_0=ruleSLA();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"SLAs",
lv_SLAs_48_0,
"SLA",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop17;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOffice1097);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_14_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleOffice1109);
createLeafNode(grammarAccess.getOfficeAccess().getRightCurlyBracketKeyword_15(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOffice
// $ANTLR start entryRuleOfficeUser
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:809: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:810:2: (iv_ruleOfficeUser= ruleOfficeUser EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:811:2: iv_ruleOfficeUser= ruleOfficeUser EOF
{
currentNode = createCompositeNode(grammarAccess.getOfficeUserRule(), currentNode);
pushFollow(FOLLOW_ruleOfficeUser_in_entryRuleOfficeUser1145);
iv_ruleOfficeUser=ruleOfficeUser();
_fsp--;
current =iv_ruleOfficeUser;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficeUser1155);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOfficeUser
// $ANTLR start ruleOfficeUser
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:818: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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:823:6: ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:824: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:824: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("824: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 )", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:825:5: this_ResourcesProvider_Impl_0= ruleResourcesProvider_Impl
{
currentNode=createCompositeNode(grammarAccess.getOfficeUserAccess().getResourcesProvider_ImplParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleResourcesProvider_Impl_in_ruleOfficeUser1202);
this_ResourcesProvider_Impl_0=ruleResourcesProvider_Impl();
_fsp--;
current = this_ResourcesProvider_Impl_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:835:5: this_TestbedDesigner_1= ruleTestbedDesigner
{
currentNode=createCompositeNode(grammarAccess.getOfficeUserAccess().getTestbedDesignerParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleTestbedDesigner_in_ruleOfficeUser1229);
this_TestbedDesigner_1=ruleTestbedDesigner();
_fsp--;
current = this_TestbedDesigner_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:845:5: this_Admin_2= ruleAdmin
{
currentNode=createCompositeNode(grammarAccess.getOfficeUserAccess().getAdminParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruleAdmin_in_ruleOfficeUser1256);
this_Admin_2=ruleAdmin();
_fsp--;
current = this_Admin_2;
currentNode = currentNode.getParent();
}
break;
case 4 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:855:5: this_OfficeCustomer_3= ruleOfficeCustomer
{
currentNode=createCompositeNode(grammarAccess.getOfficeUserAccess().getOfficeCustomerParserRuleCall_3(), currentNode);
pushFollow(FOLLOW_ruleOfficeCustomer_in_ruleOfficeUser1283);
this_OfficeCustomer_3=ruleOfficeCustomer();
_fsp--;
current = this_OfficeCustomer_3;
currentNode = currentNode.getParent();
}
break;
case 5 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:865:5: this_OfficePersonel_Impl_4= ruleOfficePersonel_Impl
{
currentNode=createCompositeNode(grammarAccess.getOfficeUserAccess().getOfficePersonel_ImplParserRuleCall_4(), currentNode);
pushFollow(FOLLOW_ruleOfficePersonel_Impl_in_ruleOfficeUser1310);
this_OfficePersonel_Impl_4=ruleOfficePersonel_Impl();
_fsp--;
current = this_OfficePersonel_Impl_4;
currentNode = currentNode.getParent();
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfficeUser
// $ANTLR start entryRuleSettingType
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:885: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:886:2: (iv_ruleSettingType= ruleSettingType EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:887:2: iv_ruleSettingType= ruleSettingType EOF
{
currentNode = createCompositeNode(grammarAccess.getSettingTypeRule(), currentNode);
pushFollow(FOLLOW_ruleSettingType_in_entryRuleSettingType1349);
iv_ruleSettingType=ruleSettingType();
_fsp--;
current =iv_ruleSettingType;
match(input,EOF,FOLLOW_EOF_in_entryRuleSettingType1359);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSettingType
// $ANTLR start ruleSettingType
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:894: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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:899:6: ( (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:900:1: (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:900: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("900:1: (this_tideTypeString_0= ruletideTypeString | this_tideTypeEnum_1= ruletideTypeEnum | this_tideTypeList_2= ruletideTypeList | this_tideTypeTideElement_3= ruletideTypeTideElement )", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:901:5: this_tideTypeString_0= ruletideTypeString
{
currentNode=createCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeStringParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruletideTypeString_in_ruleSettingType1406);
this_tideTypeString_0=ruletideTypeString();
_fsp--;
current = this_tideTypeString_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:911:5: this_tideTypeEnum_1= ruletideTypeEnum
{
currentNode=createCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeEnumParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruletideTypeEnum_in_ruleSettingType1433);
this_tideTypeEnum_1=ruletideTypeEnum();
_fsp--;
current = this_tideTypeEnum_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:921:5: this_tideTypeList_2= ruletideTypeList
{
currentNode=createCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeListParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruletideTypeList_in_ruleSettingType1460);
this_tideTypeList_2=ruletideTypeList();
_fsp--;
current = this_tideTypeList_2;
currentNode = currentNode.getParent();
}
break;
case 4 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:931:5: this_tideTypeTideElement_3= ruletideTypeTideElement
{
currentNode=createCompositeNode(grammarAccess.getSettingTypeAccess().getTideTypeTideElementParserRuleCall_3(), currentNode);
pushFollow(FOLLOW_ruletideTypeTideElement_in_ruleSettingType1487);
this_tideTypeTideElement_3=ruletideTypeTideElement();
_fsp--;
current = this_tideTypeTideElement_3;
currentNode = currentNode.getParent();
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleSettingType
// $ANTLR start entryRuleEInt
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:951: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:952:2: (iv_ruleEInt= ruleEInt EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:953:2: iv_ruleEInt= ruleEInt EOF
{
currentNode = createCompositeNode(grammarAccess.getEIntRule(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_entryRuleEInt1527);
iv_ruleEInt=ruleEInt();
_fsp--;
current =iv_ruleEInt.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEInt1538);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleEInt
// $ANTLR start ruleEInt
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:960: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;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:965:6: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:966:1: ( (kw= '-' )? this_INT_1= RULE_INT )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:966:1: ( (kw= '-' )? this_INT_1= RULE_INT )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:966:2: (kw= '-' )? this_INT_1= RULE_INT
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:966:2: (kw= '-' )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==28) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:967:2: kw= '-'
{
kw=(Token)input.LT(1);
match(input,28,FOLLOW_28_in_ruleEInt1577);
current.merge(kw);
createLeafNode(grammarAccess.getEIntAccess().getHyphenMinusKeyword_0(), null);
}
break;
}
this_INT_1=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEInt1594);
current.merge(this_INT_1);
createLeafNode(grammarAccess.getEIntAccess().getINTTerminalRuleCall_1(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleEInt
// $ANTLR start entryRuleTaxonomy
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:987: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:988:2: (iv_ruleTaxonomy= ruleTaxonomy EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:989:2: iv_ruleTaxonomy= ruleTaxonomy EOF
{
currentNode = createCompositeNode(grammarAccess.getTaxonomyRule(), currentNode);
pushFollow(FOLLOW_ruleTaxonomy_in_entryRuleTaxonomy1639);
iv_ruleTaxonomy=ruleTaxonomy();
_fsp--;
current =iv_ruleTaxonomy;
match(input,EOF,FOLLOW_EOF_in_entryRuleTaxonomy1649);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleTaxonomy
// $ANTLR start ruleTaxonomy
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:996:1: ruleTaxonomy returns [EObject current=null] : ( () 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )? ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )? '}' ) ;
public final EObject ruleTaxonomy() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1001:6: ( ( () 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )? ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1002:1: ( () 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )? ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1002:1: ( () 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )? ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1002:2: () 'Taxonomy' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )? ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1002:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1003:5:
{
temp=factory.create(grammarAccess.getTaxonomyAccess().getTaxonomyAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTaxonomyAccess().getTaxonomyAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,29,FOLLOW_29_in_ruleTaxonomy1693);
createLeafNode(grammarAccess.getTaxonomyAccess().getTaxonomyKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1017:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1018:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1018:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1019:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1710);
createLeafNode(grammarAccess.getTaxonomyAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleTaxonomy1725);
createLeafNode(grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1045:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1045:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleTaxonomy1736);
createLeafNode(grammarAccess.getTaxonomyAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1049:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1050:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1050:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1051:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1753);
createLeafNode(grammarAccess.getTaxonomyAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1073:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1073:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleTaxonomy1771);
createLeafNode(grammarAccess.getTaxonomyAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1077:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1078:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1078:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1079:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTaxonomyAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleTaxonomy1792);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1101:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1101:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleTaxonomy1805);
createLeafNode(grammarAccess.getTaxonomyAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1105:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1106:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1106:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1107:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1822);
createLeafNode(grammarAccess.getTaxonomyAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1129:4: ( 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==30) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1129:6: 'hasScenarios' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,30,FOLLOW_30_in_ruleTaxonomy1840);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasScenariosKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleTaxonomy1850);
createLeafNode(grammarAccess.getTaxonomyAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1137:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1138:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1138:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1139:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1868);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasScenariosRequestedFederationScenarioCrossReference_7_2_0(), "hasScenarios");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1151:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1151:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleTaxonomy1879);
createLeafNode(grammarAccess.getTaxonomyAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1155:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1156:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1156:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1157:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1897);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasScenariosRequestedFederationScenarioCrossReference_7_3_1_0(), "hasScenarios");
}
}
}
break;
default :
break loop25;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleTaxonomy1909);
createLeafNode(grammarAccess.getTaxonomyAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1173:3: ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==33) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1173:5: 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,33,FOLLOW_33_in_ruleTaxonomy1922);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasServicesKeyword_8_0(), null);
match(input,31,FOLLOW_31_in_ruleTaxonomy1932);
createLeafNode(grammarAccess.getTaxonomyAccess().getLeftParenthesisKeyword_8_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1181:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1182:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1182:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1183:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1950);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasServicesServiceCrossReference_8_2_0(), "hasServices");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1195:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1195:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleTaxonomy1961);
createLeafNode(grammarAccess.getTaxonomyAccess().getCommaKeyword_8_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1199:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1200:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1200:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1201:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTaxonomy1979);
createLeafNode(grammarAccess.getTaxonomyAccess().getHasServicesServiceCrossReference_8_3_1_0(), "hasServices");
}
}
}
break;
default :
break loop27;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleTaxonomy1991);
createLeafNode(grammarAccess.getTaxonomyAccess().getRightParenthesisKeyword_8_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1217:3: ( 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}' )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==34) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1217:5: 'taxonomies' '{' ( (lv_taxonomies_24_0= ruleTaxonomy ) ) ( ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) ) )* '}'
{
match(input,34,FOLLOW_34_in_ruleTaxonomy2004);
createLeafNode(grammarAccess.getTaxonomyAccess().getTaxonomiesKeyword_9_0(), null);
match(input,14,FOLLOW_14_in_ruleTaxonomy2014);
createLeafNode(grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_9_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1225:1: ( (lv_taxonomies_24_0= ruleTaxonomy ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1226:1: (lv_taxonomies_24_0= ruleTaxonomy )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1226:1: (lv_taxonomies_24_0= ruleTaxonomy )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1227:3: lv_taxonomies_24_0= ruleTaxonomy
{
currentNode=createCompositeNode(grammarAccess.getTaxonomyAccess().getTaxonomiesTaxonomyParserRuleCall_9_2_0(), currentNode);
pushFollow(FOLLOW_ruleTaxonomy_in_ruleTaxonomy2035);
lv_taxonomies_24_0=ruleTaxonomy();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"taxonomies",
lv_taxonomies_24_0,
"Taxonomy",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1249:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1249:4: ',' ( (lv_taxonomies_26_0= ruleTaxonomy ) )
{
match(input,21,FOLLOW_21_in_ruleTaxonomy2046);
createLeafNode(grammarAccess.getTaxonomyAccess().getCommaKeyword_9_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1253:1: ( (lv_taxonomies_26_0= ruleTaxonomy ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1254:1: (lv_taxonomies_26_0= ruleTaxonomy )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1254:1: (lv_taxonomies_26_0= ruleTaxonomy )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1255:3: lv_taxonomies_26_0= ruleTaxonomy
{
currentNode=createCompositeNode(grammarAccess.getTaxonomyAccess().getTaxonomiesTaxonomyParserRuleCall_9_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleTaxonomy_in_ruleTaxonomy2067);
lv_taxonomies_26_0=ruleTaxonomy();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"taxonomies",
lv_taxonomies_26_0,
"Taxonomy",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop29;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleTaxonomy2079);
createLeafNode(grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_9_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1281:3: ( 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}' )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==35) ) {
alt32=1;
}
switch (alt32) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1281:5: 'categories' '{' ( (lv_categories_30_0= ruleResourceCategory ) ) ( ',' ( (lv_categories_32_0= ruleResourceCategory ) ) )* '}'
{
match(input,35,FOLLOW_35_in_ruleTaxonomy2092);
createLeafNode(grammarAccess.getTaxonomyAccess().getCategoriesKeyword_10_0(), null);
match(input,14,FOLLOW_14_in_ruleTaxonomy2102);
createLeafNode(grammarAccess.getTaxonomyAccess().getLeftCurlyBracketKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1289:1: ( (lv_categories_30_0= ruleResourceCategory ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1290:1: (lv_categories_30_0= ruleResourceCategory )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1290:1: (lv_categories_30_0= ruleResourceCategory )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1291:3: lv_categories_30_0= ruleResourceCategory
{
currentNode=createCompositeNode(grammarAccess.getTaxonomyAccess().getCategoriesResourceCategoryParserRuleCall_10_2_0(), currentNode);
pushFollow(FOLLOW_ruleResourceCategory_in_ruleTaxonomy2123);
lv_categories_30_0=ruleResourceCategory();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"categories",
lv_categories_30_0,
"ResourceCategory",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1313:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1313:4: ',' ( (lv_categories_32_0= ruleResourceCategory ) )
{
match(input,21,FOLLOW_21_in_ruleTaxonomy2134);
createLeafNode(grammarAccess.getTaxonomyAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1317:1: ( (lv_categories_32_0= ruleResourceCategory ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1318:1: (lv_categories_32_0= ruleResourceCategory )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1318:1: (lv_categories_32_0= ruleResourceCategory )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1319:3: lv_categories_32_0= ruleResourceCategory
{
currentNode=createCompositeNode(grammarAccess.getTaxonomyAccess().getCategoriesResourceCategoryParserRuleCall_10_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleResourceCategory_in_ruleTaxonomy2155);
lv_categories_32_0=ruleResourceCategory();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTaxonomyRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"categories",
lv_categories_32_0,
"ResourceCategory",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop31;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleTaxonomy2167);
createLeafNode(grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_10_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleTaxonomy2179);
createLeafNode(grammarAccess.getTaxonomyAccess().getRightCurlyBracketKeyword_11(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleTaxonomy
// $ANTLR start entryRuleOfferedService
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1357: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1358:2: (iv_ruleOfferedService= ruleOfferedService EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1359:2: iv_ruleOfferedService= ruleOfferedService EOF
{
currentNode = createCompositeNode(grammarAccess.getOfferedServiceRule(), currentNode);
pushFollow(FOLLOW_ruleOfferedService_in_entryRuleOfferedService2215);
iv_ruleOfferedService=ruleOfferedService();
_fsp--;
current =iv_ruleOfferedService;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfferedService2225);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOfferedService
// $ANTLR start ruleOfferedService
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1366:1: ruleOfferedService returns [EObject current=null] : ( () 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' ) ;
public final EObject ruleOfferedService() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_serviceSettings_18_0 = null;
EObject lv_serviceSettings_20_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1371:6: ( ( () 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1372:1: ( () 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1372:1: ( () 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1372:2: () 'OfferedService' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1372:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1373:5:
{
temp=factory.create(grammarAccess.getOfferedServiceAccess().getOfferedServiceAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfferedServiceAccess().getOfferedServiceAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,36,FOLLOW_36_in_ruleOfferedService2269);
createLeafNode(grammarAccess.getOfferedServiceAccess().getOfferedServiceKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1387:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1388:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1388:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1389:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2286);
createLeafNode(grammarAccess.getOfferedServiceAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleOfferedService2301);
createLeafNode(grammarAccess.getOfferedServiceAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1415:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1415:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleOfferedService2312);
createLeafNode(grammarAccess.getOfferedServiceAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1419:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1420:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1420:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1421:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2329);
createLeafNode(grammarAccess.getOfferedServiceAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1443:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1443:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleOfferedService2347);
createLeafNode(grammarAccess.getOfferedServiceAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1447:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1448:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1448:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1449:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfferedServiceAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedService2368);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1471:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1471:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleOfferedService2381);
createLeafNode(grammarAccess.getOfferedServiceAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1475:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1476:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1476:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1477:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2398);
createLeafNode(grammarAccess.getOfferedServiceAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1499:4: ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==37) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1499:6: 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,37,FOLLOW_37_in_ruleOfferedService2416);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRequiresServicesKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleOfferedService2426);
createLeafNode(grammarAccess.getOfferedServiceAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1507:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1508:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1508:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1509:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2444);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRequiresServicesServiceCrossReference_7_2_0(), "requiresServices");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1521:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1521:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleOfferedService2455);
createLeafNode(grammarAccess.getOfferedServiceAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1525:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1526:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1526:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1527:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedService2473);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRequiresServicesServiceCrossReference_7_3_1_0(), "requiresServices");
}
}
}
break;
default :
break loop36;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleOfferedService2485);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1543:3: ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==38) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1543:5: 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}'
{
match(input,38,FOLLOW_38_in_ruleOfferedService2498);
createLeafNode(grammarAccess.getOfferedServiceAccess().getServiceSettingsKeyword_8_0(), null);
match(input,14,FOLLOW_14_in_ruleOfferedService2508);
createLeafNode(grammarAccess.getOfferedServiceAccess().getLeftCurlyBracketKeyword_8_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1551:1: ( (lv_serviceSettings_18_0= ruleServiceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1552:1: (lv_serviceSettings_18_0= ruleServiceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1552:1: (lv_serviceSettings_18_0= ruleServiceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1553:3: lv_serviceSettings_18_0= ruleServiceSetting
{
currentNode=createCompositeNode(grammarAccess.getOfferedServiceAccess().getServiceSettingsServiceSettingParserRuleCall_8_2_0(), currentNode);
pushFollow(FOLLOW_ruleServiceSetting_in_ruleOfferedService2529);
lv_serviceSettings_18_0=ruleServiceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"serviceSettings",
lv_serviceSettings_18_0,
"ServiceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1575:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1575:4: ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
{
match(input,21,FOLLOW_21_in_ruleOfferedService2540);
createLeafNode(grammarAccess.getOfferedServiceAccess().getCommaKeyword_8_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1579:1: ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1580:1: (lv_serviceSettings_20_0= ruleServiceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1580:1: (lv_serviceSettings_20_0= ruleServiceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1581:3: lv_serviceSettings_20_0= ruleServiceSetting
{
currentNode=createCompositeNode(grammarAccess.getOfferedServiceAccess().getServiceSettingsServiceSettingParserRuleCall_8_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleServiceSetting_in_ruleOfferedService2561);
lv_serviceSettings_20_0=ruleServiceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedServiceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"serviceSettings",
lv_serviceSettings_20_0,
"ServiceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop38;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOfferedService2573);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRightCurlyBracketKeyword_8_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleOfferedService2585);
createLeafNode(grammarAccess.getOfferedServiceAccess().getRightCurlyBracketKeyword_9(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfferedService
// $ANTLR start entryRuleServiceComposition
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1619: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1620:2: (iv_ruleServiceComposition= ruleServiceComposition EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1621:2: iv_ruleServiceComposition= ruleServiceComposition EOF
{
currentNode = createCompositeNode(grammarAccess.getServiceCompositionRule(), currentNode);
pushFollow(FOLLOW_ruleServiceComposition_in_entryRuleServiceComposition2621);
iv_ruleServiceComposition=ruleServiceComposition();
_fsp--;
current =iv_ruleServiceComposition;
match(input,EOF,FOLLOW_EOF_in_entryRuleServiceComposition2631);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleServiceComposition
// $ANTLR start ruleServiceComposition
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1628:1: ruleServiceComposition returns [EObject current=null] : ( () 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' ) ;
public final EObject ruleServiceComposition() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1633:6: ( ( () 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1634:1: ( () 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1634:1: ( () 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1634:2: () 'ServiceComposition' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1634:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1635:5:
{
temp=factory.create(grammarAccess.getServiceCompositionAccess().getServiceCompositionAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getServiceCompositionAccess().getServiceCompositionAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,39,FOLLOW_39_in_ruleServiceComposition2675);
createLeafNode(grammarAccess.getServiceCompositionAccess().getServiceCompositionKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1649:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1650:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1650:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1651:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2692);
createLeafNode(grammarAccess.getServiceCompositionAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleServiceComposition2707);
createLeafNode(grammarAccess.getServiceCompositionAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1677:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1677:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleServiceComposition2718);
createLeafNode(grammarAccess.getServiceCompositionAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1681:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1682:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1682:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1683:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2735);
createLeafNode(grammarAccess.getServiceCompositionAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1705:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1705:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleServiceComposition2753);
createLeafNode(grammarAccess.getServiceCompositionAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1709:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1710:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1710:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1711:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getServiceCompositionAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleServiceComposition2774);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1733:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1733:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleServiceComposition2787);
createLeafNode(grammarAccess.getServiceCompositionAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1737:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1738:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1738:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1739:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2804);
createLeafNode(grammarAccess.getServiceCompositionAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1761:4: ( 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==33) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1761:6: 'hasServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,33,FOLLOW_33_in_ruleServiceComposition2822);
createLeafNode(grammarAccess.getServiceCompositionAccess().getHasServicesKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleServiceComposition2832);
createLeafNode(grammarAccess.getServiceCompositionAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1769:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1770:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1770:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1771:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2850);
createLeafNode(grammarAccess.getServiceCompositionAccess().getHasServicesServiceCrossReference_7_2_0(), "hasServices");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1783:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1783:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleServiceComposition2861);
createLeafNode(grammarAccess.getServiceCompositionAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1787:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1788:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1788:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1789:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceCompositionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceComposition2879);
createLeafNode(grammarAccess.getServiceCompositionAccess().getHasServicesServiceCrossReference_7_3_1_0(), "hasServices");
}
}
}
break;
default :
break loop43;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleServiceComposition2891);
createLeafNode(grammarAccess.getServiceCompositionAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleServiceComposition2903);
createLeafNode(grammarAccess.getServiceCompositionAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleServiceComposition
// $ANTLR start entryRuleResourceServiceContract
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1817: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1818:2: (iv_ruleResourceServiceContract= ruleResourceServiceContract EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1819:2: iv_ruleResourceServiceContract= ruleResourceServiceContract EOF
{
currentNode = createCompositeNode(grammarAccess.getResourceServiceContractRule(), currentNode);
pushFollow(FOLLOW_ruleResourceServiceContract_in_entryRuleResourceServiceContract2939);
iv_ruleResourceServiceContract=ruleResourceServiceContract();
_fsp--;
current =iv_ruleResourceServiceContract;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceServiceContract2949);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleResourceServiceContract
// $ANTLR start ruleResourceServiceContract
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1826:1: ruleResourceServiceContract returns [EObject current=null] : ( 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) 'forOfferedService' ( ( RULE_STRING ) ) 'forOfferedResource' ( ( RULE_STRING ) ) ( 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? '}' ) ;
public final EObject ruleResourceServiceContract() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_1_0=null;
Token lv_name_4_0=null;
Token lv_description_8_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1831:6: ( ( 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) 'forOfferedService' ( ( RULE_STRING ) ) 'forOfferedResource' ( ( RULE_STRING ) ) ( 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1832:1: ( 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) 'forOfferedService' ( ( RULE_STRING ) ) 'forOfferedResource' ( ( RULE_STRING ) ) ( 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1832:1: ( 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) 'forOfferedService' ( ( RULE_STRING ) ) 'forOfferedResource' ( ( RULE_STRING ) ) ( 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1832:3: 'ResourceServiceContract' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'StartDate' ( (lv_StartDate_10_0= ruleEDate ) ) 'EndDate' ( (lv_EndDate_12_0= ruleEDate ) ) 'forOfferedService' ( ( RULE_STRING ) ) 'forOfferedResource' ( ( RULE_STRING ) ) ( 'availability' ( (lv_availability_18_0= ruleAvailability ) ) )? '}'
{
match(input,40,FOLLOW_40_in_ruleResourceServiceContract2984);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getResourceServiceContractKeyword_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1836:1: ( (lv_uniqueID_1_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1837:1: (lv_uniqueID_1_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1837:1: (lv_uniqueID_1_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1838:3: lv_uniqueID_1_0= RULE_STRING
{
lv_uniqueID_1_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3001);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getUniqueIDSTRINGTerminalRuleCall_1_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_1_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleResourceServiceContract3016);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getLeftCurlyBracketKeyword_2(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1864:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1864:3: 'name' ( (lv_name_4_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleResourceServiceContract3027);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getNameKeyword_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1868:1: ( (lv_name_4_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1869:1: (lv_name_4_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1869:1: (lv_name_4_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1870:3: lv_name_4_0= RULE_STRING
{
lv_name_4_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3044);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getNameSTRINGTerminalRuleCall_3_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_4_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1892:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1892:6: 'id' ( (lv_id_6_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleResourceServiceContract3062);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getIdKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1896:1: ( (lv_id_6_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1897:1: (lv_id_6_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1897:1: (lv_id_6_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1898:3: lv_id_6_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getResourceServiceContractAccess().getIdEIntParserRuleCall_4_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleResourceServiceContract3083);
lv_id_6_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_6_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1920:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1920:6: 'description' ( (lv_description_8_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleResourceServiceContract3096);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getDescriptionKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1924:1: ( (lv_description_8_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1925:1: (lv_description_8_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1925:1: (lv_description_8_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1926:3: lv_description_8_0= RULE_STRING
{
lv_description_8_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3113);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getDescriptionSTRINGTerminalRuleCall_5_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_8_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,41,FOLLOW_41_in_ruleResourceServiceContract3130);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getStartDateKeyword_6(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1952:1: ( (lv_StartDate_10_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1953:1: (lv_StartDate_10_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1953:1: (lv_StartDate_10_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1954:3: lv_StartDate_10_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getResourceServiceContractAccess().getStartDateEDateParserRuleCall_7_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleResourceServiceContract3151);
lv_StartDate_10_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"StartDate",
lv_StartDate_10_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
match(input,42,FOLLOW_42_in_ruleResourceServiceContract3161);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getEndDateKeyword_8(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1980:1: ( (lv_EndDate_12_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1981:1: (lv_EndDate_12_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1981:1: (lv_EndDate_12_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:1982:3: lv_EndDate_12_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getResourceServiceContractAccess().getEndDateEDateParserRuleCall_9_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleResourceServiceContract3182);
lv_EndDate_12_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"EndDate",
lv_EndDate_12_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
match(input,43,FOLLOW_43_in_ruleResourceServiceContract3192);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getForOfferedServiceKeyword_10(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2008:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2009:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2009:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2010:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3210);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getForOfferedServiceServiceCrossReference_11_0(), "forOfferedService");
}
}
match(input,44,FOLLOW_44_in_ruleResourceServiceContract3220);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getForOfferedResourceKeyword_12(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2026:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2027:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2027:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2028:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceServiceContract3238);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getForOfferedResourceOfferedResourceCrossReference_13_0(), "forOfferedResource");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2040:2: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2040:4: 'availability' ( (lv_availability_18_0= ruleAvailability ) )
{
match(input,45,FOLLOW_45_in_ruleResourceServiceContract3249);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getAvailabilityKeyword_14_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2044:1: ( (lv_availability_18_0= ruleAvailability ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2045:1: (lv_availability_18_0= ruleAvailability )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2045:1: (lv_availability_18_0= ruleAvailability )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2046:3: lv_availability_18_0= ruleAvailability
{
currentNode=createCompositeNode(grammarAccess.getResourceServiceContractAccess().getAvailabilityAvailabilityParserRuleCall_14_1_0(), currentNode);
pushFollow(FOLLOW_ruleAvailability_in_ruleResourceServiceContract3270);
lv_availability_18_0=ruleAvailability();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceServiceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"availability",
lv_availability_18_0,
"Availability",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleResourceServiceContract3282);
createLeafNode(grammarAccess.getResourceServiceContractAccess().getRightCurlyBracketKeyword_15(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResourceServiceContract
// $ANTLR start entryRuleSLA
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2080: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2081:2: (iv_ruleSLA= ruleSLA EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2082:2: iv_ruleSLA= ruleSLA EOF
{
currentNode = createCompositeNode(grammarAccess.getSLARule(), currentNode);
pushFollow(FOLLOW_ruleSLA_in_entryRuleSLA3318);
iv_ruleSLA=ruleSLA();
_fsp--;
current =iv_ruleSLA;
match(input,EOF,FOLLOW_EOF_in_entryRuleSLA3328);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSLA
// $ANTLR start ruleSLA
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2089:1: ruleSLA returns [EObject current=null] : ( () 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forVT' ( ( RULE_STRING ) ) )? ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )? '}' ) ;
public final EObject ruleSLA() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2094:6: ( ( () 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forVT' ( ( RULE_STRING ) ) )? ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2095:1: ( () 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forVT' ( ( RULE_STRING ) ) )? ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2095:1: ( () 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forVT' ( ( RULE_STRING ) ) )? ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2095:2: () 'SLA' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forVT' ( ( RULE_STRING ) ) )? ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2095:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2096:5:
{
temp=factory.create(grammarAccess.getSLAAccess().getSLAAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getSLAAccess().getSLAAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,46,FOLLOW_46_in_ruleSLA3372);
createLeafNode(grammarAccess.getSLAAccess().getSLAKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2110:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2111:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2111:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2112:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3389);
createLeafNode(grammarAccess.getSLAAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleSLA3404);
createLeafNode(grammarAccess.getSLAAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2138:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2138:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleSLA3415);
createLeafNode(grammarAccess.getSLAAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2142:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2143:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2143:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2144:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3432);
createLeafNode(grammarAccess.getSLAAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2166:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2166:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleSLA3450);
createLeafNode(grammarAccess.getSLAAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2170:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2171:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2171:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2172:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getSLAAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleSLA3471);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2194:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2194:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleSLA3484);
createLeafNode(grammarAccess.getSLAAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2198:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2199:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2199:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2200:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3501);
createLeafNode(grammarAccess.getSLAAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2222:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2222:6: 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) )
{
match(input,47,FOLLOW_47_in_ruleSLA3519);
createLeafNode(grammarAccess.getSLAAccess().getValidFromKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2226:1: ( (lv_ValidFrom_11_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2227:1: (lv_ValidFrom_11_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2227:1: (lv_ValidFrom_11_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2228:3: lv_ValidFrom_11_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getSLAAccess().getValidFromEDateParserRuleCall_7_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleSLA3540);
lv_ValidFrom_11_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ValidFrom",
lv_ValidFrom_11_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2250:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2250:6: 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) )
{
match(input,48,FOLLOW_48_in_ruleSLA3553);
createLeafNode(grammarAccess.getSLAAccess().getValidUntilKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2254:1: ( (lv_ValidUntil_13_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2255:1: (lv_ValidUntil_13_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2255:1: (lv_ValidUntil_13_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2256:3: lv_ValidUntil_13_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getSLAAccess().getValidUntilEDateParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleSLA3574);
lv_ValidUntil_13_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ValidUntil",
lv_ValidUntil_13_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2278:4: ( 'forVT' ( ( RULE_STRING ) ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==49) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2278:6: 'forVT' ( ( RULE_STRING ) )
{
match(input,49,FOLLOW_49_in_ruleSLA3587);
createLeafNode(grammarAccess.getSLAAccess().getForVTKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2282:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2283:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2283:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2284:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSLA3605);
createLeafNode(grammarAccess.getSLAAccess().getForVTRequestedFederationScenarioCrossReference_9_1_0(), "forVT");
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2296:4: ( 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}' )?
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==50) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2296:6: 'ReservedRsources' '{' ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) ) ( ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) ) )* '}'
{
match(input,50,FOLLOW_50_in_ruleSLA3618);
createLeafNode(grammarAccess.getSLAAccess().getReservedRsourcesKeyword_10_0(), null);
match(input,14,FOLLOW_14_in_ruleSLA3628);
createLeafNode(grammarAccess.getSLAAccess().getLeftCurlyBracketKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2304:1: ( (lv_ReservedRsources_18_0= ruleReservedResourceContract ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2305:1: (lv_ReservedRsources_18_0= ruleReservedResourceContract )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2305:1: (lv_ReservedRsources_18_0= ruleReservedResourceContract )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2306:3: lv_ReservedRsources_18_0= ruleReservedResourceContract
{
currentNode=createCompositeNode(grammarAccess.getSLAAccess().getReservedRsourcesReservedResourceContractParserRuleCall_10_2_0(), currentNode);
pushFollow(FOLLOW_ruleReservedResourceContract_in_ruleSLA3649);
lv_ReservedRsources_18_0=ruleReservedResourceContract();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"ReservedRsources",
lv_ReservedRsources_18_0,
"ReservedResourceContract",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2328:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2328:4: ',' ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) )
{
match(input,21,FOLLOW_21_in_ruleSLA3660);
createLeafNode(grammarAccess.getSLAAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2332:1: ( (lv_ReservedRsources_20_0= ruleReservedResourceContract ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2333:1: (lv_ReservedRsources_20_0= ruleReservedResourceContract )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2333:1: (lv_ReservedRsources_20_0= ruleReservedResourceContract )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2334:3: lv_ReservedRsources_20_0= ruleReservedResourceContract
{
currentNode=createCompositeNode(grammarAccess.getSLAAccess().getReservedRsourcesReservedResourceContractParserRuleCall_10_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleReservedResourceContract_in_ruleSLA3681);
lv_ReservedRsources_20_0=ruleReservedResourceContract();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSLARule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"ReservedRsources",
lv_ReservedRsources_20_0,
"ReservedResourceContract",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop55;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleSLA3693);
createLeafNode(grammarAccess.getSLAAccess().getRightCurlyBracketKeyword_10_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleSLA3705);
createLeafNode(grammarAccess.getSLAAccess().getRightCurlyBracketKeyword_11(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleSLA
// $ANTLR start entryRuleAccount
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2372: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2373:2: (iv_ruleAccount= ruleAccount EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2374:2: iv_ruleAccount= ruleAccount EOF
{
currentNode = createCompositeNode(grammarAccess.getAccountRule(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_entryRuleAccount3741);
iv_ruleAccount=ruleAccount();
_fsp--;
current =iv_ruleAccount;
match(input,EOF,FOLLOW_EOF_in_entryRuleAccount3751);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAccount
// $ANTLR start ruleAccount
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2381:1: ruleAccount returns [EObject current=null] : ( () 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'password' ( (lv_password_11_0= RULE_STRING ) ) )? ( 'username' ( (lv_username_13_0= RULE_STRING ) ) )? '}' ) ;
public final EObject ruleAccount() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_password_11_0=null;
Token lv_username_13_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2386:6: ( ( () 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'password' ( (lv_password_11_0= RULE_STRING ) ) )? ( 'username' ( (lv_username_13_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2387:1: ( () 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'password' ( (lv_password_11_0= RULE_STRING ) ) )? ( 'username' ( (lv_username_13_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2387:1: ( () 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'password' ( (lv_password_11_0= RULE_STRING ) ) )? ( 'username' ( (lv_username_13_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2387:2: () 'Account' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'password' ( (lv_password_11_0= RULE_STRING ) ) )? ( 'username' ( (lv_username_13_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2387:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2388:5:
{
temp=factory.create(grammarAccess.getAccountAccess().getAccountAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getAccountAccess().getAccountAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,51,FOLLOW_51_in_ruleAccount3795);
createLeafNode(grammarAccess.getAccountAccess().getAccountKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2402:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2403:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2403:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2404:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount3812);
createLeafNode(grammarAccess.getAccountAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleAccount3827);
createLeafNode(grammarAccess.getAccountAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2430:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2430:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleAccount3838);
createLeafNode(grammarAccess.getAccountAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2434:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2435:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2435:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2436:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount3855);
createLeafNode(grammarAccess.getAccountAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2458:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2458:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleAccount3873);
createLeafNode(grammarAccess.getAccountAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2462:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2463:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2463:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2464:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getAccountAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleAccount3894);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2486:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2486:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleAccount3907);
createLeafNode(grammarAccess.getAccountAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2490:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2491:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2491:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2492:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount3924);
createLeafNode(grammarAccess.getAccountAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2514:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2514:6: 'password' ( (lv_password_11_0= RULE_STRING ) )
{
match(input,52,FOLLOW_52_in_ruleAccount3942);
createLeafNode(grammarAccess.getAccountAccess().getPasswordKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2518:1: ( (lv_password_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2519:1: (lv_password_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2519:1: (lv_password_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2520:3: lv_password_11_0= RULE_STRING
{
lv_password_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount3959);
createLeafNode(grammarAccess.getAccountAccess().getPasswordSTRINGTerminalRuleCall_7_1_0(), "password");
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"password",
lv_password_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2542:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2542:6: 'username' ( (lv_username_13_0= RULE_STRING ) )
{
match(input,53,FOLLOW_53_in_ruleAccount3977);
createLeafNode(grammarAccess.getAccountAccess().getUsernameKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2546:1: ( (lv_username_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2547:1: (lv_username_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2547:1: (lv_username_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2548:3: lv_username_13_0= RULE_STRING
{
lv_username_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccount3994);
createLeafNode(grammarAccess.getAccountAccess().getUsernameSTRINGTerminalRuleCall_8_1_0(), "username");
if (current==null) {
current = factory.create(grammarAccess.getAccountRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"username",
lv_username_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleAccount4011);
createLeafNode(grammarAccess.getAccountAccess().getRightCurlyBracketKeyword_9(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAccount
// $ANTLR start entryRuleResourcesProvider_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2582: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2583:2: (iv_ruleResourcesProvider_Impl= ruleResourcesProvider_Impl EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2584:2: iv_ruleResourcesProvider_Impl= ruleResourcesProvider_Impl EOF
{
currentNode = createCompositeNode(grammarAccess.getResourcesProvider_ImplRule(), currentNode);
pushFollow(FOLLOW_ruleResourcesProvider_Impl_in_entryRuleResourcesProvider_Impl4047);
iv_ruleResourcesProvider_Impl=ruleResourcesProvider_Impl();
_fsp--;
current =iv_ruleResourcesProvider_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourcesProvider_Impl4057);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleResourcesProvider_Impl
// $ANTLR start ruleResourcesProvider_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2591:1: ruleResourcesProvider_Impl returns [EObject current=null] : ( () 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )? '}' ) ;
public final EObject ruleResourcesProvider_Impl() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_organization_11_0=null;
Token lv_address_13_0=null;
Token lv_telephone_15_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2596:6: ( ( () 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2597:1: ( () 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2597:1: ( () 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2597:2: () 'ResourcesProvider' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2597:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2598:5:
{
temp=factory.create(grammarAccess.getResourcesProvider_ImplAccess().getResourcesProviderAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getResourcesProviderAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,54,FOLLOW_54_in_ruleResourcesProvider_Impl4101);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getResourcesProviderKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2612:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2613:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2613:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2614:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4118);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleResourcesProvider_Impl4133);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2640:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2640:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleResourcesProvider_Impl4144);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2644:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2645:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2645:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2646:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4161);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2668:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2668:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleResourcesProvider_Impl4179);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2672:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2673:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2673:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2674:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleResourcesProvider_Impl4200);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2696:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2696:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleResourcesProvider_Impl4213);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2700:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2701:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2701:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2702:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4230);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2724:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2724:6: 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
match(input,55,FOLLOW_55_in_ruleResourcesProvider_Impl4248);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getOrganizationKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2728:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2729:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2729:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2730:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4265);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0(), "organization");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"organization",
lv_organization_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2752:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2752:6: 'address' ( (lv_address_13_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleResourcesProvider_Impl4283);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getAddressKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2756:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2757:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2757:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2758:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4300);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getAddressSTRINGTerminalRuleCall_8_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2780:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2780:6: 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
match(input,57,FOLLOW_57_in_ruleResourcesProvider_Impl4318);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getTelephoneKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2784:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2785:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2785:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2786:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4335);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0(), "telephone");
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"telephone",
lv_telephone_15_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2808:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2808:6: 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
match(input,58,FOLLOW_58_in_ruleResourcesProvider_Impl4353);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getHasAccountKeyword_10_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2812:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2813:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2813:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2814:3: lv_hasAccount_17_0= ruleAccount
{
currentNode=createCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getHasAccountAccountParserRuleCall_10_1_0(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_ruleResourcesProvider_Impl4374);
lv_hasAccount_17_0=ruleAccount();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2836:4: ( 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}' )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==59) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2836:6: 'offeredSiteList' '{' ( (lv_offeredSiteList_20_0= ruleSite ) ) ( ',' ( (lv_offeredSiteList_22_0= ruleSite ) ) )* '}'
{
match(input,59,FOLLOW_59_in_ruleResourcesProvider_Impl4387);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListKeyword_11_0(), null);
match(input,14,FOLLOW_14_in_ruleResourcesProvider_Impl4397);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getLeftCurlyBracketKeyword_11_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2844:1: ( (lv_offeredSiteList_20_0= ruleSite ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2845:1: (lv_offeredSiteList_20_0= ruleSite )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2845:1: (lv_offeredSiteList_20_0= ruleSite )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2846:3: lv_offeredSiteList_20_0= ruleSite
{
currentNode=createCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListSiteParserRuleCall_11_2_0(), currentNode);
pushFollow(FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4418);
lv_offeredSiteList_20_0=ruleSite();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredSiteList",
lv_offeredSiteList_20_0,
"Site",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2868:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2868:4: ',' ( (lv_offeredSiteList_22_0= ruleSite ) )
{
match(input,21,FOLLOW_21_in_ruleResourcesProvider_Impl4429);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getCommaKeyword_11_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2872:1: ( (lv_offeredSiteList_22_0= ruleSite ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2873:1: (lv_offeredSiteList_22_0= ruleSite )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2873:1: (lv_offeredSiteList_22_0= ruleSite )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2874:3: lv_offeredSiteList_22_0= ruleSite
{
currentNode=createCompositeNode(grammarAccess.getResourcesProvider_ImplAccess().getOfferedSiteListSiteParserRuleCall_11_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4450);
lv_offeredSiteList_22_0=ruleSite();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourcesProvider_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredSiteList",
lv_offeredSiteList_22_0,
"Site",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop69;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleResourcesProvider_Impl4462);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getRightCurlyBracketKeyword_11_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleResourcesProvider_Impl4474);
createLeafNode(grammarAccess.getResourcesProvider_ImplAccess().getRightCurlyBracketKeyword_12(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResourcesProvider_Impl
// $ANTLR start entryRuleTestbedDesigner
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2912: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2913:2: (iv_ruleTestbedDesigner= ruleTestbedDesigner EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2914:2: iv_ruleTestbedDesigner= ruleTestbedDesigner EOF
{
currentNode = createCompositeNode(grammarAccess.getTestbedDesignerRule(), currentNode);
pushFollow(FOLLOW_ruleTestbedDesigner_in_entryRuleTestbedDesigner4510);
iv_ruleTestbedDesigner=ruleTestbedDesigner();
_fsp--;
current =iv_ruleTestbedDesigner;
match(input,EOF,FOLLOW_EOF_in_entryRuleTestbedDesigner4520);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleTestbedDesigner
// $ANTLR start ruleTestbedDesigner
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2921:1: ruleTestbedDesigner returns [EObject current=null] : ( () 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? '}' ) ;
public final EObject ruleTestbedDesigner() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_organization_11_0=null;
Token lv_address_13_0=null;
Token lv_telephone_15_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_23_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2926:6: ( ( () 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2927:1: ( () 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2927:1: ( () 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2927:2: () 'TestbedDesigner' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2927:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2928:5:
{
temp=factory.create(grammarAccess.getTestbedDesignerAccess().getTestbedDesignerAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTestbedDesignerAccess().getTestbedDesignerAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,60,FOLLOW_60_in_ruleTestbedDesigner4564);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getTestbedDesignerKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2942:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2943:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2943:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2944:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4581);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleTestbedDesigner4596);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2970:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2970:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleTestbedDesigner4607);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2974:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2975:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2975:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2976:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4624);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2998:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:2998:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleTestbedDesigner4642);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3002:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3003:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3003:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3004:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTestbedDesignerAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleTestbedDesigner4663);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3026:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3026:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleTestbedDesigner4676);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3030:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3031:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3031:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3032:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4693);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3054:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3054:6: 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
match(input,55,FOLLOW_55_in_ruleTestbedDesigner4711);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getOrganizationKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3058:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3059:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3059:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3060:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4728);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0(), "organization");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"organization",
lv_organization_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3082:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3082:6: 'address' ( (lv_address_13_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleTestbedDesigner4746);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getAddressKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3086:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3087:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3087:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3088:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4763);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getAddressSTRINGTerminalRuleCall_8_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3110:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3110:6: 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
match(input,57,FOLLOW_57_in_ruleTestbedDesigner4781);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getTelephoneKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3114:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3115:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3115:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3116:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4798);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0(), "telephone");
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"telephone",
lv_telephone_15_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3138:4: ( 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt78=2;
int LA78_0 = input.LA(1);
if ( (LA78_0==61) ) {
alt78=1;
}
switch (alt78) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3138:6: 'designsVirtualTestbeds' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,61,FOLLOW_61_in_ruleTestbedDesigner4816);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsKeyword_10_0(), null);
match(input,31,FOLLOW_31_in_ruleTestbedDesigner4826);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getLeftParenthesisKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3146:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3147:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3147:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3148:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4844);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsRequestedFederationScenarioCrossReference_10_2_0(), "designsVirtualTestbeds");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3160:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3160:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleTestbedDesigner4855);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3164:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3165:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3165:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3166:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTestbedDesigner4873);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getDesignsVirtualTestbedsRequestedFederationScenarioCrossReference_10_3_1_0(), "designsVirtualTestbeds");
}
}
}
break;
default :
break loop77;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleTestbedDesigner4885);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getRightParenthesisKeyword_10_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3182:3: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3182:5: 'hasAccount' ( (lv_hasAccount_23_0= ruleAccount ) )
{
match(input,58,FOLLOW_58_in_ruleTestbedDesigner4898);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getHasAccountKeyword_11_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3186:1: ( (lv_hasAccount_23_0= ruleAccount ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3187:1: (lv_hasAccount_23_0= ruleAccount )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3187:1: (lv_hasAccount_23_0= ruleAccount )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3188:3: lv_hasAccount_23_0= ruleAccount
{
currentNode=createCompositeNode(grammarAccess.getTestbedDesignerAccess().getHasAccountAccountParserRuleCall_11_1_0(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_ruleTestbedDesigner4919);
lv_hasAccount_23_0=ruleAccount();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTestbedDesignerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"hasAccount",
lv_hasAccount_23_0,
"Account",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleTestbedDesigner4931);
createLeafNode(grammarAccess.getTestbedDesignerAccess().getRightCurlyBracketKeyword_12(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleTestbedDesigner
// $ANTLR start entryRuleAdmin
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3222: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3223:2: (iv_ruleAdmin= ruleAdmin EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3224:2: iv_ruleAdmin= ruleAdmin EOF
{
currentNode = createCompositeNode(grammarAccess.getAdminRule(), currentNode);
pushFollow(FOLLOW_ruleAdmin_in_entryRuleAdmin4967);
iv_ruleAdmin=ruleAdmin();
_fsp--;
current =iv_ruleAdmin;
match(input,EOF,FOLLOW_EOF_in_entryRuleAdmin4977);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAdmin
// $ANTLR start ruleAdmin
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3231:1: ruleAdmin returns [EObject current=null] : ( () 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' ) ;
public final EObject ruleAdmin() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_organization_11_0=null;
Token lv_address_13_0=null;
Token lv_telephone_15_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_17_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3236:6: ( ( () 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3237:1: ( () 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3237:1: ( () 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3237:2: () 'Admin' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3237:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3238:5:
{
temp=factory.create(grammarAccess.getAdminAccess().getAdminAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getAdminAccess().getAdminAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,62,FOLLOW_62_in_ruleAdmin5021);
createLeafNode(grammarAccess.getAdminAccess().getAdminKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3252:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3253:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3253:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3254:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5038);
createLeafNode(grammarAccess.getAdminAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleAdmin5053);
createLeafNode(grammarAccess.getAdminAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3280:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3280:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleAdmin5064);
createLeafNode(grammarAccess.getAdminAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3284:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3285:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3285:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3286:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5081);
createLeafNode(grammarAccess.getAdminAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3308:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3308:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleAdmin5099);
createLeafNode(grammarAccess.getAdminAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3312:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3313:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3313:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3314:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getAdminAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleAdmin5120);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3336:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3336:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleAdmin5133);
createLeafNode(grammarAccess.getAdminAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3340:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3341:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3341:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3342:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5150);
createLeafNode(grammarAccess.getAdminAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3364:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3364:6: 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
match(input,55,FOLLOW_55_in_ruleAdmin5168);
createLeafNode(grammarAccess.getAdminAccess().getOrganizationKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3368:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3369:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3369:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3370:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5185);
createLeafNode(grammarAccess.getAdminAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0(), "organization");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"organization",
lv_organization_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3392:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3392:6: 'address' ( (lv_address_13_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleAdmin5203);
createLeafNode(grammarAccess.getAdminAccess().getAddressKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3396:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3397:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3397:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3398:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5220);
createLeafNode(grammarAccess.getAdminAccess().getAddressSTRINGTerminalRuleCall_8_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3420:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3420:6: 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
match(input,57,FOLLOW_57_in_ruleAdmin5238);
createLeafNode(grammarAccess.getAdminAccess().getTelephoneKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3424:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3425:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3425:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3426:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAdmin5255);
createLeafNode(grammarAccess.getAdminAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0(), "telephone");
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"telephone",
lv_telephone_15_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3448:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3448:6: 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
match(input,58,FOLLOW_58_in_ruleAdmin5273);
createLeafNode(grammarAccess.getAdminAccess().getHasAccountKeyword_10_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3452:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3453:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3453:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3454:3: lv_hasAccount_17_0= ruleAccount
{
currentNode=createCompositeNode(grammarAccess.getAdminAccess().getHasAccountAccountParserRuleCall_10_1_0(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_ruleAdmin5294);
lv_hasAccount_17_0=ruleAccount();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAdminRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleAdmin5306);
createLeafNode(grammarAccess.getAdminAccess().getRightCurlyBracketKeyword_11(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAdmin
// $ANTLR start entryRuleOfficeCustomer
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3488: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3489:2: (iv_ruleOfficeCustomer= ruleOfficeCustomer EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3490:2: iv_ruleOfficeCustomer= ruleOfficeCustomer EOF
{
currentNode = createCompositeNode(grammarAccess.getOfficeCustomerRule(), currentNode);
pushFollow(FOLLOW_ruleOfficeCustomer_in_entryRuleOfficeCustomer5342);
iv_ruleOfficeCustomer=ruleOfficeCustomer();
_fsp--;
current =iv_ruleOfficeCustomer;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficeCustomer5352);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOfficeCustomer
// $ANTLR start ruleOfficeCustomer
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3497:1: ruleOfficeCustomer returns [EObject current=null] : ( () 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? '}' ) ;
public final EObject ruleOfficeCustomer() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_organization_11_0=null;
Token lv_address_13_0=null;
Token lv_telephone_15_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_25_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3502:6: ( ( () 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3503:1: ( () 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3503:1: ( () 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3503:2: () 'OfficeCustomer' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3503:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3504:5:
{
temp=factory.create(grammarAccess.getOfficeCustomerAccess().getOfficeCustomerAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfficeCustomerAccess().getOfficeCustomerAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,63,FOLLOW_63_in_ruleOfficeCustomer5396);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getOfficeCustomerKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3518:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3519:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3519:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3520:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5413);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleOfficeCustomer5428);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3546:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3546:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleOfficeCustomer5439);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3550:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3551:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3551:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3552:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5456);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3574:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3574:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleOfficeCustomer5474);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3578:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3579:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3579:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3580:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfficeCustomerAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOfficeCustomer5495);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3602:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3602:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleOfficeCustomer5508);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3606:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3607:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3607:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3608:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5525);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3630:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3630:6: 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
match(input,55,FOLLOW_55_in_ruleOfficeCustomer5543);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getOrganizationKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3634:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3635:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3635:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3636:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5560);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0(), "organization");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"organization",
lv_organization_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3658:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3658:6: 'address' ( (lv_address_13_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleOfficeCustomer5578);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getAddressKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3662:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3663:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3663:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3664:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5595);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getAddressSTRINGTerminalRuleCall_8_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3686:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3686:6: 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
match(input,57,FOLLOW_57_in_ruleOfficeCustomer5613);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getTelephoneKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3690:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3691:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3691:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3692:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5630);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0(), "telephone");
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"telephone",
lv_telephone_15_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3714:4: ( 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==64) ) {
alt94=1;
}
switch (alt94) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3714:6: 'utilizesVirtualTestbed' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,64,FOLLOW_64_in_ruleOfficeCustomer5648);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedKeyword_10_0(), null);
match(input,31,FOLLOW_31_in_ruleOfficeCustomer5658);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getLeftParenthesisKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3722:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3723:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3723:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3724:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5676);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedRequestedFederationScenarioCrossReference_10_2_0(), "utilizesVirtualTestbed");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3736:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3736:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleOfficeCustomer5687);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3740:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3741:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3741:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3742:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5705);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getUtilizesVirtualTestbedRequestedFederationScenarioCrossReference_10_3_1_0(), "utilizesVirtualTestbed");
}
}
}
break;
default :
break loop93;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleOfficeCustomer5717);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getRightParenthesisKeyword_10_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3758:3: ( 'hasTestbedDesigner' ( ( RULE_STRING ) ) )?
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==65) ) {
alt95=1;
}
switch (alt95) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3758:5: 'hasTestbedDesigner' ( ( RULE_STRING ) )
{
match(input,65,FOLLOW_65_in_ruleOfficeCustomer5730);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getHasTestbedDesignerKeyword_11_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3762:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3763:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3763:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3764:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficeCustomer5748);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getHasTestbedDesignerTestbedDesignerCrossReference_11_1_0(), "hasTestbedDesigner");
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3776:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3776:6: 'hasAccount' ( (lv_hasAccount_25_0= ruleAccount ) )
{
match(input,58,FOLLOW_58_in_ruleOfficeCustomer5761);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getHasAccountKeyword_12_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3780:1: ( (lv_hasAccount_25_0= ruleAccount ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3781:1: (lv_hasAccount_25_0= ruleAccount )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3781:1: (lv_hasAccount_25_0= ruleAccount )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3782:3: lv_hasAccount_25_0= ruleAccount
{
currentNode=createCompositeNode(grammarAccess.getOfficeCustomerAccess().getHasAccountAccountParserRuleCall_12_1_0(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_ruleOfficeCustomer5782);
lv_hasAccount_25_0=ruleAccount();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficeCustomerRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"hasAccount",
lv_hasAccount_25_0,
"Account",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleOfficeCustomer5794);
createLeafNode(grammarAccess.getOfficeCustomerAccess().getRightCurlyBracketKeyword_13(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfficeCustomer
// $ANTLR start entryRuleOfficePersonel_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3816: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3817:2: (iv_ruleOfficePersonel_Impl= ruleOfficePersonel_Impl EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3818:2: iv_ruleOfficePersonel_Impl= ruleOfficePersonel_Impl EOF
{
currentNode = createCompositeNode(grammarAccess.getOfficePersonel_ImplRule(), currentNode);
pushFollow(FOLLOW_ruleOfficePersonel_Impl_in_entryRuleOfficePersonel_Impl5830);
iv_ruleOfficePersonel_Impl=ruleOfficePersonel_Impl();
_fsp--;
current =iv_ruleOfficePersonel_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfficePersonel_Impl5840);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOfficePersonel_Impl
// $ANTLR start ruleOfficePersonel_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3825:1: ruleOfficePersonel_Impl returns [EObject current=null] : ( () 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' ) ;
public final EObject ruleOfficePersonel_Impl() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_organization_11_0=null;
Token lv_address_13_0=null;
Token lv_telephone_15_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_hasAccount_17_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3830:6: ( ( () 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3831:1: ( () 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3831:1: ( () 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3831:2: () 'OfficePersonel' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'organization' ( (lv_organization_11_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_13_0= RULE_STRING ) ) )? ( 'telephone' ( (lv_telephone_15_0= RULE_STRING ) ) )? ( 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3831:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3832:5:
{
temp=factory.create(grammarAccess.getOfficePersonel_ImplAccess().getOfficePersonelAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfficePersonel_ImplAccess().getOfficePersonelAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,66,FOLLOW_66_in_ruleOfficePersonel_Impl5884);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getOfficePersonelKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3846:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3847:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3847:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3848:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl5901);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleOfficePersonel_Impl5916);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3874:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3874:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleOfficePersonel_Impl5927);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3878:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3879:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3879:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3880:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl5944);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3902:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3902:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleOfficePersonel_Impl5962);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3906:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3907:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3907:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3908:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfficePersonel_ImplAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOfficePersonel_Impl5983);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3930:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3930:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleOfficePersonel_Impl5996);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3934:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3935:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3935:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3936:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6013);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3958:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3958:6: 'organization' ( (lv_organization_11_0= RULE_STRING ) )
{
match(input,55,FOLLOW_55_in_ruleOfficePersonel_Impl6031);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getOrganizationKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3962:1: ( (lv_organization_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3963:1: (lv_organization_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3963:1: (lv_organization_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3964:3: lv_organization_11_0= RULE_STRING
{
lv_organization_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6048);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getOrganizationSTRINGTerminalRuleCall_7_1_0(), "organization");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"organization",
lv_organization_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3986:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3986:6: 'address' ( (lv_address_13_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleOfficePersonel_Impl6066);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getAddressKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3990:1: ( (lv_address_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3991:1: (lv_address_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3991:1: (lv_address_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:3992:3: lv_address_13_0= RULE_STRING
{
lv_address_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6083);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getAddressSTRINGTerminalRuleCall_8_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4014:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4014:6: 'telephone' ( (lv_telephone_15_0= RULE_STRING ) )
{
match(input,57,FOLLOW_57_in_ruleOfficePersonel_Impl6101);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getTelephoneKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4018:1: ( (lv_telephone_15_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4019:1: (lv_telephone_15_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4019:1: (lv_telephone_15_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4020:3: lv_telephone_15_0= RULE_STRING
{
lv_telephone_15_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6118);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getTelephoneSTRINGTerminalRuleCall_9_1_0(), "telephone");
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"telephone",
lv_telephone_15_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4042:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4042:6: 'hasAccount' ( (lv_hasAccount_17_0= ruleAccount ) )
{
match(input,58,FOLLOW_58_in_ruleOfficePersonel_Impl6136);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getHasAccountKeyword_10_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4046:1: ( (lv_hasAccount_17_0= ruleAccount ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4047:1: (lv_hasAccount_17_0= ruleAccount )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4047:1: (lv_hasAccount_17_0= ruleAccount )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4048:3: lv_hasAccount_17_0= ruleAccount
{
currentNode=createCompositeNode(grammarAccess.getOfficePersonel_ImplAccess().getHasAccountAccountParserRuleCall_10_1_0(), currentNode);
pushFollow(FOLLOW_ruleAccount_in_ruleOfficePersonel_Impl6157);
lv_hasAccount_17_0=ruleAccount();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfficePersonel_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"hasAccount",
lv_hasAccount_17_0,
"Account",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleOfficePersonel_Impl6169);
createLeafNode(grammarAccess.getOfficePersonel_ImplAccess().getRightCurlyBracketKeyword_11(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfficePersonel_Impl
// $ANTLR start entryRuleSite
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4082: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4083:2: (iv_ruleSite= ruleSite EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4084:2: iv_ruleSite= ruleSite EOF
{
currentNode = createCompositeNode(grammarAccess.getSiteRule(), currentNode);
pushFollow(FOLLOW_ruleSite_in_entryRuleSite6205);
iv_ruleSite=ruleSite();
_fsp--;
current =iv_ruleSite;
match(input,EOF,FOLLOW_EOF_in_entryRuleSite6215);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSite
// $ANTLR start ruleSite
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4091:1: ruleSite returns [EObject current=null] : ( 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'ptm' ( (lv_ptm_10_0= rulePTM ) ) 'igwlist' '{' ( (lv_igwlist_13_0= ruleIGW ) ) ( ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* '}' 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )? '}' ) ;
public final EObject ruleSite() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_1_0=null;
Token lv_name_4_0=null;
Token lv_description_8_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4096:6: ( ( 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'ptm' ( (lv_ptm_10_0= rulePTM ) ) 'igwlist' '{' ( (lv_igwlist_13_0= ruleIGW ) ) ( ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* '}' 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4097:1: ( 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'ptm' ( (lv_ptm_10_0= rulePTM ) ) 'igwlist' '{' ( (lv_igwlist_13_0= ruleIGW ) ) ( ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* '}' 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4097:1: ( 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'ptm' ( (lv_ptm_10_0= rulePTM ) ) 'igwlist' '{' ( (lv_igwlist_13_0= ruleIGW ) ) ( ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* '}' 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4097:3: 'Site' ( (lv_uniqueID_1_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_4_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_6_0= ruleEInt ) ) )? ( 'description' ( (lv_description_8_0= RULE_STRING ) ) )? 'ptm' ( (lv_ptm_10_0= rulePTM ) ) 'igwlist' '{' ( (lv_igwlist_13_0= ruleIGW ) ) ( ',' ( (lv_igwlist_15_0= ruleIGW ) ) )* '}' 'locatedAt' ( (lv_locatedAt_18_0= ruleSiteLocation ) ) ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )? '}'
{
match(input,67,FOLLOW_67_in_ruleSite6250);
createLeafNode(grammarAccess.getSiteAccess().getSiteKeyword_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4101:1: ( (lv_uniqueID_1_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4102:1: (lv_uniqueID_1_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4102:1: (lv_uniqueID_1_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4103:3: lv_uniqueID_1_0= RULE_STRING
{
lv_uniqueID_1_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6267);
createLeafNode(grammarAccess.getSiteAccess().getUniqueIDSTRINGTerminalRuleCall_1_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_1_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleSite6282);
createLeafNode(grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_2(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4129:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4129:3: 'name' ( (lv_name_4_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleSite6293);
createLeafNode(grammarAccess.getSiteAccess().getNameKeyword_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4133:1: ( (lv_name_4_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4134:1: (lv_name_4_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4134:1: (lv_name_4_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4135:3: lv_name_4_0= RULE_STRING
{
lv_name_4_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6310);
createLeafNode(grammarAccess.getSiteAccess().getNameSTRINGTerminalRuleCall_3_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_4_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4157:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4157:6: 'id' ( (lv_id_6_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleSite6328);
createLeafNode(grammarAccess.getSiteAccess().getIdKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4161:1: ( (lv_id_6_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4162:1: (lv_id_6_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4162:1: (lv_id_6_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4163:3: lv_id_6_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getIdEIntParserRuleCall_4_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleSite6349);
lv_id_6_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_6_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4185:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4185:6: 'description' ( (lv_description_8_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleSite6362);
createLeafNode(grammarAccess.getSiteAccess().getDescriptionKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4189:1: ( (lv_description_8_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4190:1: (lv_description_8_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4190:1: (lv_description_8_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4191:3: lv_description_8_0= RULE_STRING
{
lv_description_8_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSite6379);
createLeafNode(grammarAccess.getSiteAccess().getDescriptionSTRINGTerminalRuleCall_5_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_8_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,68,FOLLOW_68_in_ruleSite6396);
createLeafNode(grammarAccess.getSiteAccess().getPtmKeyword_6(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4217:1: ( (lv_ptm_10_0= rulePTM ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4218:1: (lv_ptm_10_0= rulePTM )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4218:1: (lv_ptm_10_0= rulePTM )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4219:3: lv_ptm_10_0= rulePTM
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getPtmPTMParserRuleCall_7_0(), currentNode);
pushFollow(FOLLOW_rulePTM_in_ruleSite6417);
lv_ptm_10_0=rulePTM();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ptm",
lv_ptm_10_0,
"PTM",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
match(input,69,FOLLOW_69_in_ruleSite6427);
createLeafNode(grammarAccess.getSiteAccess().getIgwlistKeyword_8(), null);
match(input,14,FOLLOW_14_in_ruleSite6437);
createLeafNode(grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_9(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4249:1: ( (lv_igwlist_13_0= ruleIGW ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4250:1: (lv_igwlist_13_0= ruleIGW )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4250:1: (lv_igwlist_13_0= ruleIGW )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4251:3: lv_igwlist_13_0= ruleIGW
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getIgwlistIGWParserRuleCall_10_0(), currentNode);
pushFollow(FOLLOW_ruleIGW_in_ruleSite6458);
lv_igwlist_13_0=ruleIGW();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"igwlist",
lv_igwlist_13_0,
"IGW",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4273:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4273:4: ',' ( (lv_igwlist_15_0= ruleIGW ) )
{
match(input,21,FOLLOW_21_in_ruleSite6469);
createLeafNode(grammarAccess.getSiteAccess().getCommaKeyword_11_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4277:1: ( (lv_igwlist_15_0= ruleIGW ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4278:1: (lv_igwlist_15_0= ruleIGW )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4278:1: (lv_igwlist_15_0= ruleIGW )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4279:3: lv_igwlist_15_0= ruleIGW
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getIgwlistIGWParserRuleCall_11_1_0(), currentNode);
pushFollow(FOLLOW_ruleIGW_in_ruleSite6490);
lv_igwlist_15_0=ruleIGW();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"igwlist",
lv_igwlist_15_0,
"IGW",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop107;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleSite6502);
createLeafNode(grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_12(), null);
match(input,70,FOLLOW_70_in_ruleSite6512);
createLeafNode(grammarAccess.getSiteAccess().getLocatedAtKeyword_13(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4309:1: ( (lv_locatedAt_18_0= ruleSiteLocation ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4310:1: (lv_locatedAt_18_0= ruleSiteLocation )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4310:1: (lv_locatedAt_18_0= ruleSiteLocation )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4311:3: lv_locatedAt_18_0= ruleSiteLocation
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getLocatedAtSiteLocationParserRuleCall_14_0(), currentNode);
pushFollow(FOLLOW_ruleSiteLocation_in_ruleSite6533);
lv_locatedAt_18_0=ruleSiteLocation();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"locatedAt",
lv_locatedAt_18_0,
"SiteLocation",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4333:2: ( 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}' )?
int alt109=2;
int LA109_0 = input.LA(1);
if ( (LA109_0==71) ) {
alt109=1;
}
switch (alt109) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4333:4: 'offeredResourcesList' '{' ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) ) ( ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) ) )* '}'
{
match(input,71,FOLLOW_71_in_ruleSite6544);
createLeafNode(grammarAccess.getSiteAccess().getOfferedResourcesListKeyword_15_0(), null);
match(input,14,FOLLOW_14_in_ruleSite6554);
createLeafNode(grammarAccess.getSiteAccess().getLeftCurlyBracketKeyword_15_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4341:1: ( (lv_offeredResourcesList_21_0= ruleOfferedResource ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4342:1: (lv_offeredResourcesList_21_0= ruleOfferedResource )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4342:1: (lv_offeredResourcesList_21_0= ruleOfferedResource )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4343:3: lv_offeredResourcesList_21_0= ruleOfferedResource
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getOfferedResourcesListOfferedResourceParserRuleCall_15_2_0(), currentNode);
pushFollow(FOLLOW_ruleOfferedResource_in_ruleSite6575);
lv_offeredResourcesList_21_0=ruleOfferedResource();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredResourcesList",
lv_offeredResourcesList_21_0,
"OfferedResource",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4365:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4365:4: ',' ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) )
{
match(input,21,FOLLOW_21_in_ruleSite6586);
createLeafNode(grammarAccess.getSiteAccess().getCommaKeyword_15_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4369:1: ( (lv_offeredResourcesList_23_0= ruleOfferedResource ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4370:1: (lv_offeredResourcesList_23_0= ruleOfferedResource )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4370:1: (lv_offeredResourcesList_23_0= ruleOfferedResource )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4371:3: lv_offeredResourcesList_23_0= ruleOfferedResource
{
currentNode=createCompositeNode(grammarAccess.getSiteAccess().getOfferedResourcesListOfferedResourceParserRuleCall_15_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleOfferedResource_in_ruleSite6607);
lv_offeredResourcesList_23_0=ruleOfferedResource();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"offeredResourcesList",
lv_offeredResourcesList_23_0,
"OfferedResource",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop108;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleSite6619);
createLeafNode(grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_15_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleSite6631);
createLeafNode(grammarAccess.getSiteAccess().getRightCurlyBracketKeyword_16(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleSite
// $ANTLR start entryRulePTM
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4409: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4410:2: (iv_rulePTM= rulePTM EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4411:2: iv_rulePTM= rulePTM EOF
{
currentNode = createCompositeNode(grammarAccess.getPTMRule(), currentNode);
pushFollow(FOLLOW_rulePTM_in_entryRulePTM6667);
iv_rulePTM=rulePTM();
_fsp--;
current =iv_rulePTM;
match(input,EOF,FOLLOW_EOF_in_entryRulePTM6677);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRulePTM
// $ANTLR start rulePTM
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4418:1: rulePTM returns [EObject current=null] : ( () 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' ) ;
public final EObject rulePTM() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_IP_11_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4423:6: ( ( () 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4424:1: ( () 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4424:1: ( () 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4424:2: () 'PTM' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4424:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4425:5:
{
temp=factory.create(grammarAccess.getPTMAccess().getPTMAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getPTMAccess().getPTMAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,72,FOLLOW_72_in_rulePTM6721);
createLeafNode(grammarAccess.getPTMAccess().getPTMKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4439:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4440:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4440:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4441:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM6738);
createLeafNode(grammarAccess.getPTMAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getPTMRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_rulePTM6753);
createLeafNode(grammarAccess.getPTMAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4467:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4467:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_rulePTM6764);
createLeafNode(grammarAccess.getPTMAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4471:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4472:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4472:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4473:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM6781);
createLeafNode(grammarAccess.getPTMAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getPTMRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4495:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4495:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_rulePTM6799);
createLeafNode(grammarAccess.getPTMAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4499:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4500:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4500:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4501:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getPTMAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_rulePTM6820);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getPTMRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4523:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4523:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_rulePTM6833);
createLeafNode(grammarAccess.getPTMAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4527:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4528:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4528:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4529:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM6850);
createLeafNode(grammarAccess.getPTMAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getPTMRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4551:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4551:6: 'IP' ( (lv_IP_11_0= RULE_STRING ) )
{
match(input,73,FOLLOW_73_in_rulePTM6868);
createLeafNode(grammarAccess.getPTMAccess().getIPKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4555:1: ( (lv_IP_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4556:1: (lv_IP_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4556:1: (lv_IP_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4557:3: lv_IP_11_0= RULE_STRING
{
lv_IP_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePTM6885);
createLeafNode(grammarAccess.getPTMAccess().getIPSTRINGTerminalRuleCall_7_1_0(), "IP");
if (current==null) {
current = factory.create(grammarAccess.getPTMRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"IP",
lv_IP_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_rulePTM6902);
createLeafNode(grammarAccess.getPTMAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end rulePTM
// $ANTLR start entryRuleIGW
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4591: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4592:2: (iv_ruleIGW= ruleIGW EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4593:2: iv_ruleIGW= ruleIGW EOF
{
currentNode = createCompositeNode(grammarAccess.getIGWRule(), currentNode);
pushFollow(FOLLOW_ruleIGW_in_entryRuleIGW6938);
iv_ruleIGW=ruleIGW();
_fsp--;
current =iv_ruleIGW;
match(input,EOF,FOLLOW_EOF_in_entryRuleIGW6948);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleIGW
// $ANTLR start ruleIGW
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4600:1: ruleIGW returns [EObject current=null] : ( () 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' ) ;
public final EObject ruleIGW() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_IP_11_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4605:6: ( ( () 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4606:1: ( () 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4606:1: ( () 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4606:2: () 'IGW' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'IP' ( (lv_IP_11_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4606:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4607:5:
{
temp=factory.create(grammarAccess.getIGWAccess().getIGWAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getIGWAccess().getIGWAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,74,FOLLOW_74_in_ruleIGW6992);
createLeafNode(grammarAccess.getIGWAccess().getIGWKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4621:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4622:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4622:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4623:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7009);
createLeafNode(grammarAccess.getIGWAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getIGWRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleIGW7024);
createLeafNode(grammarAccess.getIGWAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4649:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4649:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleIGW7035);
createLeafNode(grammarAccess.getIGWAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4653:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4654:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4654:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4655:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7052);
createLeafNode(grammarAccess.getIGWAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getIGWRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4677:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4677:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleIGW7070);
createLeafNode(grammarAccess.getIGWAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4681:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4682:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4682:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4683:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getIGWAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleIGW7091);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getIGWRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4705:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4705:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleIGW7104);
createLeafNode(grammarAccess.getIGWAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4709:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4710:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4710:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4711:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7121);
createLeafNode(grammarAccess.getIGWAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getIGWRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4733:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4733:6: 'IP' ( (lv_IP_11_0= RULE_STRING ) )
{
match(input,73,FOLLOW_73_in_ruleIGW7139);
createLeafNode(grammarAccess.getIGWAccess().getIPKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4737:1: ( (lv_IP_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4738:1: (lv_IP_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4738:1: (lv_IP_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4739:3: lv_IP_11_0= RULE_STRING
{
lv_IP_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleIGW7156);
createLeafNode(grammarAccess.getIGWAccess().getIPSTRINGTerminalRuleCall_7_1_0(), "IP");
if (current==null) {
current = factory.create(grammarAccess.getIGWRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"IP",
lv_IP_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleIGW7173);
createLeafNode(grammarAccess.getIGWAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleIGW
// $ANTLR start entryRuleSiteLocation
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4773: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4774:2: (iv_ruleSiteLocation= ruleSiteLocation EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4775:2: iv_ruleSiteLocation= ruleSiteLocation EOF
{
currentNode = createCompositeNode(grammarAccess.getSiteLocationRule(), currentNode);
pushFollow(FOLLOW_ruleSiteLocation_in_entryRuleSiteLocation7209);
iv_ruleSiteLocation=ruleSiteLocation();
_fsp--;
current =iv_ruleSiteLocation;
match(input,EOF,FOLLOW_EOF_in_entryRuleSiteLocation7219);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSiteLocation
// $ANTLR start ruleSiteLocation
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4782:1: ruleSiteLocation returns [EObject current=null] : ( () 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_11_0= RULE_STRING ) ) )? ( 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? '}' ) ;
public final EObject ruleSiteLocation() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_address_11_0=null;
Token lv_geocoords_13_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4787:6: ( ( () 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_11_0= RULE_STRING ) ) )? ( 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4788:1: ( () 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_11_0= RULE_STRING ) ) )? ( 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4788:1: ( () 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_11_0= RULE_STRING ) ) )? ( 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4788:2: () 'SiteLocation' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'address' ( (lv_address_11_0= RULE_STRING ) ) )? ( 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4788:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4789:5:
{
temp=factory.create(grammarAccess.getSiteLocationAccess().getSiteLocationAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getSiteLocationAccess().getSiteLocationAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,75,FOLLOW_75_in_ruleSiteLocation7263);
createLeafNode(grammarAccess.getSiteLocationAccess().getSiteLocationKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4803:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4804:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4804:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4805:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7280);
createLeafNode(grammarAccess.getSiteLocationAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleSiteLocation7295);
createLeafNode(grammarAccess.getSiteLocationAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4831:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4831:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleSiteLocation7306);
createLeafNode(grammarAccess.getSiteLocationAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4835:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4836:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4836:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4837:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7323);
createLeafNode(grammarAccess.getSiteLocationAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4859:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4859:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleSiteLocation7341);
createLeafNode(grammarAccess.getSiteLocationAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4863:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4864:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4864:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4865:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getSiteLocationAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleSiteLocation7362);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4887:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4887:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleSiteLocation7375);
createLeafNode(grammarAccess.getSiteLocationAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4891:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4892:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4892:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4893:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7392);
createLeafNode(grammarAccess.getSiteLocationAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4915:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4915:6: 'address' ( (lv_address_11_0= RULE_STRING ) )
{
match(input,56,FOLLOW_56_in_ruleSiteLocation7410);
createLeafNode(grammarAccess.getSiteLocationAccess().getAddressKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4919:1: ( (lv_address_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4920:1: (lv_address_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4920:1: (lv_address_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4921:3: lv_address_11_0= RULE_STRING
{
lv_address_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7427);
createLeafNode(grammarAccess.getSiteLocationAccess().getAddressSTRINGTerminalRuleCall_7_1_0(), "address");
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"address",
lv_address_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4943:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4943:6: 'geocoords' ( (lv_geocoords_13_0= RULE_STRING ) )
{
match(input,76,FOLLOW_76_in_ruleSiteLocation7445);
createLeafNode(grammarAccess.getSiteLocationAccess().getGeocoordsKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4947:1: ( (lv_geocoords_13_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4948:1: (lv_geocoords_13_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4948:1: (lv_geocoords_13_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4949:3: lv_geocoords_13_0= RULE_STRING
{
lv_geocoords_13_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSiteLocation7462);
createLeafNode(grammarAccess.getSiteLocationAccess().getGeocoordsSTRINGTerminalRuleCall_8_1_0(), "geocoords");
if (current==null) {
current = factory.create(grammarAccess.getSiteLocationRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"geocoords",
lv_geocoords_13_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleSiteLocation7479);
createLeafNode(grammarAccess.getSiteLocationAccess().getRightCurlyBracketKeyword_9(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleSiteLocation
// $ANTLR start entryRuleOfferedResource
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4983: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4984:2: (iv_ruleOfferedResource= ruleOfferedResource EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4985:2: iv_ruleOfferedResource= ruleOfferedResource EOF
{
currentNode = createCompositeNode(grammarAccess.getOfferedResourceRule(), currentNode);
pushFollow(FOLLOW_ruleOfferedResource_in_entryRuleOfferedResource7515);
iv_ruleOfferedResource=ruleOfferedResource();
_fsp--;
current =iv_ruleOfferedResource;
match(input,EOF,FOLLOW_EOF_in_entryRuleOfferedResource7525);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOfferedResource
// $ANTLR start ruleOfferedResource
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4992:1: ruleOfferedResource returns [EObject current=null] : ( () 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? ( 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implOfferedService' ( ( RULE_STRING ) ) )? ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )? '}' ) ;
public final EObject ruleOfferedResource() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4997:6: ( ( () 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? ( 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implOfferedService' ( ( RULE_STRING ) ) )? ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4998:1: ( () 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? ( 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implOfferedService' ( ( RULE_STRING ) ) )? ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4998:1: ( () 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? ( 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implOfferedService' ( ( RULE_STRING ) ) )? ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4998:2: () 'OfferedResource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) ) )? ( 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implOfferedService' ( ( RULE_STRING ) ) )? ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4998:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:4999:5:
{
temp=factory.create(grammarAccess.getOfferedResourceAccess().getOfferedResourceAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getOfferedResourceAccess().getOfferedResourceAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,77,FOLLOW_77_in_ruleOfferedResource7569);
createLeafNode(grammarAccess.getOfferedResourceAccess().getOfferedResourceKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5013:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5014:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5014:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5015:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7586);
createLeafNode(grammarAccess.getOfferedResourceAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleOfferedResource7601);
createLeafNode(grammarAccess.getOfferedResourceAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5041:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5041:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleOfferedResource7612);
createLeafNode(grammarAccess.getOfferedResourceAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5045:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5046:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5046:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5047:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7629);
createLeafNode(grammarAccess.getOfferedResourceAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5069:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5069:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleOfferedResource7647);
createLeafNode(grammarAccess.getOfferedResourceAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5073:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5074:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5074:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5075:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfferedResourceAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedResource7668);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5097:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5097:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleOfferedResource7681);
createLeafNode(grammarAccess.getOfferedResourceAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5101:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5102:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5102:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5103:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7698);
createLeafNode(grammarAccess.getOfferedResourceAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5125:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5125:6: 'resourceType' ( (lv_resourceType_11_0= ruleResourceType ) )
{
match(input,78,FOLLOW_78_in_ruleOfferedResource7716);
createLeafNode(grammarAccess.getOfferedResourceAccess().getResourceTypeKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5129:1: ( (lv_resourceType_11_0= ruleResourceType ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5130:1: (lv_resourceType_11_0= ruleResourceType )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5130:1: (lv_resourceType_11_0= ruleResourceType )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5131:3: lv_resourceType_11_0= ruleResourceType
{
currentNode=createCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceTypeResourceTypeEnumRuleCall_7_1_0(), currentNode);
pushFollow(FOLLOW_ruleResourceType_in_ruleOfferedResource7737);
lv_resourceType_11_0=ruleResourceType();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"resourceType",
lv_resourceType_11_0,
"ResourceType",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5153:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5153:6: 'multitonMaxOccur' ( (lv_multitonMaxOccur_13_0= ruleEInt ) )
{
match(input,79,FOLLOW_79_in_ruleOfferedResource7750);
createLeafNode(grammarAccess.getOfferedResourceAccess().getMultitonMaxOccurKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5157:1: ( (lv_multitonMaxOccur_13_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5158:1: (lv_multitonMaxOccur_13_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5158:1: (lv_multitonMaxOccur_13_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5159:3: lv_multitonMaxOccur_13_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getOfferedResourceAccess().getMultitonMaxOccurEIntParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleOfferedResource7771);
lv_multitonMaxOccur_13_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"multitonMaxOccur",
lv_multitonMaxOccur_13_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5181:4: ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt129=2;
int LA129_0 = input.LA(1);
if ( (LA129_0==80) ) {
alt129=1;
}
switch (alt129) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5181:6: 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,80,FOLLOW_80_in_ruleOfferedResource7784);
createLeafNode(grammarAccess.getOfferedResourceAccess().getContributesToCategoriesKeyword_9_0(), null);
match(input,31,FOLLOW_31_in_ruleOfferedResource7794);
createLeafNode(grammarAccess.getOfferedResourceAccess().getLeftParenthesisKeyword_9_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5189:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5190:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5190:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5191:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7812);
createLeafNode(grammarAccess.getOfferedResourceAccess().getContributesToCategoriesResourceCategoryCrossReference_9_2_0(), "contributesToCategories");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5203:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5203:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleOfferedResource7823);
createLeafNode(grammarAccess.getOfferedResourceAccess().getCommaKeyword_9_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5207:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5208:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5208:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5209:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7841);
createLeafNode(grammarAccess.getOfferedResourceAccess().getContributesToCategoriesResourceCategoryCrossReference_9_3_1_0(), "contributesToCategories");
}
}
}
break;
default :
break loop128;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleOfferedResource7853);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRightParenthesisKeyword_9_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5225:3: ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt131=2;
int LA131_0 = input.LA(1);
if ( (LA131_0==81) ) {
alt131=1;
}
switch (alt131) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5225:5: 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,81,FOLLOW_81_in_ruleOfferedResource7866);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRequiresResourcesKeyword_10_0(), null);
match(input,31,FOLLOW_31_in_ruleOfferedResource7876);
createLeafNode(grammarAccess.getOfferedResourceAccess().getLeftParenthesisKeyword_10_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5233:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5234:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5234:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5235:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7894);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRequiresResourcesResourceCrossReference_10_2_0(), "requiresResources");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5247:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5247:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleOfferedResource7905);
createLeafNode(grammarAccess.getOfferedResourceAccess().getCommaKeyword_10_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5251:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5252:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5252:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5253:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7923);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRequiresResourcesResourceCrossReference_10_3_1_0(), "requiresResources");
}
}
}
break;
default :
break loop130;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleOfferedResource7935);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRightParenthesisKeyword_10_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5269:3: ( 'implOfferedService' ( ( RULE_STRING ) ) )?
int alt132=2;
int LA132_0 = input.LA(1);
if ( (LA132_0==82) ) {
alt132=1;
}
switch (alt132) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5269:5: 'implOfferedService' ( ( RULE_STRING ) )
{
match(input,82,FOLLOW_82_in_ruleOfferedResource7948);
createLeafNode(grammarAccess.getOfferedResourceAccess().getImplOfferedServiceKeyword_11_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5273:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5274:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5274:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5275:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleOfferedResource7966);
createLeafNode(grammarAccess.getOfferedResourceAccess().getImplOfferedServiceServiceCrossReference_11_1_0(), "implOfferedService");
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5287:4: ( 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}' )?
int alt134=2;
int LA134_0 = input.LA(1);
if ( (LA134_0==83) ) {
alt134=1;
}
switch (alt134) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5287:6: 'resourceSettings' '{' ( (lv_resourceSettings_30_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) ) )* '}'
{
match(input,83,FOLLOW_83_in_ruleOfferedResource7979);
createLeafNode(grammarAccess.getOfferedResourceAccess().getResourceSettingsKeyword_12_0(), null);
match(input,14,FOLLOW_14_in_ruleOfferedResource7989);
createLeafNode(grammarAccess.getOfferedResourceAccess().getLeftCurlyBracketKeyword_12_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5295:1: ( (lv_resourceSettings_30_0= ruleResourceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5296:1: (lv_resourceSettings_30_0= ruleResourceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5296:1: (lv_resourceSettings_30_0= ruleResourceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5297:3: lv_resourceSettings_30_0= ruleResourceSetting
{
currentNode=createCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceSettingsResourceSettingParserRuleCall_12_2_0(), currentNode);
pushFollow(FOLLOW_ruleResourceSetting_in_ruleOfferedResource8010);
lv_resourceSettings_30_0=ruleResourceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"resourceSettings",
lv_resourceSettings_30_0,
"ResourceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5319:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5319:4: ',' ( (lv_resourceSettings_32_0= ruleResourceSetting ) )
{
match(input,21,FOLLOW_21_in_ruleOfferedResource8021);
createLeafNode(grammarAccess.getOfferedResourceAccess().getCommaKeyword_12_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5323:1: ( (lv_resourceSettings_32_0= ruleResourceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5324:1: (lv_resourceSettings_32_0= ruleResourceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5324:1: (lv_resourceSettings_32_0= ruleResourceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5325:3: lv_resourceSettings_32_0= ruleResourceSetting
{
currentNode=createCompositeNode(grammarAccess.getOfferedResourceAccess().getResourceSettingsResourceSettingParserRuleCall_12_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleResourceSetting_in_ruleOfferedResource8042);
lv_resourceSettings_32_0=ruleResourceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getOfferedResourceRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"resourceSettings",
lv_resourceSettings_32_0,
"ResourceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop133;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleOfferedResource8054);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRightCurlyBracketKeyword_12_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleOfferedResource8066);
createLeafNode(grammarAccess.getOfferedResourceAccess().getRightCurlyBracketKeyword_13(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleOfferedResource
// $ANTLR start entryRuleResourceSetting
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5363: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5364:2: (iv_ruleResourceSetting= ruleResourceSetting EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5365:2: iv_ruleResourceSetting= ruleResourceSetting EOF
{
currentNode = createCompositeNode(grammarAccess.getResourceSettingRule(), currentNode);
pushFollow(FOLLOW_ruleResourceSetting_in_entryRuleResourceSetting8102);
iv_ruleResourceSetting=ruleResourceSetting();
_fsp--;
current =iv_ruleResourceSetting;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceSetting8112);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleResourceSetting
// $ANTLR start ruleResourceSetting
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5372:1: ruleResourceSetting returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implServiceSetting' ( ( RULE_STRING ) ) )? ( 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )? '}' ) ;
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 lv_uniqueID_5_0=null;
Token lv_name_8_0=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5377:6: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implServiceSetting' ( ( RULE_STRING ) ) )? ( 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5378:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implServiceSetting' ( ( RULE_STRING ) ) )? ( 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5378:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implServiceSetting' ( ( RULE_STRING ) ) )? ( 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5378:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ResourceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'implServiceSetting' ( ( RULE_STRING ) ) )? ( 'settingType' ( (lv_settingType_30_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5378:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5379:5:
{
temp=factory.create(grammarAccess.getResourceSettingAccess().getResourceSettingAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getResourceSettingAccess().getResourceSettingAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5389: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5390:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5390:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5391:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)input.LT(1);
match(input,84,FOLLOW_84_in_ruleResourceSetting8164);
createLeafNode(grammarAccess.getResourceSettingAccess().getUserExposedUserExposedKeyword_1_0(), "userExposed");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userExposed", true, "userExposed", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5410: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5411:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5411:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5412:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)input.LT(1);
match(input,85,FOLLOW_85_in_ruleResourceSetting8196);
createLeafNode(grammarAccess.getResourceSettingAccess().getUserEditableUserEditableKeyword_2_0(), "userEditable");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userEditable", true, "userEditable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5431: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5432:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5432:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5433:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)input.LT(1);
match(input,86,FOLLOW_86_in_ruleResourceSetting8228);
createLeafNode(grammarAccess.getResourceSettingAccess().getCanBePublishedCanBePublishedKeyword_3_0(), "canBePublished");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "canBePublished", true, "canBePublished", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
match(input,87,FOLLOW_87_in_ruleResourceSetting8252);
createLeafNode(grammarAccess.getResourceSettingAccess().getResourceSettingKeyword_4(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5456:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5457:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5457:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5458:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8269);
createLeafNode(grammarAccess.getResourceSettingAccess().getUniqueIDSTRINGTerminalRuleCall_5_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleResourceSetting8284);
createLeafNode(grammarAccess.getResourceSettingAccess().getLeftCurlyBracketKeyword_6(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5484:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5484:3: 'name' ( (lv_name_8_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleResourceSetting8295);
createLeafNode(grammarAccess.getResourceSettingAccess().getNameKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5488:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5489:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5489:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5490:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8312);
createLeafNode(grammarAccess.getResourceSettingAccess().getNameSTRINGTerminalRuleCall_7_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_8_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5512:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5512:6: 'id' ( (lv_id_10_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleResourceSetting8330);
createLeafNode(grammarAccess.getResourceSettingAccess().getIdKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5516:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5517:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5517:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5518:3: lv_id_10_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getResourceSettingAccess().getIdEIntParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleResourceSetting8351);
lv_id_10_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_10_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5540:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5540:6: 'description' ( (lv_description_12_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleResourceSetting8364);
createLeafNode(grammarAccess.getResourceSettingAccess().getDescriptionKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5544:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5545:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5545:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5546:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8381);
createLeafNode(grammarAccess.getResourceSettingAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_12_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5568: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5569:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5569:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5570:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)input.LT(1);
match(input,88,FOLLOW_88_in_ruleResourceSetting8406);
createLeafNode(grammarAccess.getResourceSettingAccess().getReadableReadableKeyword_10_0(), "Readable");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Readable", true, "Readable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5589: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5590:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5590:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5591:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)input.LT(1);
match(input,89,FOLLOW_89_in_ruleResourceSetting8438);
createLeafNode(grammarAccess.getResourceSettingAccess().getWritableWritableKeyword_11_0(), "Writable");
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Writable", true, "Writable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5610:3: ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt144=2;
int LA144_0 = input.LA(1);
if ( (LA144_0==90) ) {
alt144=1;
}
switch (alt144) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5610:5: 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,90,FOLLOW_90_in_ruleResourceSetting8463);
createLeafNode(grammarAccess.getResourceSettingAccess().getRequiresParamsKeyword_12_0(), null);
match(input,31,FOLLOW_31_in_ruleResourceSetting8473);
createLeafNode(grammarAccess.getResourceSettingAccess().getLeftParenthesisKeyword_12_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5618:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5619:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5619:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5620:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8491);
createLeafNode(grammarAccess.getResourceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0(), "requiresParams");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5632:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5632:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleResourceSetting8502);
createLeafNode(grammarAccess.getResourceSettingAccess().getCommaKeyword_12_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5636:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5637:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5637:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5638:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8520);
createLeafNode(grammarAccess.getResourceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0(), "requiresParams");
}
}
}
break;
default :
break loop143;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleResourceSetting8532);
createLeafNode(grammarAccess.getResourceSettingAccess().getRightParenthesisKeyword_12_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5654:3: ( 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt146=2;
int LA146_0 = input.LA(1);
if ( (LA146_0==91) ) {
alt146=1;
}
switch (alt146) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5654:5: 'OnlyConfiguredByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,91,FOLLOW_91_in_ruleResourceSetting8545);
createLeafNode(grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesKeyword_13_0(), null);
match(input,31,FOLLOW_31_in_ruleResourceSetting8555);
createLeafNode(grammarAccess.getResourceSettingAccess().getLeftParenthesisKeyword_13_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5662:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5663:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5663:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5664:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8573);
createLeafNode(grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesResourceCrossReference_13_2_0(), "OnlyConfiguredByResources");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5676:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5676:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleResourceSetting8584);
createLeafNode(grammarAccess.getResourceSettingAccess().getCommaKeyword_13_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5680:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5681:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5681:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5682:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8602);
createLeafNode(grammarAccess.getResourceSettingAccess().getOnlyConfiguredByResourcesResourceCrossReference_13_3_1_0(), "OnlyConfiguredByResources");
}
}
}
break;
default :
break loop145;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleResourceSetting8614);
createLeafNode(grammarAccess.getResourceSettingAccess().getRightParenthesisKeyword_13_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5698:3: ( 'implServiceSetting' ( ( RULE_STRING ) ) )?
int alt147=2;
int LA147_0 = input.LA(1);
if ( (LA147_0==92) ) {
alt147=1;
}
switch (alt147) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5698:5: 'implServiceSetting' ( ( RULE_STRING ) )
{
match(input,92,FOLLOW_92_in_ruleResourceSetting8627);
createLeafNode(grammarAccess.getResourceSettingAccess().getImplServiceSettingKeyword_14_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5702:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5703:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5703:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5704:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceSetting8645);
createLeafNode(grammarAccess.getResourceSettingAccess().getImplServiceSettingServiceSettingCrossReference_14_1_0(), "implServiceSetting");
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5716:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5716:6: 'settingType' ( (lv_settingType_30_0= ruleSettingType ) )
{
match(input,93,FOLLOW_93_in_ruleResourceSetting8658);
createLeafNode(grammarAccess.getResourceSettingAccess().getSettingTypeKeyword_15_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5720:1: ( (lv_settingType_30_0= ruleSettingType ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5721:1: (lv_settingType_30_0= ruleSettingType )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5721:1: (lv_settingType_30_0= ruleSettingType )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5722:3: lv_settingType_30_0= ruleSettingType
{
currentNode=createCompositeNode(grammarAccess.getResourceSettingAccess().getSettingTypeSettingTypeParserRuleCall_15_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingType_in_ruleResourceSetting8679);
lv_settingType_30_0=ruleSettingType();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"settingType",
lv_settingType_30_0,
"SettingType",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5744:4: ( 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}' )?
int alt150=2;
int LA150_0 = input.LA(1);
if ( (LA150_0==94) ) {
alt150=1;
}
switch (alt150) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5744:6: 'settingConstraints' '{' ( (lv_settingConstraints_33_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) ) )* '}'
{
match(input,94,FOLLOW_94_in_ruleResourceSetting8692);
createLeafNode(grammarAccess.getResourceSettingAccess().getSettingConstraintsKeyword_16_0(), null);
match(input,14,FOLLOW_14_in_ruleResourceSetting8702);
createLeafNode(grammarAccess.getResourceSettingAccess().getLeftCurlyBracketKeyword_16_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5752:1: ( (lv_settingConstraints_33_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5753:1: (lv_settingConstraints_33_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5753:1: (lv_settingConstraints_33_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5754:3: lv_settingConstraints_33_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getResourceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_2_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleResourceSetting8723);
lv_settingConstraints_33_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_33_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5776:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5776:4: ',' ( (lv_settingConstraints_35_0= ruleSettingConstraint ) )
{
match(input,21,FOLLOW_21_in_ruleResourceSetting8734);
createLeafNode(grammarAccess.getResourceSettingAccess().getCommaKeyword_16_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5780:1: ( (lv_settingConstraints_35_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5781:1: (lv_settingConstraints_35_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5781:1: (lv_settingConstraints_35_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5782:3: lv_settingConstraints_35_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getResourceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleResourceSetting8755);
lv_settingConstraints_35_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_35_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop149;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleResourceSetting8767);
createLeafNode(grammarAccess.getResourceSettingAccess().getRightCurlyBracketKeyword_16_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleResourceSetting8779);
createLeafNode(grammarAccess.getResourceSettingAccess().getRightCurlyBracketKeyword_17(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResourceSetting
// $ANTLR start entryRuleResourceCategory
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5820: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5821:2: (iv_ruleResourceCategory= ruleResourceCategory EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5822:2: iv_ruleResourceCategory= ruleResourceCategory EOF
{
currentNode = createCompositeNode(grammarAccess.getResourceCategoryRule(), currentNode);
pushFollow(FOLLOW_ruleResourceCategory_in_entryRuleResourceCategory8815);
iv_ruleResourceCategory=ruleResourceCategory();
_fsp--;
current =iv_ruleResourceCategory;
match(input,EOF,FOLLOW_EOF_in_entryRuleResourceCategory8825);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleResourceCategory
// $ANTLR start ruleResourceCategory
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5829:1: ruleResourceCategory returns [EObject current=null] : ( () 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' ) ;
public final EObject ruleResourceCategory() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5834:6: ( ( () 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5835:1: ( () 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5835:1: ( () 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5835:2: () 'ResourceCategory' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5835:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5836:5:
{
temp=factory.create(grammarAccess.getResourceCategoryAccess().getResourceCategoryAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getResourceCategoryAccess().getResourceCategoryAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,95,FOLLOW_95_in_ruleResourceCategory8869);
createLeafNode(grammarAccess.getResourceCategoryAccess().getResourceCategoryKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5850:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5851:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5851:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5852:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory8886);
createLeafNode(grammarAccess.getResourceCategoryAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleResourceCategory8901);
createLeafNode(grammarAccess.getResourceCategoryAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5878:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5878:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleResourceCategory8912);
createLeafNode(grammarAccess.getResourceCategoryAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5882:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5883:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5883:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5884:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory8929);
createLeafNode(grammarAccess.getResourceCategoryAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5906:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5906:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleResourceCategory8947);
createLeafNode(grammarAccess.getResourceCategoryAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5910:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5911:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5911:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5912:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getResourceCategoryAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleResourceCategory8968);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5934:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5934:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleResourceCategory8981);
createLeafNode(grammarAccess.getResourceCategoryAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5938:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5939:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5939:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5940:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory8998);
createLeafNode(grammarAccess.getResourceCategoryAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5962:4: ( 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt155=2;
int LA155_0 = input.LA(1);
if ( (LA155_0==96) ) {
alt155=1;
}
switch (alt155) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5962:6: 'resourcelist' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,96,FOLLOW_96_in_ruleResourceCategory9016);
createLeafNode(grammarAccess.getResourceCategoryAccess().getResourcelistKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleResourceCategory9026);
createLeafNode(grammarAccess.getResourceCategoryAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5970:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5971:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5971:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5972:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9044);
createLeafNode(grammarAccess.getResourceCategoryAccess().getResourcelistResourceCrossReference_7_2_0(), "resourcelist");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5984:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5984:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleResourceCategory9055);
createLeafNode(grammarAccess.getResourceCategoryAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5988:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5989:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5989:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:5990:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResourceCategoryRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResourceCategory9073);
createLeafNode(grammarAccess.getResourceCategoryAccess().getResourcelistResourceCrossReference_7_3_1_0(), "resourcelist");
}
}
}
break;
default :
break loop154;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleResourceCategory9085);
createLeafNode(grammarAccess.getResourceCategoryAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleResourceCategory9097);
createLeafNode(grammarAccess.getResourceCategoryAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResourceCategory
// $ANTLR start entryRuleResource_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6018: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6019:2: (iv_ruleResource_Impl= ruleResource_Impl EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6020:2: iv_ruleResource_Impl= ruleResource_Impl EOF
{
currentNode = createCompositeNode(grammarAccess.getResource_ImplRule(), currentNode);
pushFollow(FOLLOW_ruleResource_Impl_in_entryRuleResource_Impl9133);
iv_ruleResource_Impl=ruleResource_Impl();
_fsp--;
current =iv_ruleResource_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleResource_Impl9143);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleResource_Impl
// $ANTLR start ruleResource_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6027:1: ruleResource_Impl returns [EObject current=null] : ( () 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )? '}' ) ;
public final EObject ruleResource_Impl() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_resourceSettings_24_0 = null;
EObject lv_resourceSettings_26_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6032:6: ( ( () 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6033:1: ( () 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6033:1: ( () 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6033:2: () 'Resource' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6033:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6034:5:
{
temp=factory.create(grammarAccess.getResource_ImplAccess().getResourceAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getResource_ImplAccess().getResourceAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,97,FOLLOW_97_in_ruleResource_Impl9187);
createLeafNode(grammarAccess.getResource_ImplAccess().getResourceKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6048:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6049:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6049:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6050:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9204);
createLeafNode(grammarAccess.getResource_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleResource_Impl9219);
createLeafNode(grammarAccess.getResource_ImplAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6076:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6076:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleResource_Impl9230);
createLeafNode(grammarAccess.getResource_ImplAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6080:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6081:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6081:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6082:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9247);
createLeafNode(grammarAccess.getResource_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6104:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6104:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleResource_Impl9265);
createLeafNode(grammarAccess.getResource_ImplAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6108:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6109:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6109:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6110:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getResource_ImplAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleResource_Impl9286);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6132:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6132:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleResource_Impl9299);
createLeafNode(grammarAccess.getResource_ImplAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6136:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6137:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6137:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6138:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9316);
createLeafNode(grammarAccess.getResource_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6160:4: ( 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt160=2;
int LA160_0 = input.LA(1);
if ( (LA160_0==80) ) {
alt160=1;
}
switch (alt160) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6160:6: 'contributesToCategories' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,80,FOLLOW_80_in_ruleResource_Impl9334);
createLeafNode(grammarAccess.getResource_ImplAccess().getContributesToCategoriesKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleResource_Impl9344);
createLeafNode(grammarAccess.getResource_ImplAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6168:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6169:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6169:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6170:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9362);
createLeafNode(grammarAccess.getResource_ImplAccess().getContributesToCategoriesResourceCategoryCrossReference_7_2_0(), "contributesToCategories");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6182:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6182:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleResource_Impl9373);
createLeafNode(grammarAccess.getResource_ImplAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6186:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6187:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6187:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6188:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9391);
createLeafNode(grammarAccess.getResource_ImplAccess().getContributesToCategoriesResourceCategoryCrossReference_7_3_1_0(), "contributesToCategories");
}
}
}
break;
default :
break loop159;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleResource_Impl9403);
createLeafNode(grammarAccess.getResource_ImplAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6204:3: ( 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt162=2;
int LA162_0 = input.LA(1);
if ( (LA162_0==81) ) {
alt162=1;
}
switch (alt162) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6204:5: 'requiresResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,81,FOLLOW_81_in_ruleResource_Impl9416);
createLeafNode(grammarAccess.getResource_ImplAccess().getRequiresResourcesKeyword_8_0(), null);
match(input,31,FOLLOW_31_in_ruleResource_Impl9426);
createLeafNode(grammarAccess.getResource_ImplAccess().getLeftParenthesisKeyword_8_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6212:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6213:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6213:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6214:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9444);
createLeafNode(grammarAccess.getResource_ImplAccess().getRequiresResourcesResourceCrossReference_8_2_0(), "requiresResources");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6226:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6226:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleResource_Impl9455);
createLeafNode(grammarAccess.getResource_ImplAccess().getCommaKeyword_8_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6230:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6231:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6231:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6232:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleResource_Impl9473);
createLeafNode(grammarAccess.getResource_ImplAccess().getRequiresResourcesResourceCrossReference_8_3_1_0(), "requiresResources");
}
}
}
break;
default :
break loop161;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleResource_Impl9485);
createLeafNode(grammarAccess.getResource_ImplAccess().getRightParenthesisKeyword_8_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6248:3: ( 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}' )?
int alt164=2;
int LA164_0 = input.LA(1);
if ( (LA164_0==83) ) {
alt164=1;
}
switch (alt164) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6248:5: 'resourceSettings' '{' ( (lv_resourceSettings_24_0= ruleResourceSetting ) ) ( ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) ) )* '}'
{
match(input,83,FOLLOW_83_in_ruleResource_Impl9498);
createLeafNode(grammarAccess.getResource_ImplAccess().getResourceSettingsKeyword_9_0(), null);
match(input,14,FOLLOW_14_in_ruleResource_Impl9508);
createLeafNode(grammarAccess.getResource_ImplAccess().getLeftCurlyBracketKeyword_9_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6256:1: ( (lv_resourceSettings_24_0= ruleResourceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6257:1: (lv_resourceSettings_24_0= ruleResourceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6257:1: (lv_resourceSettings_24_0= ruleResourceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6258:3: lv_resourceSettings_24_0= ruleResourceSetting
{
currentNode=createCompositeNode(grammarAccess.getResource_ImplAccess().getResourceSettingsResourceSettingParserRuleCall_9_2_0(), currentNode);
pushFollow(FOLLOW_ruleResourceSetting_in_ruleResource_Impl9529);
lv_resourceSettings_24_0=ruleResourceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"resourceSettings",
lv_resourceSettings_24_0,
"ResourceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6280:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6280:4: ',' ( (lv_resourceSettings_26_0= ruleResourceSetting ) )
{
match(input,21,FOLLOW_21_in_ruleResource_Impl9540);
createLeafNode(grammarAccess.getResource_ImplAccess().getCommaKeyword_9_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6284:1: ( (lv_resourceSettings_26_0= ruleResourceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6285:1: (lv_resourceSettings_26_0= ruleResourceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6285:1: (lv_resourceSettings_26_0= ruleResourceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6286:3: lv_resourceSettings_26_0= ruleResourceSetting
{
currentNode=createCompositeNode(grammarAccess.getResource_ImplAccess().getResourceSettingsResourceSettingParserRuleCall_9_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleResourceSetting_in_ruleResource_Impl9561);
lv_resourceSettings_26_0=ruleResourceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getResource_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"resourceSettings",
lv_resourceSettings_26_0,
"ResourceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop163;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleResource_Impl9573);
createLeafNode(grammarAccess.getResource_ImplAccess().getRightCurlyBracketKeyword_9_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleResource_Impl9585);
createLeafNode(grammarAccess.getResource_ImplAccess().getRightCurlyBracketKeyword_10(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResource_Impl
// $ANTLR start entryRuleService_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6324: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6325:2: (iv_ruleService_Impl= ruleService_Impl EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6326:2: iv_ruleService_Impl= ruleService_Impl EOF
{
currentNode = createCompositeNode(grammarAccess.getService_ImplRule(), currentNode);
pushFollow(FOLLOW_ruleService_Impl_in_entryRuleService_Impl9621);
iv_ruleService_Impl=ruleService_Impl();
_fsp--;
current =iv_ruleService_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleService_Impl9631);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleService_Impl
// $ANTLR start ruleService_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6333:1: ruleService_Impl returns [EObject current=null] : ( () 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' ) ;
public final EObject ruleService_Impl() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_serviceSettings_18_0 = null;
EObject lv_serviceSettings_20_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6338:6: ( ( () 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6339:1: ( () 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6339:1: ( () 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6339:2: () 'Service' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6339:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6340:5:
{
temp=factory.create(grammarAccess.getService_ImplAccess().getServiceAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getService_ImplAccess().getServiceAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,98,FOLLOW_98_in_ruleService_Impl9675);
createLeafNode(grammarAccess.getService_ImplAccess().getServiceKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6354:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6355:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6355:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6356:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl9692);
createLeafNode(grammarAccess.getService_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleService_Impl9707);
createLeafNode(grammarAccess.getService_ImplAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6382:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6382:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleService_Impl9718);
createLeafNode(grammarAccess.getService_ImplAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6386:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6387:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6387:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6388:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl9735);
createLeafNode(grammarAccess.getService_ImplAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6410:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6410:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleService_Impl9753);
createLeafNode(grammarAccess.getService_ImplAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6414:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6415:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6415:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6416:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getService_ImplAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleService_Impl9774);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6438:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6438:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleService_Impl9787);
createLeafNode(grammarAccess.getService_ImplAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6442:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6443:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6443:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6444:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl9804);
createLeafNode(grammarAccess.getService_ImplAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6466:4: ( 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt169=2;
int LA169_0 = input.LA(1);
if ( (LA169_0==37) ) {
alt169=1;
}
switch (alt169) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6466:6: 'requiresServices' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,37,FOLLOW_37_in_ruleService_Impl9822);
createLeafNode(grammarAccess.getService_ImplAccess().getRequiresServicesKeyword_7_0(), null);
match(input,31,FOLLOW_31_in_ruleService_Impl9832);
createLeafNode(grammarAccess.getService_ImplAccess().getLeftParenthesisKeyword_7_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6474:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6475:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6475:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6476:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl9850);
createLeafNode(grammarAccess.getService_ImplAccess().getRequiresServicesServiceCrossReference_7_2_0(), "requiresServices");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6488:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6488:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleService_Impl9861);
createLeafNode(grammarAccess.getService_ImplAccess().getCommaKeyword_7_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6492:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6493:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6493:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6494:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleService_Impl9879);
createLeafNode(grammarAccess.getService_ImplAccess().getRequiresServicesServiceCrossReference_7_3_1_0(), "requiresServices");
}
}
}
break;
default :
break loop168;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleService_Impl9891);
createLeafNode(grammarAccess.getService_ImplAccess().getRightParenthesisKeyword_7_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6510:3: ( 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}' )?
int alt171=2;
int LA171_0 = input.LA(1);
if ( (LA171_0==38) ) {
alt171=1;
}
switch (alt171) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6510:5: 'serviceSettings' '{' ( (lv_serviceSettings_18_0= ruleServiceSetting ) ) ( ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) ) )* '}'
{
match(input,38,FOLLOW_38_in_ruleService_Impl9904);
createLeafNode(grammarAccess.getService_ImplAccess().getServiceSettingsKeyword_8_0(), null);
match(input,14,FOLLOW_14_in_ruleService_Impl9914);
createLeafNode(grammarAccess.getService_ImplAccess().getLeftCurlyBracketKeyword_8_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6518:1: ( (lv_serviceSettings_18_0= ruleServiceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6519:1: (lv_serviceSettings_18_0= ruleServiceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6519:1: (lv_serviceSettings_18_0= ruleServiceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6520:3: lv_serviceSettings_18_0= ruleServiceSetting
{
currentNode=createCompositeNode(grammarAccess.getService_ImplAccess().getServiceSettingsServiceSettingParserRuleCall_8_2_0(), currentNode);
pushFollow(FOLLOW_ruleServiceSetting_in_ruleService_Impl9935);
lv_serviceSettings_18_0=ruleServiceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"serviceSettings",
lv_serviceSettings_18_0,
"ServiceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6542:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6542:4: ',' ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
{
match(input,21,FOLLOW_21_in_ruleService_Impl9946);
createLeafNode(grammarAccess.getService_ImplAccess().getCommaKeyword_8_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6546:1: ( (lv_serviceSettings_20_0= ruleServiceSetting ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6547:1: (lv_serviceSettings_20_0= ruleServiceSetting )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6547:1: (lv_serviceSettings_20_0= ruleServiceSetting )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6548:3: lv_serviceSettings_20_0= ruleServiceSetting
{
currentNode=createCompositeNode(grammarAccess.getService_ImplAccess().getServiceSettingsServiceSettingParserRuleCall_8_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleServiceSetting_in_ruleService_Impl9967);
lv_serviceSettings_20_0=ruleServiceSetting();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getService_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"serviceSettings",
lv_serviceSettings_20_0,
"ServiceSetting",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop170;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleService_Impl9979);
createLeafNode(grammarAccess.getService_ImplAccess().getRightCurlyBracketKeyword_8_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleService_Impl9991);
createLeafNode(grammarAccess.getService_ImplAccess().getRightCurlyBracketKeyword_9(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleService_Impl
// $ANTLR start entryRuleSettingConstraint
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6588: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6589:2: (iv_ruleSettingConstraint= ruleSettingConstraint EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6590:2: iv_ruleSettingConstraint= ruleSettingConstraint EOF
{
currentNode = createCompositeNode(grammarAccess.getSettingConstraintRule(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_entryRuleSettingConstraint10029);
iv_ruleSettingConstraint=ruleSettingConstraint();
_fsp--;
current =iv_ruleSettingConstraint;
match(input,EOF,FOLLOW_EOF_in_entryRuleSettingConstraint10039);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSettingConstraint
// $ANTLR start ruleSettingConstraint
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6597:1: ruleSettingConstraint returns [EObject current=null] : ( () 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? ( 'name' ( (lv_name_7_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_9_0= ruleEInt ) ) )? ( 'description' ( (lv_description_11_0= RULE_STRING ) ) )? ( 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? '}' ) ;
public final EObject ruleSettingConstraint() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_AvailableAfterOperation_4_0=null;
Token lv_RequiredBeforeOperation_5_0=null;
Token lv_name_7_0=null;
Token lv_description_11_0=null;
AntlrDatatypeRuleToken lv_id_9_0 = null;
Enumerator lv_ForOperation_13_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6602:6: ( ( () 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? ( 'name' ( (lv_name_7_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_9_0= ruleEInt ) ) )? ( 'description' ( (lv_description_11_0= RULE_STRING ) ) )? ( 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6603:1: ( () 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? ( 'name' ( (lv_name_7_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_9_0= ruleEInt ) ) )? ( 'description' ( (lv_description_11_0= RULE_STRING ) ) )? ( 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6603:1: ( () 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? ( 'name' ( (lv_name_7_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_9_0= ruleEInt ) ) )? ( 'description' ( (lv_description_11_0= RULE_STRING ) ) )? ( 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6603:2: () 'SettingConstraint' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' ) )? ( (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' ) )? ( 'name' ( (lv_name_7_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_9_0= ruleEInt ) ) )? ( 'description' ( (lv_description_11_0= RULE_STRING ) ) )? ( 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6603:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6604:5:
{
temp=factory.create(grammarAccess.getSettingConstraintAccess().getSettingConstraintAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getSettingConstraintAccess().getSettingConstraintAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,99,FOLLOW_99_in_ruleSettingConstraint10083);
createLeafNode(grammarAccess.getSettingConstraintAccess().getSettingConstraintKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6618:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6619:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6619:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6620:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10100);
createLeafNode(grammarAccess.getSettingConstraintAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleSettingConstraint10115);
createLeafNode(grammarAccess.getSettingConstraintAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6646: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6647:1: (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6647:1: (lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6648:3: lv_AvailableAfterOperation_4_0= 'AvailableAfterOperation'
{
lv_AvailableAfterOperation_4_0=(Token)input.LT(1);
match(input,100,FOLLOW_100_in_ruleSettingConstraint10133);
createLeafNode(grammarAccess.getSettingConstraintAccess().getAvailableAfterOperationAvailableAfterOperationKeyword_4_0(), "AvailableAfterOperation");
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "AvailableAfterOperation", true, "AvailableAfterOperation", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6667: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6668:1: (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6668:1: (lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6669:3: lv_RequiredBeforeOperation_5_0= 'RequiredBeforeOperation'
{
lv_RequiredBeforeOperation_5_0=(Token)input.LT(1);
match(input,101,FOLLOW_101_in_ruleSettingConstraint10165);
createLeafNode(grammarAccess.getSettingConstraintAccess().getRequiredBeforeOperationRequiredBeforeOperationKeyword_5_0(), "RequiredBeforeOperation");
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "RequiredBeforeOperation", true, "RequiredBeforeOperation", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6688:3: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6688:5: 'name' ( (lv_name_7_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleSettingConstraint10190);
createLeafNode(grammarAccess.getSettingConstraintAccess().getNameKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6692:1: ( (lv_name_7_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6693:1: (lv_name_7_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6693:1: (lv_name_7_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6694:3: lv_name_7_0= RULE_STRING
{
lv_name_7_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10207);
createLeafNode(grammarAccess.getSettingConstraintAccess().getNameSTRINGTerminalRuleCall_6_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_7_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6716:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6716:6: 'id' ( (lv_id_9_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleSettingConstraint10225);
createLeafNode(grammarAccess.getSettingConstraintAccess().getIdKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6720:1: ( (lv_id_9_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6721:1: (lv_id_9_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6721:1: (lv_id_9_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6722:3: lv_id_9_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getSettingConstraintAccess().getIdEIntParserRuleCall_7_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleSettingConstraint10246);
lv_id_9_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_9_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6744:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6744:6: 'description' ( (lv_description_11_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleSettingConstraint10259);
createLeafNode(grammarAccess.getSettingConstraintAccess().getDescriptionKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6748:1: ( (lv_description_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6749:1: (lv_description_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6749:1: (lv_description_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6750:3: lv_description_11_0= RULE_STRING
{
lv_description_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSettingConstraint10276);
createLeafNode(grammarAccess.getSettingConstraintAccess().getDescriptionSTRINGTerminalRuleCall_8_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6772:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6772:6: 'ForOperation' ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) )
{
match(input,102,FOLLOW_102_in_ruleSettingConstraint10294);
createLeafNode(grammarAccess.getSettingConstraintAccess().getForOperationKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6776:1: ( (lv_ForOperation_13_0= ruleServiceResourceOperation ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6777:1: (lv_ForOperation_13_0= ruleServiceResourceOperation )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6777:1: (lv_ForOperation_13_0= ruleServiceResourceOperation )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6778:3: lv_ForOperation_13_0= ruleServiceResourceOperation
{
currentNode=createCompositeNode(grammarAccess.getSettingConstraintAccess().getForOperationServiceResourceOperationEnumRuleCall_9_1_0(), currentNode);
pushFollow(FOLLOW_ruleServiceResourceOperation_in_ruleSettingConstraint10315);
lv_ForOperation_13_0=ruleServiceResourceOperation();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getSettingConstraintRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ForOperation",
lv_ForOperation_13_0,
"ServiceResourceOperation",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleSettingConstraint10327);
createLeafNode(grammarAccess.getSettingConstraintAccess().getRightCurlyBracketKeyword_10(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleSettingConstraint
// $ANTLR start entryRuleAbstractSetting_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6812: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6813:2: (iv_ruleAbstractSetting_Impl= ruleAbstractSetting_Impl EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6814:2: iv_ruleAbstractSetting_Impl= ruleAbstractSetting_Impl EOF
{
currentNode = createCompositeNode(grammarAccess.getAbstractSetting_ImplRule(), currentNode);
pushFollow(FOLLOW_ruleAbstractSetting_Impl_in_entryRuleAbstractSetting_Impl10363);
iv_ruleAbstractSetting_Impl=ruleAbstractSetting_Impl();
_fsp--;
current =iv_ruleAbstractSetting_Impl;
match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractSetting_Impl10373);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAbstractSetting_Impl
// $ANTLR start ruleAbstractSetting_Impl
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6821:1: ruleAbstractSetting_Impl returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )? '}' ) ;
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 lv_uniqueID_5_0=null;
Token lv_name_8_0=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6826:6: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6827:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6827:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6827:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'AbstractSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_22_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6827:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6828:5:
{
temp=factory.create(grammarAccess.getAbstractSetting_ImplAccess().getAbstractSettingAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getAbstractSettingAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6838: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6839:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6839:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6840:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)input.LT(1);
match(input,84,FOLLOW_84_in_ruleAbstractSetting_Impl10425);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getUserExposedUserExposedKeyword_1_0(), "userExposed");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userExposed", true, "userExposed", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6859: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6860:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6860:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6861:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)input.LT(1);
match(input,85,FOLLOW_85_in_ruleAbstractSetting_Impl10457);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getUserEditableUserEditableKeyword_2_0(), "userEditable");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userEditable", true, "userEditable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6880: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6881:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6881:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6882:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)input.LT(1);
match(input,86,FOLLOW_86_in_ruleAbstractSetting_Impl10489);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getCanBePublishedCanBePublishedKeyword_3_0(), "canBePublished");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "canBePublished", true, "canBePublished", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
match(input,103,FOLLOW_103_in_ruleAbstractSetting_Impl10513);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getAbstractSettingKeyword_4(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6905:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6906:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6906:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6907:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10530);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getUniqueIDSTRINGTerminalRuleCall_5_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleAbstractSetting_Impl10545);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getLeftCurlyBracketKeyword_6(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6933:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6933:3: 'name' ( (lv_name_8_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleAbstractSetting_Impl10556);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getNameKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6937:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6938:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6938:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6939:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10573);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getNameSTRINGTerminalRuleCall_7_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_8_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6961:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6961:6: 'id' ( (lv_id_10_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleAbstractSetting_Impl10591);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getIdKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6965:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6966:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6966:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6967:3: lv_id_10_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getIdEIntParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleAbstractSetting_Impl10612);
lv_id_10_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_10_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6989:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6989:6: 'description' ( (lv_description_12_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleAbstractSetting_Impl10625);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getDescriptionKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6993:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6994:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6994:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:6995:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10642);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_12_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7017: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7018:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7018:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7019:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)input.LT(1);
match(input,88,FOLLOW_88_in_ruleAbstractSetting_Impl10667);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getReadableReadableKeyword_10_0(), "Readable");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Readable", true, "Readable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7038: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7039:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7039:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7040:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)input.LT(1);
match(input,89,FOLLOW_89_in_ruleAbstractSetting_Impl10699);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getWritableWritableKeyword_11_0(), "Writable");
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Writable", true, "Writable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7059:3: ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt187=2;
int LA187_0 = input.LA(1);
if ( (LA187_0==90) ) {
alt187=1;
}
switch (alt187) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7059:5: 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,90,FOLLOW_90_in_ruleAbstractSetting_Impl10724);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsKeyword_12_0(), null);
match(input,31,FOLLOW_31_in_ruleAbstractSetting_Impl10734);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getLeftParenthesisKeyword_12_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7067:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7068:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7068:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7069:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10752);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0(), "requiresParams");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7081:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7081:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleAbstractSetting_Impl10763);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getCommaKeyword_12_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7085:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7086:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7086:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7087:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10781);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0(), "requiresParams");
}
}
}
break;
default :
break loop186;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleAbstractSetting_Impl10793);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRightParenthesisKeyword_12_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7103:3: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7103:5: 'settingType' ( (lv_settingType_22_0= ruleSettingType ) )
{
match(input,93,FOLLOW_93_in_ruleAbstractSetting_Impl10806);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingTypeKeyword_13_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7107:1: ( (lv_settingType_22_0= ruleSettingType ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7108:1: (lv_settingType_22_0= ruleSettingType )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7108:1: (lv_settingType_22_0= ruleSettingType )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7109:3: lv_settingType_22_0= ruleSettingType
{
currentNode=createCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingTypeSettingTypeParserRuleCall_13_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingType_in_ruleAbstractSetting_Impl10827);
lv_settingType_22_0=ruleSettingType();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"settingType",
lv_settingType_22_0,
"SettingType",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7131:4: ( 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}' )?
int alt190=2;
int LA190_0 = input.LA(1);
if ( (LA190_0==94) ) {
alt190=1;
}
switch (alt190) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7131:6: 'settingConstraints' '{' ( (lv_settingConstraints_25_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) ) )* '}'
{
match(input,94,FOLLOW_94_in_ruleAbstractSetting_Impl10840);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsKeyword_14_0(), null);
match(input,14,FOLLOW_14_in_ruleAbstractSetting_Impl10850);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getLeftCurlyBracketKeyword_14_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7139:1: ( (lv_settingConstraints_25_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7140:1: (lv_settingConstraints_25_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7140:1: (lv_settingConstraints_25_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7141:3: lv_settingConstraints_25_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsSettingConstraintParserRuleCall_14_2_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl10871);
lv_settingConstraints_25_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_25_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7163:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7163:4: ',' ( (lv_settingConstraints_27_0= ruleSettingConstraint ) )
{
match(input,21,FOLLOW_21_in_ruleAbstractSetting_Impl10882);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getCommaKeyword_14_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7167:1: ( (lv_settingConstraints_27_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7168:1: (lv_settingConstraints_27_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7168:1: (lv_settingConstraints_27_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7169:3: lv_settingConstraints_27_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getAbstractSetting_ImplAccess().getSettingConstraintsSettingConstraintParserRuleCall_14_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl10903);
lv_settingConstraints_27_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAbstractSetting_ImplRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_27_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop189;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleAbstractSetting_Impl10915);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRightCurlyBracketKeyword_14_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleAbstractSetting_Impl10927);
createLeafNode(grammarAccess.getAbstractSetting_ImplAccess().getRightCurlyBracketKeyword_15(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAbstractSetting_Impl
// $ANTLR start entryRuleServiceSetting
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7207: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7208:2: (iv_ruleServiceSetting= ruleServiceSetting EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7209:2: iv_ruleServiceSetting= ruleServiceSetting EOF
{
currentNode = createCompositeNode(grammarAccess.getServiceSettingRule(), currentNode);
pushFollow(FOLLOW_ruleServiceSetting_in_entryRuleServiceSetting10963);
iv_ruleServiceSetting=ruleServiceSetting();
_fsp--;
current =iv_ruleServiceSetting;
match(input,EOF,FOLLOW_EOF_in_entryRuleServiceSetting10973);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleServiceSetting
// $ANTLR start ruleServiceSetting
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7216:1: ruleServiceSetting returns [EObject current=null] : ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )? '}' ) ;
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 lv_uniqueID_5_0=null;
Token lv_name_8_0=null;
Token lv_description_12_0=null;
Token lv_Readable_13_0=null;
Token lv_Writable_14_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7221:6: ( ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7222:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7222:1: ( () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7222:2: () ( (lv_userExposed_1_0= 'userExposed' ) )? ( (lv_userEditable_2_0= 'userEditable' ) )? ( (lv_canBePublished_3_0= 'canBePublished' ) )? 'ServiceSetting' ( (lv_uniqueID_5_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_8_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_10_0= ruleEInt ) ) )? ( 'description' ( (lv_description_12_0= RULE_STRING ) ) )? ( (lv_Readable_13_0= 'Readable' ) )? ( (lv_Writable_14_0= 'Writable' ) )? ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )? ( 'settingType' ( (lv_settingType_34_0= ruleSettingType ) ) )? ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7222:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7223:5:
{
temp=factory.create(grammarAccess.getServiceSettingAccess().getServiceSettingAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getServiceSettingAccess().getServiceSettingAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7233: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7234:1: (lv_userExposed_1_0= 'userExposed' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7234:1: (lv_userExposed_1_0= 'userExposed' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7235:3: lv_userExposed_1_0= 'userExposed'
{
lv_userExposed_1_0=(Token)input.LT(1);
match(input,84,FOLLOW_84_in_ruleServiceSetting11025);
createLeafNode(grammarAccess.getServiceSettingAccess().getUserExposedUserExposedKeyword_1_0(), "userExposed");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userExposed", true, "userExposed", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7254: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7255:1: (lv_userEditable_2_0= 'userEditable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7255:1: (lv_userEditable_2_0= 'userEditable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7256:3: lv_userEditable_2_0= 'userEditable'
{
lv_userEditable_2_0=(Token)input.LT(1);
match(input,85,FOLLOW_85_in_ruleServiceSetting11057);
createLeafNode(grammarAccess.getServiceSettingAccess().getUserEditableUserEditableKeyword_2_0(), "userEditable");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "userEditable", true, "userEditable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7275: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7276:1: (lv_canBePublished_3_0= 'canBePublished' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7276:1: (lv_canBePublished_3_0= 'canBePublished' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7277:3: lv_canBePublished_3_0= 'canBePublished'
{
lv_canBePublished_3_0=(Token)input.LT(1);
match(input,86,FOLLOW_86_in_ruleServiceSetting11089);
createLeafNode(grammarAccess.getServiceSettingAccess().getCanBePublishedCanBePublishedKeyword_3_0(), "canBePublished");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "canBePublished", true, "canBePublished", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
match(input,104,FOLLOW_104_in_ruleServiceSetting11113);
createLeafNode(grammarAccess.getServiceSettingAccess().getServiceSettingKeyword_4(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7300:1: ( (lv_uniqueID_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7301:1: (lv_uniqueID_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7301:1: (lv_uniqueID_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7302:3: lv_uniqueID_5_0= RULE_STRING
{
lv_uniqueID_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11130);
createLeafNode(grammarAccess.getServiceSettingAccess().getUniqueIDSTRINGTerminalRuleCall_5_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleServiceSetting11145);
createLeafNode(grammarAccess.getServiceSettingAccess().getLeftCurlyBracketKeyword_6(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7328:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7328:3: 'name' ( (lv_name_8_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleServiceSetting11156);
createLeafNode(grammarAccess.getServiceSettingAccess().getNameKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7332:1: ( (lv_name_8_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7333:1: (lv_name_8_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7333:1: (lv_name_8_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7334:3: lv_name_8_0= RULE_STRING
{
lv_name_8_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11173);
createLeafNode(grammarAccess.getServiceSettingAccess().getNameSTRINGTerminalRuleCall_7_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_8_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7356:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7356:6: 'id' ( (lv_id_10_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleServiceSetting11191);
createLeafNode(grammarAccess.getServiceSettingAccess().getIdKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7360:1: ( (lv_id_10_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7361:1: (lv_id_10_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7361:1: (lv_id_10_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7362:3: lv_id_10_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getServiceSettingAccess().getIdEIntParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleServiceSetting11212);
lv_id_10_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_10_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7384:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7384:6: 'description' ( (lv_description_12_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleServiceSetting11225);
createLeafNode(grammarAccess.getServiceSettingAccess().getDescriptionKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7388:1: ( (lv_description_12_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7389:1: (lv_description_12_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7389:1: (lv_description_12_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7390:3: lv_description_12_0= RULE_STRING
{
lv_description_12_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11242);
createLeafNode(grammarAccess.getServiceSettingAccess().getDescriptionSTRINGTerminalRuleCall_9_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_12_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7412: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7413:1: (lv_Readable_13_0= 'Readable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7413:1: (lv_Readable_13_0= 'Readable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7414:3: lv_Readable_13_0= 'Readable'
{
lv_Readable_13_0=(Token)input.LT(1);
match(input,88,FOLLOW_88_in_ruleServiceSetting11267);
createLeafNode(grammarAccess.getServiceSettingAccess().getReadableReadableKeyword_10_0(), "Readable");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Readable", true, "Readable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7433: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7434:1: (lv_Writable_14_0= 'Writable' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7434:1: (lv_Writable_14_0= 'Writable' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7435:3: lv_Writable_14_0= 'Writable'
{
lv_Writable_14_0=(Token)input.LT(1);
match(input,89,FOLLOW_89_in_ruleServiceSetting11299);
createLeafNode(grammarAccess.getServiceSettingAccess().getWritableWritableKeyword_11_0(), "Writable");
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Writable", true, "Writable", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7454:3: ( 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt200=2;
int LA200_0 = input.LA(1);
if ( (LA200_0==90) ) {
alt200=1;
}
switch (alt200) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7454:5: 'requiresParams' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,90,FOLLOW_90_in_ruleServiceSetting11324);
createLeafNode(grammarAccess.getServiceSettingAccess().getRequiresParamsKeyword_12_0(), null);
match(input,31,FOLLOW_31_in_ruleServiceSetting11334);
createLeafNode(grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_12_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7462:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7463:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7463:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7464:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11352);
createLeafNode(grammarAccess.getServiceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_2_0(), "requiresParams");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7476:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7476:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleServiceSetting11363);
createLeafNode(grammarAccess.getServiceSettingAccess().getCommaKeyword_12_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7480:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7481:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7481:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7482:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11381);
createLeafNode(grammarAccess.getServiceSettingAccess().getRequiresParamsAbstractSettingCrossReference_12_3_1_0(), "requiresParams");
}
}
}
break;
default :
break loop199;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleServiceSetting11393);
createLeafNode(grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_12_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7498:3: ( 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt202=2;
int LA202_0 = input.LA(1);
if ( (LA202_0==105) ) {
alt202=1;
}
switch (alt202) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7498:5: 'mappedToResourceSettings' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,105,FOLLOW_105_in_ruleServiceSetting11406);
createLeafNode(grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsKeyword_13_0(), null);
match(input,31,FOLLOW_31_in_ruleServiceSetting11416);
createLeafNode(grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_13_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7506:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7507:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7507:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7508:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11434);
createLeafNode(grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsResourceSettingCrossReference_13_2_0(), "mappedToResourceSettings");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7520:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7520:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleServiceSetting11445);
createLeafNode(grammarAccess.getServiceSettingAccess().getCommaKeyword_13_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7524:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7525:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7525:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7526:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11463);
createLeafNode(grammarAccess.getServiceSettingAccess().getMappedToResourceSettingsResourceSettingCrossReference_13_3_1_0(), "mappedToResourceSettings");
}
}
}
break;
default :
break loop201;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleServiceSetting11475);
createLeafNode(grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_13_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7542:3: ( 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')' )?
int alt204=2;
int LA204_0 = input.LA(1);
if ( (LA204_0==106) ) {
alt204=1;
}
switch (alt204) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7542:5: 'providedByResources' '(' ( ( RULE_STRING ) ) ( ',' ( ( RULE_STRING ) ) )* ')'
{
match(input,106,FOLLOW_106_in_ruleServiceSetting11488);
createLeafNode(grammarAccess.getServiceSettingAccess().getProvidedByResourcesKeyword_14_0(), null);
match(input,31,FOLLOW_31_in_ruleServiceSetting11498);
createLeafNode(grammarAccess.getServiceSettingAccess().getLeftParenthesisKeyword_14_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7550:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7551:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7551:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7552:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11516);
createLeafNode(grammarAccess.getServiceSettingAccess().getProvidedByResourcesResourceCrossReference_14_2_0(), "providedByResources");
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7564:2: ( ',' ( ( 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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7564:4: ',' ( ( RULE_STRING ) )
{
match(input,21,FOLLOW_21_in_ruleServiceSetting11527);
createLeafNode(grammarAccess.getServiceSettingAccess().getCommaKeyword_14_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7568:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7569:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7569:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7570:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleServiceSetting11545);
createLeafNode(grammarAccess.getServiceSettingAccess().getProvidedByResourcesResourceCrossReference_14_3_1_0(), "providedByResources");
}
}
}
break;
default :
break loop203;
}
} while (true);
match(input,32,FOLLOW_32_in_ruleServiceSetting11557);
createLeafNode(grammarAccess.getServiceSettingAccess().getRightParenthesisKeyword_14_4(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7586:3: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7586:5: 'settingType' ( (lv_settingType_34_0= ruleSettingType ) )
{
match(input,93,FOLLOW_93_in_ruleServiceSetting11570);
createLeafNode(grammarAccess.getServiceSettingAccess().getSettingTypeKeyword_15_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7590:1: ( (lv_settingType_34_0= ruleSettingType ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7591:1: (lv_settingType_34_0= ruleSettingType )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7591:1: (lv_settingType_34_0= ruleSettingType )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7592:3: lv_settingType_34_0= ruleSettingType
{
currentNode=createCompositeNode(grammarAccess.getServiceSettingAccess().getSettingTypeSettingTypeParserRuleCall_15_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingType_in_ruleServiceSetting11591);
lv_settingType_34_0=ruleSettingType();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"settingType",
lv_settingType_34_0,
"SettingType",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7614:4: ( 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}' )?
int alt207=2;
int LA207_0 = input.LA(1);
if ( (LA207_0==94) ) {
alt207=1;
}
switch (alt207) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7614:6: 'settingConstraints' '{' ( (lv_settingConstraints_37_0= ruleSettingConstraint ) ) ( ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) ) )* '}'
{
match(input,94,FOLLOW_94_in_ruleServiceSetting11604);
createLeafNode(grammarAccess.getServiceSettingAccess().getSettingConstraintsKeyword_16_0(), null);
match(input,14,FOLLOW_14_in_ruleServiceSetting11614);
createLeafNode(grammarAccess.getServiceSettingAccess().getLeftCurlyBracketKeyword_16_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7622:1: ( (lv_settingConstraints_37_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7623:1: (lv_settingConstraints_37_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7623:1: (lv_settingConstraints_37_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7624:3: lv_settingConstraints_37_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getServiceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_2_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleServiceSetting11635);
lv_settingConstraints_37_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_37_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7646:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7646:4: ',' ( (lv_settingConstraints_39_0= ruleSettingConstraint ) )
{
match(input,21,FOLLOW_21_in_ruleServiceSetting11646);
createLeafNode(grammarAccess.getServiceSettingAccess().getCommaKeyword_16_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7650:1: ( (lv_settingConstraints_39_0= ruleSettingConstraint ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7651:1: (lv_settingConstraints_39_0= ruleSettingConstraint )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7651:1: (lv_settingConstraints_39_0= ruleSettingConstraint )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7652:3: lv_settingConstraints_39_0= ruleSettingConstraint
{
currentNode=createCompositeNode(grammarAccess.getServiceSettingAccess().getSettingConstraintsSettingConstraintParserRuleCall_16_3_1_0(), currentNode);
pushFollow(FOLLOW_ruleSettingConstraint_in_ruleServiceSetting11667);
lv_settingConstraints_39_0=ruleSettingConstraint();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getServiceSettingRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"settingConstraints",
lv_settingConstraints_39_0,
"SettingConstraint",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop206;
}
} while (true);
match(input,22,FOLLOW_22_in_ruleServiceSetting11679);
createLeafNode(grammarAccess.getServiceSettingAccess().getRightCurlyBracketKeyword_16_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruleServiceSetting11691);
createLeafNode(grammarAccess.getServiceSettingAccess().getRightCurlyBracketKeyword_17(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleServiceSetting
// $ANTLR start entryRuletideTypeString
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7690: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7691:2: (iv_ruletideTypeString= ruletideTypeString EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7692:2: iv_ruletideTypeString= ruletideTypeString EOF
{
currentNode = createCompositeNode(grammarAccess.getTideTypeStringRule(), currentNode);
pushFollow(FOLLOW_ruletideTypeString_in_entryRuletideTypeString11727);
iv_ruletideTypeString=ruletideTypeString();
_fsp--;
current =iv_ruletideTypeString;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeString11737);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuletideTypeString
// $ANTLR start ruletideTypeString
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7699:1: ruletideTypeString returns [EObject current=null] : ( () 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? '}' ) ;
public final EObject ruletideTypeString() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
Token lv_defaultValue_11_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7704:6: ( ( () 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7705:1: ( () 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7705:1: ( () 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7705:2: () 'tideTypeString' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7705:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7706:5:
{
temp=factory.create(grammarAccess.getTideTypeStringAccess().getTideTypeStringAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTideTypeStringAccess().getTideTypeStringAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,107,FOLLOW_107_in_ruletideTypeString11781);
createLeafNode(grammarAccess.getTideTypeStringAccess().getTideTypeStringKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7720:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7721:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7721:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7722:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString11798);
createLeafNode(grammarAccess.getTideTypeStringAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeStringRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruletideTypeString11813);
createLeafNode(grammarAccess.getTideTypeStringAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7748:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7748:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruletideTypeString11824);
createLeafNode(grammarAccess.getTideTypeStringAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7752:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7753:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7753:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7754:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString11841);
createLeafNode(grammarAccess.getTideTypeStringAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeStringRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7776:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7776:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruletideTypeString11859);
createLeafNode(grammarAccess.getTideTypeStringAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7780:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7781:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7781:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7782:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTideTypeStringAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeString11880);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeStringRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7804:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7804:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruletideTypeString11893);
createLeafNode(grammarAccess.getTideTypeStringAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7808:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7809:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7809:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7810:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString11910);
createLeafNode(grammarAccess.getTideTypeStringAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeStringRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7832:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7832:6: 'defaultValue' ( (lv_defaultValue_11_0= RULE_STRING ) )
{
match(input,108,FOLLOW_108_in_ruletideTypeString11928);
createLeafNode(grammarAccess.getTideTypeStringAccess().getDefaultValueKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7836:1: ( (lv_defaultValue_11_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7837:1: (lv_defaultValue_11_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7837:1: (lv_defaultValue_11_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7838:3: lv_defaultValue_11_0= RULE_STRING
{
lv_defaultValue_11_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeString11945);
createLeafNode(grammarAccess.getTideTypeStringAccess().getDefaultValueSTRINGTerminalRuleCall_7_1_0(), "defaultValue");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeStringRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"defaultValue",
lv_defaultValue_11_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruletideTypeString11962);
createLeafNode(grammarAccess.getTideTypeStringAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruletideTypeString
// $ANTLR start entryRuletideTypeEnum
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7872: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7873:2: (iv_ruletideTypeEnum= ruletideTypeEnum EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7874:2: iv_ruletideTypeEnum= ruletideTypeEnum EOF
{
currentNode = createCompositeNode(grammarAccess.getTideTypeEnumRule(), currentNode);
pushFollow(FOLLOW_ruletideTypeEnum_in_entryRuletideTypeEnum11998);
iv_ruletideTypeEnum=ruletideTypeEnum();
_fsp--;
current =iv_ruletideTypeEnum;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeEnum12008);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuletideTypeEnum
// $ANTLR start ruletideTypeEnum
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7881:1: ruletideTypeEnum returns [EObject current=null] : ( () 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( ( RULE_STRING ) ) )? ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )? '}' ) ;
public final EObject ruletideTypeEnum() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject lv_tideEnumlist_14_0 = null;
EObject lv_tideEnumlist_16_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7886:6: ( ( () 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( ( RULE_STRING ) ) )? ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7887:1: ( () 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( ( RULE_STRING ) ) )? ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7887:1: ( () 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( ( RULE_STRING ) ) )? ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7887:2: () 'tideTypeEnum' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'defaultValue' ( ( RULE_STRING ) ) )? ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7887:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7888:5:
{
temp=factory.create(grammarAccess.getTideTypeEnumAccess().getTideTypeEnumAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTideTypeEnumAccess().getTideTypeEnumAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,109,FOLLOW_109_in_ruletideTypeEnum12052);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getTideTypeEnumKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7902:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7903:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7903:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7904:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12069);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruletideTypeEnum12084);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7930:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7930:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruletideTypeEnum12095);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7934:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7935:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7935:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7936:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12112);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7958:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7958:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruletideTypeEnum12130);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7962:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7963:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7963:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7964:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTideTypeEnumAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeEnum12151);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7986:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7986:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruletideTypeEnum12164);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7990:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7991:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7991:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:7992:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12181);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8014:4: ( 'defaultValue' ( ( RULE_STRING ) ) )?
int alt215=2;
int LA215_0 = input.LA(1);
if ( (LA215_0==108) ) {
alt215=1;
}
switch (alt215) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8014:6: 'defaultValue' ( ( RULE_STRING ) )
{
match(input,108,FOLLOW_108_in_ruletideTypeEnum12199);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getDefaultValueKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8018:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8019:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8019:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8020:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnum12217);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getDefaultValueTideTypeEnumItemCrossReference_7_1_0(), "defaultValue");
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8032:4: ( 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}' )?
int alt217=2;
int LA217_0 = input.LA(1);
if ( (LA217_0==110) ) {
alt217=1;
}
switch (alt217) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8032:6: 'tideEnumlist' '{' ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) ) ( ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) ) )* '}'
{
match(input,110,FOLLOW_110_in_ruletideTypeEnum12230);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getTideEnumlistKeyword_8_0(), null);
match(input,14,FOLLOW_14_in_ruletideTypeEnum12240);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getLeftCurlyBracketKeyword_8_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8040:1: ( (lv_tideEnumlist_14_0= ruletideTypeEnumItem ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8041:1: (lv_tideEnumlist_14_0= ruletideTypeEnumItem )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8041:1: (lv_tideEnumlist_14_0= ruletideTypeEnumItem )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8042:3: lv_tideEnumlist_14_0= ruletideTypeEnumItem
{
currentNode=createCompositeNode(grammarAccess.getTideTypeEnumAccess().getTideEnumlistTideTypeEnumItemParserRuleCall_8_2_0(), currentNode);
pushFollow(FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum12261);
lv_tideEnumlist_14_0=ruletideTypeEnumItem();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"tideEnumlist",
lv_tideEnumlist_14_0,
"tideTypeEnumItem",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8064:2: ( ',' ( (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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8064:4: ',' ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) )
{
match(input,21,FOLLOW_21_in_ruletideTypeEnum12272);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getCommaKeyword_8_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8068:1: ( (lv_tideEnumlist_16_0= ruletideTypeEnumItem ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8069:1: (lv_tideEnumlist_16_0= ruletideTypeEnumItem )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8069:1: (lv_tideEnumlist_16_0= ruletideTypeEnumItem )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8070:3: lv_tideEnumlist_16_0= ruletideTypeEnumItem
{
currentNode=createCompositeNode(grammarAccess.getTideTypeEnumAccess().getTideEnumlistTideTypeEnumItemParserRuleCall_8_3_1_0(), currentNode);
pushFollow(FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum12293);
lv_tideEnumlist_16_0=ruletideTypeEnumItem();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
add(
current,
"tideEnumlist",
lv_tideEnumlist_16_0,
"tideTypeEnumItem",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
default :
break loop216;
}
} while (true);
match(input,22,FOLLOW_22_in_ruletideTypeEnum12305);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getRightCurlyBracketKeyword_8_4(), null);
}
break;
}
match(input,22,FOLLOW_22_in_ruletideTypeEnum12317);
createLeafNode(grammarAccess.getTideTypeEnumAccess().getRightCurlyBracketKeyword_9(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruletideTypeEnum
// $ANTLR start entryRuletideTypeList
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8108: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8109:2: (iv_ruletideTypeList= ruletideTypeList EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8110:2: iv_ruletideTypeList= ruletideTypeList EOF
{
currentNode = createCompositeNode(grammarAccess.getTideTypeListRule(), currentNode);
pushFollow(FOLLOW_ruletideTypeList_in_entryRuletideTypeList12353);
iv_ruletideTypeList=ruletideTypeList();
_fsp--;
current =iv_ruletideTypeList;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeList12363);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuletideTypeList
// $ANTLR start ruletideTypeList
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8117:1: ruletideTypeList returns [EObject current=null] : ( () 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )? '}' ) ;
public final EObject ruletideTypeList() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8122:6: ( ( () 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8123:1: ( () 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8123:1: ( () 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8123:2: () 'tideTypeList' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8123:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8124:5:
{
temp=factory.create(grammarAccess.getTideTypeListAccess().getTideTypeListAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTideTypeListAccess().getTideTypeListAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,111,FOLLOW_111_in_ruletideTypeList12407);
createLeafNode(grammarAccess.getTideTypeListAccess().getTideTypeListKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8138:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8139:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8139:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8140:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList12424);
createLeafNode(grammarAccess.getTideTypeListAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeListRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruletideTypeList12439);
createLeafNode(grammarAccess.getTideTypeListAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8166:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8166:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruletideTypeList12450);
createLeafNode(grammarAccess.getTideTypeListAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8170:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8171:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8171:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8172:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList12467);
createLeafNode(grammarAccess.getTideTypeListAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeListRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8194:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8194:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruletideTypeList12485);
createLeafNode(grammarAccess.getTideTypeListAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8198:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8199:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8199:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8200:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTideTypeListAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeList12506);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeListRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8222:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8222:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruletideTypeList12519);
createLeafNode(grammarAccess.getTideTypeListAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8226:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8227:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8227:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8228:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList12536);
createLeafNode(grammarAccess.getTideTypeListAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeListRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8250:4: ( 'ContainsElementsOf' ( ( RULE_STRING ) ) )?
int alt221=2;
int LA221_0 = input.LA(1);
if ( (LA221_0==112) ) {
alt221=1;
}
switch (alt221) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8250:6: 'ContainsElementsOf' ( ( RULE_STRING ) )
{
match(input,112,FOLLOW_112_in_ruletideTypeList12554);
createLeafNode(grammarAccess.getTideTypeListAccess().getContainsElementsOfKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8254:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8255:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8255:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8256:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTideTypeListRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeList12572);
createLeafNode(grammarAccess.getTideTypeListAccess().getContainsElementsOfNamedElementCrossReference_7_1_0(), "ContainsElementsOf");
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruletideTypeList12584);
createLeafNode(grammarAccess.getTideTypeListAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruletideTypeList
// $ANTLR start entryRuletideTypeTideElement
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8280: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8281:2: (iv_ruletideTypeTideElement= ruletideTypeTideElement EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8282:2: iv_ruletideTypeTideElement= ruletideTypeTideElement EOF
{
currentNode = createCompositeNode(grammarAccess.getTideTypeTideElementRule(), currentNode);
pushFollow(FOLLOW_ruletideTypeTideElement_in_entryRuletideTypeTideElement12620);
iv_ruletideTypeTideElement=ruletideTypeTideElement();
_fsp--;
current =iv_ruletideTypeTideElement;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeTideElement12630);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuletideTypeTideElement
// $ANTLR start ruletideTypeTideElement
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8289:1: ruletideTypeTideElement returns [EObject current=null] : ( () 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ofTideElement' ( ( RULE_STRING ) ) )? '}' ) ;
public final EObject ruletideTypeTideElement() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8294:6: ( ( () 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ofTideElement' ( ( RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8295:1: ( () 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ofTideElement' ( ( RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8295:1: ( () 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ofTideElement' ( ( RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8295:2: () 'tideTypeTideElement' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ofTideElement' ( ( RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8295:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8296:5:
{
temp=factory.create(grammarAccess.getTideTypeTideElementAccess().getTideTypeTideElementAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTideTypeTideElementAccess().getTideTypeTideElementAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,113,FOLLOW_113_in_ruletideTypeTideElement12674);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getTideTypeTideElementKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8310:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8311:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8311:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8312:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement12691);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeTideElementRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruletideTypeTideElement12706);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8338:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8338:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruletideTypeTideElement12717);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8342:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8343:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8343:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8344:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement12734);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeTideElementRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8366:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8366:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruletideTypeTideElement12752);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8370:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8371:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8371:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8372:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getTideTypeTideElementAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruletideTypeTideElement12773);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getTideTypeTideElementRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8394:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8394:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruletideTypeTideElement12786);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8398:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8399:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8399:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8400:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement12803);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeTideElementRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8422:4: ( 'ofTideElement' ( ( RULE_STRING ) ) )?
int alt225=2;
int LA225_0 = input.LA(1);
if ( (LA225_0==114) ) {
alt225=1;
}
switch (alt225) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8422:6: 'ofTideElement' ( ( RULE_STRING ) )
{
match(input,114,FOLLOW_114_in_ruletideTypeTideElement12821);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getOfTideElementKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8426:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8427:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8427:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8428:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getTideTypeTideElementRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeTideElement12839);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getOfTideElementNamedElementCrossReference_7_1_0(), "ofTideElement");
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruletideTypeTideElement12851);
createLeafNode(grammarAccess.getTideTypeTideElementAccess().getRightCurlyBracketKeyword_8(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruletideTypeTideElement
// $ANTLR start entryRuletideTypeEnumItem
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8452: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8453:2: (iv_ruletideTypeEnumItem= ruletideTypeEnumItem EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8454:2: iv_ruletideTypeEnumItem= ruletideTypeEnumItem EOF
{
currentNode = createCompositeNode(grammarAccess.getTideTypeEnumItemRule(), currentNode);
pushFollow(FOLLOW_ruletideTypeEnumItem_in_entryRuletideTypeEnumItem12887);
iv_ruletideTypeEnumItem=ruletideTypeEnumItem();
_fsp--;
current =iv_ruletideTypeEnumItem;
match(input,EOF,FOLLOW_EOF_in_entryRuletideTypeEnumItem12897);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuletideTypeEnumItem
// $ANTLR start ruletideTypeEnumItem
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8461:1: ruletideTypeEnumItem returns [EObject current=null] : ( () 'tideTypeEnumItem' '{' ( 'value' ( (lv_value_4_0= RULE_STRING ) ) )? ( 'description' ( (lv_description_6_0= RULE_STRING ) ) )? '}' ) ;
public final EObject ruletideTypeEnumItem() throws RecognitionException {
EObject current = null;
Token lv_value_4_0=null;
Token lv_description_6_0=null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8466:6: ( ( () 'tideTypeEnumItem' '{' ( 'value' ( (lv_value_4_0= RULE_STRING ) ) )? ( 'description' ( (lv_description_6_0= RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8467:1: ( () 'tideTypeEnumItem' '{' ( 'value' ( (lv_value_4_0= RULE_STRING ) ) )? ( 'description' ( (lv_description_6_0= RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8467:1: ( () 'tideTypeEnumItem' '{' ( 'value' ( (lv_value_4_0= RULE_STRING ) ) )? ( 'description' ( (lv_description_6_0= RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8467:2: () 'tideTypeEnumItem' '{' ( 'value' ( (lv_value_4_0= RULE_STRING ) ) )? ( 'description' ( (lv_description_6_0= RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8467:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8468:5:
{
temp=factory.create(grammarAccess.getTideTypeEnumItemAccess().getTideTypeEnumItemAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getTideTypeEnumItemAccess().getTideTypeEnumItemAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,115,FOLLOW_115_in_ruletideTypeEnumItem12941);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getTideTypeEnumItemKeyword_1(), null);
match(input,14,FOLLOW_14_in_ruletideTypeEnumItem12951);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getLeftCurlyBracketKeyword_2(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8486:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8486:3: 'value' ( (lv_value_4_0= RULE_STRING ) )
{
match(input,116,FOLLOW_116_in_ruletideTypeEnumItem12962);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getValueKeyword_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8490:1: ( (lv_value_4_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8491:1: (lv_value_4_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8491:1: (lv_value_4_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8492:3: lv_value_4_0= RULE_STRING
{
lv_value_4_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnumItem12979);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getValueSTRINGTerminalRuleCall_3_1_0(), "value");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumItemRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"value",
lv_value_4_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8514:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8514:6: 'description' ( (lv_description_6_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruletideTypeEnumItem12997);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getDescriptionKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8518:1: ( (lv_description_6_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8519:1: (lv_description_6_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8519:1: (lv_description_6_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8520:3: lv_description_6_0= RULE_STRING
{
lv_description_6_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13014);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getDescriptionSTRINGTerminalRuleCall_4_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getTideTypeEnumItemRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_6_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruletideTypeEnumItem13031);
createLeafNode(grammarAccess.getTideTypeEnumItemAccess().getRightCurlyBracketKeyword_5(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruletideTypeEnumItem
// $ANTLR start entryRuleEDate
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8554: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8555:2: (iv_ruleEDate= ruleEDate EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8556:2: iv_ruleEDate= ruleEDate EOF
{
currentNode = createCompositeNode(grammarAccess.getEDateRule(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_entryRuleEDate13068);
iv_ruleEDate=ruleEDate();
_fsp--;
current =iv_ruleEDate.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEDate13079);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleEDate
// $ANTLR start ruleEDate
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8563: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;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8568:6: (this_STRING_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8569:5: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEDate13118);
current.merge(this_STRING_0);
createLeafNode(grammarAccess.getEDateAccess().getSTRINGTerminalRuleCall(), null);
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleEDate
// $ANTLR start entryRuleAvailability
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8584: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8585:2: (iv_ruleAvailability= ruleAvailability EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8586:2: iv_ruleAvailability= ruleAvailability EOF
{
currentNode = createCompositeNode(grammarAccess.getAvailabilityRule(), currentNode);
pushFollow(FOLLOW_ruleAvailability_in_entryRuleAvailability13162);
iv_ruleAvailability=ruleAvailability();
_fsp--;
current =iv_ruleAvailability;
match(input,EOF,FOLLOW_EOF_in_entryRuleAvailability13172);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAvailability
// $ANTLR start ruleAvailability
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8593:1: ruleAvailability returns [EObject current=null] : ( () ( (lv_Repeat_1_0= 'Repeat' ) )? 'Availability' '{' ( 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? ( 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? ( 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? ( 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? ( 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? ( 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? ( 'cost' ( (lv_cost_17_0= ruleCost ) ) )? '}' ) ;
public final EObject ruleAvailability() throws RecognitionException {
EObject current = null;
Token lv_Repeat_1_0=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;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8598:6: ( ( () ( (lv_Repeat_1_0= 'Repeat' ) )? 'Availability' '{' ( 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? ( 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? ( 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? ( 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? ( 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? ( 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? ( 'cost' ( (lv_cost_17_0= ruleCost ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8599:1: ( () ( (lv_Repeat_1_0= 'Repeat' ) )? 'Availability' '{' ( 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? ( 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? ( 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? ( 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? ( 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? ( 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? ( 'cost' ( (lv_cost_17_0= ruleCost ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8599:1: ( () ( (lv_Repeat_1_0= 'Repeat' ) )? 'Availability' '{' ( 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? ( 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? ( 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? ( 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? ( 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? ( 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? ( 'cost' ( (lv_cost_17_0= ruleCost ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8599:2: () ( (lv_Repeat_1_0= 'Repeat' ) )? 'Availability' '{' ( 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) ) )? ( 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) ) )? ( 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) ) )? ( 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) ) )? ( 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) ) )? ( 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) ) )? ( 'cost' ( (lv_cost_17_0= ruleCost ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8599:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8600:5:
{
temp=factory.create(grammarAccess.getAvailabilityAccess().getAvailabilityAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getAvailabilityAccess().getAvailabilityAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8610: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8611:1: (lv_Repeat_1_0= 'Repeat' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8611:1: (lv_Repeat_1_0= 'Repeat' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8612:3: lv_Repeat_1_0= 'Repeat'
{
lv_Repeat_1_0=(Token)input.LT(1);
match(input,117,FOLLOW_117_in_ruleAvailability13224);
createLeafNode(grammarAccess.getAvailabilityAccess().getRepeatRepeatKeyword_1_0(), "Repeat");
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(current, "Repeat", true, "Repeat", lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
break;
}
match(input,118,FOLLOW_118_in_ruleAvailability13248);
createLeafNode(grammarAccess.getAvailabilityAccess().getAvailabilityKeyword_2(), null);
match(input,14,FOLLOW_14_in_ruleAvailability13258);
createLeafNode(grammarAccess.getAvailabilityAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8639:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8639:3: 'FromTime' ( (lv_FromTime_5_0= ruleEDate ) )
{
match(input,119,FOLLOW_119_in_ruleAvailability13269);
createLeafNode(grammarAccess.getAvailabilityAccess().getFromTimeKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8643:1: ( (lv_FromTime_5_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8644:1: (lv_FromTime_5_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8644:1: (lv_FromTime_5_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8645:3: lv_FromTime_5_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getFromTimeEDateParserRuleCall_4_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability13290);
lv_FromTime_5_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"FromTime",
lv_FromTime_5_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8667:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8667:6: 'ToTime' ( (lv_ToTime_7_0= ruleEDate ) )
{
match(input,120,FOLLOW_120_in_ruleAvailability13303);
createLeafNode(grammarAccess.getAvailabilityAccess().getToTimeKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8671:1: ( (lv_ToTime_7_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8672:1: (lv_ToTime_7_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8672:1: (lv_ToTime_7_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8673:3: lv_ToTime_7_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getToTimeEDateParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability13324);
lv_ToTime_7_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ToTime",
lv_ToTime_7_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8695:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8695:6: 'FromDate' ( (lv_FromDate_9_0= ruleEDate ) )
{
match(input,121,FOLLOW_121_in_ruleAvailability13337);
createLeafNode(grammarAccess.getAvailabilityAccess().getFromDateKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8699:1: ( (lv_FromDate_9_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8700:1: (lv_FromDate_9_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8700:1: (lv_FromDate_9_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8701:3: lv_FromDate_9_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getFromDateEDateParserRuleCall_6_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability13358);
lv_FromDate_9_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"FromDate",
lv_FromDate_9_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8723:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8723:6: 'ToDate' ( (lv_ToDate_11_0= ruleEDate ) )
{
match(input,122,FOLLOW_122_in_ruleAvailability13371);
createLeafNode(grammarAccess.getAvailabilityAccess().getToDateKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8727:1: ( (lv_ToDate_11_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8728:1: (lv_ToDate_11_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8728:1: (lv_ToDate_11_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8729:3: lv_ToDate_11_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getToDateEDateParserRuleCall_7_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability13392);
lv_ToDate_11_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ToDate",
lv_ToDate_11_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8751:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8751:6: 'Repeatability' ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) )
{
match(input,123,FOLLOW_123_in_ruleAvailability13405);
createLeafNode(grammarAccess.getAvailabilityAccess().getRepeatabilityKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8755:1: ( (lv_Repeatability_13_0= ruleRepatabilityScheme ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8756:1: (lv_Repeatability_13_0= ruleRepatabilityScheme )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8756:1: (lv_Repeatability_13_0= ruleRepatabilityScheme )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8757:3: lv_Repeatability_13_0= ruleRepatabilityScheme
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getRepeatabilityRepatabilitySchemeEnumRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleRepatabilityScheme_in_ruleAvailability13426);
lv_Repeatability_13_0=ruleRepatabilityScheme();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"Repeatability",
lv_Repeatability_13_0,
"RepatabilityScheme",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8779:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8779:6: 'RepeatUntil' ( (lv_RepeatUntil_15_0= ruleEDate ) )
{
match(input,124,FOLLOW_124_in_ruleAvailability13439);
createLeafNode(grammarAccess.getAvailabilityAccess().getRepeatUntilKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8783:1: ( (lv_RepeatUntil_15_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8784:1: (lv_RepeatUntil_15_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8784:1: (lv_RepeatUntil_15_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8785:3: lv_RepeatUntil_15_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getRepeatUntilEDateParserRuleCall_9_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleAvailability13460);
lv_RepeatUntil_15_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"RepeatUntil",
lv_RepeatUntil_15_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8807:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8807:6: 'cost' ( (lv_cost_17_0= ruleCost ) )
{
match(input,125,FOLLOW_125_in_ruleAvailability13473);
createLeafNode(grammarAccess.getAvailabilityAccess().getCostKeyword_10_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8811:1: ( (lv_cost_17_0= ruleCost ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8812:1: (lv_cost_17_0= ruleCost )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8812:1: (lv_cost_17_0= ruleCost )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8813:3: lv_cost_17_0= ruleCost
{
currentNode=createCompositeNode(grammarAccess.getAvailabilityAccess().getCostCostParserRuleCall_10_1_0(), currentNode);
pushFollow(FOLLOW_ruleCost_in_ruleAvailability13494);
lv_cost_17_0=ruleCost();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getAvailabilityRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"cost",
lv_cost_17_0,
"Cost",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleAvailability13506);
createLeafNode(grammarAccess.getAvailabilityAccess().getRightCurlyBracketKeyword_11(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAvailability
// $ANTLR start entryRuleCost
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8847: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8848:2: (iv_ruleCost= ruleCost EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8849:2: iv_ruleCost= ruleCost EOF
{
currentNode = createCompositeNode(grammarAccess.getCostRule(), currentNode);
pushFollow(FOLLOW_ruleCost_in_entryRuleCost13542);
iv_ruleCost=ruleCost();
_fsp--;
current =iv_ruleCost;
match(input,EOF,FOLLOW_EOF_in_entryRuleCost13552);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleCost
// $ANTLR start ruleCost
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8856:1: ruleCost returns [EObject current=null] : ( () 'Cost' '{' ( 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? ( 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? '}' ) ;
public final EObject ruleCost() throws RecognitionException {
EObject current = null;
Enumerator lv_perUnit_4_0 = null;
AntlrDatatypeRuleToken lv_Amount_6_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8861:6: ( ( () 'Cost' '{' ( 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? ( 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8862:1: ( () 'Cost' '{' ( 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? ( 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8862:1: ( () 'Cost' '{' ( 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? ( 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8862:2: () 'Cost' '{' ( 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) ) )? ( 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8862:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8863:5:
{
temp=factory.create(grammarAccess.getCostAccess().getCostAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getCostAccess().getCostAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,126,FOLLOW_126_in_ruleCost13596);
createLeafNode(grammarAccess.getCostAccess().getCostKeyword_1(), null);
match(input,14,FOLLOW_14_in_ruleCost13606);
createLeafNode(grammarAccess.getCostAccess().getLeftCurlyBracketKeyword_2(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8881:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8881:3: 'perUnit' ( (lv_perUnit_4_0= rulecostUnit ) )
{
match(input,127,FOLLOW_127_in_ruleCost13617);
createLeafNode(grammarAccess.getCostAccess().getPerUnitKeyword_3_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8885:1: ( (lv_perUnit_4_0= rulecostUnit ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8886:1: (lv_perUnit_4_0= rulecostUnit )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8886:1: (lv_perUnit_4_0= rulecostUnit )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8887:3: lv_perUnit_4_0= rulecostUnit
{
currentNode=createCompositeNode(grammarAccess.getCostAccess().getPerUnitCostUnitEnumRuleCall_3_1_0(), currentNode);
pushFollow(FOLLOW_rulecostUnit_in_ruleCost13638);
lv_perUnit_4_0=rulecostUnit();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getCostRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"perUnit",
lv_perUnit_4_0,
"costUnit",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8909:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8909:6: 'Amount' ( (lv_Amount_6_0= ruleEDoubleObject ) )
{
match(input,128,FOLLOW_128_in_ruleCost13651);
createLeafNode(grammarAccess.getCostAccess().getAmountKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8913:1: ( (lv_Amount_6_0= ruleEDoubleObject ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8914:1: (lv_Amount_6_0= ruleEDoubleObject )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8914:1: (lv_Amount_6_0= ruleEDoubleObject )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8915:3: lv_Amount_6_0= ruleEDoubleObject
{
currentNode=createCompositeNode(grammarAccess.getCostAccess().getAmountEDoubleObjectParserRuleCall_4_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDoubleObject_in_ruleCost13672);
lv_Amount_6_0=ruleEDoubleObject();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getCostRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"Amount",
lv_Amount_6_0,
"EDoubleObject",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleCost13684);
createLeafNode(grammarAccess.getCostAccess().getRightCurlyBracketKeyword_5(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleCost
// $ANTLR start entryRuleEDoubleObject
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8949: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8950:2: (iv_ruleEDoubleObject= ruleEDoubleObject EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8951:2: iv_ruleEDoubleObject= ruleEDoubleObject EOF
{
currentNode = createCompositeNode(grammarAccess.getEDoubleObjectRule(), currentNode);
pushFollow(FOLLOW_ruleEDoubleObject_in_entryRuleEDoubleObject13721);
iv_ruleEDoubleObject=ruleEDoubleObject();
_fsp--;
current =iv_ruleEDoubleObject.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleEDoubleObject13732);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleEDoubleObject
// $ANTLR start ruleEDoubleObject
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8958: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;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8963:6: ( ( (kw= '-' )? (this_INT_1= RULE_INT )? kw= '.' this_INT_3= RULE_INT ( (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT )? ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8964: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8964: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8964: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8964:2: (kw= '-' )?
int alt238=2;
int LA238_0 = input.LA(1);
if ( (LA238_0==28) ) {
alt238=1;
}
switch (alt238) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8965:2: kw= '-'
{
kw=(Token)input.LT(1);
match(input,28,FOLLOW_28_in_ruleEDoubleObject13771);
current.merge(kw);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getHyphenMinusKeyword_0(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8970: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8970:8: this_INT_1= RULE_INT
{
this_INT_1=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject13789);
current.merge(this_INT_1);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_1(), null);
}
break;
}
kw=(Token)input.LT(1);
match(input,129,FOLLOW_129_in_ruleEDoubleObject13809);
current.merge(kw);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getFullStopKeyword_2(), null);
this_INT_3=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject13824);
current.merge(this_INT_3);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8990: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8990:2: (kw= 'E' | kw= 'e' ) (kw= '-' )? this_INT_7= RULE_INT
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8990: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("8990:2: (kw= 'E' | kw= 'e' )", 240, 0, input);
throw nvae;
}
switch (alt240) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8991:2: kw= 'E'
{
kw=(Token)input.LT(1);
match(input,130,FOLLOW_130_in_ruleEDoubleObject13844);
current.merge(kw);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getEKeyword_4_0_0(), null);
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:8998:2: kw= 'e'
{
kw=(Token)input.LT(1);
match(input,131,FOLLOW_131_in_ruleEDoubleObject13863);
current.merge(kw);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getEKeyword_4_0_1(), null);
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9003:2: (kw= '-' )?
int alt241=2;
int LA241_0 = input.LA(1);
if ( (LA241_0==28) ) {
alt241=1;
}
switch (alt241) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9004:2: kw= '-'
{
kw=(Token)input.LT(1);
match(input,28,FOLLOW_28_in_ruleEDoubleObject13878);
current.merge(kw);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getHyphenMinusKeyword_4_1(), null);
}
break;
}
this_INT_7=(Token)input.LT(1);
match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEDoubleObject13895);
current.merge(this_INT_7);
createLeafNode(grammarAccess.getEDoubleObjectAccess().getINTTerminalRuleCall_4_2(), null);
}
break;
}
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleEDoubleObject
// $ANTLR start entryRuleReservedResourceContract
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9024: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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9025:2: (iv_ruleReservedResourceContract= ruleReservedResourceContract EOF )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9026:2: iv_ruleReservedResourceContract= ruleReservedResourceContract EOF
{
currentNode = createCompositeNode(grammarAccess.getReservedResourceContractRule(), currentNode);
pushFollow(FOLLOW_ruleReservedResourceContract_in_entryRuleReservedResourceContract13942);
iv_ruleReservedResourceContract=ruleReservedResourceContract();
_fsp--;
current =iv_ruleReservedResourceContract;
match(input,EOF,FOLLOW_EOF_in_entryRuleReservedResourceContract13952);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleReservedResourceContract
// $ANTLR start ruleReservedResourceContract
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9033:1: ruleReservedResourceContract returns [EObject current=null] : ( () 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forResource' ( ( RULE_STRING ) ) )? '}' ) ;
public final EObject ruleReservedResourceContract() throws RecognitionException {
EObject current = null;
Token lv_uniqueID_2_0=null;
Token lv_name_5_0=null;
Token lv_description_9_0=null;
AntlrDatatypeRuleToken lv_id_7_0 = null;
AntlrDatatypeRuleToken lv_ValidFrom_11_0 = null;
AntlrDatatypeRuleToken lv_ValidUntil_13_0 = null;
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9038:6: ( ( () 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forResource' ( ( RULE_STRING ) ) )? '}' ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9039:1: ( () 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forResource' ( ( RULE_STRING ) ) )? '}' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9039:1: ( () 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forResource' ( ( RULE_STRING ) ) )? '}' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9039:2: () 'ReservedResourceContract' ( (lv_uniqueID_2_0= RULE_STRING ) ) '{' ( 'name' ( (lv_name_5_0= RULE_STRING ) ) )? ( 'id' ( (lv_id_7_0= ruleEInt ) ) )? ( 'description' ( (lv_description_9_0= RULE_STRING ) ) )? ( 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) ) )? ( 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) ) )? ( 'forResource' ( ( RULE_STRING ) ) )? '}'
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9039:2: ()
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9040:5:
{
temp=factory.create(grammarAccess.getReservedResourceContractAccess().getReservedResourceContractAction_0().getType().getClassifier());
current = temp;
temp = null;
CompositeNode newNode = createCompositeNode(grammarAccess.getReservedResourceContractAccess().getReservedResourceContractAction_0(), currentNode.getParent());
newNode.getChildren().add(currentNode);
moveLookaheadInfo(currentNode, newNode);
currentNode = newNode;
associateNodeWithAstElement(currentNode, current);
}
match(input,132,FOLLOW_132_in_ruleReservedResourceContract13996);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getReservedResourceContractKeyword_1(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9054:1: ( (lv_uniqueID_2_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9055:1: (lv_uniqueID_2_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9055:1: (lv_uniqueID_2_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9056:3: lv_uniqueID_2_0= RULE_STRING
{
lv_uniqueID_2_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14013);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getUniqueIDSTRINGTerminalRuleCall_2_0(), "uniqueID");
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"uniqueID",
lv_uniqueID_2_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
match(input,14,FOLLOW_14_in_ruleReservedResourceContract14028);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getLeftCurlyBracketKeyword_3(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9082:1: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9082:3: 'name' ( (lv_name_5_0= RULE_STRING ) )
{
match(input,15,FOLLOW_15_in_ruleReservedResourceContract14039);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getNameKeyword_4_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9086:1: ( (lv_name_5_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9087:1: (lv_name_5_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9087:1: (lv_name_5_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9088:3: lv_name_5_0= RULE_STRING
{
lv_name_5_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14056);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getNameSTRINGTerminalRuleCall_4_1_0(), "name");
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"name",
lv_name_5_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9110:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9110:6: 'id' ( (lv_id_7_0= ruleEInt ) )
{
match(input,16,FOLLOW_16_in_ruleReservedResourceContract14074);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getIdKeyword_5_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9114:1: ( (lv_id_7_0= ruleEInt ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9115:1: (lv_id_7_0= ruleEInt )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9115:1: (lv_id_7_0= ruleEInt )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9116:3: lv_id_7_0= ruleEInt
{
currentNode=createCompositeNode(grammarAccess.getReservedResourceContractAccess().getIdEIntParserRuleCall_5_1_0(), currentNode);
pushFollow(FOLLOW_ruleEInt_in_ruleReservedResourceContract14095);
lv_id_7_0=ruleEInt();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"id",
lv_id_7_0,
"EInt",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9138:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9138:6: 'description' ( (lv_description_9_0= RULE_STRING ) )
{
match(input,17,FOLLOW_17_in_ruleReservedResourceContract14108);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getDescriptionKeyword_6_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9142:1: ( (lv_description_9_0= RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9143:1: (lv_description_9_0= RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9143:1: (lv_description_9_0= RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9144:3: lv_description_9_0= RULE_STRING
{
lv_description_9_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14125);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getDescriptionSTRINGTerminalRuleCall_6_1_0(), "description");
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
try {
set(
current,
"description",
lv_description_9_0,
"STRING",
lastConsumedNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9166:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9166:6: 'ValidFrom' ( (lv_ValidFrom_11_0= ruleEDate ) )
{
match(input,47,FOLLOW_47_in_ruleReservedResourceContract14143);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getValidFromKeyword_7_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9170:1: ( (lv_ValidFrom_11_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9171:1: (lv_ValidFrom_11_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9171:1: (lv_ValidFrom_11_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9172:3: lv_ValidFrom_11_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getReservedResourceContractAccess().getValidFromEDateParserRuleCall_7_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleReservedResourceContract14164);
lv_ValidFrom_11_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ValidFrom",
lv_ValidFrom_11_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9194:4: ( '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.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9194:6: 'ValidUntil' ( (lv_ValidUntil_13_0= ruleEDate ) )
{
match(input,48,FOLLOW_48_in_ruleReservedResourceContract14177);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getValidUntilKeyword_8_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9198:1: ( (lv_ValidUntil_13_0= ruleEDate ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9199:1: (lv_ValidUntil_13_0= ruleEDate )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9199:1: (lv_ValidUntil_13_0= ruleEDate )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9200:3: lv_ValidUntil_13_0= ruleEDate
{
currentNode=createCompositeNode(grammarAccess.getReservedResourceContractAccess().getValidUntilEDateParserRuleCall_8_1_0(), currentNode);
pushFollow(FOLLOW_ruleEDate_in_ruleReservedResourceContract14198);
lv_ValidUntil_13_0=ruleEDate();
_fsp--;
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode.getParent(), current);
}
try {
set(
current,
"ValidUntil",
lv_ValidUntil_13_0,
"EDate",
currentNode);
} catch (ValueConverterException vce) {
handleValueConverterException(vce);
}
currentNode = currentNode.getParent();
}
}
}
break;
}
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9222:4: ( 'forResource' ( ( RULE_STRING ) ) )?
int alt248=2;
int LA248_0 = input.LA(1);
if ( (LA248_0==133) ) {
alt248=1;
}
switch (alt248) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9222:6: 'forResource' ( ( RULE_STRING ) )
{
match(input,133,FOLLOW_133_in_ruleReservedResourceContract14211);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getForResourceKeyword_9_0(), null);
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9226:1: ( ( RULE_STRING ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9227:1: ( RULE_STRING )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9227:1: ( RULE_STRING )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9228:3: RULE_STRING
{
if (current==null) {
current = factory.create(grammarAccess.getReservedResourceContractRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleReservedResourceContract14229);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getForResourceOfferedResourceCrossReference_9_1_0(), "forResource");
}
}
}
break;
}
match(input,22,FOLLOW_22_in_ruleReservedResourceContract14241);
createLeafNode(grammarAccess.getReservedResourceContractAccess().getRightCurlyBracketKeyword_10(), null);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleReservedResourceContract
// $ANTLR start ruleResourceType
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9252:1: ruleResourceType returns [Enumerator current=null] : ( ( 'SINGLETON' ) | ( 'MULTITON' ) ) ;
public final Enumerator ruleResourceType() throws RecognitionException {
Enumerator current = null;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9256:6: ( ( ( 'SINGLETON' ) | ( 'MULTITON' ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9257:1: ( ( 'SINGLETON' ) | ( 'MULTITON' ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9257:1: ( ( 'SINGLETON' ) | ( '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("9257:1: ( ( 'SINGLETON' ) | ( 'MULTITON' ) )", 249, 0, input);
throw nvae;
}
switch (alt249) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9257:2: ( 'SINGLETON' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9257:2: ( 'SINGLETON' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9257:4: 'SINGLETON'
{
match(input,134,FOLLOW_134_in_ruleResourceType14289);
current = grammarAccess.getResourceTypeAccess().getSINGLETONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getResourceTypeAccess().getSINGLETONEnumLiteralDeclaration_0(), null);
}
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9263:6: ( 'MULTITON' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9263:6: ( 'MULTITON' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9263:8: 'MULTITON'
{
match(input,135,FOLLOW_135_in_ruleResourceType14304);
current = grammarAccess.getResourceTypeAccess().getMULTITONEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getResourceTypeAccess().getMULTITONEnumLiteralDeclaration_1(), null);
}
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleResourceType
// $ANTLR start ruleServiceResourceOperation
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9273:1: ruleServiceResourceOperation returns [Enumerator current=null] : ( ( 'OP_CREATE' ) | ( 'OP_READ' ) | ( 'OP_UPDATE' ) | ( 'OP_DELETE' ) ) ;
public final Enumerator ruleServiceResourceOperation() throws RecognitionException {
Enumerator current = null;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9277:6: ( ( ( 'OP_CREATE' ) | ( 'OP_READ' ) | ( 'OP_UPDATE' ) | ( 'OP_DELETE' ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9278:1: ( ( 'OP_CREATE' ) | ( 'OP_READ' ) | ( 'OP_UPDATE' ) | ( 'OP_DELETE' ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9278:1: ( ( 'OP_CREATE' ) | ( 'OP_READ' ) | ( 'OP_UPDATE' ) | ( '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("9278:1: ( ( 'OP_CREATE' ) | ( 'OP_READ' ) | ( 'OP_UPDATE' ) | ( 'OP_DELETE' ) )", 250, 0, input);
throw nvae;
}
switch (alt250) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9278:2: ( 'OP_CREATE' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9278:2: ( 'OP_CREATE' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9278:4: 'OP_CREATE'
{
match(input,136,FOLLOW_136_in_ruleServiceResourceOperation14347);
current = grammarAccess.getServiceResourceOperationAccess().getOP_CREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getServiceResourceOperationAccess().getOP_CREATEEnumLiteralDeclaration_0(), null);
}
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9284:6: ( 'OP_READ' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9284:6: ( 'OP_READ' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9284:8: 'OP_READ'
{
match(input,137,FOLLOW_137_in_ruleServiceResourceOperation14362);
current = grammarAccess.getServiceResourceOperationAccess().getOP_READEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getServiceResourceOperationAccess().getOP_READEnumLiteralDeclaration_1(), null);
}
}
break;
case 3 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9290:6: ( 'OP_UPDATE' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9290:6: ( 'OP_UPDATE' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9290:8: 'OP_UPDATE'
{
match(input,138,FOLLOW_138_in_ruleServiceResourceOperation14377);
current = grammarAccess.getServiceResourceOperationAccess().getOP_UPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getServiceResourceOperationAccess().getOP_UPDATEEnumLiteralDeclaration_2(), null);
}
}
break;
case 4 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9296:6: ( 'OP_DELETE' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9296:6: ( 'OP_DELETE' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9296:8: 'OP_DELETE'
{
match(input,139,FOLLOW_139_in_ruleServiceResourceOperation14392);
current = grammarAccess.getServiceResourceOperationAccess().getOP_DELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getServiceResourceOperationAccess().getOP_DELETEEnumLiteralDeclaration_3(), null);
}
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleServiceResourceOperation
// $ANTLR start ruleRepatabilityScheme
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9306:1: ruleRepatabilityScheme returns [Enumerator current=null] : ( ( 'DAILY' ) | ( 'WEEKLY' ) | ( 'MONTHLY' ) | ( 'YEARLY' ) ) ;
public final Enumerator ruleRepatabilityScheme() throws RecognitionException {
Enumerator current = null;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9310:6: ( ( ( 'DAILY' ) | ( 'WEEKLY' ) | ( 'MONTHLY' ) | ( 'YEARLY' ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9311:1: ( ( 'DAILY' ) | ( 'WEEKLY' ) | ( 'MONTHLY' ) | ( 'YEARLY' ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9311:1: ( ( 'DAILY' ) | ( 'WEEKLY' ) | ( 'MONTHLY' ) | ( '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("9311:1: ( ( 'DAILY' ) | ( 'WEEKLY' ) | ( 'MONTHLY' ) | ( 'YEARLY' ) )", 251, 0, input);
throw nvae;
}
switch (alt251) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9311:2: ( 'DAILY' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9311:2: ( 'DAILY' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9311:4: 'DAILY'
{
match(input,140,FOLLOW_140_in_ruleRepatabilityScheme14435);
current = grammarAccess.getRepatabilitySchemeAccess().getDAILYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getRepatabilitySchemeAccess().getDAILYEnumLiteralDeclaration_0(), null);
}
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9317:6: ( 'WEEKLY' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9317:6: ( 'WEEKLY' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9317:8: 'WEEKLY'
{
match(input,141,FOLLOW_141_in_ruleRepatabilityScheme14450);
current = grammarAccess.getRepatabilitySchemeAccess().getWEEKLYEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getRepatabilitySchemeAccess().getWEEKLYEnumLiteralDeclaration_1(), null);
}
}
break;
case 3 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9323:6: ( 'MONTHLY' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9323:6: ( 'MONTHLY' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9323:8: 'MONTHLY'
{
match(input,142,FOLLOW_142_in_ruleRepatabilityScheme14465);
current = grammarAccess.getRepatabilitySchemeAccess().getMONTHLYEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getRepatabilitySchemeAccess().getMONTHLYEnumLiteralDeclaration_2(), null);
}
}
break;
case 4 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9329:6: ( 'YEARLY' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9329:6: ( 'YEARLY' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9329:8: 'YEARLY'
{
match(input,143,FOLLOW_143_in_ruleRepatabilityScheme14480);
current = grammarAccess.getRepatabilitySchemeAccess().getYEARLYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getRepatabilitySchemeAccess().getYEARLYEnumLiteralDeclaration_3(), null);
}
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleRepatabilityScheme
// $ANTLR start rulecostUnit
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9339:1: rulecostUnit returns [Enumerator current=null] : ( ( 'MIN' ) | ( 'HOUR' ) | ( 'DAY' ) | ( 'USAGE' ) | ( 'OTHER' ) ) ;
public final Enumerator rulecostUnit() throws RecognitionException {
Enumerator current = null;
setCurrentLookahead(); resetLookahead();
try {
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9343:6: ( ( ( 'MIN' ) | ( 'HOUR' ) | ( 'DAY' ) | ( 'USAGE' ) | ( 'OTHER' ) ) )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9344:1: ( ( 'MIN' ) | ( 'HOUR' ) | ( 'DAY' ) | ( 'USAGE' ) | ( 'OTHER' ) )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9344:1: ( ( 'MIN' ) | ( 'HOUR' ) | ( 'DAY' ) | ( 'USAGE' ) | ( '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("9344:1: ( ( 'MIN' ) | ( 'HOUR' ) | ( 'DAY' ) | ( 'USAGE' ) | ( 'OTHER' ) )", 252, 0, input);
throw nvae;
}
switch (alt252) {
case 1 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9344:2: ( 'MIN' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9344:2: ( 'MIN' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9344:4: 'MIN'
{
match(input,144,FOLLOW_144_in_rulecostUnit14523);
current = grammarAccess.getCostUnitAccess().getMINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getCostUnitAccess().getMINEnumLiteralDeclaration_0(), null);
}
}
break;
case 2 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9350:6: ( 'HOUR' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9350:6: ( 'HOUR' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9350:8: 'HOUR'
{
match(input,145,FOLLOW_145_in_rulecostUnit14538);
current = grammarAccess.getCostUnitAccess().getHOUREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getCostUnitAccess().getHOUREnumLiteralDeclaration_1(), null);
}
}
break;
case 3 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9356:6: ( 'DAY' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9356:6: ( 'DAY' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9356:8: 'DAY'
{
match(input,146,FOLLOW_146_in_rulecostUnit14553);
current = grammarAccess.getCostUnitAccess().getDAYEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getCostUnitAccess().getDAYEnumLiteralDeclaration_2(), null);
}
}
break;
case 4 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9362:6: ( 'USAGE' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9362:6: ( 'USAGE' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9362:8: 'USAGE'
{
match(input,147,FOLLOW_147_in_rulecostUnit14568);
current = grammarAccess.getCostUnitAccess().getUSAGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getCostUnitAccess().getUSAGEEnumLiteralDeclaration_3(), null);
}
}
break;
case 5 :
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9368:6: ( 'OTHER' )
{
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9368:6: ( 'OTHER' )
// ../org.panlab.officedl/src-gen/org/panlab/officedl/parser/antlr/internal/InternalOfficeDL.g:9368:8: 'OTHER'
{
match(input,148,FOLLOW_148_in_rulecostUnit14583);
current = grammarAccess.getCostUnitAccess().getOTHEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
createLeafNode(grammarAccess.getCostUnitAccess().getOTHEREnumLiteralDeclaration_4(), null);
}
}
break;
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end rulecostUnit
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_ruleImportOffice243 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleImportOffice260 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_12_in_ruleImportOffice275 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOffice_in_entryRuleOffice311 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOffice321 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_13_in_ruleOffice365 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice382 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice397 = new BitSet(new long[]{0x000000000FDF8000L});
public static final BitSet FOLLOW_15_in_ruleOffice408 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice425 = new BitSet(new long[]{0x000000000FDF0000L});
public static final BitSet FOLLOW_16_in_ruleOffice443 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOffice464 = new BitSet(new long[]{0x000000000FDE0000L});
public static final BitSet FOLLOW_17_in_ruleOffice477 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice494 = new BitSet(new long[]{0x000000000FDC0000L});
public static final BitSet FOLLOW_18_in_ruleOffice512 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice529 = new BitSet(new long[]{0x000000000FD80000L});
public static final BitSet FOLLOW_19_in_ruleOffice547 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOffice564 = new BitSet(new long[]{0x000000000FD00000L});
public static final BitSet FOLLOW_20_in_ruleOffice582 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice592 = new BitSet(new long[]{0xD040000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_ruleOfficeUser_in_ruleOffice613 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice624 = new BitSet(new long[]{0xD040000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_ruleOfficeUser_in_ruleOffice645 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice657 = new BitSet(new long[]{0x000000000FC00000L});
public static final BitSet FOLLOW_23_in_ruleOffice670 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice680 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleOffice701 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice712 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleOffice733 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice745 = new BitSet(new long[]{0x000000000F400000L});
public static final BitSet FOLLOW_24_in_ruleOffice758 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice768 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_ruleOfferedService_in_ruleOffice789 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice800 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_ruleOfferedService_in_ruleOffice821 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice833 = new BitSet(new long[]{0x000000000E400000L});
public static final BitSet FOLLOW_25_in_ruleOffice846 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice856 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_ruleServiceComposition_in_ruleOffice877 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice888 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_ruleServiceComposition_in_ruleOffice909 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice921 = new BitSet(new long[]{0x000000000C400000L});
public static final BitSet FOLLOW_26_in_ruleOffice934 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice944 = new BitSet(new long[]{0x0000010000000000L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_ruleOffice965 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice976 = new BitSet(new long[]{0x0000010000000000L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_ruleOffice997 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice1009 = new BitSet(new long[]{0x0000000008400000L});
public static final BitSet FOLLOW_27_in_ruleOffice1022 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOffice1032 = new BitSet(new long[]{0x0000400000000000L});
public static final BitSet FOLLOW_ruleSLA_in_ruleOffice1053 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOffice1064 = new BitSet(new long[]{0x0000400000000000L});
public static final BitSet FOLLOW_ruleSLA_in_ruleOffice1085 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOffice1097 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOffice1109 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeUser_in_entryRuleOfficeUser1145 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficeUser1155 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourcesProvider_Impl_in_ruleOfficeUser1202 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTestbedDesigner_in_ruleOfficeUser1229 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdmin_in_ruleOfficeUser1256 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeCustomer_in_ruleOfficeUser1283 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficePersonel_Impl_in_ruleOfficeUser1310 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSettingType_in_entryRuleSettingType1349 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSettingType1359 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeString_in_ruleSettingType1406 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnum_in_ruleSettingType1433 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeList_in_ruleSettingType1460 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeTideElement_in_ruleSettingType1487 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEInt_in_entryRuleEInt1527 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEInt1538 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleEInt1577 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEInt1594 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTaxonomy_in_entryRuleTaxonomy1639 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTaxonomy1649 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleTaxonomy1693 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1710 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy1725 = new BitSet(new long[]{0x0000000E40438000L});
public static final BitSet FOLLOW_15_in_ruleTaxonomy1736 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1753 = new BitSet(new long[]{0x0000000E40430000L});
public static final BitSet FOLLOW_16_in_ruleTaxonomy1771 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleTaxonomy1792 = new BitSet(new long[]{0x0000000E40420000L});
public static final BitSet FOLLOW_17_in_ruleTaxonomy1805 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1822 = new BitSet(new long[]{0x0000000E40400000L});
public static final BitSet FOLLOW_30_in_ruleTaxonomy1840 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleTaxonomy1850 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1868 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy1879 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1897 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTaxonomy1909 = new BitSet(new long[]{0x0000000E00400000L});
public static final BitSet FOLLOW_33_in_ruleTaxonomy1922 = 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_ruleTaxonomy1950 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy1961 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTaxonomy1979 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTaxonomy1991 = new BitSet(new long[]{0x0000000C00400000L});
public static final BitSet FOLLOW_34_in_ruleTaxonomy2004 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy2014 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleTaxonomy2035 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy2046 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_ruleTaxonomy_in_ruleTaxonomy2067 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2079 = new BitSet(new long[]{0x0000000800400000L});
public static final BitSet FOLLOW_35_in_ruleTaxonomy2092 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTaxonomy2102 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L});
public static final BitSet FOLLOW_ruleResourceCategory_in_ruleTaxonomy2123 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleTaxonomy2134 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L});
public static final BitSet FOLLOW_ruleResourceCategory_in_ruleTaxonomy2155 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2167 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleTaxonomy2179 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfferedService_in_entryRuleOfferedService2215 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfferedService2225 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_36_in_ruleOfferedService2269 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2286 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedService2301 = new BitSet(new long[]{0x0000006000438000L});
public static final BitSet FOLLOW_15_in_ruleOfferedService2312 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2329 = new BitSet(new long[]{0x0000006000430000L});
public static final BitSet FOLLOW_16_in_ruleOfferedService2347 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedService2368 = new BitSet(new long[]{0x0000006000420000L});
public static final BitSet FOLLOW_17_in_ruleOfferedService2381 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2398 = new BitSet(new long[]{0x0000006000400000L});
public static final BitSet FOLLOW_37_in_ruleOfferedService2416 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedService2426 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2444 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedService2455 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedService2473 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedService2485 = new BitSet(new long[]{0x0000004000400000L});
public static final BitSet FOLLOW_38_in_ruleOfferedService2498 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedService2508 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleOfferedService2529 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOfferedService2540 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleOfferedService2561 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOfferedService2573 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfferedService2585 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleServiceComposition_in_entryRuleServiceComposition2621 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleServiceComposition2631 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_39_in_ruleServiceComposition2675 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2692 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceComposition2707 = new BitSet(new long[]{0x0000000200438000L});
public static final BitSet FOLLOW_15_in_ruleServiceComposition2718 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2735 = new BitSet(new long[]{0x0000000200430000L});
public static final BitSet FOLLOW_16_in_ruleServiceComposition2753 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleServiceComposition2774 = new BitSet(new long[]{0x0000000200420000L});
public static final BitSet FOLLOW_17_in_ruleServiceComposition2787 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2804 = new BitSet(new long[]{0x0000000200400000L});
public static final BitSet FOLLOW_33_in_ruleServiceComposition2822 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceComposition2832 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2850 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceComposition2861 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceComposition2879 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceComposition2891 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleServiceComposition2903 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceServiceContract_in_entryRuleResourceServiceContract2939 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceServiceContract2949 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleResourceServiceContract2984 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3001 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceServiceContract3016 = new BitSet(new long[]{0x0000020000038000L});
public static final BitSet FOLLOW_15_in_ruleResourceServiceContract3027 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3044 = new BitSet(new long[]{0x0000020000030000L});
public static final BitSet FOLLOW_16_in_ruleResourceServiceContract3062 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceServiceContract3083 = new BitSet(new long[]{0x0000020000020000L});
public static final BitSet FOLLOW_17_in_ruleResourceServiceContract3096 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3113 = new BitSet(new long[]{0x0000020000000000L});
public static final BitSet FOLLOW_41_in_ruleResourceServiceContract3130 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleResourceServiceContract3151 = new BitSet(new long[]{0x0000040000000000L});
public static final BitSet FOLLOW_42_in_ruleResourceServiceContract3161 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleResourceServiceContract3182 = new BitSet(new long[]{0x0000080000000000L});
public static final BitSet FOLLOW_43_in_ruleResourceServiceContract3192 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3210 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_44_in_ruleResourceServiceContract3220 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceServiceContract3238 = new BitSet(new long[]{0x0000200000400000L});
public static final BitSet FOLLOW_45_in_ruleResourceServiceContract3249 = new BitSet(new long[]{0x0000000000000000L,0x0060000000000000L});
public static final BitSet FOLLOW_ruleAvailability_in_ruleResourceServiceContract3270 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceServiceContract3282 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSLA_in_entryRuleSLA3318 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSLA3328 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_46_in_ruleSLA3372 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3389 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSLA3404 = new BitSet(new long[]{0x0007800000438000L});
public static final BitSet FOLLOW_15_in_ruleSLA3415 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3432 = new BitSet(new long[]{0x0007800000430000L});
public static final BitSet FOLLOW_16_in_ruleSLA3450 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSLA3471 = new BitSet(new long[]{0x0007800000420000L});
public static final BitSet FOLLOW_17_in_ruleSLA3484 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3501 = new BitSet(new long[]{0x0007800000400000L});
public static final BitSet FOLLOW_47_in_ruleSLA3519 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleSLA3540 = new BitSet(new long[]{0x0007000000400000L});
public static final BitSet FOLLOW_48_in_ruleSLA3553 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleSLA3574 = new BitSet(new long[]{0x0006000000400000L});
public static final BitSet FOLLOW_49_in_ruleSLA3587 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSLA3605 = new BitSet(new long[]{0x0004000000400000L});
public static final BitSet FOLLOW_50_in_ruleSLA3618 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSLA3628 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_ruleSLA3649 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSLA3660 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_ruleSLA3681 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSLA3693 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSLA3705 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAccount_in_entryRuleAccount3741 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAccount3751 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleAccount3795 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount3812 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAccount3827 = new BitSet(new long[]{0x0030000000438000L});
public static final BitSet FOLLOW_15_in_ruleAccount3838 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount3855 = new BitSet(new long[]{0x0030000000430000L});
public static final BitSet FOLLOW_16_in_ruleAccount3873 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAccount3894 = new BitSet(new long[]{0x0030000000420000L});
public static final BitSet FOLLOW_17_in_ruleAccount3907 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount3924 = new BitSet(new long[]{0x0030000000400000L});
public static final BitSet FOLLOW_52_in_ruleAccount3942 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount3959 = new BitSet(new long[]{0x0020000000400000L});
public static final BitSet FOLLOW_53_in_ruleAccount3977 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAccount3994 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAccount4011 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourcesProvider_Impl_in_entryRuleResourcesProvider_Impl4047 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourcesProvider_Impl4057 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_ruleResourcesProvider_Impl4101 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4118 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourcesProvider_Impl4133 = new BitSet(new long[]{0x0F80000000438000L});
public static final BitSet FOLLOW_15_in_ruleResourcesProvider_Impl4144 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4161 = new BitSet(new long[]{0x0F80000000430000L});
public static final BitSet FOLLOW_16_in_ruleResourcesProvider_Impl4179 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourcesProvider_Impl4200 = new BitSet(new long[]{0x0F80000000420000L});
public static final BitSet FOLLOW_17_in_ruleResourcesProvider_Impl4213 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4230 = new BitSet(new long[]{0x0F80000000400000L});
public static final BitSet FOLLOW_55_in_ruleResourcesProvider_Impl4248 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4265 = new BitSet(new long[]{0x0F00000000400000L});
public static final BitSet FOLLOW_56_in_ruleResourcesProvider_Impl4283 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4300 = new BitSet(new long[]{0x0E00000000400000L});
public static final BitSet FOLLOW_57_in_ruleResourcesProvider_Impl4318 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourcesProvider_Impl4335 = new BitSet(new long[]{0x0C00000000400000L});
public static final BitSet FOLLOW_58_in_ruleResourcesProvider_Impl4353 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleResourcesProvider_Impl4374 = new BitSet(new long[]{0x0800000000400000L});
public static final BitSet FOLLOW_59_in_ruleResourcesProvider_Impl4387 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourcesProvider_Impl4397 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4418 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResourcesProvider_Impl4429 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_ruleSite_in_ruleResourcesProvider_Impl4450 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResourcesProvider_Impl4462 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourcesProvider_Impl4474 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTestbedDesigner_in_entryRuleTestbedDesigner4510 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTestbedDesigner4520 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_ruleTestbedDesigner4564 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4581 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleTestbedDesigner4596 = new BitSet(new long[]{0x2780000000438000L});
public static final BitSet FOLLOW_15_in_ruleTestbedDesigner4607 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4624 = new BitSet(new long[]{0x2780000000430000L});
public static final BitSet FOLLOW_16_in_ruleTestbedDesigner4642 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleTestbedDesigner4663 = new BitSet(new long[]{0x2780000000420000L});
public static final BitSet FOLLOW_17_in_ruleTestbedDesigner4676 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4693 = new BitSet(new long[]{0x2780000000400000L});
public static final BitSet FOLLOW_55_in_ruleTestbedDesigner4711 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4728 = new BitSet(new long[]{0x2700000000400000L});
public static final BitSet FOLLOW_56_in_ruleTestbedDesigner4746 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4763 = new BitSet(new long[]{0x2600000000400000L});
public static final BitSet FOLLOW_57_in_ruleTestbedDesigner4781 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4798 = new BitSet(new long[]{0x2400000000400000L});
public static final BitSet FOLLOW_61_in_ruleTestbedDesigner4816 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleTestbedDesigner4826 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4844 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleTestbedDesigner4855 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleTestbedDesigner4873 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleTestbedDesigner4885 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleTestbedDesigner4898 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleTestbedDesigner4919 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleTestbedDesigner4931 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdmin_in_entryRuleAdmin4967 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAdmin4977 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_62_in_ruleAdmin5021 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5038 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAdmin5053 = new BitSet(new long[]{0x0780000000438000L});
public static final BitSet FOLLOW_15_in_ruleAdmin5064 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5081 = new BitSet(new long[]{0x0780000000430000L});
public static final BitSet FOLLOW_16_in_ruleAdmin5099 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAdmin5120 = new BitSet(new long[]{0x0780000000420000L});
public static final BitSet FOLLOW_17_in_ruleAdmin5133 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5150 = new BitSet(new long[]{0x0780000000400000L});
public static final BitSet FOLLOW_55_in_ruleAdmin5168 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5185 = new BitSet(new long[]{0x0700000000400000L});
public static final BitSet FOLLOW_56_in_ruleAdmin5203 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5220 = new BitSet(new long[]{0x0600000000400000L});
public static final BitSet FOLLOW_57_in_ruleAdmin5238 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAdmin5255 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleAdmin5273 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleAdmin5294 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAdmin5306 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficeCustomer_in_entryRuleOfficeCustomer5342 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficeCustomer5352 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_63_in_ruleOfficeCustomer5396 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5413 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfficeCustomer5428 = new BitSet(new long[]{0x0780000000438000L,0x0000000000000003L});
public static final BitSet FOLLOW_15_in_ruleOfficeCustomer5439 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5456 = new BitSet(new long[]{0x0780000000430000L,0x0000000000000003L});
public static final BitSet FOLLOW_16_in_ruleOfficeCustomer5474 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfficeCustomer5495 = new BitSet(new long[]{0x0780000000420000L,0x0000000000000003L});
public static final BitSet FOLLOW_17_in_ruleOfficeCustomer5508 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5525 = new BitSet(new long[]{0x0780000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_55_in_ruleOfficeCustomer5543 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5560 = new BitSet(new long[]{0x0700000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_56_in_ruleOfficeCustomer5578 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5595 = new BitSet(new long[]{0x0600000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_57_in_ruleOfficeCustomer5613 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5630 = new BitSet(new long[]{0x0400000000400000L,0x0000000000000003L});
public static final BitSet FOLLOW_64_in_ruleOfficeCustomer5648 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfficeCustomer5658 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5676 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfficeCustomer5687 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5705 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfficeCustomer5717 = new BitSet(new long[]{0x0400000000400000L,0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ruleOfficeCustomer5730 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficeCustomer5748 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleOfficeCustomer5761 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleOfficeCustomer5782 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfficeCustomer5794 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfficePersonel_Impl_in_entryRuleOfficePersonel_Impl5830 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfficePersonel_Impl5840 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_ruleOfficePersonel_Impl5884 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl5901 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfficePersonel_Impl5916 = new BitSet(new long[]{0x0780000000438000L});
public static final BitSet FOLLOW_15_in_ruleOfficePersonel_Impl5927 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl5944 = new BitSet(new long[]{0x0780000000430000L});
public static final BitSet FOLLOW_16_in_ruleOfficePersonel_Impl5962 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfficePersonel_Impl5983 = new BitSet(new long[]{0x0780000000420000L});
public static final BitSet FOLLOW_17_in_ruleOfficePersonel_Impl5996 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6013 = new BitSet(new long[]{0x0780000000400000L});
public static final BitSet FOLLOW_55_in_ruleOfficePersonel_Impl6031 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6048 = new BitSet(new long[]{0x0700000000400000L});
public static final BitSet FOLLOW_56_in_ruleOfficePersonel_Impl6066 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6083 = new BitSet(new long[]{0x0600000000400000L});
public static final BitSet FOLLOW_57_in_ruleOfficePersonel_Impl6101 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfficePersonel_Impl6118 = new BitSet(new long[]{0x0400000000400000L});
public static final BitSet FOLLOW_58_in_ruleOfficePersonel_Impl6136 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_ruleAccount_in_ruleOfficePersonel_Impl6157 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfficePersonel_Impl6169 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSite_in_entryRuleSite6205 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSite6215 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_67_in_ruleSite6250 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6267 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6282 = new BitSet(new long[]{0x0000000000038000L,0x0000000000000010L});
public static final BitSet FOLLOW_15_in_ruleSite6293 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6310 = new BitSet(new long[]{0x0000000000030000L,0x0000000000000010L});
public static final BitSet FOLLOW_16_in_ruleSite6328 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSite6349 = new BitSet(new long[]{0x0000000000020000L,0x0000000000000010L});
public static final BitSet FOLLOW_17_in_ruleSite6362 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSite6379 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_68_in_ruleSite6396 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
public static final BitSet FOLLOW_rulePTM_in_ruleSite6417 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_69_in_ruleSite6427 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6437 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_ruleIGW_in_ruleSite6458 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSite6469 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_ruleIGW_in_ruleSite6490 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSite6502 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
public static final BitSet FOLLOW_70_in_ruleSite6512 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
public static final BitSet FOLLOW_ruleSiteLocation_in_ruleSite6533 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000080L});
public static final BitSet FOLLOW_71_in_ruleSite6544 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSite6554 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L});
public static final BitSet FOLLOW_ruleOfferedResource_in_ruleSite6575 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleSite6586 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L});
public static final BitSet FOLLOW_ruleOfferedResource_in_ruleSite6607 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleSite6619 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSite6631 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePTM_in_entryRulePTM6667 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRulePTM6677 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_rulePTM6721 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM6738 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_rulePTM6753 = new BitSet(new long[]{0x0000000000438000L,0x0000000000000200L});
public static final BitSet FOLLOW_15_in_rulePTM6764 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM6781 = new BitSet(new long[]{0x0000000000430000L,0x0000000000000200L});
public static final BitSet FOLLOW_16_in_rulePTM6799 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_rulePTM6820 = new BitSet(new long[]{0x0000000000420000L,0x0000000000000200L});
public static final BitSet FOLLOW_17_in_rulePTM6833 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM6850 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000200L});
public static final BitSet FOLLOW_73_in_rulePTM6868 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_rulePTM6885 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_rulePTM6902 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIGW_in_entryRuleIGW6938 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleIGW6948 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_ruleIGW6992 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7009 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleIGW7024 = new BitSet(new long[]{0x0000000000438000L,0x0000000000000200L});
public static final BitSet FOLLOW_15_in_ruleIGW7035 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7052 = new BitSet(new long[]{0x0000000000430000L,0x0000000000000200L});
public static final BitSet FOLLOW_16_in_ruleIGW7070 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleIGW7091 = new BitSet(new long[]{0x0000000000420000L,0x0000000000000200L});
public static final BitSet FOLLOW_17_in_ruleIGW7104 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7121 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000200L});
public static final BitSet FOLLOW_73_in_ruleIGW7139 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleIGW7156 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleIGW7173 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSiteLocation_in_entryRuleSiteLocation7209 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSiteLocation7219 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_75_in_ruleSiteLocation7263 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7280 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSiteLocation7295 = new BitSet(new long[]{0x0100000000438000L,0x0000000000001000L});
public static final BitSet FOLLOW_15_in_ruleSiteLocation7306 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7323 = new BitSet(new long[]{0x0100000000430000L,0x0000000000001000L});
public static final BitSet FOLLOW_16_in_ruleSiteLocation7341 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSiteLocation7362 = new BitSet(new long[]{0x0100000000420000L,0x0000000000001000L});
public static final BitSet FOLLOW_17_in_ruleSiteLocation7375 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7392 = new BitSet(new long[]{0x0100000000400000L,0x0000000000001000L});
public static final BitSet FOLLOW_56_in_ruleSiteLocation7410 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7427 = new BitSet(new long[]{0x0000000000400000L,0x0000000000001000L});
public static final BitSet FOLLOW_76_in_ruleSiteLocation7445 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSiteLocation7462 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSiteLocation7479 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOfferedResource_in_entryRuleOfferedResource7515 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOfferedResource7525 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_ruleOfferedResource7569 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7586 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedResource7601 = new BitSet(new long[]{0x0000000000438000L,0x00000000000FC000L});
public static final BitSet FOLLOW_15_in_ruleOfferedResource7612 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7629 = new BitSet(new long[]{0x0000000000430000L,0x00000000000FC000L});
public static final BitSet FOLLOW_16_in_ruleOfferedResource7647 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedResource7668 = new BitSet(new long[]{0x0000000000420000L,0x00000000000FC000L});
public static final BitSet FOLLOW_17_in_ruleOfferedResource7681 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7698 = new BitSet(new long[]{0x0000000000400000L,0x00000000000FC000L});
public static final BitSet FOLLOW_78_in_ruleOfferedResource7716 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000000000000C0L});
public static final BitSet FOLLOW_ruleResourceType_in_ruleOfferedResource7737 = new BitSet(new long[]{0x0000000000400000L,0x00000000000F8000L});
public static final BitSet FOLLOW_79_in_ruleOfferedResource7750 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleOfferedResource7771 = new BitSet(new long[]{0x0000000000400000L,0x00000000000F0000L});
public static final BitSet FOLLOW_80_in_ruleOfferedResource7784 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedResource7794 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7812 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource7823 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7841 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedResource7853 = new BitSet(new long[]{0x0000000000400000L,0x00000000000E0000L});
public static final BitSet FOLLOW_81_in_ruleOfferedResource7866 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOfferedResource7876 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7894 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource7905 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7923 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleOfferedResource7935 = new BitSet(new long[]{0x0000000000400000L,0x00000000000C0000L});
public static final BitSet FOLLOW_82_in_ruleOfferedResource7948 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleOfferedResource7966 = new BitSet(new long[]{0x0000000000400000L,0x0000000000080000L});
public static final BitSet FOLLOW_83_in_ruleOfferedResource7979 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleOfferedResource7989 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleOfferedResource8010 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleOfferedResource8021 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleOfferedResource8042 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleOfferedResource8054 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleOfferedResource8066 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceSetting_in_entryRuleResourceSetting8102 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceSetting8112 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleResourceSetting8164 = new BitSet(new long[]{0x0000000000000000L,0x0000000000E00000L});
public static final BitSet FOLLOW_85_in_ruleResourceSetting8196 = new BitSet(new long[]{0x0000000000000000L,0x0000000000C00000L});
public static final BitSet FOLLOW_86_in_ruleResourceSetting8228 = new BitSet(new long[]{0x0000000000000000L,0x0000000000800000L});
public static final BitSet FOLLOW_87_in_ruleResourceSetting8252 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8269 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceSetting8284 = new BitSet(new long[]{0x0000000000438000L,0x000000007F000000L});
public static final BitSet FOLLOW_15_in_ruleResourceSetting8295 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8312 = new BitSet(new long[]{0x0000000000430000L,0x000000007F000000L});
public static final BitSet FOLLOW_16_in_ruleResourceSetting8330 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceSetting8351 = new BitSet(new long[]{0x0000000000420000L,0x000000007F000000L});
public static final BitSet FOLLOW_17_in_ruleResourceSetting8364 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8381 = new BitSet(new long[]{0x0000000000400000L,0x000000007F000000L});
public static final BitSet FOLLOW_88_in_ruleResourceSetting8406 = new BitSet(new long[]{0x0000000000400000L,0x000000007E000000L});
public static final BitSet FOLLOW_89_in_ruleResourceSetting8438 = new BitSet(new long[]{0x0000000000400000L,0x000000007C000000L});
public static final BitSet FOLLOW_90_in_ruleResourceSetting8463 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceSetting8473 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8491 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting8502 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8520 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceSetting8532 = new BitSet(new long[]{0x0000000000400000L,0x0000000078000000L});
public static final BitSet FOLLOW_91_in_ruleResourceSetting8545 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceSetting8555 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8573 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting8584 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8602 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceSetting8614 = new BitSet(new long[]{0x0000000000400000L,0x0000000070000000L});
public static final BitSet FOLLOW_92_in_ruleResourceSetting8627 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceSetting8645 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleResourceSetting8658 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleResourceSetting8679 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleResourceSetting8692 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceSetting8702 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleResourceSetting8723 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResourceSetting8734 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleResourceSetting8755 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResourceSetting8767 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceSetting8779 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResourceCategory_in_entryRuleResourceCategory8815 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResourceCategory8825 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_95_in_ruleResourceCategory8869 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory8886 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResourceCategory8901 = new BitSet(new long[]{0x0000000000438000L,0x0000000100000000L});
public static final BitSet FOLLOW_15_in_ruleResourceCategory8912 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory8929 = new BitSet(new long[]{0x0000000000430000L,0x0000000100000000L});
public static final BitSet FOLLOW_16_in_ruleResourceCategory8947 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResourceCategory8968 = new BitSet(new long[]{0x0000000000420000L,0x0000000100000000L});
public static final BitSet FOLLOW_17_in_ruleResourceCategory8981 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory8998 = new BitSet(new long[]{0x0000000000400000L,0x0000000100000000L});
public static final BitSet FOLLOW_96_in_ruleResourceCategory9016 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResourceCategory9026 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9044 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResourceCategory9055 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResourceCategory9073 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResourceCategory9085 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResourceCategory9097 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleResource_Impl_in_entryRuleResource_Impl9133 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleResource_Impl9143 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_97_in_ruleResource_Impl9187 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9204 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResource_Impl9219 = new BitSet(new long[]{0x0000000000438000L,0x00000000000B0000L});
public static final BitSet FOLLOW_15_in_ruleResource_Impl9230 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9247 = new BitSet(new long[]{0x0000000000430000L,0x00000000000B0000L});
public static final BitSet FOLLOW_16_in_ruleResource_Impl9265 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleResource_Impl9286 = new BitSet(new long[]{0x0000000000420000L,0x00000000000B0000L});
public static final BitSet FOLLOW_17_in_ruleResource_Impl9299 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9316 = new BitSet(new long[]{0x0000000000400000L,0x00000000000B0000L});
public static final BitSet FOLLOW_80_in_ruleResource_Impl9334 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResource_Impl9344 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9362 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl9373 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9391 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResource_Impl9403 = new BitSet(new long[]{0x0000000000400000L,0x00000000000A0000L});
public static final BitSet FOLLOW_81_in_ruleResource_Impl9416 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleResource_Impl9426 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9444 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl9455 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleResource_Impl9473 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleResource_Impl9485 = new BitSet(new long[]{0x0000000000400000L,0x0000000000080000L});
public static final BitSet FOLLOW_83_in_ruleResource_Impl9498 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleResource_Impl9508 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleResource_Impl9529 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleResource_Impl9540 = new BitSet(new long[]{0x0000000000000000L,0x0000000000F00000L});
public static final BitSet FOLLOW_ruleResourceSetting_in_ruleResource_Impl9561 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleResource_Impl9573 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleResource_Impl9585 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleService_Impl_in_entryRuleService_Impl9621 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleService_Impl9631 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_98_in_ruleService_Impl9675 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl9692 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleService_Impl9707 = new BitSet(new long[]{0x0000006000438000L});
public static final BitSet FOLLOW_15_in_ruleService_Impl9718 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl9735 = new BitSet(new long[]{0x0000006000430000L});
public static final BitSet FOLLOW_16_in_ruleService_Impl9753 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleService_Impl9774 = new BitSet(new long[]{0x0000006000420000L});
public static final BitSet FOLLOW_17_in_ruleService_Impl9787 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl9804 = new BitSet(new long[]{0x0000006000400000L});
public static final BitSet FOLLOW_37_in_ruleService_Impl9822 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleService_Impl9832 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl9850 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleService_Impl9861 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleService_Impl9879 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleService_Impl9891 = new BitSet(new long[]{0x0000004000400000L});
public static final BitSet FOLLOW_38_in_ruleService_Impl9904 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleService_Impl9914 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleService_Impl9935 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleService_Impl9946 = new BitSet(new long[]{0x0000000000000000L,0x0000010000700000L});
public static final BitSet FOLLOW_ruleServiceSetting_in_ruleService_Impl9967 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleService_Impl9979 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleService_Impl9991 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_entryRuleSettingConstraint10029 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSettingConstraint10039 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_99_in_ruleSettingConstraint10083 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10100 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleSettingConstraint10115 = new BitSet(new long[]{0x0000000000438000L,0x0000007000000000L});
public static final BitSet FOLLOW_100_in_ruleSettingConstraint10133 = new BitSet(new long[]{0x0000000000438000L,0x0000006000000000L});
public static final BitSet FOLLOW_101_in_ruleSettingConstraint10165 = new BitSet(new long[]{0x0000000000438000L,0x0000004000000000L});
public static final BitSet FOLLOW_15_in_ruleSettingConstraint10190 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10207 = new BitSet(new long[]{0x0000000000430000L,0x0000004000000000L});
public static final BitSet FOLLOW_16_in_ruleSettingConstraint10225 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleSettingConstraint10246 = new BitSet(new long[]{0x0000000000420000L,0x0000004000000000L});
public static final BitSet FOLLOW_17_in_ruleSettingConstraint10259 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleSettingConstraint10276 = new BitSet(new long[]{0x0000000000400000L,0x0000004000000000L});
public static final BitSet FOLLOW_102_in_ruleSettingConstraint10294 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000F00L});
public static final BitSet FOLLOW_ruleServiceResourceOperation_in_ruleSettingConstraint10315 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleSettingConstraint10327 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAbstractSetting_Impl_in_entryRuleAbstractSetting_Impl10363 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAbstractSetting_Impl10373 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleAbstractSetting_Impl10425 = new BitSet(new long[]{0x0000000000000000L,0x0000008000600000L});
public static final BitSet FOLLOW_85_in_ruleAbstractSetting_Impl10457 = new BitSet(new long[]{0x0000000000000000L,0x0000008000400000L});
public static final BitSet FOLLOW_86_in_ruleAbstractSetting_Impl10489 = new BitSet(new long[]{0x0000000000000000L,0x0000008000000000L});
public static final BitSet FOLLOW_103_in_ruleAbstractSetting_Impl10513 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10530 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAbstractSetting_Impl10545 = new BitSet(new long[]{0x0000000000438000L,0x0000000067000000L});
public static final BitSet FOLLOW_15_in_ruleAbstractSetting_Impl10556 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10573 = new BitSet(new long[]{0x0000000000430000L,0x0000000067000000L});
public static final BitSet FOLLOW_16_in_ruleAbstractSetting_Impl10591 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleAbstractSetting_Impl10612 = new BitSet(new long[]{0x0000000000420000L,0x0000000067000000L});
public static final BitSet FOLLOW_17_in_ruleAbstractSetting_Impl10625 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10642 = new BitSet(new long[]{0x0000000000400000L,0x0000000067000000L});
public static final BitSet FOLLOW_88_in_ruleAbstractSetting_Impl10667 = new BitSet(new long[]{0x0000000000400000L,0x0000000066000000L});
public static final BitSet FOLLOW_89_in_ruleAbstractSetting_Impl10699 = new BitSet(new long[]{0x0000000000400000L,0x0000000064000000L});
public static final BitSet FOLLOW_90_in_ruleAbstractSetting_Impl10724 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleAbstractSetting_Impl10734 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10752 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleAbstractSetting_Impl10763 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleAbstractSetting_Impl10781 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleAbstractSetting_Impl10793 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleAbstractSetting_Impl10806 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleAbstractSetting_Impl10827 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleAbstractSetting_Impl10840 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAbstractSetting_Impl10850 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl10871 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleAbstractSetting_Impl10882 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleAbstractSetting_Impl10903 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleAbstractSetting_Impl10915 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAbstractSetting_Impl10927 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleServiceSetting_in_entryRuleServiceSetting10963 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleServiceSetting10973 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleServiceSetting11025 = new BitSet(new long[]{0x0000000000000000L,0x0000010000600000L});
public static final BitSet FOLLOW_85_in_ruleServiceSetting11057 = new BitSet(new long[]{0x0000000000000000L,0x0000010000400000L});
public static final BitSet FOLLOW_86_in_ruleServiceSetting11089 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L});
public static final BitSet FOLLOW_104_in_ruleServiceSetting11113 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11130 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceSetting11145 = new BitSet(new long[]{0x0000000000438000L,0x0000060067000000L});
public static final BitSet FOLLOW_15_in_ruleServiceSetting11156 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11173 = new BitSet(new long[]{0x0000000000430000L,0x0000060067000000L});
public static final BitSet FOLLOW_16_in_ruleServiceSetting11191 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleServiceSetting11212 = new BitSet(new long[]{0x0000000000420000L,0x0000060067000000L});
public static final BitSet FOLLOW_17_in_ruleServiceSetting11225 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11242 = new BitSet(new long[]{0x0000000000400000L,0x0000060067000000L});
public static final BitSet FOLLOW_88_in_ruleServiceSetting11267 = new BitSet(new long[]{0x0000000000400000L,0x0000060066000000L});
public static final BitSet FOLLOW_89_in_ruleServiceSetting11299 = new BitSet(new long[]{0x0000000000400000L,0x0000060064000000L});
public static final BitSet FOLLOW_90_in_ruleServiceSetting11324 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting11334 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11352 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting11363 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11381 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting11393 = new BitSet(new long[]{0x0000000000400000L,0x0000060060000000L});
public static final BitSet FOLLOW_105_in_ruleServiceSetting11406 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting11416 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11434 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting11445 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11463 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting11475 = new BitSet(new long[]{0x0000000000400000L,0x0000040060000000L});
public static final BitSet FOLLOW_106_in_ruleServiceSetting11488 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleServiceSetting11498 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11516 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting11527 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleServiceSetting11545 = new BitSet(new long[]{0x0000000100200000L});
public static final BitSet FOLLOW_32_in_ruleServiceSetting11557 = new BitSet(new long[]{0x0000000000400000L,0x0000000060000000L});
public static final BitSet FOLLOW_93_in_ruleServiceSetting11570 = new BitSet(new long[]{0x0000000000000000L,0x0002A80000000000L});
public static final BitSet FOLLOW_ruleSettingType_in_ruleServiceSetting11591 = new BitSet(new long[]{0x0000000000400000L,0x0000000040000000L});
public static final BitSet FOLLOW_94_in_ruleServiceSetting11604 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleServiceSetting11614 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleServiceSetting11635 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruleServiceSetting11646 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_ruleSettingConstraint_in_ruleServiceSetting11667 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruleServiceSetting11679 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleServiceSetting11691 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeString_in_entryRuletideTypeString11727 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeString11737 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_107_in_ruletideTypeString11781 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString11798 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeString11813 = new BitSet(new long[]{0x0000000000438000L,0x0000100000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeString11824 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString11841 = new BitSet(new long[]{0x0000000000430000L,0x0000100000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeString11859 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeString11880 = new BitSet(new long[]{0x0000000000420000L,0x0000100000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeString11893 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString11910 = new BitSet(new long[]{0x0000000000400000L,0x0000100000000000L});
public static final BitSet FOLLOW_108_in_ruletideTypeString11928 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeString11945 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeString11962 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnum_in_entryRuletideTypeEnum11998 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeEnum12008 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_109_in_ruletideTypeEnum12052 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12069 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnum12084 = new BitSet(new long[]{0x0000000000438000L,0x0000500000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeEnum12095 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12112 = new BitSet(new long[]{0x0000000000430000L,0x0000500000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeEnum12130 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeEnum12151 = new BitSet(new long[]{0x0000000000420000L,0x0000500000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeEnum12164 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12181 = new BitSet(new long[]{0x0000000000400000L,0x0000500000000000L});
public static final BitSet FOLLOW_108_in_ruletideTypeEnum12199 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnum12217 = new BitSet(new long[]{0x0000000000400000L,0x0000400000000000L});
public static final BitSet FOLLOW_110_in_ruletideTypeEnum12230 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnum12240 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum12261 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_21_in_ruletideTypeEnum12272 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_ruletideTypeEnum12293 = new BitSet(new long[]{0x0000000000600000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnum12305 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnum12317 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeList_in_entryRuletideTypeList12353 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeList12363 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_111_in_ruletideTypeList12407 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList12424 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeList12439 = new BitSet(new long[]{0x0000000000438000L,0x0001000000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeList12450 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList12467 = new BitSet(new long[]{0x0000000000430000L,0x0001000000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeList12485 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeList12506 = new BitSet(new long[]{0x0000000000420000L,0x0001000000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeList12519 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList12536 = new BitSet(new long[]{0x0000000000400000L,0x0001000000000000L});
public static final BitSet FOLLOW_112_in_ruletideTypeList12554 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeList12572 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeList12584 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeTideElement_in_entryRuletideTypeTideElement12620 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeTideElement12630 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_113_in_ruletideTypeTideElement12674 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement12691 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeTideElement12706 = new BitSet(new long[]{0x0000000000438000L,0x0004000000000000L});
public static final BitSet FOLLOW_15_in_ruletideTypeTideElement12717 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement12734 = new BitSet(new long[]{0x0000000000430000L,0x0004000000000000L});
public static final BitSet FOLLOW_16_in_ruletideTypeTideElement12752 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruletideTypeTideElement12773 = new BitSet(new long[]{0x0000000000420000L,0x0004000000000000L});
public static final BitSet FOLLOW_17_in_ruletideTypeTideElement12786 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement12803 = new BitSet(new long[]{0x0000000000400000L,0x0004000000000000L});
public static final BitSet FOLLOW_114_in_ruletideTypeTideElement12821 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeTideElement12839 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeTideElement12851 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruletideTypeEnumItem_in_entryRuletideTypeEnumItem12887 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuletideTypeEnumItem12897 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_115_in_ruletideTypeEnumItem12941 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruletideTypeEnumItem12951 = new BitSet(new long[]{0x0000000000420000L,0x0010000000000000L});
public static final BitSet FOLLOW_116_in_ruletideTypeEnumItem12962 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnumItem12979 = new BitSet(new long[]{0x0000000000420000L});
public static final BitSet FOLLOW_17_in_ruletideTypeEnumItem12997 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruletideTypeEnumItem13014 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruletideTypeEnumItem13031 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDate_in_entryRuleEDate13068 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEDate13079 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleEDate13118 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAvailability_in_entryRuleAvailability13162 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAvailability13172 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_117_in_ruleAvailability13224 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L});
public static final BitSet FOLLOW_118_in_ruleAvailability13248 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleAvailability13258 = new BitSet(new long[]{0x0000000000400000L,0x3F80000000000000L});
public static final BitSet FOLLOW_119_in_ruleAvailability13269 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability13290 = new BitSet(new long[]{0x0000000000400000L,0x3F00000000000000L});
public static final BitSet FOLLOW_120_in_ruleAvailability13303 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability13324 = new BitSet(new long[]{0x0000000000400000L,0x3E00000000000000L});
public static final BitSet FOLLOW_121_in_ruleAvailability13337 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability13358 = new BitSet(new long[]{0x0000000000400000L,0x3C00000000000000L});
public static final BitSet FOLLOW_122_in_ruleAvailability13371 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability13392 = new BitSet(new long[]{0x0000000000400000L,0x3800000000000000L});
public static final BitSet FOLLOW_123_in_ruleAvailability13405 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000000000000F000L});
public static final BitSet FOLLOW_ruleRepatabilityScheme_in_ruleAvailability13426 = new BitSet(new long[]{0x0000000000400000L,0x3000000000000000L});
public static final BitSet FOLLOW_124_in_ruleAvailability13439 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleAvailability13460 = new BitSet(new long[]{0x0000000000400000L,0x2000000000000000L});
public static final BitSet FOLLOW_125_in_ruleAvailability13473 = new BitSet(new long[]{0x0000000000000000L,0x4000000000000000L});
public static final BitSet FOLLOW_ruleCost_in_ruleAvailability13494 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleAvailability13506 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleCost_in_entryRuleCost13542 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleCost13552 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_126_in_ruleCost13596 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleCost13606 = new BitSet(new long[]{0x0000000000400000L,0x8000000000000000L,0x0000000000000001L});
public static final BitSet FOLLOW_127_in_ruleCost13617 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000000001F0000L});
public static final BitSet FOLLOW_rulecostUnit_in_ruleCost13638 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000000L,0x0000000000000001L});
public static final BitSet FOLLOW_128_in_ruleCost13651 = new BitSet(new long[]{0x0000000010000020L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDoubleObject_in_ruleCost13672 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleCost13684 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEDoubleObject_in_entryRuleEDoubleObject13721 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEDoubleObject13732 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleEDoubleObject13771 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject13789 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_129_in_ruleEDoubleObject13809 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject13824 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x000000000000000CL});
public static final BitSet FOLLOW_130_in_ruleEDoubleObject13844 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_131_in_ruleEDoubleObject13863 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_28_in_ruleEDoubleObject13878 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_INT_in_ruleEDoubleObject13895 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleReservedResourceContract_in_entryRuleReservedResourceContract13942 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleReservedResourceContract13952 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_132_in_ruleReservedResourceContract13996 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14013 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_14_in_ruleReservedResourceContract14028 = new BitSet(new long[]{0x0001800000438000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_15_in_ruleReservedResourceContract14039 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14056 = new BitSet(new long[]{0x0001800000430000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_16_in_ruleReservedResourceContract14074 = new BitSet(new long[]{0x0000000010000020L});
public static final BitSet FOLLOW_ruleEInt_in_ruleReservedResourceContract14095 = new BitSet(new long[]{0x0001800000420000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_17_in_ruleReservedResourceContract14108 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14125 = new BitSet(new long[]{0x0001800000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_47_in_ruleReservedResourceContract14143 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleReservedResourceContract14164 = new BitSet(new long[]{0x0001000000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_48_in_ruleReservedResourceContract14177 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleEDate_in_ruleReservedResourceContract14198 = new BitSet(new long[]{0x0000000000400000L,0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_133_in_ruleReservedResourceContract14211 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleReservedResourceContract14229 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_22_in_ruleReservedResourceContract14241 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_134_in_ruleResourceType14289 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_135_in_ruleResourceType14304 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_136_in_ruleServiceResourceOperation14347 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_137_in_ruleServiceResourceOperation14362 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_138_in_ruleServiceResourceOperation14377 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_139_in_ruleServiceResourceOperation14392 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_140_in_ruleRepatabilityScheme14435 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_141_in_ruleRepatabilityScheme14450 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_142_in_ruleRepatabilityScheme14465 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_143_in_ruleRepatabilityScheme14480 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_144_in_rulecostUnit14523 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_145_in_rulecostUnit14538 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_146_in_rulecostUnit14553 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_147_in_rulecostUnit14568 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_148_in_rulecostUnit14583 = new BitSet(new long[]{0x0000000000000002L});
}