blob: 07e88f801d7cffa57eb74990824fc7bc25f75279 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.entitymock.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.osbp.xtext.entitymock.services.EntityMockDSLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
@SuppressWarnings("all")
public class InternalEntityMockDSLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'mock entitymodel for'", "'{'", "'run with priority'", "'import'", "'}'", "'.'", "'*'", "'datainterchanges'", "'datainterchange import'", "'from file'", "'resources'", "'resource'", "'attributes'", "'('", "','", "')'", "'items'", "'objects'", "'object'", "'var'", "'by enum'", "'datatypes'", "'with'", "'switch on'", "'when'", "'embed'", "'defined as'", "'calculate as'", "'based on'", "'randomize'", "'future date'", "'years'", "'past date'", "'boolean'", "'date in range'", "'up to and including'", "'signed double in range'", "'decimals'", "'round to'", "'signed double from'", "'signed integer in range'", "'signed integer from'", "'text from'", "'paragraps'", "'sentences'", "'words'", "'unsigned double in range'", "'unsigned double from'", "'unsigned integer in range'", "'unsigned integer from'", "'datatype'", "'mock entities'", "'mocking'", "'for entity'", "'rows'", "'to'", "'by resource'", "'createBlobMapping'", "'iterate'", "'integer from'", "'until'", "'step'", "'date from'", "'every'", "'yesterday'", "'today'", "'tomorrow'", "'-'", "'as'", "'temporary'", "'by object'", "'calculate based on'", "'using'", "'ref'", "'existing entities'", "'optional for'", "'percent'", "'@'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'days'", "'weeks'", "'months'"
};
public static final int T__144=144;
public static final int T__143=143;
public static final int T__146=146;
public static final int RULE_HEX=7;
public static final int T__50=50;
public static final int T__145=145;
public static final int T__140=140;
public static final int T__142=142;
public static final int T__141=141;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__137=137;
public static final int T__52=52;
public static final int T__136=136;
public static final int T__53=53;
public static final int T__139=139;
public static final int T__54=54;
public static final int T__138=138;
public static final int T__133=133;
public static final int T__132=132;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__61=61;
public static final int T__134=134;
public static final int RULE_ID=5;
public static final int T__131=131;
public static final int T__130=130;
public static final int RULE_INT=4;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__155=155;
public static final int T__154=154;
public static final int T__156=156;
public static final int T__151=151;
public static final int T__150=150;
public static final int T__153=153;
public static final int T__152=152;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__148=148;
public static final int T__41=41;
public static final int T__147=147;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__149=149;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__122=122;
public static final int T__70=70;
public static final int T__121=121;
public static final int T__71=71;
public static final int T__124=124;
public static final int T__72=72;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_STRING=6;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__119=119;
public static final int T__78=78;
public static final int T__118=118;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__117=117;
public static final int T__76=76;
public static final int T__116=116;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalEntityMockDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalEntityMockDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalEntityMockDSLParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g"; }
private EntityMockDSLGrammarAccess grammarAccess;
public InternalEntityMockDSLParser(TokenStream input, EntityMockDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "EntityMockModel";
}
@Override
protected EntityMockDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleEntityMockModel"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:68:1: entryRuleEntityMockModel returns [EObject current=null] : iv_ruleEntityMockModel= ruleEntityMockModel EOF ;
public final EObject entryRuleEntityMockModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockModel = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:69:2: (iv_ruleEntityMockModel= ruleEntityMockModel EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:70:2: iv_ruleEntityMockModel= ruleEntityMockModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockModelRule());
}
pushFollow(FOLLOW_ruleEntityMockModel_in_entryRuleEntityMockModel75);
iv_ruleEntityMockModel=ruleEntityMockModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockModel"
// $ANTLR start "ruleEntityMockModel"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:77:1: ruleEntityMockModel returns [EObject current=null] : ( (lv_packages_0_0= ruleEntityMockPackage ) )* ;
public final EObject ruleEntityMockModel() throws RecognitionException {
EObject current = null;
EObject lv_packages_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:80:28: ( ( (lv_packages_0_0= ruleEntityMockPackage ) )* )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:81:1: ( (lv_packages_0_0= ruleEntityMockPackage ) )*
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:81:1: ( (lv_packages_0_0= ruleEntityMockPackage ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==13) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:82:1: (lv_packages_0_0= ruleEntityMockPackage )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:82:1: (lv_packages_0_0= ruleEntityMockPackage )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:83:3: lv_packages_0_0= ruleEntityMockPackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockModelAccess().getPackagesEntityMockPackageParserRuleCall_0());
}
pushFollow(FOLLOW_ruleEntityMockPackage_in_ruleEntityMockModel130);
lv_packages_0_0=ruleEntityMockPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockModelRule());
}
add(
current,
"packages",
lv_packages_0_0,
"EntityMockPackage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop1;
}
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockModel"
// $ANTLR start "entryRuleEntityMockPackage"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:107:1: entryRuleEntityMockPackage returns [EObject current=null] : iv_ruleEntityMockPackage= ruleEntityMockPackage EOF ;
public final EObject entryRuleEntityMockPackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockPackage = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:108:2: (iv_ruleEntityMockPackage= ruleEntityMockPackage EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:109:2: iv_ruleEntityMockPackage= ruleEntityMockPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageRule());
}
pushFollow(FOLLOW_ruleEntityMockPackage_in_entryRuleEntityMockPackage166);
iv_ruleEntityMockPackage=ruleEntityMockPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockPackage;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockPackage176); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockPackage"
// $ANTLR start "ruleEntityMockPackage"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:116:1: ruleEntityMockPackage returns [EObject current=null] : (otherlv_0= 'mock entitymodel for' ( (lv_imports_1_0= ruleEntityModelImport ) ) otherlv_2= '{' (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )? (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )* ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )? ( (lv_resources_8_0= ruleEntityMockResources ) )? ( (lv_objects_9_0= ruleEntityMockObjects ) )? ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )? ( (lv_entities_11_0= ruleEntityMockEntities ) ) otherlv_12= '}' ) ;
public final EObject ruleEntityMockPackage() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_runPriority_4_0=null;
Token otherlv_5=null;
Token otherlv_12=null;
EObject lv_imports_1_0 = null;
EObject lv_imports_6_0 = null;
EObject lv_datainterchanges_7_0 = null;
EObject lv_resources_8_0 = null;
EObject lv_objects_9_0 = null;
EObject lv_datatypes_10_0 = null;
EObject lv_entities_11_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:119:28: ( (otherlv_0= 'mock entitymodel for' ( (lv_imports_1_0= ruleEntityModelImport ) ) otherlv_2= '{' (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )? (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )* ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )? ( (lv_resources_8_0= ruleEntityMockResources ) )? ( (lv_objects_9_0= ruleEntityMockObjects ) )? ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )? ( (lv_entities_11_0= ruleEntityMockEntities ) ) otherlv_12= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:120:1: (otherlv_0= 'mock entitymodel for' ( (lv_imports_1_0= ruleEntityModelImport ) ) otherlv_2= '{' (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )? (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )* ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )? ( (lv_resources_8_0= ruleEntityMockResources ) )? ( (lv_objects_9_0= ruleEntityMockObjects ) )? ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )? ( (lv_entities_11_0= ruleEntityMockEntities ) ) otherlv_12= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:120:1: (otherlv_0= 'mock entitymodel for' ( (lv_imports_1_0= ruleEntityModelImport ) ) otherlv_2= '{' (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )? (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )* ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )? ( (lv_resources_8_0= ruleEntityMockResources ) )? ( (lv_objects_9_0= ruleEntityMockObjects ) )? ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )? ( (lv_entities_11_0= ruleEntityMockEntities ) ) otherlv_12= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:120:3: otherlv_0= 'mock entitymodel for' ( (lv_imports_1_0= ruleEntityModelImport ) ) otherlv_2= '{' (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )? (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )* ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )? ( (lv_resources_8_0= ruleEntityMockResources ) )? ( (lv_objects_9_0= ruleEntityMockObjects ) )? ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )? ( (lv_entities_11_0= ruleEntityMockEntities ) ) otherlv_12= '}'
{
otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleEntityMockPackage213); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockPackageAccess().getMockEntitymodelForKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:124:1: ( (lv_imports_1_0= ruleEntityModelImport ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:125:1: (lv_imports_1_0= ruleEntityModelImport )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:125:1: (lv_imports_1_0= ruleEntityModelImport )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:126:3: lv_imports_1_0= ruleEntityModelImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getImportsEntityModelImportParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleEntityModelImport_in_ruleEntityMockPackage234);
lv_imports_1_0=ruleEntityModelImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
add(
current,
"imports",
lv_imports_1_0,
"EntityModelImport");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockPackage246); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockPackageAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:146:1: (otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) ) )?
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==15) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:146:3: otherlv_3= 'run with priority' ( (lv_runPriority_4_0= RULE_INT ) )
{
otherlv_3=(Token)match(input,15,FOLLOW_15_in_ruleEntityMockPackage259); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockPackageAccess().getRunWithPriorityKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:150:1: ( (lv_runPriority_4_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:151:1: (lv_runPriority_4_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:151:1: (lv_runPriority_4_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:152:3: lv_runPriority_4_0= RULE_INT
{
lv_runPriority_4_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEntityMockPackage276); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_runPriority_4_0, grammarAccess.getEntityMockPackageAccess().getRunPriorityINTTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockPackageRule());
}
setWithLastConsumed(
current,
"runPriority",
lv_runPriority_4_0,
"INT");
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:168:4: (otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==16) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:168:6: otherlv_5= 'import' ( (lv_imports_6_0= ruleEntityModelImport ) )
{
otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleEntityMockPackage296); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockPackageAccess().getImportKeyword_4_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:172:1: ( (lv_imports_6_0= ruleEntityModelImport ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:173:1: (lv_imports_6_0= ruleEntityModelImport )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:173:1: (lv_imports_6_0= ruleEntityModelImport )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:174:3: lv_imports_6_0= ruleEntityModelImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getImportsEntityModelImportParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_ruleEntityModelImport_in_ruleEntityMockPackage317);
lv_imports_6_0=ruleEntityModelImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
add(
current,
"imports",
lv_imports_6_0,
"EntityModelImport");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop3;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:190:4: ( (lv_datainterchanges_7_0= ruleRunningDataInterchanges ) )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==20) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:191:1: (lv_datainterchanges_7_0= ruleRunningDataInterchanges )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:191:1: (lv_datainterchanges_7_0= ruleRunningDataInterchanges )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:192:3: lv_datainterchanges_7_0= ruleRunningDataInterchanges
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getDatainterchangesRunningDataInterchangesParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleRunningDataInterchanges_in_ruleEntityMockPackage340);
lv_datainterchanges_7_0=ruleRunningDataInterchanges();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
set(
current,
"datainterchanges",
lv_datainterchanges_7_0,
"RunningDataInterchanges");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:208:3: ( (lv_resources_8_0= ruleEntityMockResources ) )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==23) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:209:1: (lv_resources_8_0= ruleEntityMockResources )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:209:1: (lv_resources_8_0= ruleEntityMockResources )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:210:3: lv_resources_8_0= ruleEntityMockResources
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getResourcesEntityMockResourcesParserRuleCall_6_0());
}
pushFollow(FOLLOW_ruleEntityMockResources_in_ruleEntityMockPackage362);
lv_resources_8_0=ruleEntityMockResources();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
set(
current,
"resources",
lv_resources_8_0,
"EntityMockResources");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:226:3: ( (lv_objects_9_0= ruleEntityMockObjects ) )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==30) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:227:1: (lv_objects_9_0= ruleEntityMockObjects )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:227:1: (lv_objects_9_0= ruleEntityMockObjects )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:228:3: lv_objects_9_0= ruleEntityMockObjects
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getObjectsEntityMockObjectsParserRuleCall_7_0());
}
pushFollow(FOLLOW_ruleEntityMockObjects_in_ruleEntityMockPackage384);
lv_objects_9_0=ruleEntityMockObjects();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
set(
current,
"objects",
lv_objects_9_0,
"EntityMockObjects");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:244:3: ( (lv_datatypes_10_0= ruleEntityMockDataTypes ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==34) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:245:1: (lv_datatypes_10_0= ruleEntityMockDataTypes )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:245:1: (lv_datatypes_10_0= ruleEntityMockDataTypes )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:246:3: lv_datatypes_10_0= ruleEntityMockDataTypes
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getDatatypesEntityMockDataTypesParserRuleCall_8_0());
}
pushFollow(FOLLOW_ruleEntityMockDataTypes_in_ruleEntityMockPackage406);
lv_datatypes_10_0=ruleEntityMockDataTypes();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
set(
current,
"datatypes",
lv_datatypes_10_0,
"EntityMockDataTypes");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:262:3: ( (lv_entities_11_0= ruleEntityMockEntities ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:263:1: (lv_entities_11_0= ruleEntityMockEntities )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:263:1: (lv_entities_11_0= ruleEntityMockEntities )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:264:3: lv_entities_11_0= ruleEntityMockEntities
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockPackageAccess().getEntitiesEntityMockEntitiesParserRuleCall_9_0());
}
pushFollow(FOLLOW_ruleEntityMockEntities_in_ruleEntityMockPackage428);
lv_entities_11_0=ruleEntityMockEntities();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockPackageRule());
}
set(
current,
"entities",
lv_entities_11_0,
"EntityMockEntities");
afterParserOrEnumRuleCall();
}
}
}
otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockPackage440); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getEntityMockPackageAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockPackage"
// $ANTLR start "entryRuleEntityModelImport"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:292:1: entryRuleEntityModelImport returns [EObject current=null] : iv_ruleEntityModelImport= ruleEntityModelImport EOF ;
public final EObject entryRuleEntityModelImport() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityModelImport = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:293:2: (iv_ruleEntityModelImport= ruleEntityModelImport EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:294:2: iv_ruleEntityModelImport= ruleEntityModelImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityModelImportRule());
}
pushFollow(FOLLOW_ruleEntityModelImport_in_entryRuleEntityModelImport476);
iv_ruleEntityModelImport=ruleEntityModelImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityModelImport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityModelImport486); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityModelImport"
// $ANTLR start "ruleEntityModelImport"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:301:1: ruleEntityModelImport returns [EObject current=null] : ( (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard ) ) ;
public final EObject ruleEntityModelImport() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_importedNamespace_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:304:28: ( ( (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:305:1: ( (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:305:1: ( (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:306:1: (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:306:1: (lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:307:3: lv_importedNamespace_0_0= ruleEntityMockQualifiedNameWithWildCard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityModelImportAccess().getImportedNamespaceEntityMockQualifiedNameWithWildCardParserRuleCall_0());
}
pushFollow(FOLLOW_ruleEntityMockQualifiedNameWithWildCard_in_ruleEntityModelImport531);
lv_importedNamespace_0_0=ruleEntityMockQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityModelImportRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_0_0,
"EntityMockQualifiedNameWithWildCard");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityModelImport"
// $ANTLR start "entryRuleEntityMockQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:331:1: entryRuleEntityMockQualifiedNameWithWildCard returns [String current=null] : iv_ruleEntityMockQualifiedNameWithWildCard= ruleEntityMockQualifiedNameWithWildCard EOF ;
public final String entryRuleEntityMockQualifiedNameWithWildCard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleEntityMockQualifiedNameWithWildCard = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:332:2: (iv_ruleEntityMockQualifiedNameWithWildCard= ruleEntityMockQualifiedNameWithWildCard EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:333:2: iv_ruleEntityMockQualifiedNameWithWildCard= ruleEntityMockQualifiedNameWithWildCard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockQualifiedNameWithWildCardRule());
}
pushFollow(FOLLOW_ruleEntityMockQualifiedNameWithWildCard_in_entryRuleEntityMockQualifiedNameWithWildCard567);
iv_ruleEntityMockQualifiedNameWithWildCard=ruleEntityMockQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockQualifiedNameWithWildCard.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockQualifiedNameWithWildCard578); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockQualifiedNameWithWildCard"
// $ANTLR start "ruleEntityMockQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:340:1: ruleEntityMockQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ;
public final AntlrDatatypeRuleToken ruleEntityMockQualifiedNameWithWildCard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:343:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:344:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:344:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:345:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockQualifiedNameWithWildCard625);
this_QualifiedName_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_QualifiedName_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:355:1: (kw= '.' kw= '*' )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==18) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:356:2: kw= '.' kw= '*'
{
kw=(Token)match(input,18,FOLLOW_18_in_ruleEntityMockQualifiedNameWithWildCard644); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getEntityMockQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0());
}
kw=(Token)match(input,19,FOLLOW_19_in_ruleEntityMockQualifiedNameWithWildCard657); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getEntityMockQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockQualifiedNameWithWildCard"
// $ANTLR start "entryRuleRunningDataInterchanges"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:375:1: entryRuleRunningDataInterchanges returns [EObject current=null] : iv_ruleRunningDataInterchanges= ruleRunningDataInterchanges EOF ;
public final EObject entryRuleRunningDataInterchanges() throws RecognitionException {
EObject current = null;
EObject iv_ruleRunningDataInterchanges = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:376:2: (iv_ruleRunningDataInterchanges= ruleRunningDataInterchanges EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:377:2: iv_ruleRunningDataInterchanges= ruleRunningDataInterchanges EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getRunningDataInterchangesRule());
}
pushFollow(FOLLOW_ruleRunningDataInterchanges_in_entryRuleRunningDataInterchanges699);
iv_ruleRunningDataInterchanges=ruleRunningDataInterchanges();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleRunningDataInterchanges;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleRunningDataInterchanges709); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleRunningDataInterchanges"
// $ANTLR start "ruleRunningDataInterchanges"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:384:1: ruleRunningDataInterchanges returns [EObject current=null] : ( () otherlv_1= 'datainterchanges' otherlv_2= '{' ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )* otherlv_4= '}' ) ;
public final EObject ruleRunningDataInterchanges() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_datainterchanges_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:387:28: ( ( () otherlv_1= 'datainterchanges' otherlv_2= '{' ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:388:1: ( () otherlv_1= 'datainterchanges' otherlv_2= '{' ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:388:1: ( () otherlv_1= 'datainterchanges' otherlv_2= '{' ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:388:2: () otherlv_1= 'datainterchanges' otherlv_2= '{' ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )* otherlv_4= '}'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:388:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:389:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getRunningDataInterchangesAccess().getRunningDataInterchangesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,20,FOLLOW_20_in_ruleRunningDataInterchanges755); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getRunningDataInterchangesAccess().getDatainterchangesKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleRunningDataInterchanges767); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getRunningDataInterchangesAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:402:1: ( (lv_datainterchanges_3_0= ruleRunningDataInterchange ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==21) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:403:1: (lv_datainterchanges_3_0= ruleRunningDataInterchange )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:403:1: (lv_datainterchanges_3_0= ruleRunningDataInterchange )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:404:3: lv_datainterchanges_3_0= ruleRunningDataInterchange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getRunningDataInterchangesAccess().getDatainterchangesRunningDataInterchangeParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleRunningDataInterchange_in_ruleRunningDataInterchanges788);
lv_datainterchanges_3_0=ruleRunningDataInterchange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getRunningDataInterchangesRule());
}
add(
current,
"datainterchanges",
lv_datainterchanges_3_0,
"RunningDataInterchange");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop9;
}
} while (true);
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleRunningDataInterchanges801); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getRunningDataInterchangesAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleRunningDataInterchanges"
// $ANTLR start "entryRuleRunningDataInterchange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:432:1: entryRuleRunningDataInterchange returns [EObject current=null] : iv_ruleRunningDataInterchange= ruleRunningDataInterchange EOF ;
public final EObject entryRuleRunningDataInterchange() throws RecognitionException {
EObject current = null;
EObject iv_ruleRunningDataInterchange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:433:2: (iv_ruleRunningDataInterchange= ruleRunningDataInterchange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:434:2: iv_ruleRunningDataInterchange= ruleRunningDataInterchange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getRunningDataInterchangeRule());
}
pushFollow(FOLLOW_ruleRunningDataInterchange_in_entryRuleRunningDataInterchange837);
iv_ruleRunningDataInterchange=ruleRunningDataInterchange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleRunningDataInterchange;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleRunningDataInterchange847); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleRunningDataInterchange"
// $ANTLR start "ruleRunningDataInterchange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:441:1: ruleRunningDataInterchange returns [EObject current=null] : ( () otherlv_1= 'datainterchange import' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from file' ( (lv_fileURL_4_0= RULE_STRING ) ) ) ;
public final EObject ruleRunningDataInterchange() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_fileURL_4_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:444:28: ( ( () otherlv_1= 'datainterchange import' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from file' ( (lv_fileURL_4_0= RULE_STRING ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:445:1: ( () otherlv_1= 'datainterchange import' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from file' ( (lv_fileURL_4_0= RULE_STRING ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:445:1: ( () otherlv_1= 'datainterchange import' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from file' ( (lv_fileURL_4_0= RULE_STRING ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:445:2: () otherlv_1= 'datainterchange import' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from file' ( (lv_fileURL_4_0= RULE_STRING ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:445:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:446:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getRunningDataInterchangeAccess().getRunningDataInterchangeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleRunningDataInterchange893); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getRunningDataInterchangeAccess().getDatainterchangeImportKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:455:1: ( (otherlv_2= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:456:1: (otherlv_2= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:456:1: (otherlv_2= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:457:3: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getRunningDataInterchangeRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRunningDataInterchange913); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getRunningDataInterchangeAccess().getDatainterchangeRefDataInterchangeCrossReference_2_0());
}
}
}
otherlv_3=(Token)match(input,22,FOLLOW_22_in_ruleRunningDataInterchange925); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getRunningDataInterchangeAccess().getFromFileKeyword_3());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:472:1: ( (lv_fileURL_4_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:473:1: (lv_fileURL_4_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:473:1: (lv_fileURL_4_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:474:3: lv_fileURL_4_0= RULE_STRING
{
lv_fileURL_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRunningDataInterchange942); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fileURL_4_0, grammarAccess.getRunningDataInterchangeAccess().getFileURLSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getRunningDataInterchangeRule());
}
setWithLastConsumed(
current,
"fileURL",
lv_fileURL_4_0,
"STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleRunningDataInterchange"
// $ANTLR start "entryRuleEntityMockResources"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:498:1: entryRuleEntityMockResources returns [EObject current=null] : iv_ruleEntityMockResources= ruleEntityMockResources EOF ;
public final EObject entryRuleEntityMockResources() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockResources = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:499:2: (iv_ruleEntityMockResources= ruleEntityMockResources EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:500:2: iv_ruleEntityMockResources= ruleEntityMockResources EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourcesRule());
}
pushFollow(FOLLOW_ruleEntityMockResources_in_entryRuleEntityMockResources983);
iv_ruleEntityMockResources=ruleEntityMockResources();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockResources;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockResources993); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockResources"
// $ANTLR start "ruleEntityMockResources"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:507:1: ruleEntityMockResources returns [EObject current=null] : ( () otherlv_1= 'resources' otherlv_2= '{' ( (lv_resources_3_0= ruleEntityMockResource ) )* otherlv_4= '}' ) ;
public final EObject ruleEntityMockResources() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_resources_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:510:28: ( ( () otherlv_1= 'resources' otherlv_2= '{' ( (lv_resources_3_0= ruleEntityMockResource ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:511:1: ( () otherlv_1= 'resources' otherlv_2= '{' ( (lv_resources_3_0= ruleEntityMockResource ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:511:1: ( () otherlv_1= 'resources' otherlv_2= '{' ( (lv_resources_3_0= ruleEntityMockResource ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:511:2: () otherlv_1= 'resources' otherlv_2= '{' ( (lv_resources_3_0= ruleEntityMockResource ) )* otherlv_4= '}'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:511:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:512:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockResourcesAccess().getEntityMockResourcesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,23,FOLLOW_23_in_ruleEntityMockResources1039); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockResourcesAccess().getResourcesKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockResources1051); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockResourcesAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:525:1: ( (lv_resources_3_0= ruleEntityMockResource ) )*
loop10:
do {
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==24) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:526:1: (lv_resources_3_0= ruleEntityMockResource )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:526:1: (lv_resources_3_0= ruleEntityMockResource )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:527:3: lv_resources_3_0= ruleEntityMockResource
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourcesAccess().getResourcesEntityMockResourceParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleEntityMockResource_in_ruleEntityMockResources1072);
lv_resources_3_0=ruleEntityMockResource();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourcesRule());
}
add(
current,
"resources",
lv_resources_3_0,
"EntityMockResource");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop10;
}
} while (true);
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockResources1085); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockResourcesAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockResources"
// $ANTLR start "entryRuleEntityMockResource"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:555:1: entryRuleEntityMockResource returns [EObject current=null] : iv_ruleEntityMockResource= ruleEntityMockResource EOF ;
public final EObject entryRuleEntityMockResource() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockResource = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:556:2: (iv_ruleEntityMockResource= ruleEntityMockResource EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:557:2: iv_ruleEntityMockResource= ruleEntityMockResource EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceRule());
}
pushFollow(FOLLOW_ruleEntityMockResource_in_entryRuleEntityMockResource1121);
iv_ruleEntityMockResource=ruleEntityMockResource();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockResource;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockResource1131); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockResource"
// $ANTLR start "ruleEntityMockResource"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:564:1: ruleEntityMockResource returns [EObject current=null] : (otherlv_0= 'resource' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )? otherlv_8= 'items' otherlv_9= '{' ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )* otherlv_11= '}' otherlv_12= '}' ) ;
public final EObject ruleEntityMockResource() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_attributes_5_0 = null;
EObject lv_datarows_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:567:28: ( (otherlv_0= 'resource' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )? otherlv_8= 'items' otherlv_9= '{' ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )* otherlv_11= '}' otherlv_12= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:568:1: (otherlv_0= 'resource' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )? otherlv_8= 'items' otherlv_9= '{' ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )* otherlv_11= '}' otherlv_12= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:568:1: (otherlv_0= 'resource' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )? otherlv_8= 'items' otherlv_9= '{' ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )* otherlv_11= '}' otherlv_12= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:568:3: otherlv_0= 'resource' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )? otherlv_8= 'items' otherlv_9= '{' ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )* otherlv_11= '}' otherlv_12= '}'
{
otherlv_0=(Token)match(input,24,FOLLOW_24_in_ruleEntityMockResource1168); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockResourceAccess().getResourceKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:572:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:573:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:573:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:574:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockResource1189);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourceRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockResource1201); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockResourceAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:594:1: (otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')' )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==25) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:594:3: otherlv_3= 'attributes' otherlv_4= '(' ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )* otherlv_7= ')'
{
otherlv_3=(Token)match(input,25,FOLLOW_25_in_ruleEntityMockResource1214); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockResourceAccess().getAttributesKeyword_3_0());
}
otherlv_4=(Token)match(input,26,FOLLOW_26_in_ruleEntityMockResource1226); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockResourceAccess().getLeftParenthesisKeyword_3_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:602:1: ( ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )? )*
loop12:
do {
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==RULE_ID) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:602:2: ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) ) (otherlv_6= ',' )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:602:2: ( (lv_attributes_5_0= ruleEntityMockResourceAttribute ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:603:1: (lv_attributes_5_0= ruleEntityMockResourceAttribute )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:603:1: (lv_attributes_5_0= ruleEntityMockResourceAttribute )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:604:3: lv_attributes_5_0= ruleEntityMockResourceAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceAccess().getAttributesEntityMockResourceAttributeParserRuleCall_3_2_0_0());
}
pushFollow(FOLLOW_ruleEntityMockResourceAttribute_in_ruleEntityMockResource1248);
lv_attributes_5_0=ruleEntityMockResourceAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourceRule());
}
add(
current,
"attributes",
lv_attributes_5_0,
"EntityMockResourceAttribute");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:620:2: (otherlv_6= ',' )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==27) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:620:4: otherlv_6= ','
{
otherlv_6=(Token)match(input,27,FOLLOW_27_in_ruleEntityMockResource1261); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getEntityMockResourceAccess().getCommaKeyword_3_2_1());
}
}
break;
}
}
break;
default :
break loop12;
}
} while (true);
otherlv_7=(Token)match(input,28,FOLLOW_28_in_ruleEntityMockResource1277); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getEntityMockResourceAccess().getRightParenthesisKeyword_3_3());
}
}
break;
}
otherlv_8=(Token)match(input,29,FOLLOW_29_in_ruleEntityMockResource1291); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getEntityMockResourceAccess().getItemsKeyword_4());
}
otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockResource1303); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getEntityMockResourceAccess().getLeftCurlyBracketKeyword_5());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:636:1: ( (lv_datarows_10_0= ruleEntityMockResourceDataRow ) )*
loop14:
do {
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==RULE_ID) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:637:1: (lv_datarows_10_0= ruleEntityMockResourceDataRow )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:637:1: (lv_datarows_10_0= ruleEntityMockResourceDataRow )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:638:3: lv_datarows_10_0= ruleEntityMockResourceDataRow
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceAccess().getDatarowsEntityMockResourceDataRowParserRuleCall_6_0());
}
pushFollow(FOLLOW_ruleEntityMockResourceDataRow_in_ruleEntityMockResource1324);
lv_datarows_10_0=ruleEntityMockResourceDataRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourceRule());
}
add(
current,
"datarows",
lv_datarows_10_0,
"EntityMockResourceDataRow");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop14;
}
} while (true);
otherlv_11=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockResource1337); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getEntityMockResourceAccess().getRightCurlyBracketKeyword_7());
}
otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockResource1349); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getEntityMockResourceAccess().getRightCurlyBracketKeyword_8());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockResource"
// $ANTLR start "entryRuleEntityMockResourceAttribute"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:670:1: entryRuleEntityMockResourceAttribute returns [EObject current=null] : iv_ruleEntityMockResourceAttribute= ruleEntityMockResourceAttribute EOF ;
public final EObject entryRuleEntityMockResourceAttribute() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockResourceAttribute = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:671:2: (iv_ruleEntityMockResourceAttribute= ruleEntityMockResourceAttribute EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:672:2: iv_ruleEntityMockResourceAttribute= ruleEntityMockResourceAttribute EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceAttributeRule());
}
pushFollow(FOLLOW_ruleEntityMockResourceAttribute_in_entryRuleEntityMockResourceAttribute1385);
iv_ruleEntityMockResourceAttribute=ruleEntityMockResourceAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockResourceAttribute;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockResourceAttribute1395); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockResourceAttribute"
// $ANTLR start "ruleEntityMockResourceAttribute"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:679:1: ruleEntityMockResourceAttribute returns [EObject current=null] : ( () ( (lv_name_1_0= ruleQualifiedName ) ) ) ;
public final EObject ruleEntityMockResourceAttribute() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:682:28: ( ( () ( (lv_name_1_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:683:1: ( () ( (lv_name_1_0= ruleQualifiedName ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:683:1: ( () ( (lv_name_1_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:683:2: () ( (lv_name_1_0= ruleQualifiedName ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:683:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:684:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockResourceAttributeAccess().getEntityMockResourceAttributeAction_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:689:2: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:690:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:690:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:691:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceAttributeAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockResourceAttribute1450);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourceAttributeRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockResourceAttribute"
// $ANTLR start "entryRuleEntityMockResourceDataRow"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:715:1: entryRuleEntityMockResourceDataRow returns [EObject current=null] : iv_ruleEntityMockResourceDataRow= ruleEntityMockResourceDataRow EOF ;
public final EObject entryRuleEntityMockResourceDataRow() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockResourceDataRow = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:716:2: (iv_ruleEntityMockResourceDataRow= ruleEntityMockResourceDataRow EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:717:2: iv_ruleEntityMockResourceDataRow= ruleEntityMockResourceDataRow EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceDataRowRule());
}
pushFollow(FOLLOW_ruleEntityMockResourceDataRow_in_entryRuleEntityMockResourceDataRow1486);
iv_ruleEntityMockResourceDataRow=ruleEntityMockResourceDataRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockResourceDataRow;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockResourceDataRow1496); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockResourceDataRow"
// $ANTLR start "ruleEntityMockResourceDataRow"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:724:1: ruleEntityMockResourceDataRow returns [EObject current=null] : ( () ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )? ) ;
public final EObject ruleEntityMockResourceDataRow() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_values_3_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:727:28: ( ( () ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:728:1: ( () ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:728:1: ( () ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:728:2: () ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:728:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:729:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockResourceDataRowAccess().getEntityMockResourceDataRowAction_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:734:2: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:735:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:735:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:736:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockResourceDataRowAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockResourceDataRow1551);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockResourceDataRowRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:752:2: (otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==26) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:752:4: otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')'
{
otherlv_2=(Token)match(input,26,FOLLOW_26_in_ruleEntityMockResourceDataRow1564); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockResourceDataRowAccess().getLeftParenthesisKeyword_2_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:756:1: ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==RULE_STRING) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:756:2: ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:756:2: ( (lv_values_3_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:757:1: (lv_values_3_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:757:1: (lv_values_3_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:758:3: lv_values_3_0= RULE_STRING
{
lv_values_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntityMockResourceDataRow1582); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_values_3_0, grammarAccess.getEntityMockResourceDataRowAccess().getValuesSTRINGTerminalRuleCall_2_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockResourceDataRowRule());
}
addWithLastConsumed(
current,
"values",
lv_values_3_0,
"STRING");
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:774:2: (otherlv_4= ',' )?
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==27) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:774:4: otherlv_4= ','
{
otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleEntityMockResourceDataRow1600); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockResourceDataRowAccess().getCommaKeyword_2_1_1());
}
}
break;
}
}
break;
default :
break loop16;
}
} while (true);
otherlv_5=(Token)match(input,28,FOLLOW_28_in_ruleEntityMockResourceDataRow1616); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockResourceDataRowAccess().getRightParenthesisKeyword_2_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockResourceDataRow"
// $ANTLR start "entryRuleEntityMockObjects"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:790:1: entryRuleEntityMockObjects returns [EObject current=null] : iv_ruleEntityMockObjects= ruleEntityMockObjects EOF ;
public final EObject entryRuleEntityMockObjects() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjects = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:791:2: (iv_ruleEntityMockObjects= ruleEntityMockObjects EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:792:2: iv_ruleEntityMockObjects= ruleEntityMockObjects EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectsRule());
}
pushFollow(FOLLOW_ruleEntityMockObjects_in_entryRuleEntityMockObjects1654);
iv_ruleEntityMockObjects=ruleEntityMockObjects();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjects;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjects1664); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjects"
// $ANTLR start "ruleEntityMockObjects"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:799:1: ruleEntityMockObjects returns [EObject current=null] : ( () otherlv_1= 'objects' otherlv_2= '{' ( (lv_objects_3_0= ruleEntityMockObject ) )* otherlv_4= '}' ) ;
public final EObject ruleEntityMockObjects() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_objects_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:802:28: ( ( () otherlv_1= 'objects' otherlv_2= '{' ( (lv_objects_3_0= ruleEntityMockObject ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:803:1: ( () otherlv_1= 'objects' otherlv_2= '{' ( (lv_objects_3_0= ruleEntityMockObject ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:803:1: ( () otherlv_1= 'objects' otherlv_2= '{' ( (lv_objects_3_0= ruleEntityMockObject ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:803:2: () otherlv_1= 'objects' otherlv_2= '{' ( (lv_objects_3_0= ruleEntityMockObject ) )* otherlv_4= '}'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:803:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:804:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockObjectsAccess().getEntityMockObjectsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,30,FOLLOW_30_in_ruleEntityMockObjects1710); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockObjectsAccess().getObjectsKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockObjects1722); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectsAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:817:1: ( (lv_objects_3_0= ruleEntityMockObject ) )*
loop18:
do {
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==31) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:818:1: (lv_objects_3_0= ruleEntityMockObject )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:818:1: (lv_objects_3_0= ruleEntityMockObject )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:819:3: lv_objects_3_0= ruleEntityMockObject
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectsAccess().getObjectsEntityMockObjectParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleEntityMockObject_in_ruleEntityMockObjects1743);
lv_objects_3_0=ruleEntityMockObject();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectsRule());
}
add(
current,
"objects",
lv_objects_3_0,
"EntityMockObject");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop18;
}
} while (true);
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockObjects1756); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectsAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjects"
// $ANTLR start "entryRuleEntityMockObject"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:847:1: entryRuleEntityMockObject returns [EObject current=null] : iv_ruleEntityMockObject= ruleEntityMockObject EOF ;
public final EObject entryRuleEntityMockObject() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObject = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:848:2: (iv_ruleEntityMockObject= ruleEntityMockObject EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:849:2: iv_ruleEntityMockObject= ruleEntityMockObject EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectRule());
}
pushFollow(FOLLOW_ruleEntityMockObject_in_entryRuleEntityMockObject1792);
iv_ruleEntityMockObject=ruleEntityMockObject();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObject;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObject1802); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObject"
// $ANTLR start "ruleEntityMockObject"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:856:1: ruleEntityMockObject returns [EObject current=null] : (otherlv_0= 'object' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )* ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )* ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )* otherlv_6= '}' ) ;
public final EObject ruleEntityMockObject() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_enumerations_3_0 = null;
EObject lv_attributes_4_0 = null;
EObject lv_calculations_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:859:28: ( (otherlv_0= 'object' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )* ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )* ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )* otherlv_6= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:860:1: (otherlv_0= 'object' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )* ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )* ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )* otherlv_6= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:860:1: (otherlv_0= 'object' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )* ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )* ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )* otherlv_6= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:860:3: otherlv_0= 'object' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )* ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )* ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )* otherlv_6= '}'
{
otherlv_0=(Token)match(input,31,FOLLOW_31_in_ruleEntityMockObject1839); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectAccess().getObjectKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:864:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:865:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:865:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:866:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObject1860);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockObject1872); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:886:1: ( (lv_enumerations_3_0= ruleEntityMockObjectEnum ) )*
loop19:
do {
int alt19=2;
alt19 = dfa19.predict(input);
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:887:1: (lv_enumerations_3_0= ruleEntityMockObjectEnum )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:887:1: (lv_enumerations_3_0= ruleEntityMockObjectEnum )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:888:3: lv_enumerations_3_0= ruleEntityMockObjectEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectAccess().getEnumerationsEntityMockObjectEnumParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectEnum_in_ruleEntityMockObject1893);
lv_enumerations_3_0=ruleEntityMockObjectEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectRule());
}
add(
current,
"enumerations",
lv_enumerations_3_0,
"EntityMockObjectEnum");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop19;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:904:3: ( (lv_attributes_4_0= ruleIEntityMockObjectAttribute ) )*
loop20:
do {
int alt20=2;
alt20 = dfa20.predict(input);
switch (alt20) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:905:1: (lv_attributes_4_0= ruleIEntityMockObjectAttribute )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:905:1: (lv_attributes_4_0= ruleIEntityMockObjectAttribute )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:906:3: lv_attributes_4_0= ruleIEntityMockObjectAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectAccess().getAttributesIEntityMockObjectAttributeParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleIEntityMockObjectAttribute_in_ruleEntityMockObject1915);
lv_attributes_4_0=ruleIEntityMockObjectAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectRule());
}
add(
current,
"attributes",
lv_attributes_4_0,
"IEntityMockObjectAttribute");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop20;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:922:3: ( (lv_calculations_5_0= ruleEntityMockObjectFunction ) )*
loop21:
do {
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==32) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:923:1: (lv_calculations_5_0= ruleEntityMockObjectFunction )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:923:1: (lv_calculations_5_0= ruleEntityMockObjectFunction )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:924:3: lv_calculations_5_0= ruleEntityMockObjectFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectAccess().getCalculationsEntityMockObjectFunctionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectFunction_in_ruleEntityMockObject1937);
lv_calculations_5_0=ruleEntityMockObjectFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectRule());
}
add(
current,
"calculations",
lv_calculations_5_0,
"EntityMockObjectFunction");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop21;
}
} while (true);
otherlv_6=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockObject1950); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getEntityMockObjectAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObject"
// $ANTLR start "entryRuleEntityMockObjectEnum"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:952:1: entryRuleEntityMockObjectEnum returns [EObject current=null] : iv_ruleEntityMockObjectEnum= ruleEntityMockObjectEnum EOF ;
public final EObject entryRuleEntityMockObjectEnum() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectEnum = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:953:2: (iv_ruleEntityMockObjectEnum= ruleEntityMockObjectEnum EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:954:2: iv_ruleEntityMockObjectEnum= ruleEntityMockObjectEnum EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectEnumRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectEnum_in_entryRuleEntityMockObjectEnum1986);
iv_ruleEntityMockObjectEnum=ruleEntityMockObjectEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectEnum;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectEnum1996); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectEnum"
// $ANTLR start "ruleEntityMockObjectEnum"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:961:1: ruleEntityMockObjectEnum returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'by enum' ( (otherlv_3= RULE_ID ) ) ) ;
public final EObject ruleEntityMockObjectEnum() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:964:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'by enum' ( (otherlv_3= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:965:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'by enum' ( (otherlv_3= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:965:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'by enum' ( (otherlv_3= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:965:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'by enum' ( (otherlv_3= RULE_ID ) )
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectEnum2033); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectEnumAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:969:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:970:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:970:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:971:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectEnumAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectEnum2054);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectEnumRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleEntityMockObjectEnum2066); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectEnumAccess().getByEnumKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:991:1: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:992:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:992:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:993:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectEnumRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectEnum2086); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockObjectEnumAccess().getUsingResourceLEnumCrossReference_3_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectEnum"
// $ANTLR start "entryRuleEntityMockDataTypes"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1012:1: entryRuleEntityMockDataTypes returns [EObject current=null] : iv_ruleEntityMockDataTypes= ruleEntityMockDataTypes EOF ;
public final EObject entryRuleEntityMockDataTypes() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockDataTypes = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1013:2: (iv_ruleEntityMockDataTypes= ruleEntityMockDataTypes EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1014:2: iv_ruleEntityMockDataTypes= ruleEntityMockDataTypes EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockDataTypesRule());
}
pushFollow(FOLLOW_ruleEntityMockDataTypes_in_entryRuleEntityMockDataTypes2122);
iv_ruleEntityMockDataTypes=ruleEntityMockDataTypes();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockDataTypes;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockDataTypes2132); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockDataTypes"
// $ANTLR start "ruleEntityMockDataTypes"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1021:1: ruleEntityMockDataTypes returns [EObject current=null] : ( () otherlv_1= 'datatypes' otherlv_2= '{' ( (lv_datatypes_3_0= ruleEntityMockDataType ) )* otherlv_4= '}' ) ;
public final EObject ruleEntityMockDataTypes() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_datatypes_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1024:28: ( ( () otherlv_1= 'datatypes' otherlv_2= '{' ( (lv_datatypes_3_0= ruleEntityMockDataType ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1025:1: ( () otherlv_1= 'datatypes' otherlv_2= '{' ( (lv_datatypes_3_0= ruleEntityMockDataType ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1025:1: ( () otherlv_1= 'datatypes' otherlv_2= '{' ( (lv_datatypes_3_0= ruleEntityMockDataType ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1025:2: () otherlv_1= 'datatypes' otherlv_2= '{' ( (lv_datatypes_3_0= ruleEntityMockDataType ) )* otherlv_4= '}'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1025:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1026:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockDataTypesAccess().getEntityMockDataTypesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,34,FOLLOW_34_in_ruleEntityMockDataTypes2178); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockDataTypesAccess().getDatatypesKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockDataTypes2190); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockDataTypesAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1039:1: ( (lv_datatypes_3_0= ruleEntityMockDataType ) )*
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==63) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1040:1: (lv_datatypes_3_0= ruleEntityMockDataType )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1040:1: (lv_datatypes_3_0= ruleEntityMockDataType )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1041:3: lv_datatypes_3_0= ruleEntityMockDataType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockDataTypesAccess().getDatatypesEntityMockDataTypeParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleEntityMockDataType_in_ruleEntityMockDataTypes2211);
lv_datatypes_3_0=ruleEntityMockDataType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockDataTypesRule());
}
add(
current,
"datatypes",
lv_datatypes_3_0,
"EntityMockDataType");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop22;
}
} while (true);
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockDataTypes2224); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockDataTypesAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockDataTypes"
// $ANTLR start "entryRuleIEntityMockObjectAttribute"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1071:1: entryRuleIEntityMockObjectAttribute returns [EObject current=null] : iv_ruleIEntityMockObjectAttribute= ruleIEntityMockObjectAttribute EOF ;
public final EObject entryRuleIEntityMockObjectAttribute() throws RecognitionException {
EObject current = null;
EObject iv_ruleIEntityMockObjectAttribute = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1072:2: (iv_ruleIEntityMockObjectAttribute= ruleIEntityMockObjectAttribute EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1073:2: iv_ruleIEntityMockObjectAttribute= ruleIEntityMockObjectAttribute EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeRule());
}
pushFollow(FOLLOW_ruleIEntityMockObjectAttribute_in_entryRuleIEntityMockObjectAttribute2262);
iv_ruleIEntityMockObjectAttribute=ruleIEntityMockObjectAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIEntityMockObjectAttribute;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleIEntityMockObjectAttribute2272); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIEntityMockObjectAttribute"
// $ANTLR start "ruleIEntityMockObjectAttribute"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1080:1: ruleIEntityMockObjectAttribute returns [EObject current=null] : (this_EntityMockObjectResourceValue_0= ruleEntityMockObjectResourceValue | this_EntityMockObjectPlainValue_1= ruleEntityMockObjectPlainValue | this_EntityMockObjectArrayValue_2= ruleEntityMockObjectArrayValue | this_EntityMockObjectEmbed_3= ruleEntityMockObjectEmbed | this_EntityMockObjectFill_4= ruleEntityMockObjectFill ) ;
public final EObject ruleIEntityMockObjectAttribute() throws RecognitionException {
EObject current = null;
EObject this_EntityMockObjectResourceValue_0 = null;
EObject this_EntityMockObjectPlainValue_1 = null;
EObject this_EntityMockObjectArrayValue_2 = null;
EObject this_EntityMockObjectEmbed_3 = null;
EObject this_EntityMockObjectFill_4 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1083:28: ( (this_EntityMockObjectResourceValue_0= ruleEntityMockObjectResourceValue | this_EntityMockObjectPlainValue_1= ruleEntityMockObjectPlainValue | this_EntityMockObjectArrayValue_2= ruleEntityMockObjectArrayValue | this_EntityMockObjectEmbed_3= ruleEntityMockObjectEmbed | this_EntityMockObjectFill_4= ruleEntityMockObjectFill ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1084:1: (this_EntityMockObjectResourceValue_0= ruleEntityMockObjectResourceValue | this_EntityMockObjectPlainValue_1= ruleEntityMockObjectPlainValue | this_EntityMockObjectArrayValue_2= ruleEntityMockObjectArrayValue | this_EntityMockObjectEmbed_3= ruleEntityMockObjectEmbed | this_EntityMockObjectFill_4= ruleEntityMockObjectFill )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1084:1: (this_EntityMockObjectResourceValue_0= ruleEntityMockObjectResourceValue | this_EntityMockObjectPlainValue_1= ruleEntityMockObjectPlainValue | this_EntityMockObjectArrayValue_2= ruleEntityMockObjectArrayValue | this_EntityMockObjectEmbed_3= ruleEntityMockObjectEmbed | this_EntityMockObjectFill_4= ruleEntityMockObjectFill )
int alt23=5;
alt23 = dfa23.predict(input);
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1085:5: this_EntityMockObjectResourceValue_0= ruleEntityMockObjectResourceValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeAccess().getEntityMockObjectResourceValueParserRuleCall_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectResourceValue_in_ruleIEntityMockObjectAttribute2319);
this_EntityMockObjectResourceValue_0=ruleEntityMockObjectResourceValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_EntityMockObjectResourceValue_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1095:5: this_EntityMockObjectPlainValue_1= ruleEntityMockObjectPlainValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeAccess().getEntityMockObjectPlainValueParserRuleCall_1());
}
pushFollow(FOLLOW_ruleEntityMockObjectPlainValue_in_ruleIEntityMockObjectAttribute2346);
this_EntityMockObjectPlainValue_1=ruleEntityMockObjectPlainValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_EntityMockObjectPlainValue_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1105:5: this_EntityMockObjectArrayValue_2= ruleEntityMockObjectArrayValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeAccess().getEntityMockObjectArrayValueParserRuleCall_2());
}
pushFollow(FOLLOW_ruleEntityMockObjectArrayValue_in_ruleIEntityMockObjectAttribute2373);
this_EntityMockObjectArrayValue_2=ruleEntityMockObjectArrayValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_EntityMockObjectArrayValue_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1115:5: this_EntityMockObjectEmbed_3= ruleEntityMockObjectEmbed
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeAccess().getEntityMockObjectEmbedParserRuleCall_3());
}
pushFollow(FOLLOW_ruleEntityMockObjectEmbed_in_ruleIEntityMockObjectAttribute2400);
this_EntityMockObjectEmbed_3=ruleEntityMockObjectEmbed();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_EntityMockObjectEmbed_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1125:5: this_EntityMockObjectFill_4= ruleEntityMockObjectFill
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIEntityMockObjectAttributeAccess().getEntityMockObjectFillParserRuleCall_4());
}
pushFollow(FOLLOW_ruleEntityMockObjectFill_in_ruleIEntityMockObjectAttribute2427);
this_EntityMockObjectFill_4=ruleEntityMockObjectFill();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_EntityMockObjectFill_4;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIEntityMockObjectAttribute"
// $ANTLR start "entryRuleEntityMockObjectPlainValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1141:1: entryRuleEntityMockObjectPlainValue returns [EObject current=null] : iv_ruleEntityMockObjectPlainValue= ruleEntityMockObjectPlainValue EOF ;
public final EObject entryRuleEntityMockObjectPlainValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectPlainValue = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1142:2: (iv_ruleEntityMockObjectPlainValue= ruleEntityMockObjectPlainValue EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1143:2: iv_ruleEntityMockObjectPlainValue= ruleEntityMockObjectPlainValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectPlainValueRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectPlainValue_in_entryRuleEntityMockObjectPlainValue2462);
iv_ruleEntityMockObjectPlainValue=ruleEntityMockObjectPlainValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectPlainValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectPlainValue2472); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectPlainValue"
// $ANTLR start "ruleEntityMockObjectPlainValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1150:1: ruleEntityMockObjectPlainValue returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' ) ;
public final EObject ruleEntityMockObjectPlainValue() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token lv_values_3_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1153:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1154:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1154:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1154:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')'
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectPlainValue2509); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectPlainValueAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1158:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1159:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1159:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1160:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectPlainValueAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectPlainValue2530);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectPlainValueRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,26,FOLLOW_26_in_ruleEntityMockObjectPlainValue2542); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectPlainValueAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1180:1: ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )*
loop25:
do {
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==RULE_STRING) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1180:2: ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1180:2: ( (lv_values_3_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1181:1: (lv_values_3_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1181:1: (lv_values_3_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1182:3: lv_values_3_0= RULE_STRING
{
lv_values_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntityMockObjectPlainValue2560); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_values_3_0, grammarAccess.getEntityMockObjectPlainValueAccess().getValuesSTRINGTerminalRuleCall_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectPlainValueRule());
}
addWithLastConsumed(
current,
"values",
lv_values_3_0,
"STRING");
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1198:2: (otherlv_4= ',' )?
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==27) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1198:4: otherlv_4= ','
{
otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleEntityMockObjectPlainValue2578); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectPlainValueAccess().getCommaKeyword_3_1());
}
}
break;
}
}
break;
default :
break loop25;
}
} while (true);
otherlv_5=(Token)match(input,28,FOLLOW_28_in_ruleEntityMockObjectPlainValue2594); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockObjectPlainValueAccess().getRightParenthesisKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectPlainValue"
// $ANTLR start "entryRuleEntityMockObjectResourceValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1214:1: entryRuleEntityMockObjectResourceValue returns [EObject current=null] : iv_ruleEntityMockObjectResourceValue= ruleEntityMockObjectResourceValue EOF ;
public final EObject entryRuleEntityMockObjectResourceValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectResourceValue = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1215:2: (iv_ruleEntityMockObjectResourceValue= ruleEntityMockObjectResourceValue EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1216:2: iv_ruleEntityMockObjectResourceValue= ruleEntityMockObjectResourceValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectResourceValueRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectResourceValue_in_entryRuleEntityMockObjectResourceValue2630);
iv_ruleEntityMockObjectResourceValue=ruleEntityMockObjectResourceValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectResourceValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectResourceValue2640); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectResourceValue"
// $ANTLR start "ruleEntityMockObjectResourceValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1223:1: ruleEntityMockObjectResourceValue returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'with' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )? ) ;
public final EObject ruleEntityMockObjectResourceValue() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1226:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'with' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1227:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'with' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1227:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'with' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1227:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'with' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )?
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectResourceValue2677); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectResourceValueAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1231:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1232:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1232:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1233:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectResourceValueAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectResourceValue2698);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectResourceValueRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleEntityMockObjectResourceValue2710); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectResourceValueAccess().getWithKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1253:1: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1254:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1254:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1255:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectResourceValueRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectResourceValue2730); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockObjectResourceValueAccess().getResourceEnumEntityMockObjectEnumCrossReference_3_0());
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1266:2: (otherlv_4= '.' ( (otherlv_5= RULE_ID ) ) )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==18) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1266:4: otherlv_4= '.' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleEntityMockObjectResourceValue2743); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectResourceValueAccess().getFullStopKeyword_4_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1270:1: ( (otherlv_5= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1271:1: (otherlv_5= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1271:1: (otherlv_5= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1272:3: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectResourceValueRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectResourceValue2763); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockObjectResourceValueAccess().getResourceAttributeEntityMockResourceAttributeCrossReference_4_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectResourceValue"
// $ANTLR start "entryRuleEntityMockObjectArrayValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1291:1: entryRuleEntityMockObjectArrayValue returns [EObject current=null] : iv_ruleEntityMockObjectArrayValue= ruleEntityMockObjectArrayValue EOF ;
public final EObject entryRuleEntityMockObjectArrayValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectArrayValue = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1292:2: (iv_ruleEntityMockObjectArrayValue= ruleEntityMockObjectArrayValue EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1293:2: iv_ruleEntityMockObjectArrayValue= ruleEntityMockObjectArrayValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectArrayValueRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectArrayValue_in_entryRuleEntityMockObjectArrayValue2801);
iv_ruleEntityMockObjectArrayValue=ruleEntityMockObjectArrayValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectArrayValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectArrayValue2811); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectArrayValue"
// $ANTLR start "ruleEntityMockObjectArrayValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1300:1: ruleEntityMockObjectArrayValue returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'switch on' ( (otherlv_3= RULE_ID ) ) otherlv_4= '{' ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )* otherlv_6= '}' ) ;
public final EObject ruleEntityMockObjectArrayValue() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_items_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1303:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'switch on' ( (otherlv_3= RULE_ID ) ) otherlv_4= '{' ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )* otherlv_6= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1304:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'switch on' ( (otherlv_3= RULE_ID ) ) otherlv_4= '{' ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )* otherlv_6= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1304:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'switch on' ( (otherlv_3= RULE_ID ) ) otherlv_4= '{' ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )* otherlv_6= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1304:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'switch on' ( (otherlv_3= RULE_ID ) ) otherlv_4= '{' ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )* otherlv_6= '}'
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectArrayValue2848); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectArrayValueAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1308:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1309:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1309:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1310:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectArrayValueAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectArrayValue2869);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectArrayValueRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,36,FOLLOW_36_in_ruleEntityMockObjectArrayValue2881); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectArrayValueAccess().getSwitchOnKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1330:1: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1331:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1331:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1332:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectArrayValueRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectArrayValue2901); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockObjectArrayValueAccess().getEnumerationEntityMockObjectEnumCrossReference_3_0());
}
}
}
otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockObjectArrayValue2913); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectArrayValueAccess().getLeftCurlyBracketKeyword_4());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1347:1: ( (lv_items_5_0= ruleEntityMockObjectItemValue ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==37) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1348:1: (lv_items_5_0= ruleEntityMockObjectItemValue )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1348:1: (lv_items_5_0= ruleEntityMockObjectItemValue )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1349:3: lv_items_5_0= ruleEntityMockObjectItemValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectArrayValueAccess().getItemsEntityMockObjectItemValueParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectItemValue_in_ruleEntityMockObjectArrayValue2934);
lv_items_5_0=ruleEntityMockObjectItemValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectArrayValueRule());
}
add(
current,
"items",
lv_items_5_0,
"EntityMockObjectItemValue");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop27;
}
} while (true);
otherlv_6=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockObjectArrayValue2947); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getEntityMockObjectArrayValueAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectArrayValue"
// $ANTLR start "entryRuleEntityMockObjectItemValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1377:1: entryRuleEntityMockObjectItemValue returns [EObject current=null] : iv_ruleEntityMockObjectItemValue= ruleEntityMockObjectItemValue EOF ;
public final EObject entryRuleEntityMockObjectItemValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectItemValue = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1378:2: (iv_ruleEntityMockObjectItemValue= ruleEntityMockObjectItemValue EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1379:2: iv_ruleEntityMockObjectItemValue= ruleEntityMockObjectItemValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectItemValueRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectItemValue_in_entryRuleEntityMockObjectItemValue2983);
iv_ruleEntityMockObjectItemValue=ruleEntityMockObjectItemValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectItemValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectItemValue2993); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectItemValue"
// $ANTLR start "ruleEntityMockObjectItemValue"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1386:1: ruleEntityMockObjectItemValue returns [EObject current=null] : (otherlv_0= 'when' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' ) ;
public final EObject ruleEntityMockObjectItemValue() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_values_3_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1389:28: ( (otherlv_0= 'when' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1390:1: (otherlv_0= 'when' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1390:1: (otherlv_0= 'when' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1390:3: otherlv_0= 'when' ( (otherlv_1= RULE_ID ) ) otherlv_2= '(' ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )* otherlv_5= ')'
{
otherlv_0=(Token)match(input,37,FOLLOW_37_in_ruleEntityMockObjectItemValue3030); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectItemValueAccess().getWhenKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1394:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1395:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1395:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1396:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectItemValueRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectItemValue3050); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockObjectItemValueAccess().getDatarowLEnumLiteralCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,26,FOLLOW_26_in_ruleEntityMockObjectItemValue3062); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectItemValueAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1411:1: ( ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )? )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==RULE_STRING) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1411:2: ( (lv_values_3_0= RULE_STRING ) ) (otherlv_4= ',' )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1411:2: ( (lv_values_3_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1412:1: (lv_values_3_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1412:1: (lv_values_3_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1413:3: lv_values_3_0= RULE_STRING
{
lv_values_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntityMockObjectItemValue3080); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_values_3_0, grammarAccess.getEntityMockObjectItemValueAccess().getValuesSTRINGTerminalRuleCall_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectItemValueRule());
}
addWithLastConsumed(
current,
"values",
lv_values_3_0,
"STRING");
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1429:2: (otherlv_4= ',' )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==27) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1429:4: otherlv_4= ','
{
otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleEntityMockObjectItemValue3098); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectItemValueAccess().getCommaKeyword_3_1());
}
}
break;
}
}
break;
default :
break loop29;
}
} while (true);
otherlv_5=(Token)match(input,28,FOLLOW_28_in_ruleEntityMockObjectItemValue3114); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockObjectItemValueAccess().getRightParenthesisKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectItemValue"
// $ANTLR start "entryRuleEntityMockObjectEmbed"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1445:1: entryRuleEntityMockObjectEmbed returns [EObject current=null] : iv_ruleEntityMockObjectEmbed= ruleEntityMockObjectEmbed EOF ;
public final EObject entryRuleEntityMockObjectEmbed() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectEmbed = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1446:2: (iv_ruleEntityMockObjectEmbed= ruleEntityMockObjectEmbed EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1447:2: iv_ruleEntityMockObjectEmbed= ruleEntityMockObjectEmbed EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectEmbedRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectEmbed_in_entryRuleEntityMockObjectEmbed3150);
iv_ruleEntityMockObjectEmbed=ruleEntityMockObjectEmbed();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectEmbed;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectEmbed3160); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectEmbed"
// $ANTLR start "ruleEntityMockObjectEmbed"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1454:1: ruleEntityMockObjectEmbed returns [EObject current=null] : ( () otherlv_1= 'embed' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'defined as' ( (otherlv_4= RULE_ID ) ) ) ;
public final EObject ruleEntityMockObjectEmbed() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1457:28: ( ( () otherlv_1= 'embed' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'defined as' ( (otherlv_4= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1458:1: ( () otherlv_1= 'embed' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'defined as' ( (otherlv_4= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1458:1: ( () otherlv_1= 'embed' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'defined as' ( (otherlv_4= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1458:2: () otherlv_1= 'embed' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'defined as' ( (otherlv_4= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1458:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1459:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockObjectEmbedAccess().getEntityMockObjectEmbedAction_0(),
current);
}
}
otherlv_1=(Token)match(input,38,FOLLOW_38_in_ruleEntityMockObjectEmbed3206); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockObjectEmbedAccess().getEmbedKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1468:1: ( (lv_name_2_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1469:1: (lv_name_2_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1469:1: (lv_name_2_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1470:3: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectEmbedAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectEmbed3227);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectEmbedRule());
}
set(
current,
"name",
lv_name_2_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,39,FOLLOW_39_in_ruleEntityMockObjectEmbed3239); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockObjectEmbedAccess().getDefinedAsKeyword_3());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1490:1: ( (otherlv_4= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1491:1: (otherlv_4= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1491:1: (otherlv_4= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1492:3: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectEmbedRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectEmbed3259); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectEmbedAccess().getObjectEntityMockObjectCrossReference_4_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectEmbed"
// $ANTLR start "entryRuleEntityMockObjectFunction"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1511:1: entryRuleEntityMockObjectFunction returns [EObject current=null] : iv_ruleEntityMockObjectFunction= ruleEntityMockObjectFunction EOF ;
public final EObject entryRuleEntityMockObjectFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectFunction = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1512:2: (iv_ruleEntityMockObjectFunction= ruleEntityMockObjectFunction EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1513:2: iv_ruleEntityMockObjectFunction= ruleEntityMockObjectFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectFunction_in_entryRuleEntityMockObjectFunction3295);
iv_ruleEntityMockObjectFunction=ruleEntityMockObjectFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectFunction3305); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectFunction"
// $ANTLR start "ruleEntityMockObjectFunction"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1520:1: ruleEntityMockObjectFunction returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'calculate as' ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) ) otherlv_4= 'based on' otherlv_5= '(' ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )? otherlv_9= ')' ( (lv_body_10_0= ruleXBlockExpression ) ) ) ;
public final EObject ruleEntityMockObjectFunction() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_oftype_3_0 = null;
EObject lv_params_6_0 = null;
EObject lv_params_8_0 = null;
EObject lv_body_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1523:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'calculate as' ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) ) otherlv_4= 'based on' otherlv_5= '(' ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )? otherlv_9= ')' ( (lv_body_10_0= ruleXBlockExpression ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1524:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'calculate as' ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) ) otherlv_4= 'based on' otherlv_5= '(' ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )? otherlv_9= ')' ( (lv_body_10_0= ruleXBlockExpression ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1524:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'calculate as' ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) ) otherlv_4= 'based on' otherlv_5= '(' ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )? otherlv_9= ')' ( (lv_body_10_0= ruleXBlockExpression ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1524:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'calculate as' ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) ) otherlv_4= 'based on' otherlv_5= '(' ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )? otherlv_9= ')' ( (lv_body_10_0= ruleXBlockExpression ) )
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectFunction3342); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectFunctionAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1528:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1529:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1529:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1530:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectFunction3363);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,40,FOLLOW_40_in_ruleEntityMockObjectFunction3375); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectFunctionAccess().getCalculateAsKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1550:1: ( (lv_oftype_3_0= ruleJvmParameterizedTypeReference ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1551:1: (lv_oftype_3_0= ruleJvmParameterizedTypeReference )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1551:1: (lv_oftype_3_0= ruleJvmParameterizedTypeReference )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1552:3: lv_oftype_3_0= ruleJvmParameterizedTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionAccess().getOftypeJvmParameterizedTypeReferenceParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_ruleEntityMockObjectFunction3396);
lv_oftype_3_0=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionRule());
}
set(
current,
"oftype",
lv_oftype_3_0,
"JvmParameterizedTypeReference");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,41,FOLLOW_41_in_ruleEntityMockObjectFunction3408); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockObjectFunctionAccess().getBasedOnKeyword_4());
}
otherlv_5=(Token)match(input,26,FOLLOW_26_in_ruleEntityMockObjectFunction3420); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEntityMockObjectFunctionAccess().getLeftParenthesisKeyword_5());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1576:1: ( ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )* )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==RULE_ID||LA31_0==26||LA31_0==113) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1576:2: ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) ) (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )*
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1576:2: ( (lv_params_6_0= ruleEntityMockObjectFunctionParameter ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1577:1: (lv_params_6_0= ruleEntityMockObjectFunctionParameter )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1577:1: (lv_params_6_0= ruleEntityMockObjectFunctionParameter )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1578:3: lv_params_6_0= ruleEntityMockObjectFunctionParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionAccess().getParamsEntityMockObjectFunctionParameterParserRuleCall_6_0_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectFunctionParameter_in_ruleEntityMockObjectFunction3442);
lv_params_6_0=ruleEntityMockObjectFunctionParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionRule());
}
add(
current,
"params",
lv_params_6_0,
"EntityMockObjectFunctionParameter");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1594:2: (otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) ) )*
loop30:
do {
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==27) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1594:4: otherlv_7= ',' ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) )
{
otherlv_7=(Token)match(input,27,FOLLOW_27_in_ruleEntityMockObjectFunction3455); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getEntityMockObjectFunctionAccess().getCommaKeyword_6_1_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1598:1: ( (lv_params_8_0= ruleEntityMockObjectFunctionParameter ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1599:1: (lv_params_8_0= ruleEntityMockObjectFunctionParameter )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1599:1: (lv_params_8_0= ruleEntityMockObjectFunctionParameter )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1600:3: lv_params_8_0= ruleEntityMockObjectFunctionParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionAccess().getParamsEntityMockObjectFunctionParameterParserRuleCall_6_1_1_0());
}
pushFollow(FOLLOW_ruleEntityMockObjectFunctionParameter_in_ruleEntityMockObjectFunction3476);
lv_params_8_0=ruleEntityMockObjectFunctionParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionRule());
}
add(
current,
"params",
lv_params_8_0,
"EntityMockObjectFunctionParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop30;
}
} while (true);
}
break;
}
otherlv_9=(Token)match(input,28,FOLLOW_28_in_ruleEntityMockObjectFunction3492); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getEntityMockObjectFunctionAccess().getRightParenthesisKeyword_7());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1620:1: ( (lv_body_10_0= ruleXBlockExpression ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1621:1: (lv_body_10_0= ruleXBlockExpression )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1621:1: (lv_body_10_0= ruleXBlockExpression )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1622:3: lv_body_10_0= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionAccess().getBodyXBlockExpressionParserRuleCall_8_0());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleEntityMockObjectFunction3513);
lv_body_10_0=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionRule());
}
set(
current,
"body",
lv_body_10_0,
"XBlockExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectFunction"
// $ANTLR start "entryRuleEntityMockObjectFunctionParameter"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1646:1: entryRuleEntityMockObjectFunctionParameter returns [EObject current=null] : iv_ruleEntityMockObjectFunctionParameter= ruleEntityMockObjectFunctionParameter EOF ;
public final EObject entryRuleEntityMockObjectFunctionParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectFunctionParameter = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1647:2: (iv_ruleEntityMockObjectFunctionParameter= ruleEntityMockObjectFunctionParameter EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1648:2: iv_ruleEntityMockObjectFunctionParameter= ruleEntityMockObjectFunctionParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionParameterRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectFunctionParameter_in_entryRuleEntityMockObjectFunctionParameter3549);
iv_ruleEntityMockObjectFunctionParameter=ruleEntityMockObjectFunctionParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectFunctionParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectFunctionParameter3559); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectFunctionParameter"
// $ANTLR start "ruleEntityMockObjectFunctionParameter"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1655:1: ruleEntityMockObjectFunctionParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleEntityMockObjectFunctionParameter() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_parameterType_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1658:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (otherlv_1= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1659:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (otherlv_1= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1659:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (otherlv_1= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1659:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (otherlv_1= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1659:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1660:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1660:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1661:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFunctionParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleEntityMockObjectFunctionParameter3605);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFunctionParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1677:2: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1678:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1678:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1679:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockObjectFunctionParameterRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockObjectFunctionParameter3625); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockObjectFunctionParameterAccess().getNameIEntityMockObjectUsableCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectFunctionParameter"
// $ANTLR start "entryRuleEntityMockObjectFill"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1698:1: entryRuleEntityMockObjectFill returns [EObject current=null] : iv_ruleEntityMockObjectFill= ruleEntityMockObjectFill EOF ;
public final EObject entryRuleEntityMockObjectFill() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockObjectFill = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1699:2: (iv_ruleEntityMockObjectFill= ruleEntityMockObjectFill EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1700:2: iv_ruleEntityMockObjectFill= ruleEntityMockObjectFill EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFillRule());
}
pushFollow(FOLLOW_ruleEntityMockObjectFill_in_entryRuleEntityMockObjectFill3661);
iv_ruleEntityMockObjectFill=ruleEntityMockObjectFill();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockObjectFill;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockObjectFill3671); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockObjectFill"
// $ANTLR start "ruleEntityMockObjectFill"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1707:1: ruleEntityMockObjectFill returns [EObject current=null] : (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'randomize' ( (lv_fillerType_3_0= rulePropertyFillerType ) ) ) ;
public final EObject ruleEntityMockObjectFill() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_fillerType_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1710:28: ( (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'randomize' ( (lv_fillerType_3_0= rulePropertyFillerType ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1711:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'randomize' ( (lv_fillerType_3_0= rulePropertyFillerType ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1711:1: (otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'randomize' ( (lv_fillerType_3_0= rulePropertyFillerType ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1711:3: otherlv_0= 'var' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'randomize' ( (lv_fillerType_3_0= rulePropertyFillerType ) )
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleEntityMockObjectFill3708); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockObjectFillAccess().getVarKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1715:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1716:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1716:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1717:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFillAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockObjectFill3729);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFillRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleEntityMockObjectFill3741); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockObjectFillAccess().getRandomizeKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1737:1: ( (lv_fillerType_3_0= rulePropertyFillerType ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1738:1: (lv_fillerType_3_0= rulePropertyFillerType )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1738:1: (lv_fillerType_3_0= rulePropertyFillerType )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1739:3: lv_fillerType_3_0= rulePropertyFillerType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockObjectFillAccess().getFillerTypePropertyFillerTypeParserRuleCall_3_0());
}
pushFollow(FOLLOW_rulePropertyFillerType_in_ruleEntityMockObjectFill3762);
lv_fillerType_3_0=rulePropertyFillerType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockObjectFillRule());
}
set(
current,
"fillerType",
lv_fillerType_3_0,
"PropertyFillerType");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockObjectFill"
// $ANTLR start "entryRulePropertyFillerType"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1763:1: entryRulePropertyFillerType returns [EObject current=null] : iv_rulePropertyFillerType= rulePropertyFillerType EOF ;
public final EObject entryRulePropertyFillerType() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerType = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1764:2: (iv_rulePropertyFillerType= rulePropertyFillerType EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1765:2: iv_rulePropertyFillerType= rulePropertyFillerType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeRule());
}
pushFollow(FOLLOW_rulePropertyFillerType_in_entryRulePropertyFillerType3798);
iv_rulePropertyFillerType=rulePropertyFillerType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerType;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerType3808); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerType"
// $ANTLR start "rulePropertyFillerType"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1772:1: rulePropertyFillerType returns [EObject current=null] : (this_PropertyFillerDateFuture_0= rulePropertyFillerDateFuture | this_PropertyFillerDatePast_1= rulePropertyFillerDatePast | this_PropertyFillerDateRange_2= rulePropertyFillerDateRange | this_PropertyFillerBoolean_3= rulePropertyFillerBoolean | this_PropertyFillerSignedDoubleRange_4= rulePropertyFillerSignedDoubleRange | this_PropertyFillerSignedDoubleRandom_5= rulePropertyFillerSignedDoubleRandom | this_PropertyFillerSignedIntegerRange_6= rulePropertyFillerSignedIntegerRange | this_PropertyFillerSignedIntegerRandom_7= rulePropertyFillerSignedIntegerRandom | this_PropertyFillerTextRandom_8= rulePropertyFillerTextRandom | this_PropertyFillerTextParagraphs_9= rulePropertyFillerTextParagraphs | this_PropertyFillerTextSentences_10= rulePropertyFillerTextSentences | this_PropertyFillerTextWords_11= rulePropertyFillerTextWords | this_PropertyFillerUnsignedDoubleRange_12= rulePropertyFillerUnsignedDoubleRange | this_PropertyFillerUnsignedDoubleRandom_13= rulePropertyFillerUnsignedDoubleRandom | this_PropertyFillerUnsignedIntegerRange_14= rulePropertyFillerUnsignedIntegerRange | this_PropertyFillerUnsignedIntegerRandom_15= rulePropertyFillerUnsignedIntegerRandom ) ;
public final EObject rulePropertyFillerType() throws RecognitionException {
EObject current = null;
EObject this_PropertyFillerDateFuture_0 = null;
EObject this_PropertyFillerDatePast_1 = null;
EObject this_PropertyFillerDateRange_2 = null;
EObject this_PropertyFillerBoolean_3 = null;
EObject this_PropertyFillerSignedDoubleRange_4 = null;
EObject this_PropertyFillerSignedDoubleRandom_5 = null;
EObject this_PropertyFillerSignedIntegerRange_6 = null;
EObject this_PropertyFillerSignedIntegerRandom_7 = null;
EObject this_PropertyFillerTextRandom_8 = null;
EObject this_PropertyFillerTextParagraphs_9 = null;
EObject this_PropertyFillerTextSentences_10 = null;
EObject this_PropertyFillerTextWords_11 = null;
EObject this_PropertyFillerUnsignedDoubleRange_12 = null;
EObject this_PropertyFillerUnsignedDoubleRandom_13 = null;
EObject this_PropertyFillerUnsignedIntegerRange_14 = null;
EObject this_PropertyFillerUnsignedIntegerRandom_15 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1775:28: ( (this_PropertyFillerDateFuture_0= rulePropertyFillerDateFuture | this_PropertyFillerDatePast_1= rulePropertyFillerDatePast | this_PropertyFillerDateRange_2= rulePropertyFillerDateRange | this_PropertyFillerBoolean_3= rulePropertyFillerBoolean | this_PropertyFillerSignedDoubleRange_4= rulePropertyFillerSignedDoubleRange | this_PropertyFillerSignedDoubleRandom_5= rulePropertyFillerSignedDoubleRandom | this_PropertyFillerSignedIntegerRange_6= rulePropertyFillerSignedIntegerRange | this_PropertyFillerSignedIntegerRandom_7= rulePropertyFillerSignedIntegerRandom | this_PropertyFillerTextRandom_8= rulePropertyFillerTextRandom | this_PropertyFillerTextParagraphs_9= rulePropertyFillerTextParagraphs | this_PropertyFillerTextSentences_10= rulePropertyFillerTextSentences | this_PropertyFillerTextWords_11= rulePropertyFillerTextWords | this_PropertyFillerUnsignedDoubleRange_12= rulePropertyFillerUnsignedDoubleRange | this_PropertyFillerUnsignedDoubleRandom_13= rulePropertyFillerUnsignedDoubleRandom | this_PropertyFillerUnsignedIntegerRange_14= rulePropertyFillerUnsignedIntegerRange | this_PropertyFillerUnsignedIntegerRandom_15= rulePropertyFillerUnsignedIntegerRandom ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1776:1: (this_PropertyFillerDateFuture_0= rulePropertyFillerDateFuture | this_PropertyFillerDatePast_1= rulePropertyFillerDatePast | this_PropertyFillerDateRange_2= rulePropertyFillerDateRange | this_PropertyFillerBoolean_3= rulePropertyFillerBoolean | this_PropertyFillerSignedDoubleRange_4= rulePropertyFillerSignedDoubleRange | this_PropertyFillerSignedDoubleRandom_5= rulePropertyFillerSignedDoubleRandom | this_PropertyFillerSignedIntegerRange_6= rulePropertyFillerSignedIntegerRange | this_PropertyFillerSignedIntegerRandom_7= rulePropertyFillerSignedIntegerRandom | this_PropertyFillerTextRandom_8= rulePropertyFillerTextRandom | this_PropertyFillerTextParagraphs_9= rulePropertyFillerTextParagraphs | this_PropertyFillerTextSentences_10= rulePropertyFillerTextSentences | this_PropertyFillerTextWords_11= rulePropertyFillerTextWords | this_PropertyFillerUnsignedDoubleRange_12= rulePropertyFillerUnsignedDoubleRange | this_PropertyFillerUnsignedDoubleRandom_13= rulePropertyFillerUnsignedDoubleRandom | this_PropertyFillerUnsignedIntegerRange_14= rulePropertyFillerUnsignedIntegerRange | this_PropertyFillerUnsignedIntegerRandom_15= rulePropertyFillerUnsignedIntegerRandom )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1776:1: (this_PropertyFillerDateFuture_0= rulePropertyFillerDateFuture | this_PropertyFillerDatePast_1= rulePropertyFillerDatePast | this_PropertyFillerDateRange_2= rulePropertyFillerDateRange | this_PropertyFillerBoolean_3= rulePropertyFillerBoolean | this_PropertyFillerSignedDoubleRange_4= rulePropertyFillerSignedDoubleRange | this_PropertyFillerSignedDoubleRandom_5= rulePropertyFillerSignedDoubleRandom | this_PropertyFillerSignedIntegerRange_6= rulePropertyFillerSignedIntegerRange | this_PropertyFillerSignedIntegerRandom_7= rulePropertyFillerSignedIntegerRandom | this_PropertyFillerTextRandom_8= rulePropertyFillerTextRandom | this_PropertyFillerTextParagraphs_9= rulePropertyFillerTextParagraphs | this_PropertyFillerTextSentences_10= rulePropertyFillerTextSentences | this_PropertyFillerTextWords_11= rulePropertyFillerTextWords | this_PropertyFillerUnsignedDoubleRange_12= rulePropertyFillerUnsignedDoubleRange | this_PropertyFillerUnsignedDoubleRandom_13= rulePropertyFillerUnsignedDoubleRandom | this_PropertyFillerUnsignedIntegerRange_14= rulePropertyFillerUnsignedIntegerRange | this_PropertyFillerUnsignedIntegerRandom_15= rulePropertyFillerUnsignedIntegerRandom )
int alt32=16;
switch ( input.LA(1) ) {
case 43:
{
alt32=1;
}
break;
case 45:
{
alt32=2;
}
break;
case 47:
{
alt32=3;
}
break;
case 46:
{
alt32=4;
}
break;
case 49:
{
alt32=5;
}
break;
case 52:
{
alt32=6;
}
break;
case 53:
{
alt32=7;
}
break;
case 54:
{
alt32=8;
}
break;
case 55:
{
alt32=9;
}
break;
case 56:
{
alt32=10;
}
break;
case 57:
{
alt32=11;
}
break;
case 58:
{
alt32=12;
}
break;
case 59:
{
alt32=13;
}
break;
case 60:
{
alt32=14;
}
break;
case 61:
{
alt32=15;
}
break;
case 62:
{
alt32=16;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
throw nvae;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1777:5: this_PropertyFillerDateFuture_0= rulePropertyFillerDateFuture
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerDateFutureParserRuleCall_0());
}
pushFollow(FOLLOW_rulePropertyFillerDateFuture_in_rulePropertyFillerType3855);
this_PropertyFillerDateFuture_0=rulePropertyFillerDateFuture();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerDateFuture_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1787:5: this_PropertyFillerDatePast_1= rulePropertyFillerDatePast
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerDatePastParserRuleCall_1());
}
pushFollow(FOLLOW_rulePropertyFillerDatePast_in_rulePropertyFillerType3882);
this_PropertyFillerDatePast_1=rulePropertyFillerDatePast();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerDatePast_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1797:5: this_PropertyFillerDateRange_2= rulePropertyFillerDateRange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerDateRangeParserRuleCall_2());
}
pushFollow(FOLLOW_rulePropertyFillerDateRange_in_rulePropertyFillerType3909);
this_PropertyFillerDateRange_2=rulePropertyFillerDateRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerDateRange_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1807:5: this_PropertyFillerBoolean_3= rulePropertyFillerBoolean
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerBooleanParserRuleCall_3());
}
pushFollow(FOLLOW_rulePropertyFillerBoolean_in_rulePropertyFillerType3936);
this_PropertyFillerBoolean_3=rulePropertyFillerBoolean();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerBoolean_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1817:5: this_PropertyFillerSignedDoubleRange_4= rulePropertyFillerSignedDoubleRange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerSignedDoubleRangeParserRuleCall_4());
}
pushFollow(FOLLOW_rulePropertyFillerSignedDoubleRange_in_rulePropertyFillerType3963);
this_PropertyFillerSignedDoubleRange_4=rulePropertyFillerSignedDoubleRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerSignedDoubleRange_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1827:5: this_PropertyFillerSignedDoubleRandom_5= rulePropertyFillerSignedDoubleRandom
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerSignedDoubleRandomParserRuleCall_5());
}
pushFollow(FOLLOW_rulePropertyFillerSignedDoubleRandom_in_rulePropertyFillerType3990);
this_PropertyFillerSignedDoubleRandom_5=rulePropertyFillerSignedDoubleRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerSignedDoubleRandom_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1837:5: this_PropertyFillerSignedIntegerRange_6= rulePropertyFillerSignedIntegerRange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerSignedIntegerRangeParserRuleCall_6());
}
pushFollow(FOLLOW_rulePropertyFillerSignedIntegerRange_in_rulePropertyFillerType4017);
this_PropertyFillerSignedIntegerRange_6=rulePropertyFillerSignedIntegerRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerSignedIntegerRange_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1847:5: this_PropertyFillerSignedIntegerRandom_7= rulePropertyFillerSignedIntegerRandom
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerSignedIntegerRandomParserRuleCall_7());
}
pushFollow(FOLLOW_rulePropertyFillerSignedIntegerRandom_in_rulePropertyFillerType4044);
this_PropertyFillerSignedIntegerRandom_7=rulePropertyFillerSignedIntegerRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerSignedIntegerRandom_7;
afterParserOrEnumRuleCall();
}
}
break;
case 9 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1857:5: this_PropertyFillerTextRandom_8= rulePropertyFillerTextRandom
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerTextRandomParserRuleCall_8());
}
pushFollow(FOLLOW_rulePropertyFillerTextRandom_in_rulePropertyFillerType4071);
this_PropertyFillerTextRandom_8=rulePropertyFillerTextRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerTextRandom_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1867:5: this_PropertyFillerTextParagraphs_9= rulePropertyFillerTextParagraphs
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerTextParagraphsParserRuleCall_9());
}
pushFollow(FOLLOW_rulePropertyFillerTextParagraphs_in_rulePropertyFillerType4098);
this_PropertyFillerTextParagraphs_9=rulePropertyFillerTextParagraphs();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerTextParagraphs_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1877:5: this_PropertyFillerTextSentences_10= rulePropertyFillerTextSentences
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerTextSentencesParserRuleCall_10());
}
pushFollow(FOLLOW_rulePropertyFillerTextSentences_in_rulePropertyFillerType4125);
this_PropertyFillerTextSentences_10=rulePropertyFillerTextSentences();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerTextSentences_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1887:5: this_PropertyFillerTextWords_11= rulePropertyFillerTextWords
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerTextWordsParserRuleCall_11());
}
pushFollow(FOLLOW_rulePropertyFillerTextWords_in_rulePropertyFillerType4152);
this_PropertyFillerTextWords_11=rulePropertyFillerTextWords();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerTextWords_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1897:5: this_PropertyFillerUnsignedDoubleRange_12= rulePropertyFillerUnsignedDoubleRange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerUnsignedDoubleRangeParserRuleCall_12());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedDoubleRange_in_rulePropertyFillerType4179);
this_PropertyFillerUnsignedDoubleRange_12=rulePropertyFillerUnsignedDoubleRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerUnsignedDoubleRange_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1907:5: this_PropertyFillerUnsignedDoubleRandom_13= rulePropertyFillerUnsignedDoubleRandom
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerUnsignedDoubleRandomParserRuleCall_13());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedDoubleRandom_in_rulePropertyFillerType4206);
this_PropertyFillerUnsignedDoubleRandom_13=rulePropertyFillerUnsignedDoubleRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerUnsignedDoubleRandom_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1917:5: this_PropertyFillerUnsignedIntegerRange_14= rulePropertyFillerUnsignedIntegerRange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerUnsignedIntegerRangeParserRuleCall_14());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedIntegerRange_in_rulePropertyFillerType4233);
this_PropertyFillerUnsignedIntegerRange_14=rulePropertyFillerUnsignedIntegerRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerUnsignedIntegerRange_14;
afterParserOrEnumRuleCall();
}
}
break;
case 16 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1927:5: this_PropertyFillerUnsignedIntegerRandom_15= rulePropertyFillerUnsignedIntegerRandom
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTypeAccess().getPropertyFillerUnsignedIntegerRandomParserRuleCall_15());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedIntegerRandom_in_rulePropertyFillerType4260);
this_PropertyFillerUnsignedIntegerRandom_15=rulePropertyFillerUnsignedIntegerRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PropertyFillerUnsignedIntegerRandom_15;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerType"
// $ANTLR start "entryRulePropertyFillerDateFuture"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1943:1: entryRulePropertyFillerDateFuture returns [EObject current=null] : iv_rulePropertyFillerDateFuture= rulePropertyFillerDateFuture EOF ;
public final EObject entryRulePropertyFillerDateFuture() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerDateFuture = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1944:2: (iv_rulePropertyFillerDateFuture= rulePropertyFillerDateFuture EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1945:2: iv_rulePropertyFillerDateFuture= rulePropertyFillerDateFuture EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerDateFutureRule());
}
pushFollow(FOLLOW_rulePropertyFillerDateFuture_in_entryRulePropertyFillerDateFuture4295);
iv_rulePropertyFillerDateFuture=rulePropertyFillerDateFuture();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerDateFuture;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerDateFuture4305); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerDateFuture"
// $ANTLR start "rulePropertyFillerDateFuture"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1952:1: rulePropertyFillerDateFuture returns [EObject current=null] : (otherlv_0= 'future date' ( (lv_dateFutureYears_1_0= RULE_INT ) ) otherlv_2= 'years' ) ;
public final EObject rulePropertyFillerDateFuture() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_dateFutureYears_1_0=null;
Token otherlv_2=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1955:28: ( (otherlv_0= 'future date' ( (lv_dateFutureYears_1_0= RULE_INT ) ) otherlv_2= 'years' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1956:1: (otherlv_0= 'future date' ( (lv_dateFutureYears_1_0= RULE_INT ) ) otherlv_2= 'years' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1956:1: (otherlv_0= 'future date' ( (lv_dateFutureYears_1_0= RULE_INT ) ) otherlv_2= 'years' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1956:3: otherlv_0= 'future date' ( (lv_dateFutureYears_1_0= RULE_INT ) ) otherlv_2= 'years'
{
otherlv_0=(Token)match(input,43,FOLLOW_43_in_rulePropertyFillerDateFuture4342); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerDateFutureAccess().getFutureDateKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1960:1: ( (lv_dateFutureYears_1_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1961:1: (lv_dateFutureYears_1_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1961:1: (lv_dateFutureYears_1_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1962:3: lv_dateFutureYears_1_0= RULE_INT
{
lv_dateFutureYears_1_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerDateFuture4359); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_dateFutureYears_1_0, grammarAccess.getPropertyFillerDateFutureAccess().getDateFutureYearsINTTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerDateFutureRule());
}
setWithLastConsumed(
current,
"dateFutureYears",
lv_dateFutureYears_1_0,
"INT");
}
}
}
otherlv_2=(Token)match(input,44,FOLLOW_44_in_rulePropertyFillerDateFuture4376); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPropertyFillerDateFutureAccess().getYearsKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerDateFuture"
// $ANTLR start "entryRulePropertyFillerDatePast"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1990:1: entryRulePropertyFillerDatePast returns [EObject current=null] : iv_rulePropertyFillerDatePast= rulePropertyFillerDatePast EOF ;
public final EObject entryRulePropertyFillerDatePast() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerDatePast = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1991:2: (iv_rulePropertyFillerDatePast= rulePropertyFillerDatePast EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1992:2: iv_rulePropertyFillerDatePast= rulePropertyFillerDatePast EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerDatePastRule());
}
pushFollow(FOLLOW_rulePropertyFillerDatePast_in_entryRulePropertyFillerDatePast4412);
iv_rulePropertyFillerDatePast=rulePropertyFillerDatePast();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerDatePast;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerDatePast4422); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerDatePast"
// $ANTLR start "rulePropertyFillerDatePast"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:1999:1: rulePropertyFillerDatePast returns [EObject current=null] : (otherlv_0= 'past date' ( (lv_datePastYears_1_0= RULE_INT ) ) otherlv_2= 'years' ) ;
public final EObject rulePropertyFillerDatePast() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_datePastYears_1_0=null;
Token otherlv_2=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2002:28: ( (otherlv_0= 'past date' ( (lv_datePastYears_1_0= RULE_INT ) ) otherlv_2= 'years' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2003:1: (otherlv_0= 'past date' ( (lv_datePastYears_1_0= RULE_INT ) ) otherlv_2= 'years' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2003:1: (otherlv_0= 'past date' ( (lv_datePastYears_1_0= RULE_INT ) ) otherlv_2= 'years' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2003:3: otherlv_0= 'past date' ( (lv_datePastYears_1_0= RULE_INT ) ) otherlv_2= 'years'
{
otherlv_0=(Token)match(input,45,FOLLOW_45_in_rulePropertyFillerDatePast4459); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerDatePastAccess().getPastDateKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2007:1: ( (lv_datePastYears_1_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2008:1: (lv_datePastYears_1_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2008:1: (lv_datePastYears_1_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2009:3: lv_datePastYears_1_0= RULE_INT
{
lv_datePastYears_1_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerDatePast4476); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_datePastYears_1_0, grammarAccess.getPropertyFillerDatePastAccess().getDatePastYearsINTTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerDatePastRule());
}
setWithLastConsumed(
current,
"datePastYears",
lv_datePastYears_1_0,
"INT");
}
}
}
otherlv_2=(Token)match(input,44,FOLLOW_44_in_rulePropertyFillerDatePast4493); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPropertyFillerDatePastAccess().getYearsKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerDatePast"
// $ANTLR start "entryRulePropertyFillerBoolean"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2037:1: entryRulePropertyFillerBoolean returns [EObject current=null] : iv_rulePropertyFillerBoolean= rulePropertyFillerBoolean EOF ;
public final EObject entryRulePropertyFillerBoolean() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerBoolean = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2038:2: (iv_rulePropertyFillerBoolean= rulePropertyFillerBoolean EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2039:2: iv_rulePropertyFillerBoolean= rulePropertyFillerBoolean EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerBooleanRule());
}
pushFollow(FOLLOW_rulePropertyFillerBoolean_in_entryRulePropertyFillerBoolean4529);
iv_rulePropertyFillerBoolean=rulePropertyFillerBoolean();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerBoolean;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerBoolean4539); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerBoolean"
// $ANTLR start "rulePropertyFillerBoolean"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2046:1: rulePropertyFillerBoolean returns [EObject current=null] : ( () otherlv_1= 'boolean' ) ;
public final EObject rulePropertyFillerBoolean() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2049:28: ( ( () otherlv_1= 'boolean' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2050:1: ( () otherlv_1= 'boolean' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2050:1: ( () otherlv_1= 'boolean' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2050:2: () otherlv_1= 'boolean'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2050:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2051:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerBooleanAccess().getPropertyFillerBooleanAction_0(),
current);
}
}
otherlv_1=(Token)match(input,46,FOLLOW_46_in_rulePropertyFillerBoolean4585); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerBooleanAccess().getBooleanKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerBoolean"
// $ANTLR start "entryRulePropertyFillerDateRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2068:1: entryRulePropertyFillerDateRange returns [EObject current=null] : iv_rulePropertyFillerDateRange= rulePropertyFillerDateRange EOF ;
public final EObject entryRulePropertyFillerDateRange() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerDateRange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2069:2: (iv_rulePropertyFillerDateRange= rulePropertyFillerDateRange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2070:2: iv_rulePropertyFillerDateRange= rulePropertyFillerDateRange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerDateRangeRule());
}
pushFollow(FOLLOW_rulePropertyFillerDateRange_in_entryRulePropertyFillerDateRange4621);
iv_rulePropertyFillerDateRange=rulePropertyFillerDateRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerDateRange;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerDateRange4631); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerDateRange"
// $ANTLR start "rulePropertyFillerDateRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2077:1: rulePropertyFillerDateRange returns [EObject current=null] : (otherlv_0= 'date in range' ( (lv_dateBeginYears_1_0= ruleSINT ) ) otherlv_2= 'up to and including' ( (lv_dateEndYears_3_0= ruleSINT ) ) otherlv_4= 'years' ) ;
public final EObject rulePropertyFillerDateRange() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_dateBeginYears_1_0 = null;
AntlrDatatypeRuleToken lv_dateEndYears_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2080:28: ( (otherlv_0= 'date in range' ( (lv_dateBeginYears_1_0= ruleSINT ) ) otherlv_2= 'up to and including' ( (lv_dateEndYears_3_0= ruleSINT ) ) otherlv_4= 'years' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2081:1: (otherlv_0= 'date in range' ( (lv_dateBeginYears_1_0= ruleSINT ) ) otherlv_2= 'up to and including' ( (lv_dateEndYears_3_0= ruleSINT ) ) otherlv_4= 'years' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2081:1: (otherlv_0= 'date in range' ( (lv_dateBeginYears_1_0= ruleSINT ) ) otherlv_2= 'up to and including' ( (lv_dateEndYears_3_0= ruleSINT ) ) otherlv_4= 'years' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2081:3: otherlv_0= 'date in range' ( (lv_dateBeginYears_1_0= ruleSINT ) ) otherlv_2= 'up to and including' ( (lv_dateEndYears_3_0= ruleSINT ) ) otherlv_4= 'years'
{
otherlv_0=(Token)match(input,47,FOLLOW_47_in_rulePropertyFillerDateRange4668); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerDateRangeAccess().getDateInRangeKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2085:1: ( (lv_dateBeginYears_1_0= ruleSINT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2086:1: (lv_dateBeginYears_1_0= ruleSINT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2086:1: (lv_dateBeginYears_1_0= ruleSINT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2087:3: lv_dateBeginYears_1_0= ruleSINT
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerDateRangeAccess().getDateBeginYearsSINTParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleSINT_in_rulePropertyFillerDateRange4689);
lv_dateBeginYears_1_0=ruleSINT();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerDateRangeRule());
}
set(
current,
"dateBeginYears",
lv_dateBeginYears_1_0,
"SINT");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,48,FOLLOW_48_in_rulePropertyFillerDateRange4701); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPropertyFillerDateRangeAccess().getUpToAndIncludingKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2107:1: ( (lv_dateEndYears_3_0= ruleSINT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2108:1: (lv_dateEndYears_3_0= ruleSINT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2108:1: (lv_dateEndYears_3_0= ruleSINT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2109:3: lv_dateEndYears_3_0= ruleSINT
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerDateRangeAccess().getDateEndYearsSINTParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleSINT_in_rulePropertyFillerDateRange4722);
lv_dateEndYears_3_0=ruleSINT();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerDateRangeRule());
}
set(
current,
"dateEndYears",
lv_dateEndYears_3_0,
"SINT");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,44,FOLLOW_44_in_rulePropertyFillerDateRange4734); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPropertyFillerDateRangeAccess().getYearsKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerDateRange"
// $ANTLR start "entryRulePropertyFillerSignedDoubleRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2137:1: entryRulePropertyFillerSignedDoubleRange returns [EObject current=null] : iv_rulePropertyFillerSignedDoubleRange= rulePropertyFillerSignedDoubleRange EOF ;
public final EObject entryRulePropertyFillerSignedDoubleRange() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerSignedDoubleRange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2138:2: (iv_rulePropertyFillerSignedDoubleRange= rulePropertyFillerSignedDoubleRange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2139:2: iv_rulePropertyFillerSignedDoubleRange= rulePropertyFillerSignedDoubleRange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
pushFollow(FOLLOW_rulePropertyFillerSignedDoubleRange_in_entryRulePropertyFillerSignedDoubleRange4770);
iv_rulePropertyFillerSignedDoubleRange=rulePropertyFillerSignedDoubleRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerSignedDoubleRange;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerSignedDoubleRange4780); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerSignedDoubleRange"
// $ANTLR start "rulePropertyFillerSignedDoubleRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2146:1: rulePropertyFillerSignedDoubleRange returns [EObject current=null] : (otherlv_0= 'signed double in range' ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? ) ;
public final EObject rulePropertyFillerSignedDoubleRange() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_decimals_7_0=null;
Token otherlv_8=null;
Token otherlv_9=null;
AntlrDatatypeRuleToken lv_beginRange_1_0 = null;
AntlrDatatypeRuleToken lv_endRange_4_0 = null;
AntlrDatatypeRuleToken lv_rounded_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2149:28: ( (otherlv_0= 'signed double in range' ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2150:1: (otherlv_0= 'signed double in range' ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2150:1: (otherlv_0= 'signed double in range' ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2150:3: otherlv_0= 'signed double in range' ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )?
{
otherlv_0=(Token)match(input,49,FOLLOW_49_in_rulePropertyFillerSignedDoubleRange4817); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getSignedDoubleInRangeKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2154:1: ( ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( ((LA35_0>=RULE_INT && LA35_0<=RULE_ID)||LA35_0==48||LA35_0==80) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2154:2: ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2154:2: ( ( (lv_beginRange_1_0= ruleSignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )?
int alt33=3;
int LA33_0 = input.LA(1);
if ( (LA33_0==RULE_INT||LA33_0==80) ) {
alt33=1;
}
else if ( (LA33_0==RULE_ID) ) {
alt33=2;
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2154:3: ( (lv_beginRange_1_0= ruleSignedNumber ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2154:3: ( (lv_beginRange_1_0= ruleSignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2155:1: (lv_beginRange_1_0= ruleSignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2155:1: (lv_beginRange_1_0= ruleSignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2156:3: lv_beginRange_1_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getBeginRangeSignedNumberParserRuleCall_1_0_0_0());
}
pushFollow(FOLLOW_ruleSignedNumber_in_rulePropertyFillerSignedDoubleRange4840);
lv_beginRange_1_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
set(
current,
"beginRange",
lv_beginRange_1_0,
"SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2173:6: ( (otherlv_2= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2173:6: ( (otherlv_2= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2174:1: (otherlv_2= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2174:1: (otherlv_2= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2175:3: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerSignedDoubleRange4866); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getBeginRangeRefLEntityAttributeCrossReference_1_0_1_0());
}
}
}
}
break;
}
otherlv_3=(Token)match(input,48,FOLLOW_48_in_rulePropertyFillerSignedDoubleRange4880); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getUpToAndIncludingKeyword_1_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2190:1: ( ( (lv_endRange_4_0= ruleSignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) )
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==RULE_INT||LA34_0==80) ) {
alt34=1;
}
else if ( (LA34_0==RULE_ID) ) {
alt34=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 34, 0, input);
throw nvae;
}
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2190:2: ( (lv_endRange_4_0= ruleSignedNumber ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2190:2: ( (lv_endRange_4_0= ruleSignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2191:1: (lv_endRange_4_0= ruleSignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2191:1: (lv_endRange_4_0= ruleSignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2192:3: lv_endRange_4_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getEndRangeSignedNumberParserRuleCall_1_2_0_0());
}
pushFollow(FOLLOW_ruleSignedNumber_in_rulePropertyFillerSignedDoubleRange4902);
lv_endRange_4_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
set(
current,
"endRange",
lv_endRange_4_0,
"SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2209:6: ( (otherlv_5= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2209:6: ( (otherlv_5= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2210:1: (otherlv_5= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2210:1: (otherlv_5= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2211:3: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerSignedDoubleRange4928); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getEndRangeRefLEntityAttributeCrossReference_1_2_1_0());
}
}
}
}
break;
}
}
break;
}
otherlv_6=(Token)match(input,35,FOLLOW_35_in_rulePropertyFillerSignedDoubleRange4943); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getWithKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2226:1: ( (lv_decimals_7_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2227:1: (lv_decimals_7_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2227:1: (lv_decimals_7_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2228:3: lv_decimals_7_0= RULE_INT
{
lv_decimals_7_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerSignedDoubleRange4960); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_decimals_7_0, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getDecimalsINTTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
setWithLastConsumed(
current,
"decimals",
lv_decimals_7_0,
"INT");
}
}
}
otherlv_8=(Token)match(input,50,FOLLOW_50_in_rulePropertyFillerSignedDoubleRange4977); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getDecimalsKeyword_4());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2248:1: (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==51) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2248:3: otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) )
{
otherlv_9=(Token)match(input,51,FOLLOW_51_in_rulePropertyFillerSignedDoubleRange4990); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getRoundToKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2252:1: ( (lv_rounded_10_0= ruleUnsignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2253:1: (lv_rounded_10_0= ruleUnsignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2253:1: (lv_rounded_10_0= ruleUnsignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2254:3: lv_rounded_10_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRangeAccess().getRoundedUnsignedNumberParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_ruleUnsignedNumber_in_rulePropertyFillerSignedDoubleRange5011);
lv_rounded_10_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedDoubleRangeRule());
}
set(
current,
"rounded",
lv_rounded_10_0,
"UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerSignedDoubleRange"
// $ANTLR start "entryRulePropertyFillerSignedDoubleRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2278:1: entryRulePropertyFillerSignedDoubleRandom returns [EObject current=null] : iv_rulePropertyFillerSignedDoubleRandom= rulePropertyFillerSignedDoubleRandom EOF ;
public final EObject entryRulePropertyFillerSignedDoubleRandom() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerSignedDoubleRandom = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2279:2: (iv_rulePropertyFillerSignedDoubleRandom= rulePropertyFillerSignedDoubleRandom EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2280:2: iv_rulePropertyFillerSignedDoubleRandom= rulePropertyFillerSignedDoubleRandom EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRandomRule());
}
pushFollow(FOLLOW_rulePropertyFillerSignedDoubleRandom_in_entryRulePropertyFillerSignedDoubleRandom5049);
iv_rulePropertyFillerSignedDoubleRandom=rulePropertyFillerSignedDoubleRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerSignedDoubleRandom;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerSignedDoubleRandom5059); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerSignedDoubleRandom"
// $ANTLR start "rulePropertyFillerSignedDoubleRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2287:1: rulePropertyFillerSignedDoubleRandom returns [EObject current=null] : (otherlv_0= 'signed double from' otherlv_1= '(' ( (lv_items_2_0= ruleSignedNumber ) )+ otherlv_3= ')' ) ;
public final EObject rulePropertyFillerSignedDoubleRandom() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
AntlrDatatypeRuleToken lv_items_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2290:28: ( (otherlv_0= 'signed double from' otherlv_1= '(' ( (lv_items_2_0= ruleSignedNumber ) )+ otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2291:1: (otherlv_0= 'signed double from' otherlv_1= '(' ( (lv_items_2_0= ruleSignedNumber ) )+ otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2291:1: (otherlv_0= 'signed double from' otherlv_1= '(' ( (lv_items_2_0= ruleSignedNumber ) )+ otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2291:3: otherlv_0= 'signed double from' otherlv_1= '(' ( (lv_items_2_0= ruleSignedNumber ) )+ otherlv_3= ')'
{
otherlv_0=(Token)match(input,52,FOLLOW_52_in_rulePropertyFillerSignedDoubleRandom5096); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerSignedDoubleRandomAccess().getSignedDoubleFromKeyword_0());
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_rulePropertyFillerSignedDoubleRandom5108); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerSignedDoubleRandomAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2299:1: ( (lv_items_2_0= ruleSignedNumber ) )+
int cnt37=0;
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==RULE_INT||LA37_0==80) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2300:1: (lv_items_2_0= ruleSignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2300:1: (lv_items_2_0= ruleSignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2301:3: lv_items_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedDoubleRandomAccess().getItemsSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleSignedNumber_in_rulePropertyFillerSignedDoubleRandom5129);
lv_items_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedDoubleRandomRule());
}
add(
current,
"items",
lv_items_2_0,
"SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt37 >= 1 ) break loop37;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(37, input);
throw eee;
}
cnt37++;
} while (true);
otherlv_3=(Token)match(input,28,FOLLOW_28_in_rulePropertyFillerSignedDoubleRandom5142); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerSignedDoubleRandomAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerSignedDoubleRandom"
// $ANTLR start "entryRulePropertyFillerSignedIntegerRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2329:1: entryRulePropertyFillerSignedIntegerRange returns [EObject current=null] : iv_rulePropertyFillerSignedIntegerRange= rulePropertyFillerSignedIntegerRange EOF ;
public final EObject entryRulePropertyFillerSignedIntegerRange() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerSignedIntegerRange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2330:2: (iv_rulePropertyFillerSignedIntegerRange= rulePropertyFillerSignedIntegerRange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2331:2: iv_rulePropertyFillerSignedIntegerRange= rulePropertyFillerSignedIntegerRange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
pushFollow(FOLLOW_rulePropertyFillerSignedIntegerRange_in_entryRulePropertyFillerSignedIntegerRange5178);
iv_rulePropertyFillerSignedIntegerRange=rulePropertyFillerSignedIntegerRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerSignedIntegerRange;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerSignedIntegerRange5188); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerSignedIntegerRange"
// $ANTLR start "rulePropertyFillerSignedIntegerRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2338:1: rulePropertyFillerSignedIntegerRange returns [EObject current=null] : ( () otherlv_1= 'signed integer in range' ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? ) ;
public final EObject rulePropertyFillerSignedIntegerRange() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token lv_rounded_8_0=null;
AntlrDatatypeRuleToken lv_beginRange_2_0 = null;
AntlrDatatypeRuleToken lv_endRange_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2341:28: ( ( () otherlv_1= 'signed integer in range' ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2342:1: ( () otherlv_1= 'signed integer in range' ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2342:1: ( () otherlv_1= 'signed integer in range' ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2342:2: () otherlv_1= 'signed integer in range' ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2342:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2343:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getPropertyFillerSignedIntegerRangeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,53,FOLLOW_53_in_rulePropertyFillerSignedIntegerRange5234); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getSignedIntegerInRangeKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2352:1: ( ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) ) )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( ((LA40_0>=RULE_INT && LA40_0<=RULE_ID)||LA40_0==48||LA40_0==80) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2352:2: ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2352:2: ( ( (lv_beginRange_2_0= ruleSINT ) ) | ( (otherlv_3= RULE_ID ) ) )?
int alt38=3;
int LA38_0 = input.LA(1);
if ( (LA38_0==RULE_INT||LA38_0==80) ) {
alt38=1;
}
else if ( (LA38_0==RULE_ID) ) {
alt38=2;
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2352:3: ( (lv_beginRange_2_0= ruleSINT ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2352:3: ( (lv_beginRange_2_0= ruleSINT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2353:1: (lv_beginRange_2_0= ruleSINT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2353:1: (lv_beginRange_2_0= ruleSINT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2354:3: lv_beginRange_2_0= ruleSINT
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getBeginRangeSINTParserRuleCall_2_0_0_0());
}
pushFollow(FOLLOW_ruleSINT_in_rulePropertyFillerSignedIntegerRange5257);
lv_beginRange_2_0=ruleSINT();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
set(
current,
"beginRange",
lv_beginRange_2_0,
"SINT");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2371:6: ( (otherlv_3= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2371:6: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2372:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2372:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2373:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerSignedIntegerRange5283); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getBeginRangeRefLEntityAttributeCrossReference_2_0_1_0());
}
}
}
}
break;
}
otherlv_4=(Token)match(input,48,FOLLOW_48_in_rulePropertyFillerSignedIntegerRange5297); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getUpToAndIncludingKeyword_2_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2388:1: ( ( (lv_endRange_5_0= ruleSINT ) ) | ( (otherlv_6= RULE_ID ) ) )
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==RULE_INT||LA39_0==80) ) {
alt39=1;
}
else if ( (LA39_0==RULE_ID) ) {
alt39=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2388:2: ( (lv_endRange_5_0= ruleSINT ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2388:2: ( (lv_endRange_5_0= ruleSINT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2389:1: (lv_endRange_5_0= ruleSINT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2389:1: (lv_endRange_5_0= ruleSINT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2390:3: lv_endRange_5_0= ruleSINT
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getEndRangeSINTParserRuleCall_2_2_0_0());
}
pushFollow(FOLLOW_ruleSINT_in_rulePropertyFillerSignedIntegerRange5319);
lv_endRange_5_0=ruleSINT();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
set(
current,
"endRange",
lv_endRange_5_0,
"SINT");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2407:6: ( (otherlv_6= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2407:6: ( (otherlv_6= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2408:1: (otherlv_6= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2408:1: (otherlv_6= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2409:3: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerSignedIntegerRange5345); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getEndRangeRefLEntityAttributeCrossReference_2_2_1_0());
}
}
}
}
break;
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2420:5: (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )?
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==51) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2420:7: otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) )
{
otherlv_7=(Token)match(input,51,FOLLOW_51_in_rulePropertyFillerSignedIntegerRange5361); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getRoundToKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2424:1: ( (lv_rounded_8_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2425:1: (lv_rounded_8_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2425:1: (lv_rounded_8_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2426:3: lv_rounded_8_0= RULE_INT
{
lv_rounded_8_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerSignedIntegerRange5378); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_rounded_8_0, grammarAccess.getPropertyFillerSignedIntegerRangeAccess().getRoundedINTTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerSignedIntegerRangeRule());
}
setWithLastConsumed(
current,
"rounded",
lv_rounded_8_0,
"INT");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerSignedIntegerRange"
// $ANTLR start "entryRulePropertyFillerSignedIntegerRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2450:1: entryRulePropertyFillerSignedIntegerRandom returns [EObject current=null] : iv_rulePropertyFillerSignedIntegerRandom= rulePropertyFillerSignedIntegerRandom EOF ;
public final EObject entryRulePropertyFillerSignedIntegerRandom() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerSignedIntegerRandom = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2451:2: (iv_rulePropertyFillerSignedIntegerRandom= rulePropertyFillerSignedIntegerRandom EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2452:2: iv_rulePropertyFillerSignedIntegerRandom= rulePropertyFillerSignedIntegerRandom EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedIntegerRandomRule());
}
pushFollow(FOLLOW_rulePropertyFillerSignedIntegerRandom_in_entryRulePropertyFillerSignedIntegerRandom5421);
iv_rulePropertyFillerSignedIntegerRandom=rulePropertyFillerSignedIntegerRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerSignedIntegerRandom;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerSignedIntegerRandom5431); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerSignedIntegerRandom"
// $ANTLR start "rulePropertyFillerSignedIntegerRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2459:1: rulePropertyFillerSignedIntegerRandom returns [EObject current=null] : (otherlv_0= 'signed integer from' otherlv_1= '(' ( (lv_items_2_0= ruleSINT ) )+ otherlv_3= ')' ) ;
public final EObject rulePropertyFillerSignedIntegerRandom() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
AntlrDatatypeRuleToken lv_items_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2462:28: ( (otherlv_0= 'signed integer from' otherlv_1= '(' ( (lv_items_2_0= ruleSINT ) )+ otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2463:1: (otherlv_0= 'signed integer from' otherlv_1= '(' ( (lv_items_2_0= ruleSINT ) )+ otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2463:1: (otherlv_0= 'signed integer from' otherlv_1= '(' ( (lv_items_2_0= ruleSINT ) )+ otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2463:3: otherlv_0= 'signed integer from' otherlv_1= '(' ( (lv_items_2_0= ruleSINT ) )+ otherlv_3= ')'
{
otherlv_0=(Token)match(input,54,FOLLOW_54_in_rulePropertyFillerSignedIntegerRandom5468); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerSignedIntegerRandomAccess().getSignedIntegerFromKeyword_0());
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_rulePropertyFillerSignedIntegerRandom5480); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerSignedIntegerRandomAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2471:1: ( (lv_items_2_0= ruleSINT ) )+
int cnt42=0;
loop42:
do {
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==RULE_INT||LA42_0==80) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2472:1: (lv_items_2_0= ruleSINT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2472:1: (lv_items_2_0= ruleSINT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2473:3: lv_items_2_0= ruleSINT
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerSignedIntegerRandomAccess().getItemsSINTParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleSINT_in_rulePropertyFillerSignedIntegerRandom5501);
lv_items_2_0=ruleSINT();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerSignedIntegerRandomRule());
}
add(
current,
"items",
lv_items_2_0,
"SINT");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt42 >= 1 ) break loop42;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(42, input);
throw eee;
}
cnt42++;
} while (true);
otherlv_3=(Token)match(input,28,FOLLOW_28_in_rulePropertyFillerSignedIntegerRandom5514); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerSignedIntegerRandomAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerSignedIntegerRandom"
// $ANTLR start "entryRulePropertyFillerTextRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2501:1: entryRulePropertyFillerTextRandom returns [EObject current=null] : iv_rulePropertyFillerTextRandom= rulePropertyFillerTextRandom EOF ;
public final EObject entryRulePropertyFillerTextRandom() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerTextRandom = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2502:2: (iv_rulePropertyFillerTextRandom= rulePropertyFillerTextRandom EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2503:2: iv_rulePropertyFillerTextRandom= rulePropertyFillerTextRandom EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTextRandomRule());
}
pushFollow(FOLLOW_rulePropertyFillerTextRandom_in_entryRulePropertyFillerTextRandom5550);
iv_rulePropertyFillerTextRandom=rulePropertyFillerTextRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerTextRandom;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerTextRandom5560); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerTextRandom"
// $ANTLR start "rulePropertyFillerTextRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2510:1: rulePropertyFillerTextRandom returns [EObject current=null] : (otherlv_0= 'text from' otherlv_1= '(' ( (lv_items_2_0= RULE_STRING ) )+ otherlv_3= ')' ) ;
public final EObject rulePropertyFillerTextRandom() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_items_2_0=null;
Token otherlv_3=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2513:28: ( (otherlv_0= 'text from' otherlv_1= '(' ( (lv_items_2_0= RULE_STRING ) )+ otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2514:1: (otherlv_0= 'text from' otherlv_1= '(' ( (lv_items_2_0= RULE_STRING ) )+ otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2514:1: (otherlv_0= 'text from' otherlv_1= '(' ( (lv_items_2_0= RULE_STRING ) )+ otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2514:3: otherlv_0= 'text from' otherlv_1= '(' ( (lv_items_2_0= RULE_STRING ) )+ otherlv_3= ')'
{
otherlv_0=(Token)match(input,55,FOLLOW_55_in_rulePropertyFillerTextRandom5597); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerTextRandomAccess().getTextFromKeyword_0());
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_rulePropertyFillerTextRandom5609); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerTextRandomAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2522:1: ( (lv_items_2_0= RULE_STRING ) )+
int cnt43=0;
loop43:
do {
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==RULE_STRING) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2523:1: (lv_items_2_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2523:1: (lv_items_2_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2524:3: lv_items_2_0= RULE_STRING
{
lv_items_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePropertyFillerTextRandom5626); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_items_2_0, grammarAccess.getPropertyFillerTextRandomAccess().getItemsSTRINGTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerTextRandomRule());
}
addWithLastConsumed(
current,
"items",
lv_items_2_0,
"STRING");
}
}
}
break;
default :
if ( cnt43 >= 1 ) break loop43;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(43, input);
throw eee;
}
cnt43++;
} while (true);
otherlv_3=(Token)match(input,28,FOLLOW_28_in_rulePropertyFillerTextRandom5644); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerTextRandomAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerTextRandom"
// $ANTLR start "entryRulePropertyFillerTextParagraphs"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2552:1: entryRulePropertyFillerTextParagraphs returns [EObject current=null] : iv_rulePropertyFillerTextParagraphs= rulePropertyFillerTextParagraphs EOF ;
public final EObject entryRulePropertyFillerTextParagraphs() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerTextParagraphs = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2553:2: (iv_rulePropertyFillerTextParagraphs= rulePropertyFillerTextParagraphs EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2554:2: iv_rulePropertyFillerTextParagraphs= rulePropertyFillerTextParagraphs EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTextParagraphsRule());
}
pushFollow(FOLLOW_rulePropertyFillerTextParagraphs_in_entryRulePropertyFillerTextParagraphs5680);
iv_rulePropertyFillerTextParagraphs=rulePropertyFillerTextParagraphs();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerTextParagraphs;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerTextParagraphs5690); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerTextParagraphs"
// $ANTLR start "rulePropertyFillerTextParagraphs"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2561:1: rulePropertyFillerTextParagraphs returns [EObject current=null] : ( () otherlv_1= 'paragraps' ( (lv_count_2_0= RULE_INT ) )? ) ;
public final EObject rulePropertyFillerTextParagraphs() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_count_2_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2564:28: ( ( () otherlv_1= 'paragraps' ( (lv_count_2_0= RULE_INT ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2565:1: ( () otherlv_1= 'paragraps' ( (lv_count_2_0= RULE_INT ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2565:1: ( () otherlv_1= 'paragraps' ( (lv_count_2_0= RULE_INT ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2565:2: () otherlv_1= 'paragraps' ( (lv_count_2_0= RULE_INT ) )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2565:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2566:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerTextParagraphsAccess().getPropertyFillerTextParagraphsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,56,FOLLOW_56_in_rulePropertyFillerTextParagraphs5736); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerTextParagraphsAccess().getParagrapsKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2575:1: ( (lv_count_2_0= RULE_INT ) )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==RULE_INT) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2576:1: (lv_count_2_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2576:1: (lv_count_2_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2577:3: lv_count_2_0= RULE_INT
{
lv_count_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerTextParagraphs5753); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_count_2_0, grammarAccess.getPropertyFillerTextParagraphsAccess().getCountINTTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerTextParagraphsRule());
}
setWithLastConsumed(
current,
"count",
lv_count_2_0,
"INT");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerTextParagraphs"
// $ANTLR start "entryRulePropertyFillerTextSentences"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2601:1: entryRulePropertyFillerTextSentences returns [EObject current=null] : iv_rulePropertyFillerTextSentences= rulePropertyFillerTextSentences EOF ;
public final EObject entryRulePropertyFillerTextSentences() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerTextSentences = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2602:2: (iv_rulePropertyFillerTextSentences= rulePropertyFillerTextSentences EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2603:2: iv_rulePropertyFillerTextSentences= rulePropertyFillerTextSentences EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTextSentencesRule());
}
pushFollow(FOLLOW_rulePropertyFillerTextSentences_in_entryRulePropertyFillerTextSentences5795);
iv_rulePropertyFillerTextSentences=rulePropertyFillerTextSentences();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerTextSentences;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerTextSentences5805); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerTextSentences"
// $ANTLR start "rulePropertyFillerTextSentences"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2610:1: rulePropertyFillerTextSentences returns [EObject current=null] : ( () otherlv_1= 'sentences' ( (lv_count_2_0= RULE_INT ) )? ) ;
public final EObject rulePropertyFillerTextSentences() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_count_2_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2613:28: ( ( () otherlv_1= 'sentences' ( (lv_count_2_0= RULE_INT ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2614:1: ( () otherlv_1= 'sentences' ( (lv_count_2_0= RULE_INT ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2614:1: ( () otherlv_1= 'sentences' ( (lv_count_2_0= RULE_INT ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2614:2: () otherlv_1= 'sentences' ( (lv_count_2_0= RULE_INT ) )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2614:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2615:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerTextSentencesAccess().getPropertyFillerTextSentencesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,57,FOLLOW_57_in_rulePropertyFillerTextSentences5851); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerTextSentencesAccess().getSentencesKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2624:1: ( (lv_count_2_0= RULE_INT ) )?
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==RULE_INT) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2625:1: (lv_count_2_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2625:1: (lv_count_2_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2626:3: lv_count_2_0= RULE_INT
{
lv_count_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerTextSentences5868); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_count_2_0, grammarAccess.getPropertyFillerTextSentencesAccess().getCountINTTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerTextSentencesRule());
}
setWithLastConsumed(
current,
"count",
lv_count_2_0,
"INT");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerTextSentences"
// $ANTLR start "entryRulePropertyFillerTextWords"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2650:1: entryRulePropertyFillerTextWords returns [EObject current=null] : iv_rulePropertyFillerTextWords= rulePropertyFillerTextWords EOF ;
public final EObject entryRulePropertyFillerTextWords() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerTextWords = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2651:2: (iv_rulePropertyFillerTextWords= rulePropertyFillerTextWords EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2652:2: iv_rulePropertyFillerTextWords= rulePropertyFillerTextWords EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerTextWordsRule());
}
pushFollow(FOLLOW_rulePropertyFillerTextWords_in_entryRulePropertyFillerTextWords5910);
iv_rulePropertyFillerTextWords=rulePropertyFillerTextWords();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerTextWords;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerTextWords5920); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerTextWords"
// $ANTLR start "rulePropertyFillerTextWords"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2659:1: rulePropertyFillerTextWords returns [EObject current=null] : ( () otherlv_1= 'words' ( (lv_count_2_0= RULE_INT ) )? ) ;
public final EObject rulePropertyFillerTextWords() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_count_2_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2662:28: ( ( () otherlv_1= 'words' ( (lv_count_2_0= RULE_INT ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2663:1: ( () otherlv_1= 'words' ( (lv_count_2_0= RULE_INT ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2663:1: ( () otherlv_1= 'words' ( (lv_count_2_0= RULE_INT ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2663:2: () otherlv_1= 'words' ( (lv_count_2_0= RULE_INT ) )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2663:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2664:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerTextWordsAccess().getPropertyFillerTextWordsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,58,FOLLOW_58_in_rulePropertyFillerTextWords5966); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerTextWordsAccess().getWordsKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2673:1: ( (lv_count_2_0= RULE_INT ) )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==RULE_INT) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2674:1: (lv_count_2_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2674:1: (lv_count_2_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2675:3: lv_count_2_0= RULE_INT
{
lv_count_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerTextWords5983); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_count_2_0, grammarAccess.getPropertyFillerTextWordsAccess().getCountINTTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerTextWordsRule());
}
setWithLastConsumed(
current,
"count",
lv_count_2_0,
"INT");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerTextWords"
// $ANTLR start "entryRulePropertyFillerUnsignedDoubleRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2699:1: entryRulePropertyFillerUnsignedDoubleRange returns [EObject current=null] : iv_rulePropertyFillerUnsignedDoubleRange= rulePropertyFillerUnsignedDoubleRange EOF ;
public final EObject entryRulePropertyFillerUnsignedDoubleRange() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerUnsignedDoubleRange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2700:2: (iv_rulePropertyFillerUnsignedDoubleRange= rulePropertyFillerUnsignedDoubleRange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2701:2: iv_rulePropertyFillerUnsignedDoubleRange= rulePropertyFillerUnsignedDoubleRange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedDoubleRange_in_entryRulePropertyFillerUnsignedDoubleRange6025);
iv_rulePropertyFillerUnsignedDoubleRange=rulePropertyFillerUnsignedDoubleRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerUnsignedDoubleRange;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerUnsignedDoubleRange6035); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerUnsignedDoubleRange"
// $ANTLR start "rulePropertyFillerUnsignedDoubleRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2708:1: rulePropertyFillerUnsignedDoubleRange returns [EObject current=null] : (otherlv_0= 'unsigned double in range' ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? ) ;
public final EObject rulePropertyFillerUnsignedDoubleRange() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_decimals_7_0=null;
Token otherlv_8=null;
Token otherlv_9=null;
AntlrDatatypeRuleToken lv_beginRange_1_0 = null;
AntlrDatatypeRuleToken lv_endRange_4_0 = null;
AntlrDatatypeRuleToken lv_rounded_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2711:28: ( (otherlv_0= 'unsigned double in range' ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2712:1: (otherlv_0= 'unsigned double in range' ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2712:1: (otherlv_0= 'unsigned double in range' ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2712:3: otherlv_0= 'unsigned double in range' ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )? otherlv_6= 'with' ( (lv_decimals_7_0= RULE_INT ) ) otherlv_8= 'decimals' (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )?
{
otherlv_0=(Token)match(input,59,FOLLOW_59_in_rulePropertyFillerUnsignedDoubleRange6072); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getUnsignedDoubleInRangeKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2716:1: ( ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) ) )?
int alt49=2;
int LA49_0 = input.LA(1);
if ( ((LA49_0>=RULE_INT && LA49_0<=RULE_ID)||LA49_0==48) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2716:2: ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )? otherlv_3= 'up to and including' ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2716:2: ( ( (lv_beginRange_1_0= ruleUnsignedNumber ) ) | ( (otherlv_2= RULE_ID ) ) )?
int alt47=3;
int LA47_0 = input.LA(1);
if ( (LA47_0==RULE_INT) ) {
alt47=1;
}
else if ( (LA47_0==RULE_ID) ) {
alt47=2;
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2716:3: ( (lv_beginRange_1_0= ruleUnsignedNumber ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2716:3: ( (lv_beginRange_1_0= ruleUnsignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2717:1: (lv_beginRange_1_0= ruleUnsignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2717:1: (lv_beginRange_1_0= ruleUnsignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2718:3: lv_beginRange_1_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getBeginRangeUnsignedNumberParserRuleCall_1_0_0_0());
}
pushFollow(FOLLOW_ruleUnsignedNumber_in_rulePropertyFillerUnsignedDoubleRange6095);
lv_beginRange_1_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
set(
current,
"beginRange",
lv_beginRange_1_0,
"UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2735:6: ( (otherlv_2= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2735:6: ( (otherlv_2= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2736:1: (otherlv_2= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2736:1: (otherlv_2= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2737:3: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerUnsignedDoubleRange6121); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getBeginRangeRefLEntityAttributeCrossReference_1_0_1_0());
}
}
}
}
break;
}
otherlv_3=(Token)match(input,48,FOLLOW_48_in_rulePropertyFillerUnsignedDoubleRange6135); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getUpToAndIncludingKeyword_1_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2752:1: ( ( (lv_endRange_4_0= ruleUnsignedNumber ) ) | ( (otherlv_5= RULE_ID ) ) )
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==RULE_INT) ) {
alt48=1;
}
else if ( (LA48_0==RULE_ID) ) {
alt48=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2752:2: ( (lv_endRange_4_0= ruleUnsignedNumber ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2752:2: ( (lv_endRange_4_0= ruleUnsignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2753:1: (lv_endRange_4_0= ruleUnsignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2753:1: (lv_endRange_4_0= ruleUnsignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2754:3: lv_endRange_4_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getEndRangeUnsignedNumberParserRuleCall_1_2_0_0());
}
pushFollow(FOLLOW_ruleUnsignedNumber_in_rulePropertyFillerUnsignedDoubleRange6157);
lv_endRange_4_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
set(
current,
"endRange",
lv_endRange_4_0,
"UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2771:6: ( (otherlv_5= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2771:6: ( (otherlv_5= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2772:1: (otherlv_5= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2772:1: (otherlv_5= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2773:3: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerUnsignedDoubleRange6183); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getEndRangeRefLEntityAttributeCrossReference_1_2_1_0());
}
}
}
}
break;
}
}
break;
}
otherlv_6=(Token)match(input,35,FOLLOW_35_in_rulePropertyFillerUnsignedDoubleRange6198); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getWithKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2788:1: ( (lv_decimals_7_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2789:1: (lv_decimals_7_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2789:1: (lv_decimals_7_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2790:3: lv_decimals_7_0= RULE_INT
{
lv_decimals_7_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerUnsignedDoubleRange6215); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_decimals_7_0, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getDecimalsINTTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
setWithLastConsumed(
current,
"decimals",
lv_decimals_7_0,
"INT");
}
}
}
otherlv_8=(Token)match(input,50,FOLLOW_50_in_rulePropertyFillerUnsignedDoubleRange6232); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getDecimalsKeyword_4());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2810:1: (otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==51) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2810:3: otherlv_9= 'round to' ( (lv_rounded_10_0= ruleUnsignedNumber ) )
{
otherlv_9=(Token)match(input,51,FOLLOW_51_in_rulePropertyFillerUnsignedDoubleRange6245); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getRoundToKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2814:1: ( (lv_rounded_10_0= ruleUnsignedNumber ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2815:1: (lv_rounded_10_0= ruleUnsignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2815:1: (lv_rounded_10_0= ruleUnsignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2816:3: lv_rounded_10_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRangeAccess().getRoundedUnsignedNumberParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_ruleUnsignedNumber_in_rulePropertyFillerUnsignedDoubleRange6266);
lv_rounded_10_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerUnsignedDoubleRangeRule());
}
set(
current,
"rounded",
lv_rounded_10_0,
"UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerUnsignedDoubleRange"
// $ANTLR start "entryRulePropertyFillerUnsignedDoubleRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2840:1: entryRulePropertyFillerUnsignedDoubleRandom returns [EObject current=null] : iv_rulePropertyFillerUnsignedDoubleRandom= rulePropertyFillerUnsignedDoubleRandom EOF ;
public final EObject entryRulePropertyFillerUnsignedDoubleRandom() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerUnsignedDoubleRandom = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2841:2: (iv_rulePropertyFillerUnsignedDoubleRandom= rulePropertyFillerUnsignedDoubleRandom EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2842:2: iv_rulePropertyFillerUnsignedDoubleRandom= rulePropertyFillerUnsignedDoubleRandom EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRandomRule());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedDoubleRandom_in_entryRulePropertyFillerUnsignedDoubleRandom6304);
iv_rulePropertyFillerUnsignedDoubleRandom=rulePropertyFillerUnsignedDoubleRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerUnsignedDoubleRandom;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerUnsignedDoubleRandom6314); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerUnsignedDoubleRandom"
// $ANTLR start "rulePropertyFillerUnsignedDoubleRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2849:1: rulePropertyFillerUnsignedDoubleRandom returns [EObject current=null] : (otherlv_0= 'unsigned double from' otherlv_1= '(' ( (lv_items_2_0= ruleUnsignedNumber ) )+ otherlv_3= ')' ) ;
public final EObject rulePropertyFillerUnsignedDoubleRandom() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
AntlrDatatypeRuleToken lv_items_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2852:28: ( (otherlv_0= 'unsigned double from' otherlv_1= '(' ( (lv_items_2_0= ruleUnsignedNumber ) )+ otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2853:1: (otherlv_0= 'unsigned double from' otherlv_1= '(' ( (lv_items_2_0= ruleUnsignedNumber ) )+ otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2853:1: (otherlv_0= 'unsigned double from' otherlv_1= '(' ( (lv_items_2_0= ruleUnsignedNumber ) )+ otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2853:3: otherlv_0= 'unsigned double from' otherlv_1= '(' ( (lv_items_2_0= ruleUnsignedNumber ) )+ otherlv_3= ')'
{
otherlv_0=(Token)match(input,60,FOLLOW_60_in_rulePropertyFillerUnsignedDoubleRandom6351); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerUnsignedDoubleRandomAccess().getUnsignedDoubleFromKeyword_0());
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_rulePropertyFillerUnsignedDoubleRandom6363); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerUnsignedDoubleRandomAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2861:1: ( (lv_items_2_0= ruleUnsignedNumber ) )+
int cnt51=0;
loop51:
do {
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==RULE_INT) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2862:1: (lv_items_2_0= ruleUnsignedNumber )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2862:1: (lv_items_2_0= ruleUnsignedNumber )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2863:3: lv_items_2_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedDoubleRandomAccess().getItemsUnsignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleUnsignedNumber_in_rulePropertyFillerUnsignedDoubleRandom6384);
lv_items_2_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPropertyFillerUnsignedDoubleRandomRule());
}
add(
current,
"items",
lv_items_2_0,
"UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt51 >= 1 ) break loop51;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(51, input);
throw eee;
}
cnt51++;
} while (true);
otherlv_3=(Token)match(input,28,FOLLOW_28_in_rulePropertyFillerUnsignedDoubleRandom6397); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerUnsignedDoubleRandomAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerUnsignedDoubleRandom"
// $ANTLR start "entryRulePropertyFillerUnsignedIntegerRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2891:1: entryRulePropertyFillerUnsignedIntegerRange returns [EObject current=null] : iv_rulePropertyFillerUnsignedIntegerRange= rulePropertyFillerUnsignedIntegerRange EOF ;
public final EObject entryRulePropertyFillerUnsignedIntegerRange() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerUnsignedIntegerRange = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2892:2: (iv_rulePropertyFillerUnsignedIntegerRange= rulePropertyFillerUnsignedIntegerRange EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2893:2: iv_rulePropertyFillerUnsignedIntegerRange= rulePropertyFillerUnsignedIntegerRange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedIntegerRange_in_entryRulePropertyFillerUnsignedIntegerRange6433);
iv_rulePropertyFillerUnsignedIntegerRange=rulePropertyFillerUnsignedIntegerRange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerUnsignedIntegerRange;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerUnsignedIntegerRange6443); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerUnsignedIntegerRange"
// $ANTLR start "rulePropertyFillerUnsignedIntegerRange"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2900:1: rulePropertyFillerUnsignedIntegerRange returns [EObject current=null] : ( () otherlv_1= 'unsigned integer in range' ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? ) ;
public final EObject rulePropertyFillerUnsignedIntegerRange() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_beginRange_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_endRange_5_0=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token lv_rounded_8_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2903:28: ( ( () otherlv_1= 'unsigned integer in range' ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2904:1: ( () otherlv_1= 'unsigned integer in range' ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2904:1: ( () otherlv_1= 'unsigned integer in range' ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )? )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2904:2: () otherlv_1= 'unsigned integer in range' ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )? (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )?
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2904:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2905:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getPropertyFillerUnsignedIntegerRangeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,61,FOLLOW_61_in_rulePropertyFillerUnsignedIntegerRange6489); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getUnsignedIntegerInRangeKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2914:1: ( ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( ((LA54_0>=RULE_INT && LA54_0<=RULE_ID)||LA54_0==48) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2914:2: ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )? otherlv_4= 'up to and including' ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2914:2: ( ( (lv_beginRange_2_0= RULE_INT ) ) | ( (otherlv_3= RULE_ID ) ) )?
int alt52=3;
int LA52_0 = input.LA(1);
if ( (LA52_0==RULE_INT) ) {
alt52=1;
}
else if ( (LA52_0==RULE_ID) ) {
alt52=2;
}
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2914:3: ( (lv_beginRange_2_0= RULE_INT ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2914:3: ( (lv_beginRange_2_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2915:1: (lv_beginRange_2_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2915:1: (lv_beginRange_2_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2916:3: lv_beginRange_2_0= RULE_INT
{
lv_beginRange_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerUnsignedIntegerRange6508); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_beginRange_2_0, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getBeginRangeINTTerminalRuleCall_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
setWithLastConsumed(
current,
"beginRange",
lv_beginRange_2_0,
"INT");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2933:6: ( (otherlv_3= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2933:6: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2934:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2934:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2935:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerUnsignedIntegerRange6539); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getBeginRangeRefLEntityAttributeCrossReference_2_0_1_0());
}
}
}
}
break;
}
otherlv_4=(Token)match(input,48,FOLLOW_48_in_rulePropertyFillerUnsignedIntegerRange6553); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getUpToAndIncludingKeyword_2_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2950:1: ( ( (lv_endRange_5_0= RULE_INT ) ) | ( (otherlv_6= RULE_ID ) ) )
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==RULE_INT) ) {
alt53=1;
}
else if ( (LA53_0==RULE_ID) ) {
alt53=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 53, 0, input);
throw nvae;
}
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2950:2: ( (lv_endRange_5_0= RULE_INT ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2950:2: ( (lv_endRange_5_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2951:1: (lv_endRange_5_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2951:1: (lv_endRange_5_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2952:3: lv_endRange_5_0= RULE_INT
{
lv_endRange_5_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerUnsignedIntegerRange6571); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_endRange_5_0, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getEndRangeINTTerminalRuleCall_2_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
setWithLastConsumed(
current,
"endRange",
lv_endRange_5_0,
"INT");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2969:6: ( (otherlv_6= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2969:6: ( (otherlv_6= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2970:1: (otherlv_6= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2970:1: (otherlv_6= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2971:3: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyFillerUnsignedIntegerRange6602); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getEndRangeRefLEntityAttributeCrossReference_2_2_1_0());
}
}
}
}
break;
}
}
break;
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2982:5: (otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) ) )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==51) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2982:7: otherlv_7= 'round to' ( (lv_rounded_8_0= RULE_INT ) )
{
otherlv_7=(Token)match(input,51,FOLLOW_51_in_rulePropertyFillerUnsignedIntegerRange6618); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getRoundToKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2986:1: ( (lv_rounded_8_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2987:1: (lv_rounded_8_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2987:1: (lv_rounded_8_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:2988:3: lv_rounded_8_0= RULE_INT
{
lv_rounded_8_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerUnsignedIntegerRange6635); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_rounded_8_0, grammarAccess.getPropertyFillerUnsignedIntegerRangeAccess().getRoundedINTTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRangeRule());
}
setWithLastConsumed(
current,
"rounded",
lv_rounded_8_0,
"INT");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerUnsignedIntegerRange"
// $ANTLR start "entryRulePropertyFillerUnsignedIntegerRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3012:1: entryRulePropertyFillerUnsignedIntegerRandom returns [EObject current=null] : iv_rulePropertyFillerUnsignedIntegerRandom= rulePropertyFillerUnsignedIntegerRandom EOF ;
public final EObject entryRulePropertyFillerUnsignedIntegerRandom() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyFillerUnsignedIntegerRandom = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3013:2: (iv_rulePropertyFillerUnsignedIntegerRandom= rulePropertyFillerUnsignedIntegerRandom EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3014:2: iv_rulePropertyFillerUnsignedIntegerRandom= rulePropertyFillerUnsignedIntegerRandom EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyFillerUnsignedIntegerRandomRule());
}
pushFollow(FOLLOW_rulePropertyFillerUnsignedIntegerRandom_in_entryRulePropertyFillerUnsignedIntegerRandom6678);
iv_rulePropertyFillerUnsignedIntegerRandom=rulePropertyFillerUnsignedIntegerRandom();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyFillerUnsignedIntegerRandom;
}
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyFillerUnsignedIntegerRandom6688); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyFillerUnsignedIntegerRandom"
// $ANTLR start "rulePropertyFillerUnsignedIntegerRandom"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3021:1: rulePropertyFillerUnsignedIntegerRandom returns [EObject current=null] : (otherlv_0= 'unsigned integer from' otherlv_1= '(' ( (lv_items_2_0= RULE_INT ) )+ otherlv_3= ')' ) ;
public final EObject rulePropertyFillerUnsignedIntegerRandom() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_items_2_0=null;
Token otherlv_3=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3024:28: ( (otherlv_0= 'unsigned integer from' otherlv_1= '(' ( (lv_items_2_0= RULE_INT ) )+ otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3025:1: (otherlv_0= 'unsigned integer from' otherlv_1= '(' ( (lv_items_2_0= RULE_INT ) )+ otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3025:1: (otherlv_0= 'unsigned integer from' otherlv_1= '(' ( (lv_items_2_0= RULE_INT ) )+ otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3025:3: otherlv_0= 'unsigned integer from' otherlv_1= '(' ( (lv_items_2_0= RULE_INT ) )+ otherlv_3= ')'
{
otherlv_0=(Token)match(input,62,FOLLOW_62_in_rulePropertyFillerUnsignedIntegerRandom6725); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPropertyFillerUnsignedIntegerRandomAccess().getUnsignedIntegerFromKeyword_0());
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_rulePropertyFillerUnsignedIntegerRandom6737); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPropertyFillerUnsignedIntegerRandomAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3033:1: ( (lv_items_2_0= RULE_INT ) )+
int cnt56=0;
loop56:
do {
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==RULE_INT) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3034:1: (lv_items_2_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3034:1: (lv_items_2_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3035:3: lv_items_2_0= RULE_INT
{
lv_items_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePropertyFillerUnsignedIntegerRandom6754); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_items_2_0, grammarAccess.getPropertyFillerUnsignedIntegerRandomAccess().getItemsINTTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyFillerUnsignedIntegerRandomRule());
}
addWithLastConsumed(
current,
"items",
lv_items_2_0,
"INT");
}
}
}
break;
default :
if ( cnt56 >= 1 ) break loop56;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(56, input);
throw eee;
}
cnt56++;
} while (true);
otherlv_3=(Token)match(input,28,FOLLOW_28_in_rulePropertyFillerUnsignedIntegerRandom6772); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPropertyFillerUnsignedIntegerRandomAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyFillerUnsignedIntegerRandom"
// $ANTLR start "entryRuleEntityMockDataType"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3063:1: entryRuleEntityMockDataType returns [EObject current=null] : iv_ruleEntityMockDataType= ruleEntityMockDataType EOF ;
public final EObject entryRuleEntityMockDataType() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockDataType = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3064:2: (iv_ruleEntityMockDataType= ruleEntityMockDataType EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3065:2: iv_ruleEntityMockDataType= ruleEntityMockDataType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockDataTypeRule());
}
pushFollow(FOLLOW_ruleEntityMockDataType_in_entryRuleEntityMockDataType6808);
iv_ruleEntityMockDataType=ruleEntityMockDataType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockDataType;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockDataType6818); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockDataType"
// $ANTLR start "ruleEntityMockDataType"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3072:1: ruleEntityMockDataType returns [EObject current=null] : (otherlv_0= 'datatype' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' otherlv_3= '}' ) ;
public final EObject ruleEntityMockDataType() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3075:28: ( (otherlv_0= 'datatype' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' otherlv_3= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3076:1: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' otherlv_3= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3076:1: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' otherlv_3= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3076:3: otherlv_0= 'datatype' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= '{' otherlv_3= '}'
{
otherlv_0=(Token)match(input,63,FOLLOW_63_in_ruleEntityMockDataType6855); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockDataTypeAccess().getDatatypeKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3080:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3081:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3081:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3082:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockDataTypeAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockDataType6876);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockDataTypeRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockDataType6888); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockDataTypeAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockDataType6900); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockDataTypeAccess().getRightCurlyBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockDataType"
// $ANTLR start "entryRuleEntityMockEntities"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3114:1: entryRuleEntityMockEntities returns [EObject current=null] : iv_ruleEntityMockEntities= ruleEntityMockEntities EOF ;
public final EObject entryRuleEntityMockEntities() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockEntities = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3115:2: (iv_ruleEntityMockEntities= ruleEntityMockEntities EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3116:2: iv_ruleEntityMockEntities= ruleEntityMockEntities EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntitiesRule());
}
pushFollow(FOLLOW_ruleEntityMockEntities_in_entryRuleEntityMockEntities6936);
iv_ruleEntityMockEntities=ruleEntityMockEntities();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockEntities;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockEntities6946); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockEntities"
// $ANTLR start "ruleEntityMockEntities"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3123:1: ruleEntityMockEntities returns [EObject current=null] : ( () otherlv_1= 'mock entities' otherlv_2= '{' ( (lv_entities_3_0= ruleEntityMockEntity ) )* otherlv_4= '}' ) ;
public final EObject ruleEntityMockEntities() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_entities_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3126:28: ( ( () otherlv_1= 'mock entities' otherlv_2= '{' ( (lv_entities_3_0= ruleEntityMockEntity ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3127:1: ( () otherlv_1= 'mock entities' otherlv_2= '{' ( (lv_entities_3_0= ruleEntityMockEntity ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3127:1: ( () otherlv_1= 'mock entities' otherlv_2= '{' ( (lv_entities_3_0= ruleEntityMockEntity ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3127:2: () otherlv_1= 'mock entities' otherlv_2= '{' ( (lv_entities_3_0= ruleEntityMockEntity ) )* otherlv_4= '}'
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3127:2: ()
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3128:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getEntityMockEntitiesAccess().getEntityMockEntitiesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,64,FOLLOW_64_in_ruleEntityMockEntities6992); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getEntityMockEntitiesAccess().getMockEntitiesKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockEntities7004); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockEntitiesAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3141:1: ( (lv_entities_3_0= ruleEntityMockEntity ) )*
loop57:
do {
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==65) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3142:1: (lv_entities_3_0= ruleEntityMockEntity )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3142:1: (lv_entities_3_0= ruleEntityMockEntity )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3143:3: lv_entities_3_0= ruleEntityMockEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntitiesAccess().getEntitiesEntityMockEntityParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleEntityMockEntity_in_ruleEntityMockEntities7025);
lv_entities_3_0=ruleEntityMockEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntitiesRule());
}
add(
current,
"entities",
lv_entities_3_0,
"EntityMockEntity");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop57;
}
} while (true);
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockEntities7038); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockEntitiesAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockEntities"
// $ANTLR start "entryRuleEntityMockEntity"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3171:1: entryRuleEntityMockEntity returns [EObject current=null] : iv_ruleEntityMockEntity= ruleEntityMockEntity EOF ;
public final EObject entryRuleEntityMockEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleEntityMockEntity = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3172:2: (iv_ruleEntityMockEntity= ruleEntityMockEntity EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3173:2: iv_ruleEntityMockEntity= ruleEntityMockEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityRule());
}
pushFollow(FOLLOW_ruleEntityMockEntity_in_entryRuleEntityMockEntity7074);
iv_ruleEntityMockEntity=ruleEntityMockEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEntityMockEntity;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleEntityMockEntity7084); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEntityMockEntity"
// $ANTLR start "ruleEntityMockEntity"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3180:1: ruleEntityMockEntity returns [EObject current=null] : (otherlv_0= 'mocking' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'for entity' ( (otherlv_3= RULE_ID ) ) ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) ) ) ;
public final EObject ruleEntityMockEntity() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token lv_minRows_5_0=null;
Token otherlv_6=null;
Token lv_maxRows_7_0=null;
Token otherlv_8=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token lv_createBlobMapping_17_0=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_23=null;
Token otherlv_27=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_temporaries_9_0 = null;
EObject lv_attributes_10_0 = null;
EObject lv_calculations_11_0 = null;
EObject lv_byResourceAttributes_16_0 = null;
EObject lv_iterate_22_0 = null;
EObject lv_temporaries_24_0 = null;
EObject lv_attributes_25_0 = null;
EObject lv_calculations_26_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3183:28: ( (otherlv_0= 'mocking' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'for entity' ( (otherlv_3= RULE_ID ) ) ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3184:1: (otherlv_0= 'mocking' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'for entity' ( (otherlv_3= RULE_ID ) ) ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) ) )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3184:1: (otherlv_0= 'mocking' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'for entity' ( (otherlv_3= RULE_ID ) ) ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3184:3: otherlv_0= 'mocking' ( (lv_name_1_0= ruleQualifiedName ) ) otherlv_2= 'for entity' ( (otherlv_3= RULE_ID ) ) ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) )
{
otherlv_0=(Token)match(input,65,FOLLOW_65_in_ruleEntityMockEntity7121); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEntityMockEntityAccess().getMockingKeyword_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3188:1: ( (lv_name_1_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3189:1: (lv_name_1_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3189:1: (lv_name_1_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3190:3: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleEntityMockEntity7142);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
set(
current,
"name",
lv_name_1_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,66,FOLLOW_66_in_ruleEntityMockEntity7154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEntityMockEntityAccess().getForEntityKeyword_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3210:1: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3211:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3211:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3212:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockEntity7174); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getEntityMockEntityAccess().getEntityRefLEntityCrossReference_3_0());
}
}
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3223:2: ( (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' ) | (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' ) | (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' ) )
int alt66=3;
switch ( input.LA(1) ) {
case 67:
{
alt66=1;
}
break;
case 69:
{
alt66=2;
}
break;
case 71:
{
alt66=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 66, 0, input);
throw nvae;
}
switch (alt66) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3223:3: (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3223:3: (otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3223:5: otherlv_4= 'rows' ( (lv_minRows_5_0= RULE_INT ) ) otherlv_6= 'to' ( (lv_maxRows_7_0= RULE_INT ) ) otherlv_8= '{' ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )* ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )* otherlv_12= '}'
{
otherlv_4=(Token)match(input,67,FOLLOW_67_in_ruleEntityMockEntity7188); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEntityMockEntityAccess().getRowsKeyword_4_0_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3227:1: ( (lv_minRows_5_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3228:1: (lv_minRows_5_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3228:1: (lv_minRows_5_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3229:3: lv_minRows_5_0= RULE_INT
{
lv_minRows_5_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEntityMockEntity7205); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_minRows_5_0, grammarAccess.getEntityMockEntityAccess().getMinRowsINTTerminalRuleCall_4_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
setWithLastConsumed(
current,
"minRows",
lv_minRows_5_0,
"INT");
}
}
}
otherlv_6=(Token)match(input,68,FOLLOW_68_in_ruleEntityMockEntity7222); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getEntityMockEntityAccess().getToKeyword_4_0_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3249:1: ( (lv_maxRows_7_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3250:1: (lv_maxRows_7_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3250:1: (lv_maxRows_7_0= RULE_INT )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3251:3: lv_maxRows_7_0= RULE_INT
{
lv_maxRows_7_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEntityMockEntity7239); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_maxRows_7_0, grammarAccess.getEntityMockEntityAccess().getMaxRowsINTTerminalRuleCall_4_0_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
setWithLastConsumed(
current,
"maxRows",
lv_maxRows_7_0,
"INT");
}
}
}
otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockEntity7256); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getEntityMockEntityAccess().getLeftCurlyBracketKeyword_4_0_4());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3271:1: ( (lv_temporaries_9_0= ruleEntityMockTemporary ) )*
loop58:
do {
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==82) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3272:1: (lv_temporaries_9_0= ruleEntityMockTemporary )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3272:1: (lv_temporaries_9_0= ruleEntityMockTemporary )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3273:3: lv_temporaries_9_0= ruleEntityMockTemporary
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getTemporariesEntityMockTemporaryParserRuleCall_4_0_5_0());
}
pushFollow(FOLLOW_ruleEntityMockTemporary_in_ruleEntityMockEntity7277);
lv_temporaries_9_0=ruleEntityMockTemporary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"temporaries",
lv_temporaries_9_0,
"EntityMockTemporary");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop58;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3289:3: ( (lv_attributes_10_0= ruleIEntityMockAttribute ) )*
loop59:
do {
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==32) ) {
int LA59_1 = input.LA(2);
if ( (LA59_1==RULE_ID) ) {
int LA59_4 = input.LA(3);
if ( (LA59_4==42||LA59_4==81) ) {
alt59=1;
}
}
}
else if ( ((LA59_0>=85 && LA59_0<=86)) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3290:1: (lv_attributes_10_0= ruleIEntityMockAttribute )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3290:1: (lv_attributes_10_0= ruleIEntityMockAttribute )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3291:3: lv_attributes_10_0= ruleIEntityMockAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getAttributesIEntityMockAttributeParserRuleCall_4_0_6_0());
}
pushFollow(FOLLOW_ruleIEntityMockAttribute_in_ruleEntityMockEntity7299);
lv_attributes_10_0=ruleIEntityMockAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"attributes",
lv_attributes_10_0,
"IEntityMockAttribute");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop59;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3307:3: ( (lv_calculations_11_0= ruleEntityMockEntityFunction ) )*
loop60:
do {
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==32) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3308:1: (lv_calculations_11_0= ruleEntityMockEntityFunction )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3308:1: (lv_calculations_11_0= ruleEntityMockEntityFunction )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3309:3: lv_calculations_11_0= ruleEntityMockEntityFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getCalculationsEntityMockEntityFunctionParserRuleCall_4_0_7_0());
}
pushFollow(FOLLOW_ruleEntityMockEntityFunction_in_ruleEntityMockEntity7321);
lv_calculations_11_0=ruleEntityMockEntityFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"calculations",
lv_calculations_11_0,
"EntityMockEntityFunction");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop60;
}
} while (true);
otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockEntity7334); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getEntityMockEntityAccess().getRightCurlyBracketKeyword_4_0_8());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3330:6: (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3330:6: (otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3330:8: otherlv_13= 'by resource' ( (otherlv_14= RULE_ID ) ) otherlv_15= '{' ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )* ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )? otherlv_18= '}'
{
otherlv_13=(Token)match(input,69,FOLLOW_69_in_ruleEntityMockEntity7354); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getEntityMockEntityAccess().getByResourceKeyword_4_1_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3334:1: ( (otherlv_14= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3335:1: (otherlv_14= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3335:1: (otherlv_14= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3336:3: otherlv_14= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
}
otherlv_14=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockEntity7374); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getEntityMockEntityAccess().getByResourceEntityMockResourceCrossReference_4_1_1_0());
}
}
}
otherlv_15=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockEntity7386); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getEntityMockEntityAccess().getLeftCurlyBracketKeyword_4_1_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3351:1: ( (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute ) )*
loop61:
do {
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==32) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3352:1: (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3352:1: (lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3353:3: lv_byResourceAttributes_16_0= ruleEntityMockByResourceAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getByResourceAttributesEntityMockByResourceAttributeParserRuleCall_4_1_3_0());
}
pushFollow(FOLLOW_ruleEntityMockByResourceAttribute_in_ruleEntityMockEntity7407);
lv_byResourceAttributes_16_0=ruleEntityMockByResourceAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"byResourceAttributes",
lv_byResourceAttributes_16_0,
"EntityMockByResourceAttribute");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop61;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3369:3: ( (lv_createBlobMapping_17_0= 'createBlobMapping' ) )?
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==70) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3370:1: (lv_createBlobMapping_17_0= 'createBlobMapping' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3370:1: (lv_createBlobMapping_17_0= 'createBlobMapping' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3371:3: lv_createBlobMapping_17_0= 'createBlobMapping'
{
lv_createBlobMapping_17_0=(Token)match(input,70,FOLLOW_70_in_ruleEntityMockEntity7426); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_createBlobMapping_17_0, grammarAccess.getEntityMockEntityAccess().getCreateBlobMappingCreateBlobMappingKeyword_4_1_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
setWithLastConsumed(current, "createBlobMapping", true, "createBlobMapping");
}
}
}
break;
}
otherlv_18=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockEntity7452); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getEntityMockEntityAccess().getRightCurlyBracketKeyword_4_1_5());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3389:6: (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3389:6: (otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}' )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3389:8: otherlv_19= 'iterate' ( (otherlv_20= RULE_ID ) ) otherlv_21= 'with' ( (lv_iterate_22_0= ruleIIterate ) ) otherlv_23= '{' ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )* ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )* ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )* otherlv_27= '}'
{
otherlv_19=(Token)match(input,71,FOLLOW_71_in_ruleEntityMockEntity7472); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_19, grammarAccess.getEntityMockEntityAccess().getIterateKeyword_4_2_0());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3393:1: ( (otherlv_20= RULE_ID ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3394:1: (otherlv_20= RULE_ID )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3394:1: (otherlv_20= RULE_ID )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3395:3: otherlv_20= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEntityMockEntityRule());
}
}
otherlv_20=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntityMockEntity7492); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getEntityMockEntityAccess().getIteratorLEntityAttributeCrossReference_4_2_1_0());
}
}
}
otherlv_21=(Token)match(input,35,FOLLOW_35_in_ruleEntityMockEntity7504); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_21, grammarAccess.getEntityMockEntityAccess().getWithKeyword_4_2_2());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3410:1: ( (lv_iterate_22_0= ruleIIterate ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3411:1: (lv_iterate_22_0= ruleIIterate )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3411:1: (lv_iterate_22_0= ruleIIterate )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3412:3: lv_iterate_22_0= ruleIIterate
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getIterateIIterateParserRuleCall_4_2_3_0());
}
pushFollow(FOLLOW_ruleIIterate_in_ruleEntityMockEntity7525);
lv_iterate_22_0=ruleIIterate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
set(
current,
"iterate",
lv_iterate_22_0,
"IIterate");
afterParserOrEnumRuleCall();
}
}
}
otherlv_23=(Token)match(input,14,FOLLOW_14_in_ruleEntityMockEntity7537); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_23, grammarAccess.getEntityMockEntityAccess().getLeftCurlyBracketKeyword_4_2_4());
}
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3432:1: ( (lv_temporaries_24_0= ruleEntityMockTemporary ) )*
loop63:
do {
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==82) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3433:1: (lv_temporaries_24_0= ruleEntityMockTemporary )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3433:1: (lv_temporaries_24_0= ruleEntityMockTemporary )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3434:3: lv_temporaries_24_0= ruleEntityMockTemporary
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getTemporariesEntityMockTemporaryParserRuleCall_4_2_5_0());
}
pushFollow(FOLLOW_ruleEntityMockTemporary_in_ruleEntityMockEntity7558);
lv_temporaries_24_0=ruleEntityMockTemporary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"temporaries",
lv_temporaries_24_0,
"EntityMockTemporary");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop63;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3450:3: ( (lv_attributes_25_0= ruleIEntityMockAttribute ) )*
loop64:
do {
int alt64=2;
int LA64_0 = input.LA(1);
if ( (LA64_0==32) ) {
int LA64_1 = input.LA(2);
if ( (LA64_1==RULE_ID) ) {
int LA64_4 = input.LA(3);
if ( (LA64_4==42||LA64_4==81) ) {
alt64=1;
}
}
}
else if ( ((LA64_0>=85 && LA64_0<=86)) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3451:1: (lv_attributes_25_0= ruleIEntityMockAttribute )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3451:1: (lv_attributes_25_0= ruleIEntityMockAttribute )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3452:3: lv_attributes_25_0= ruleIEntityMockAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getAttributesIEntityMockAttributeParserRuleCall_4_2_6_0());
}
pushFollow(FOLLOW_ruleIEntityMockAttribute_in_ruleEntityMockEntity7580);
lv_attributes_25_0=ruleIEntityMockAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"attributes",
lv_attributes_25_0,
"IEntityMockAttribute");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop64;
}
} while (true);
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3468:3: ( (lv_calculations_26_0= ruleEntityMockEntityFunction ) )*
loop65:
do {
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==32) ) {
alt65=1;
}
switch (alt65) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3469:1: (lv_calculations_26_0= ruleEntityMockEntityFunction )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3469:1: (lv_calculations_26_0= ruleEntityMockEntityFunction )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3470:3: lv_calculations_26_0= ruleEntityMockEntityFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEntityMockEntityAccess().getCalculationsEntityMockEntityFunctionParserRuleCall_4_2_7_0());
}
pushFollow(FOLLOW_ruleEntityMockEntityFunction_in_ruleEntityMockEntity7602);
lv_calculations_26_0=ruleEntityMockEntityFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEntityMockEntityRule());
}
add(
current,
"calculations",
lv_calculations_26_0,
"EntityMockEntityFunction");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop65;
}
} while (true);
otherlv_27=(Token)match(input,17,FOLLOW_17_in_ruleEntityMockEntity7615); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_27, grammarAccess.getEntityMockEntityAccess().getRightCurlyBracketKeyword_4_2_8());
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEntityMockEntity"
// $ANTLR start "entryRuleIIterate"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3498:1: entryRuleIIterate returns [EObject current=null] : iv_ruleIIterate= ruleIIterate EOF ;
public final EObject entryRuleIIterate() throws RecognitionException {
EObject current = null;
EObject iv_ruleIIterate = null;
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3499:2: (iv_ruleIIterate= ruleIIterate EOF )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3500:2: iv_ruleIIterate= ruleIIterate EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIIterateRule());
}
pushFollow(FOLLOW_ruleIIterate_in_entryRuleIIterate7653);
iv_ruleIIterate=ruleIIterate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIIterate;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleIIterate7663); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIIterate"
// $ANTLR start "ruleIIterate"
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3507:1: ruleIIterate returns [EObject current=null] : (this_IntegerIterate_0= ruleIntegerIterate | this_DateIterate_1= ruleDateIterate ) ;
public final EObject ruleIIterate() throws RecognitionException {
EObject current = null;
EObject this_IntegerIterate_0 = null;
EObject this_DateIterate_1 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3510:28: ( (this_IntegerIterate_0= ruleIntegerIterate | this_DateIterate_1= ruleDateIterate ) )
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3511:1: (this_IntegerIterate_0= ruleIntegerIterate | this_DateIterate_1= ruleDateIterate )
{
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3511:1: (this_IntegerIterate_0= ruleIntegerIterate | this_DateIterate_1= ruleDateIterate )
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==72) ) {
alt67=1;
}
else if ( (LA67_0==75) ) {
alt67=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 67, 0, input);
throw nvae;
}
switch (alt67) {
case 1 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3512:5: this_IntegerIterate_0= ruleIntegerIterate
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIIterateAccess().getIntegerIterateParserRuleCall_0());
}
pushFollow(FOLLOW_ruleIntegerIterate_in_ruleIIterate7710);
this_IntegerIterate_0=ruleIntegerIterate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_IntegerIterate_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.entitymock/src-gen/org/eclipse/osbp/xtext/entitymock/parser/antlr/internal/InternalEntityMockDSL.g:3522:5: this_DateIterate_1= ruleDateIterate
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIIterateAccess().getDateIterateParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDateIterate_in_ruleIIterate7737);
this_DateIterate_1=ruleDateIterate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DateIterate_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();