| /** |
| * |
| * 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.services; |
| |
| import com.google.inject.Singleton; |
| import com.google.inject.Inject; |
| |
| import java.util.List; |
| |
| import org.eclipse.xtext.*; |
| import org.eclipse.xtext.service.GrammarProvider; |
| import org.eclipse.xtext.service.AbstractElementFinder.*; |
| |
| import org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess; |
| import org.eclipse.xtext.xbase.services.XbaseGrammarAccess; |
| import org.eclipse.xtext.xbase.services.XtypeGrammarAccess; |
| |
| @Singleton |
| public class EntityMockDSLGrammarAccess extends AbstractGrammarElementFinder { |
| |
| |
| public class EntityMockModelElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockModel"); |
| private final Assignment cPackagesAssignment = (Assignment)rule.eContents().get(1); |
| private final RuleCall cPackagesEntityMockPackageParserRuleCall_0 = (RuleCall)cPackagesAssignment.eContents().get(0); |
| |
| //EntityMockModel: |
| // packages+=EntityMockPackage*; |
| public ParserRule getRule() { return rule; } |
| |
| //packages+=EntityMockPackage* |
| public Assignment getPackagesAssignment() { return cPackagesAssignment; } |
| |
| //EntityMockPackage |
| public RuleCall getPackagesEntityMockPackageParserRuleCall_0() { return cPackagesEntityMockPackageParserRuleCall_0; } |
| } |
| |
| public class EntityMockPackageElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockPackage"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cMockEntitymodelForKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cImportsAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cImportsEntityModelImportParserRuleCall_1_0 = (RuleCall)cImportsAssignment_1.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Keyword cRunWithPriorityKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); |
| private final Assignment cRunPriorityAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final RuleCall cRunPriorityINTTerminalRuleCall_3_1_0 = (RuleCall)cRunPriorityAssignment_3_1.eContents().get(0); |
| private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
| private final Keyword cImportKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
| private final Assignment cImportsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
| private final RuleCall cImportsEntityModelImportParserRuleCall_4_1_0 = (RuleCall)cImportsAssignment_4_1.eContents().get(0); |
| private final Assignment cDatainterchangesAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final RuleCall cDatainterchangesRunningDataInterchangesParserRuleCall_5_0 = (RuleCall)cDatainterchangesAssignment_5.eContents().get(0); |
| private final Assignment cResourcesAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cResourcesEntityMockResourcesParserRuleCall_6_0 = (RuleCall)cResourcesAssignment_6.eContents().get(0); |
| private final Assignment cObjectsAssignment_7 = (Assignment)cGroup.eContents().get(7); |
| private final RuleCall cObjectsEntityMockObjectsParserRuleCall_7_0 = (RuleCall)cObjectsAssignment_7.eContents().get(0); |
| private final Assignment cDatatypesAssignment_8 = (Assignment)cGroup.eContents().get(8); |
| private final RuleCall cDatatypesEntityMockDataTypesParserRuleCall_8_0 = (RuleCall)cDatatypesAssignment_8.eContents().get(0); |
| private final Assignment cEntitiesAssignment_9 = (Assignment)cGroup.eContents().get(9); |
| private final RuleCall cEntitiesEntityMockEntitiesParserRuleCall_9_0 = (RuleCall)cEntitiesAssignment_9.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); |
| |
| //EntityMockPackage: |
| // "mock entitymodel for" imports+=EntityModelImport "{" ("run with priority" runPriority=INT)? ("import" |
| // imports+=EntityModelImport)* datainterchanges=RunningDataInterchanges? resources=EntityMockResources? |
| // objects=EntityMockObjects? datatypes=EntityMockDataTypes? entities=EntityMockEntities "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //"mock entitymodel for" imports+=EntityModelImport "{" ("run with priority" runPriority=INT)? ("import" |
| //imports+=EntityModelImport)* datainterchanges=RunningDataInterchanges? resources=EntityMockResources? |
| //objects=EntityMockObjects? datatypes=EntityMockDataTypes? entities=EntityMockEntities "}" |
| public Group getGroup() { return cGroup; } |
| |
| //"mock entitymodel for" |
| public Keyword getMockEntitymodelForKeyword_0() { return cMockEntitymodelForKeyword_0; } |
| |
| //imports+=EntityModelImport |
| public Assignment getImportsAssignment_1() { return cImportsAssignment_1; } |
| |
| //EntityModelImport |
| public RuleCall getImportsEntityModelImportParserRuleCall_1_0() { return cImportsEntityModelImportParserRuleCall_1_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //("run with priority" runPriority=INT)? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"run with priority" |
| public Keyword getRunWithPriorityKeyword_3_0() { return cRunWithPriorityKeyword_3_0; } |
| |
| //runPriority=INT |
| public Assignment getRunPriorityAssignment_3_1() { return cRunPriorityAssignment_3_1; } |
| |
| //INT |
| public RuleCall getRunPriorityINTTerminalRuleCall_3_1_0() { return cRunPriorityINTTerminalRuleCall_3_1_0; } |
| |
| //("import" imports+=EntityModelImport)* |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //"import" |
| public Keyword getImportKeyword_4_0() { return cImportKeyword_4_0; } |
| |
| //imports+=EntityModelImport |
| public Assignment getImportsAssignment_4_1() { return cImportsAssignment_4_1; } |
| |
| //EntityModelImport |
| public RuleCall getImportsEntityModelImportParserRuleCall_4_1_0() { return cImportsEntityModelImportParserRuleCall_4_1_0; } |
| |
| //datainterchanges=RunningDataInterchanges? |
| public Assignment getDatainterchangesAssignment_5() { return cDatainterchangesAssignment_5; } |
| |
| //RunningDataInterchanges |
| public RuleCall getDatainterchangesRunningDataInterchangesParserRuleCall_5_0() { return cDatainterchangesRunningDataInterchangesParserRuleCall_5_0; } |
| |
| //resources=EntityMockResources? |
| public Assignment getResourcesAssignment_6() { return cResourcesAssignment_6; } |
| |
| //EntityMockResources |
| public RuleCall getResourcesEntityMockResourcesParserRuleCall_6_0() { return cResourcesEntityMockResourcesParserRuleCall_6_0; } |
| |
| //objects=EntityMockObjects? |
| public Assignment getObjectsAssignment_7() { return cObjectsAssignment_7; } |
| |
| //EntityMockObjects |
| public RuleCall getObjectsEntityMockObjectsParserRuleCall_7_0() { return cObjectsEntityMockObjectsParserRuleCall_7_0; } |
| |
| //datatypes=EntityMockDataTypes? |
| public Assignment getDatatypesAssignment_8() { return cDatatypesAssignment_8; } |
| |
| //EntityMockDataTypes |
| public RuleCall getDatatypesEntityMockDataTypesParserRuleCall_8_0() { return cDatatypesEntityMockDataTypesParserRuleCall_8_0; } |
| |
| //entities=EntityMockEntities |
| public Assignment getEntitiesAssignment_9() { return cEntitiesAssignment_9; } |
| |
| //EntityMockEntities |
| public RuleCall getEntitiesEntityMockEntitiesParserRuleCall_9_0() { return cEntitiesEntityMockEntitiesParserRuleCall_9_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } |
| } |
| |
| public class EntityModelImportElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityModelImport"); |
| private final Assignment cImportedNamespaceAssignment = (Assignment)rule.eContents().get(1); |
| private final RuleCall cImportedNamespaceEntityMockQualifiedNameWithWildCardParserRuleCall_0 = (RuleCall)cImportedNamespaceAssignment.eContents().get(0); |
| |
| //EntityModelImport returns types::LImport: |
| // importedNamespace=EntityMockQualifiedNameWithWildCard; |
| public ParserRule getRule() { return rule; } |
| |
| //importedNamespace=EntityMockQualifiedNameWithWildCard |
| public Assignment getImportedNamespaceAssignment() { return cImportedNamespaceAssignment; } |
| |
| //EntityMockQualifiedNameWithWildCard |
| public RuleCall getImportedNamespaceEntityMockQualifiedNameWithWildCardParserRuleCall_0() { return cImportedNamespaceEntityMockQualifiedNameWithWildCardParserRuleCall_0; } |
| } |
| |
| public class EntityMockQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockQualifiedNameWithWildCard"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); |
| |
| //EntityMockQualifiedNameWithWildCard: |
| // QualifiedName ("." "*")?; |
| public ParserRule getRule() { return rule; } |
| |
| //QualifiedName ("." "*")? |
| public Group getGroup() { return cGroup; } |
| |
| //QualifiedName |
| public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; } |
| |
| //("." "*")? |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //"*" |
| public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } |
| } |
| |
| public class RunningDataInterchangesElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RunningDataInterchanges"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cRunningDataInterchangesAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cDatainterchangesKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cDatainterchangesAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cDatainterchangesRunningDataInterchangeParserRuleCall_3_0 = (RuleCall)cDatainterchangesAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //RunningDataInterchanges: |
| // {RunningDataInterchanges} "datainterchanges" "{" datainterchanges+=RunningDataInterchange* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{RunningDataInterchanges} "datainterchanges" "{" datainterchanges+=RunningDataInterchange* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{RunningDataInterchanges} |
| public Action getRunningDataInterchangesAction_0() { return cRunningDataInterchangesAction_0; } |
| |
| //"datainterchanges" |
| public Keyword getDatainterchangesKeyword_1() { return cDatainterchangesKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //datainterchanges+=RunningDataInterchange* |
| public Assignment getDatainterchangesAssignment_3() { return cDatainterchangesAssignment_3; } |
| |
| //RunningDataInterchange |
| public RuleCall getDatainterchangesRunningDataInterchangeParserRuleCall_3_0() { return cDatainterchangesRunningDataInterchangeParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class RunningDataInterchangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RunningDataInterchange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cRunningDataInterchangeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cDatainterchangeImportKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cDatainterchangeRefAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cDatainterchangeRefDataInterchangeCrossReference_2_0 = (CrossReference)cDatainterchangeRefAssignment_2.eContents().get(0); |
| private final RuleCall cDatainterchangeRefDataInterchangeIDTerminalRuleCall_2_0_1 = (RuleCall)cDatainterchangeRefDataInterchangeCrossReference_2_0.eContents().get(1); |
| private final Keyword cFromFileKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cFileURLAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cFileURLSTRINGTerminalRuleCall_4_0 = (RuleCall)cFileURLAssignment_4.eContents().get(0); |
| |
| //RunningDataInterchange: |
| // {RunningDataInterchange} "datainterchange import" datainterchangeRef=[datainterchange::DataInterchange] "from file" |
| // fileURL=STRING; |
| public ParserRule getRule() { return rule; } |
| |
| //{RunningDataInterchange} "datainterchange import" datainterchangeRef=[datainterchange::DataInterchange] "from file" |
| //fileURL=STRING |
| public Group getGroup() { return cGroup; } |
| |
| //{RunningDataInterchange} |
| public Action getRunningDataInterchangeAction_0() { return cRunningDataInterchangeAction_0; } |
| |
| //"datainterchange import" |
| public Keyword getDatainterchangeImportKeyword_1() { return cDatainterchangeImportKeyword_1; } |
| |
| //datainterchangeRef=[datainterchange::DataInterchange] |
| public Assignment getDatainterchangeRefAssignment_2() { return cDatainterchangeRefAssignment_2; } |
| |
| //[datainterchange::DataInterchange] |
| public CrossReference getDatainterchangeRefDataInterchangeCrossReference_2_0() { return cDatainterchangeRefDataInterchangeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getDatainterchangeRefDataInterchangeIDTerminalRuleCall_2_0_1() { return cDatainterchangeRefDataInterchangeIDTerminalRuleCall_2_0_1; } |
| |
| //"from file" |
| public Keyword getFromFileKeyword_3() { return cFromFileKeyword_3; } |
| |
| //fileURL=STRING |
| public Assignment getFileURLAssignment_4() { return cFileURLAssignment_4; } |
| |
| //STRING |
| public RuleCall getFileURLSTRINGTerminalRuleCall_4_0() { return cFileURLSTRINGTerminalRuleCall_4_0; } |
| } |
| |
| public class EntityMockResourcesElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockResources"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockResourcesAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cResourcesKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cResourcesAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cResourcesEntityMockResourceParserRuleCall_3_0 = (RuleCall)cResourcesAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockResources: |
| // {EntityMockResources} "resources" "{" resources+=EntityMockResource* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockResources} "resources" "{" resources+=EntityMockResource* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockResources} |
| public Action getEntityMockResourcesAction_0() { return cEntityMockResourcesAction_0; } |
| |
| //"resources" |
| public Keyword getResourcesKeyword_1() { return cResourcesKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //resources+=EntityMockResource* |
| public Assignment getResourcesAssignment_3() { return cResourcesAssignment_3; } |
| |
| //EntityMockResource |
| public RuleCall getResourcesEntityMockResourceParserRuleCall_3_0() { return cResourcesEntityMockResourceParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class EntityMockResourceElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockResource"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cResourceKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Keyword cAttributesKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); |
| private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2); |
| private final Assignment cAttributesAssignment_3_2_0 = (Assignment)cGroup_3_2.eContents().get(0); |
| private final RuleCall cAttributesEntityMockResourceAttributeParserRuleCall_3_2_0_0 = (RuleCall)cAttributesAssignment_3_2_0.eContents().get(0); |
| private final Keyword cCommaKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); |
| private final Keyword cRightParenthesisKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); |
| private final Keyword cItemsKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Keyword cLeftCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); |
| private final Assignment cDatarowsAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cDatarowsEntityMockResourceDataRowParserRuleCall_6_0 = (RuleCall)cDatarowsAssignment_6.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); |
| private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); |
| |
| //EntityMockResource: |
| // "resource" name=QualifiedName "{" ("attributes" "(" (attributes+=EntityMockResourceAttribute ","?)* ")")? "items" "{" |
| // datarows+=EntityMockResourceDataRow* "}" "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //"resource" name=QualifiedName "{" ("attributes" "(" (attributes+=EntityMockResourceAttribute ","?)* ")")? "items" "{" |
| //datarows+=EntityMockResourceDataRow* "}" "}" |
| public Group getGroup() { return cGroup; } |
| |
| //"resource" |
| public Keyword getResourceKeyword_0() { return cResourceKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //("attributes" "(" (attributes+=EntityMockResourceAttribute ","?)* ")")? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"attributes" |
| public Keyword getAttributesKeyword_3_0() { return cAttributesKeyword_3_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_3_1() { return cLeftParenthesisKeyword_3_1; } |
| |
| //(attributes+=EntityMockResourceAttribute ","?)* |
| public Group getGroup_3_2() { return cGroup_3_2; } |
| |
| //attributes+=EntityMockResourceAttribute |
| public Assignment getAttributesAssignment_3_2_0() { return cAttributesAssignment_3_2_0; } |
| |
| //EntityMockResourceAttribute |
| public RuleCall getAttributesEntityMockResourceAttributeParserRuleCall_3_2_0_0() { return cAttributesEntityMockResourceAttributeParserRuleCall_3_2_0_0; } |
| |
| //","? |
| public Keyword getCommaKeyword_3_2_1() { return cCommaKeyword_3_2_1; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3_3() { return cRightParenthesisKeyword_3_3; } |
| |
| //"items" |
| public Keyword getItemsKeyword_4() { return cItemsKeyword_4; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_5() { return cLeftCurlyBracketKeyword_5; } |
| |
| //datarows+=EntityMockResourceDataRow* |
| public Assignment getDatarowsAssignment_6() { return cDatarowsAssignment_6; } |
| |
| //EntityMockResourceDataRow |
| public RuleCall getDatarowsEntityMockResourceDataRowParserRuleCall_6_0() { return cDatarowsEntityMockResourceDataRowParserRuleCall_6_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } |
| } |
| |
| public class EntityMockResourceAttributeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockResourceAttribute"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockResourceAttributeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| |
| //EntityMockResourceAttribute: |
| // {EntityMockResourceAttribute} name=QualifiedName; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockResourceAttribute} name=QualifiedName |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockResourceAttribute} |
| public Action getEntityMockResourceAttributeAction_0() { return cEntityMockResourceAttributeAction_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| } |
| |
| public class EntityMockResourceDataRowElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockResourceDataRow"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockResourceDataRowAction_0 = (Action)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Group cGroup_2 = (Group)cGroup.eContents().get(2); |
| private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); |
| private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); |
| private final Assignment cValuesAssignment_2_1_0 = (Assignment)cGroup_2_1.eContents().get(0); |
| private final RuleCall cValuesSTRINGTerminalRuleCall_2_1_0_0 = (RuleCall)cValuesAssignment_2_1_0.eContents().get(0); |
| private final Keyword cCommaKeyword_2_1_1 = (Keyword)cGroup_2_1.eContents().get(1); |
| private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2); |
| |
| //EntityMockResourceDataRow: |
| // {EntityMockResourceDataRow} name=QualifiedName ("(" (values+=STRING ","?)* ")")?; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockResourceDataRow} name=QualifiedName ("(" (values+=STRING ","?)* ")")? |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockResourceDataRow} |
| public Action getEntityMockResourceDataRowAction_0() { return cEntityMockResourceDataRowAction_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //("(" (values+=STRING ","?)* ")")? |
| public Group getGroup_2() { return cGroup_2; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; } |
| |
| //(values+=STRING ","?)* |
| public Group getGroup_2_1() { return cGroup_2_1; } |
| |
| //values+=STRING |
| public Assignment getValuesAssignment_2_1_0() { return cValuesAssignment_2_1_0; } |
| |
| //STRING |
| public RuleCall getValuesSTRINGTerminalRuleCall_2_1_0_0() { return cValuesSTRINGTerminalRuleCall_2_1_0_0; } |
| |
| //","? |
| public Keyword getCommaKeyword_2_1_1() { return cCommaKeyword_2_1_1; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; } |
| } |
| |
| public class EntityMockObjectsElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjects"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockObjectsAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cObjectsKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cObjectsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cObjectsEntityMockObjectParserRuleCall_3_0 = (RuleCall)cObjectsAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockObjects: |
| // {EntityMockObjects} "objects" "{" objects+=EntityMockObject* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockObjects} "objects" "{" objects+=EntityMockObject* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockObjects} |
| public Action getEntityMockObjectsAction_0() { return cEntityMockObjectsAction_0; } |
| |
| //"objects" |
| public Keyword getObjectsKeyword_1() { return cObjectsKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //objects+=EntityMockObject* |
| public Assignment getObjectsAssignment_3() { return cObjectsAssignment_3; } |
| |
| //EntityMockObject |
| public RuleCall getObjectsEntityMockObjectParserRuleCall_3_0() { return cObjectsEntityMockObjectParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class EntityMockObjectElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObject"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cObjectKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cEnumerationsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cEnumerationsEntityMockObjectEnumParserRuleCall_3_0 = (RuleCall)cEnumerationsAssignment_3.eContents().get(0); |
| private final Assignment cAttributesAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cAttributesIEntityMockObjectAttributeParserRuleCall_4_0 = (RuleCall)cAttributesAssignment_4.eContents().get(0); |
| private final Assignment cCalculationsAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final RuleCall cCalculationsEntityMockObjectFunctionParserRuleCall_5_0 = (RuleCall)cCalculationsAssignment_5.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); |
| |
| //EntityMockObject: |
| // "object" name=QualifiedName "{" enumerations+=EntityMockObjectEnum* attributes+=IEntityMockObjectAttribute* |
| // calculations+=EntityMockObjectFunction* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //"object" name=QualifiedName "{" enumerations+=EntityMockObjectEnum* attributes+=IEntityMockObjectAttribute* |
| //calculations+=EntityMockObjectFunction* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //"object" |
| public Keyword getObjectKeyword_0() { return cObjectKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //enumerations+=EntityMockObjectEnum* |
| public Assignment getEnumerationsAssignment_3() { return cEnumerationsAssignment_3; } |
| |
| //EntityMockObjectEnum |
| public RuleCall getEnumerationsEntityMockObjectEnumParserRuleCall_3_0() { return cEnumerationsEntityMockObjectEnumParserRuleCall_3_0; } |
| |
| //attributes+=IEntityMockObjectAttribute* |
| public Assignment getAttributesAssignment_4() { return cAttributesAssignment_4; } |
| |
| //IEntityMockObjectAttribute |
| public RuleCall getAttributesIEntityMockObjectAttributeParserRuleCall_4_0() { return cAttributesIEntityMockObjectAttributeParserRuleCall_4_0; } |
| |
| //calculations+=EntityMockObjectFunction* |
| public Assignment getCalculationsAssignment_5() { return cCalculationsAssignment_5; } |
| |
| //EntityMockObjectFunction |
| public RuleCall getCalculationsEntityMockObjectFunctionParserRuleCall_5_0() { return cCalculationsEntityMockObjectFunctionParserRuleCall_5_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } |
| } |
| |
| public class EntityMockObjectEnumElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectEnum"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cByEnumKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cUsingResourceAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final CrossReference cUsingResourceLEnumCrossReference_3_0 = (CrossReference)cUsingResourceAssignment_3.eContents().get(0); |
| private final RuleCall cUsingResourceLEnumIDTerminalRuleCall_3_0_1 = (RuleCall)cUsingResourceLEnumCrossReference_3_0.eContents().get(1); |
| |
| //EntityMockObjectEnum: |
| // "var" name=QualifiedName "by enum" usingResource=[types::LEnum]; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "by enum" usingResource=[types::LEnum] |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"by enum" |
| public Keyword getByEnumKeyword_2() { return cByEnumKeyword_2; } |
| |
| //usingResource=[types::LEnum] |
| public Assignment getUsingResourceAssignment_3() { return cUsingResourceAssignment_3; } |
| |
| //[types::LEnum] |
| public CrossReference getUsingResourceLEnumCrossReference_3_0() { return cUsingResourceLEnumCrossReference_3_0; } |
| |
| //ID |
| public RuleCall getUsingResourceLEnumIDTerminalRuleCall_3_0_1() { return cUsingResourceLEnumIDTerminalRuleCall_3_0_1; } |
| } |
| |
| public class EntityMockDataTypesElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockDataTypes"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockDataTypesAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cDatatypesKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cDatatypesAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cDatatypesEntityMockDataTypeParserRuleCall_3_0 = (RuleCall)cDatatypesAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockDataTypes: |
| // {EntityMockDataTypes} "datatypes" "{" datatypes+=EntityMockDataType* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockDataTypes} "datatypes" "{" datatypes+=EntityMockDataType* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockDataTypes} |
| public Action getEntityMockDataTypesAction_0() { return cEntityMockDataTypesAction_0; } |
| |
| //"datatypes" |
| public Keyword getDatatypesKeyword_1() { return cDatatypesKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //datatypes+=EntityMockDataType* |
| public Assignment getDatatypesAssignment_3() { return cDatatypesAssignment_3; } |
| |
| //EntityMockDataType |
| public RuleCall getDatatypesEntityMockDataTypeParserRuleCall_3_0() { return cDatatypesEntityMockDataTypeParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class IEntityMockObjectUsableElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IEntityMockObjectUsable"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cEntityMockObjectFunctionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cEntityMockObjectEnumParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cEntityMockObjectPlainValueParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| private final RuleCall cEntityMockObjectArrayValueParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); |
| private final RuleCall cEntityMockObjectEmbedParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); |
| private final RuleCall cEntityMockObjectFillParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); |
| |
| //IEntityMockObjectUsable: |
| // EntityMockObjectFunction | EntityMockObjectEnum | EntityMockObjectPlainValue | EntityMockObjectArrayValue | |
| // EntityMockObjectEmbed | EntityMockObjectFill; |
| public ParserRule getRule() { return rule; } |
| |
| //EntityMockObjectFunction | EntityMockObjectEnum | EntityMockObjectPlainValue | EntityMockObjectArrayValue | |
| //EntityMockObjectEmbed | EntityMockObjectFill |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //EntityMockObjectFunction |
| public RuleCall getEntityMockObjectFunctionParserRuleCall_0() { return cEntityMockObjectFunctionParserRuleCall_0; } |
| |
| //EntityMockObjectEnum |
| public RuleCall getEntityMockObjectEnumParserRuleCall_1() { return cEntityMockObjectEnumParserRuleCall_1; } |
| |
| //EntityMockObjectPlainValue |
| public RuleCall getEntityMockObjectPlainValueParserRuleCall_2() { return cEntityMockObjectPlainValueParserRuleCall_2; } |
| |
| //EntityMockObjectArrayValue |
| public RuleCall getEntityMockObjectArrayValueParserRuleCall_3() { return cEntityMockObjectArrayValueParserRuleCall_3; } |
| |
| //EntityMockObjectEmbed |
| public RuleCall getEntityMockObjectEmbedParserRuleCall_4() { return cEntityMockObjectEmbedParserRuleCall_4; } |
| |
| //EntityMockObjectFill |
| public RuleCall getEntityMockObjectFillParserRuleCall_5() { return cEntityMockObjectFillParserRuleCall_5; } |
| } |
| |
| public class IEntityMockObjectAttributeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IEntityMockObjectAttribute"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cEntityMockObjectResourceValueParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cEntityMockObjectPlainValueParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cEntityMockObjectArrayValueParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| private final RuleCall cEntityMockObjectEmbedParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); |
| private final RuleCall cEntityMockObjectFillParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); |
| |
| //IEntityMockObjectAttribute: |
| // EntityMockObjectResourceValue | EntityMockObjectPlainValue | EntityMockObjectArrayValue | EntityMockObjectEmbed | |
| // EntityMockObjectFill; |
| public ParserRule getRule() { return rule; } |
| |
| //EntityMockObjectResourceValue | EntityMockObjectPlainValue | EntityMockObjectArrayValue | EntityMockObjectEmbed | |
| //EntityMockObjectFill |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //EntityMockObjectResourceValue |
| public RuleCall getEntityMockObjectResourceValueParserRuleCall_0() { return cEntityMockObjectResourceValueParserRuleCall_0; } |
| |
| //EntityMockObjectPlainValue |
| public RuleCall getEntityMockObjectPlainValueParserRuleCall_1() { return cEntityMockObjectPlainValueParserRuleCall_1; } |
| |
| //EntityMockObjectArrayValue |
| public RuleCall getEntityMockObjectArrayValueParserRuleCall_2() { return cEntityMockObjectArrayValueParserRuleCall_2; } |
| |
| //EntityMockObjectEmbed |
| public RuleCall getEntityMockObjectEmbedParserRuleCall_3() { return cEntityMockObjectEmbedParserRuleCall_3; } |
| |
| //EntityMockObjectFill |
| public RuleCall getEntityMockObjectFillParserRuleCall_4() { return cEntityMockObjectFillParserRuleCall_4; } |
| } |
| |
| public class EntityMockObjectPlainValueElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectPlainValue"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Assignment cValuesAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); |
| private final RuleCall cValuesSTRINGTerminalRuleCall_3_0_0 = (RuleCall)cValuesAssignment_3_0.eContents().get(0); |
| private final Keyword cCommaKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); |
| private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockObjectPlainValue: |
| // "var" name=QualifiedName "(" (values+=STRING ","?)* ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "(" (values+=STRING ","?)* ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } |
| |
| //(values+=STRING ","?)* |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //values+=STRING |
| public Assignment getValuesAssignment_3_0() { return cValuesAssignment_3_0; } |
| |
| //STRING |
| public RuleCall getValuesSTRINGTerminalRuleCall_3_0_0() { return cValuesSTRINGTerminalRuleCall_3_0_0; } |
| |
| //","? |
| public Keyword getCommaKeyword_3_1() { return cCommaKeyword_3_1; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } |
| } |
| |
| public class EntityMockObjectResourceValueElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectResourceValue"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cWithKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cResourceEnumAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final CrossReference cResourceEnumEntityMockObjectEnumCrossReference_3_0 = (CrossReference)cResourceEnumAssignment_3.eContents().get(0); |
| private final RuleCall cResourceEnumEntityMockObjectEnumIDTerminalRuleCall_3_0_1 = (RuleCall)cResourceEnumEntityMockObjectEnumCrossReference_3_0.eContents().get(1); |
| private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
| private final Keyword cFullStopKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
| private final Assignment cResourceAttributeAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
| private final CrossReference cResourceAttributeEntityMockResourceAttributeCrossReference_4_1_0 = (CrossReference)cResourceAttributeAssignment_4_1.eContents().get(0); |
| private final RuleCall cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_1_0_1 = (RuleCall)cResourceAttributeEntityMockResourceAttributeCrossReference_4_1_0.eContents().get(1); |
| |
| //EntityMockObjectResourceValue: |
| // "var" name=QualifiedName "with" resourceEnum=[EntityMockObjectEnum] ("." |
| // resourceAttribute=[EntityMockResourceAttribute])?; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "with" resourceEnum=[EntityMockObjectEnum] ("." |
| //resourceAttribute=[EntityMockResourceAttribute])? |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"with" |
| public Keyword getWithKeyword_2() { return cWithKeyword_2; } |
| |
| //resourceEnum=[EntityMockObjectEnum] |
| public Assignment getResourceEnumAssignment_3() { return cResourceEnumAssignment_3; } |
| |
| //[EntityMockObjectEnum] |
| public CrossReference getResourceEnumEntityMockObjectEnumCrossReference_3_0() { return cResourceEnumEntityMockObjectEnumCrossReference_3_0; } |
| |
| //ID |
| public RuleCall getResourceEnumEntityMockObjectEnumIDTerminalRuleCall_3_0_1() { return cResourceEnumEntityMockObjectEnumIDTerminalRuleCall_3_0_1; } |
| |
| //("." resourceAttribute=[EntityMockResourceAttribute])? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //"." |
| public Keyword getFullStopKeyword_4_0() { return cFullStopKeyword_4_0; } |
| |
| //resourceAttribute=[EntityMockResourceAttribute] |
| public Assignment getResourceAttributeAssignment_4_1() { return cResourceAttributeAssignment_4_1; } |
| |
| //[EntityMockResourceAttribute] |
| public CrossReference getResourceAttributeEntityMockResourceAttributeCrossReference_4_1_0() { return cResourceAttributeEntityMockResourceAttributeCrossReference_4_1_0; } |
| |
| //ID |
| public RuleCall getResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_1_0_1() { return cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_1_0_1; } |
| } |
| |
| public class EntityMockObjectArrayValueElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectArrayValue"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cSwitchOnKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cEnumerationAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final CrossReference cEnumerationEntityMockObjectEnumCrossReference_3_0 = (CrossReference)cEnumerationAssignment_3.eContents().get(0); |
| private final RuleCall cEnumerationEntityMockObjectEnumIDTerminalRuleCall_3_0_1 = (RuleCall)cEnumerationEntityMockObjectEnumCrossReference_3_0.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Assignment cItemsAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final RuleCall cItemsEntityMockObjectItemValueParserRuleCall_5_0 = (RuleCall)cItemsAssignment_5.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); |
| |
| //EntityMockObjectArrayValue: |
| // "var" name=QualifiedName "switch on" enumeration=[EntityMockObjectEnum] "{" items+=EntityMockObjectItemValue* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "switch on" enumeration=[EntityMockObjectEnum] "{" items+=EntityMockObjectItemValue* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"switch on" |
| public Keyword getSwitchOnKeyword_2() { return cSwitchOnKeyword_2; } |
| |
| //enumeration=[EntityMockObjectEnum] |
| public Assignment getEnumerationAssignment_3() { return cEnumerationAssignment_3; } |
| |
| //[EntityMockObjectEnum] |
| public CrossReference getEnumerationEntityMockObjectEnumCrossReference_3_0() { return cEnumerationEntityMockObjectEnumCrossReference_3_0; } |
| |
| //ID |
| public RuleCall getEnumerationEntityMockObjectEnumIDTerminalRuleCall_3_0_1() { return cEnumerationEntityMockObjectEnumIDTerminalRuleCall_3_0_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } |
| |
| //items+=EntityMockObjectItemValue* |
| public Assignment getItemsAssignment_5() { return cItemsAssignment_5; } |
| |
| //EntityMockObjectItemValue |
| public RuleCall getItemsEntityMockObjectItemValueParserRuleCall_5_0() { return cItemsEntityMockObjectItemValueParserRuleCall_5_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } |
| } |
| |
| public class EntityMockObjectItemValueElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectItemValue"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cWhenKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cDatarowAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cDatarowLEnumLiteralCrossReference_1_0 = (CrossReference)cDatarowAssignment_1.eContents().get(0); |
| private final RuleCall cDatarowLEnumLiteralIDTerminalRuleCall_1_0_1 = (RuleCall)cDatarowLEnumLiteralCrossReference_1_0.eContents().get(1); |
| private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Assignment cValuesAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); |
| private final RuleCall cValuesSTRINGTerminalRuleCall_3_0_0 = (RuleCall)cValuesAssignment_3_0.eContents().get(0); |
| private final Keyword cCommaKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); |
| private final Keyword cRightParenthesisKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockObjectItemValue: |
| // "when" datarow=[types::LEnumLiteral] "(" (values+=STRING ","?)* ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"when" datarow=[types::LEnumLiteral] "(" (values+=STRING ","?)* ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"when" |
| public Keyword getWhenKeyword_0() { return cWhenKeyword_0; } |
| |
| //datarow=[types::LEnumLiteral] |
| public Assignment getDatarowAssignment_1() { return cDatarowAssignment_1; } |
| |
| //[types::LEnumLiteral] |
| public CrossReference getDatarowLEnumLiteralCrossReference_1_0() { return cDatarowLEnumLiteralCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getDatarowLEnumLiteralIDTerminalRuleCall_1_0_1() { return cDatarowLEnumLiteralIDTerminalRuleCall_1_0_1; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } |
| |
| //(values+=STRING ","?)* |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //values+=STRING |
| public Assignment getValuesAssignment_3_0() { return cValuesAssignment_3_0; } |
| |
| //STRING |
| public RuleCall getValuesSTRINGTerminalRuleCall_3_0_0() { return cValuesSTRINGTerminalRuleCall_3_0_0; } |
| |
| //","? |
| public Keyword getCommaKeyword_3_1() { return cCommaKeyword_3_1; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_4() { return cRightParenthesisKeyword_4; } |
| } |
| |
| public class EntityMockObjectEmbedElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectEmbed"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockObjectEmbedAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cEmbedKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); |
| private final Keyword cDefinedAsKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cObjectAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final CrossReference cObjectEntityMockObjectCrossReference_4_0 = (CrossReference)cObjectAssignment_4.eContents().get(0); |
| private final RuleCall cObjectEntityMockObjectIDTerminalRuleCall_4_0_1 = (RuleCall)cObjectEntityMockObjectCrossReference_4_0.eContents().get(1); |
| |
| //EntityMockObjectEmbed: |
| // {EntityMockObjectEmbed} "embed" name=QualifiedName "defined as" object=[EntityMockObject]; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockObjectEmbed} "embed" name=QualifiedName "defined as" object=[EntityMockObject] |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockObjectEmbed} |
| public Action getEntityMockObjectEmbedAction_0() { return cEntityMockObjectEmbedAction_0; } |
| |
| //"embed" |
| public Keyword getEmbedKeyword_1() { return cEmbedKeyword_1; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_2() { return cNameAssignment_2; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } |
| |
| //"defined as" |
| public Keyword getDefinedAsKeyword_3() { return cDefinedAsKeyword_3; } |
| |
| //object=[EntityMockObject] |
| public Assignment getObjectAssignment_4() { return cObjectAssignment_4; } |
| |
| //[EntityMockObject] |
| public CrossReference getObjectEntityMockObjectCrossReference_4_0() { return cObjectEntityMockObjectCrossReference_4_0; } |
| |
| //ID |
| public RuleCall getObjectEntityMockObjectIDTerminalRuleCall_4_0_1() { return cObjectEntityMockObjectIDTerminalRuleCall_4_0_1; } |
| } |
| |
| public class EntityMockObjectFunctionElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectFunction"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cCalculateAsKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cOftypeAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cOftypeJvmParameterizedTypeReferenceParserRuleCall_3_0 = (RuleCall)cOftypeAssignment_3.eContents().get(0); |
| private final Keyword cBasedOnKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Keyword cLeftParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); |
| private final Group cGroup_6 = (Group)cGroup.eContents().get(6); |
| private final Assignment cParamsAssignment_6_0 = (Assignment)cGroup_6.eContents().get(0); |
| private final RuleCall cParamsEntityMockObjectFunctionParameterParserRuleCall_6_0_0 = (RuleCall)cParamsAssignment_6_0.eContents().get(0); |
| private final Group cGroup_6_1 = (Group)cGroup_6.eContents().get(1); |
| private final Keyword cCommaKeyword_6_1_0 = (Keyword)cGroup_6_1.eContents().get(0); |
| private final Assignment cParamsAssignment_6_1_1 = (Assignment)cGroup_6_1.eContents().get(1); |
| private final RuleCall cParamsEntityMockObjectFunctionParameterParserRuleCall_6_1_1_0 = (RuleCall)cParamsAssignment_6_1_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_7 = (Keyword)cGroup.eContents().get(7); |
| private final Assignment cBodyAssignment_8 = (Assignment)cGroup.eContents().get(8); |
| private final RuleCall cBodyXBlockExpressionParserRuleCall_8_0 = (RuleCall)cBodyAssignment_8.eContents().get(0); |
| |
| //EntityMockObjectFunction: |
| // "var" name=QualifiedName "calculate as" oftype=JvmParameterizedTypeReference "based on" "(" |
| // (params+=EntityMockObjectFunctionParameter ("," params+=EntityMockObjectFunctionParameter)*)? ")" |
| // body=XBlockExpression; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "calculate as" oftype=JvmParameterizedTypeReference "based on" "(" |
| //(params+=EntityMockObjectFunctionParameter ("," params+=EntityMockObjectFunctionParameter)*)? ")" |
| //body=XBlockExpression |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"calculate as" |
| public Keyword getCalculateAsKeyword_2() { return cCalculateAsKeyword_2; } |
| |
| //oftype=JvmParameterizedTypeReference |
| public Assignment getOftypeAssignment_3() { return cOftypeAssignment_3; } |
| |
| //JvmParameterizedTypeReference |
| public RuleCall getOftypeJvmParameterizedTypeReferenceParserRuleCall_3_0() { return cOftypeJvmParameterizedTypeReferenceParserRuleCall_3_0; } |
| |
| //"based on" |
| public Keyword getBasedOnKeyword_4() { return cBasedOnKeyword_4; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_5() { return cLeftParenthesisKeyword_5; } |
| |
| //(params+=EntityMockObjectFunctionParameter ("," params+=EntityMockObjectFunctionParameter)*)? |
| public Group getGroup_6() { return cGroup_6; } |
| |
| //params+=EntityMockObjectFunctionParameter |
| public Assignment getParamsAssignment_6_0() { return cParamsAssignment_6_0; } |
| |
| //EntityMockObjectFunctionParameter |
| public RuleCall getParamsEntityMockObjectFunctionParameterParserRuleCall_6_0_0() { return cParamsEntityMockObjectFunctionParameterParserRuleCall_6_0_0; } |
| |
| //("," params+=EntityMockObjectFunctionParameter)* |
| public Group getGroup_6_1() { return cGroup_6_1; } |
| |
| //"," |
| public Keyword getCommaKeyword_6_1_0() { return cCommaKeyword_6_1_0; } |
| |
| //params+=EntityMockObjectFunctionParameter |
| public Assignment getParamsAssignment_6_1_1() { return cParamsAssignment_6_1_1; } |
| |
| //EntityMockObjectFunctionParameter |
| public RuleCall getParamsEntityMockObjectFunctionParameterParserRuleCall_6_1_1_0() { return cParamsEntityMockObjectFunctionParameterParserRuleCall_6_1_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_7() { return cRightParenthesisKeyword_7; } |
| |
| //body=XBlockExpression |
| public Assignment getBodyAssignment_8() { return cBodyAssignment_8; } |
| |
| //XBlockExpression |
| public RuleCall getBodyXBlockExpressionParserRuleCall_8_0() { return cBodyXBlockExpressionParserRuleCall_8_0; } |
| } |
| |
| public class EntityMockObjectFunctionParameterElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectFunctionParameter"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Assignment cParameterTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); |
| private final RuleCall cParameterTypeJvmTypeReferenceParserRuleCall_0_0 = (RuleCall)cParameterTypeAssignment_0.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cNameIEntityMockObjectUsableCrossReference_1_0 = (CrossReference)cNameAssignment_1.eContents().get(0); |
| private final RuleCall cNameIEntityMockObjectUsableIDTerminalRuleCall_1_0_1 = (RuleCall)cNameIEntityMockObjectUsableCrossReference_1_0.eContents().get(1); |
| |
| //EntityMockObjectFunctionParameter: |
| // parameterType=JvmTypeReference name=[IEntityMockObjectUsable]; |
| public ParserRule getRule() { return rule; } |
| |
| //parameterType=JvmTypeReference name=[IEntityMockObjectUsable] |
| public Group getGroup() { return cGroup; } |
| |
| //parameterType=JvmTypeReference |
| public Assignment getParameterTypeAssignment_0() { return cParameterTypeAssignment_0; } |
| |
| //JvmTypeReference |
| public RuleCall getParameterTypeJvmTypeReferenceParserRuleCall_0_0() { return cParameterTypeJvmTypeReferenceParserRuleCall_0_0; } |
| |
| //name=[IEntityMockObjectUsable] |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //[IEntityMockObjectUsable] |
| public CrossReference getNameIEntityMockObjectUsableCrossReference_1_0() { return cNameIEntityMockObjectUsableCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getNameIEntityMockObjectUsableIDTerminalRuleCall_1_0_1() { return cNameIEntityMockObjectUsableIDTerminalRuleCall_1_0_1; } |
| } |
| |
| public class EntityMockObjectFillElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockObjectFill"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cRandomizeKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cFillerTypeAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cFillerTypePropertyFillerTypeParserRuleCall_3_0 = (RuleCall)cFillerTypeAssignment_3.eContents().get(0); |
| |
| //EntityMockObjectFill: |
| // "var" name=QualifiedName "randomize" fillerType=PropertyFillerType; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" name=QualifiedName "randomize" fillerType=PropertyFillerType |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"randomize" |
| public Keyword getRandomizeKeyword_2() { return cRandomizeKeyword_2; } |
| |
| //fillerType=PropertyFillerType |
| public Assignment getFillerTypeAssignment_3() { return cFillerTypeAssignment_3; } |
| |
| //PropertyFillerType |
| public RuleCall getFillerTypePropertyFillerTypeParserRuleCall_3_0() { return cFillerTypePropertyFillerTypeParserRuleCall_3_0; } |
| } |
| |
| public class PropertyFillerTypeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerType"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cPropertyFillerDateFutureParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cPropertyFillerDatePastParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cPropertyFillerDateRangeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| private final RuleCall cPropertyFillerBooleanParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); |
| private final RuleCall cPropertyFillerSignedDoubleRangeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); |
| private final RuleCall cPropertyFillerSignedDoubleRandomParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); |
| private final RuleCall cPropertyFillerSignedIntegerRangeParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); |
| private final RuleCall cPropertyFillerSignedIntegerRandomParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); |
| private final RuleCall cPropertyFillerTextRandomParserRuleCall_8 = (RuleCall)cAlternatives.eContents().get(8); |
| private final RuleCall cPropertyFillerTextParagraphsParserRuleCall_9 = (RuleCall)cAlternatives.eContents().get(9); |
| private final RuleCall cPropertyFillerTextSentencesParserRuleCall_10 = (RuleCall)cAlternatives.eContents().get(10); |
| private final RuleCall cPropertyFillerTextWordsParserRuleCall_11 = (RuleCall)cAlternatives.eContents().get(11); |
| private final RuleCall cPropertyFillerUnsignedDoubleRangeParserRuleCall_12 = (RuleCall)cAlternatives.eContents().get(12); |
| private final RuleCall cPropertyFillerUnsignedDoubleRandomParserRuleCall_13 = (RuleCall)cAlternatives.eContents().get(13); |
| private final RuleCall cPropertyFillerUnsignedIntegerRangeParserRuleCall_14 = (RuleCall)cAlternatives.eContents().get(14); |
| private final RuleCall cPropertyFillerUnsignedIntegerRandomParserRuleCall_15 = (RuleCall)cAlternatives.eContents().get(15); |
| |
| //PropertyFillerType: |
| // PropertyFillerDateFuture | PropertyFillerDatePast | PropertyFillerDateRange | PropertyFillerBoolean | |
| // PropertyFillerSignedDoubleRange | PropertyFillerSignedDoubleRandom | PropertyFillerSignedIntegerRange | |
| // PropertyFillerSignedIntegerRandom | PropertyFillerTextRandom | PropertyFillerTextParagraphs | |
| // PropertyFillerTextSentences | PropertyFillerTextWords | PropertyFillerUnsignedDoubleRange | |
| // PropertyFillerUnsignedDoubleRandom | PropertyFillerUnsignedIntegerRange | PropertyFillerUnsignedIntegerRandom; |
| public ParserRule getRule() { return rule; } |
| |
| //PropertyFillerDateFuture | PropertyFillerDatePast | PropertyFillerDateRange | PropertyFillerBoolean | |
| //PropertyFillerSignedDoubleRange | PropertyFillerSignedDoubleRandom | PropertyFillerSignedIntegerRange | |
| //PropertyFillerSignedIntegerRandom | PropertyFillerTextRandom | PropertyFillerTextParagraphs | |
| //PropertyFillerTextSentences | PropertyFillerTextWords | PropertyFillerUnsignedDoubleRange | |
| //PropertyFillerUnsignedDoubleRandom | PropertyFillerUnsignedIntegerRange | PropertyFillerUnsignedIntegerRandom |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //PropertyFillerDateFuture |
| public RuleCall getPropertyFillerDateFutureParserRuleCall_0() { return cPropertyFillerDateFutureParserRuleCall_0; } |
| |
| //PropertyFillerDatePast |
| public RuleCall getPropertyFillerDatePastParserRuleCall_1() { return cPropertyFillerDatePastParserRuleCall_1; } |
| |
| //PropertyFillerDateRange |
| public RuleCall getPropertyFillerDateRangeParserRuleCall_2() { return cPropertyFillerDateRangeParserRuleCall_2; } |
| |
| //PropertyFillerBoolean |
| public RuleCall getPropertyFillerBooleanParserRuleCall_3() { return cPropertyFillerBooleanParserRuleCall_3; } |
| |
| //PropertyFillerSignedDoubleRange |
| public RuleCall getPropertyFillerSignedDoubleRangeParserRuleCall_4() { return cPropertyFillerSignedDoubleRangeParserRuleCall_4; } |
| |
| //PropertyFillerSignedDoubleRandom |
| public RuleCall getPropertyFillerSignedDoubleRandomParserRuleCall_5() { return cPropertyFillerSignedDoubleRandomParserRuleCall_5; } |
| |
| //PropertyFillerSignedIntegerRange |
| public RuleCall getPropertyFillerSignedIntegerRangeParserRuleCall_6() { return cPropertyFillerSignedIntegerRangeParserRuleCall_6; } |
| |
| //PropertyFillerSignedIntegerRandom |
| public RuleCall getPropertyFillerSignedIntegerRandomParserRuleCall_7() { return cPropertyFillerSignedIntegerRandomParserRuleCall_7; } |
| |
| //PropertyFillerTextRandom |
| public RuleCall getPropertyFillerTextRandomParserRuleCall_8() { return cPropertyFillerTextRandomParserRuleCall_8; } |
| |
| //PropertyFillerTextParagraphs |
| public RuleCall getPropertyFillerTextParagraphsParserRuleCall_9() { return cPropertyFillerTextParagraphsParserRuleCall_9; } |
| |
| //PropertyFillerTextSentences |
| public RuleCall getPropertyFillerTextSentencesParserRuleCall_10() { return cPropertyFillerTextSentencesParserRuleCall_10; } |
| |
| //PropertyFillerTextWords |
| public RuleCall getPropertyFillerTextWordsParserRuleCall_11() { return cPropertyFillerTextWordsParserRuleCall_11; } |
| |
| //PropertyFillerUnsignedDoubleRange |
| public RuleCall getPropertyFillerUnsignedDoubleRangeParserRuleCall_12() { return cPropertyFillerUnsignedDoubleRangeParserRuleCall_12; } |
| |
| //PropertyFillerUnsignedDoubleRandom |
| public RuleCall getPropertyFillerUnsignedDoubleRandomParserRuleCall_13() { return cPropertyFillerUnsignedDoubleRandomParserRuleCall_13; } |
| |
| //PropertyFillerUnsignedIntegerRange |
| public RuleCall getPropertyFillerUnsignedIntegerRangeParserRuleCall_14() { return cPropertyFillerUnsignedIntegerRangeParserRuleCall_14; } |
| |
| //PropertyFillerUnsignedIntegerRandom |
| public RuleCall getPropertyFillerUnsignedIntegerRandomParserRuleCall_15() { return cPropertyFillerUnsignedIntegerRandomParserRuleCall_15; } |
| } |
| |
| public class PropertyFillerDateFutureElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerDateFuture"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cFutureDateKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cDateFutureYearsAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cDateFutureYearsINTTerminalRuleCall_1_0 = (RuleCall)cDateFutureYearsAssignment_1.eContents().get(0); |
| private final Keyword cYearsKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| |
| //PropertyFillerDateFuture: |
| // "future date" dateFutureYears=INT "years"; |
| public ParserRule getRule() { return rule; } |
| |
| //"future date" dateFutureYears=INT "years" |
| public Group getGroup() { return cGroup; } |
| |
| //"future date" |
| public Keyword getFutureDateKeyword_0() { return cFutureDateKeyword_0; } |
| |
| //dateFutureYears=INT |
| public Assignment getDateFutureYearsAssignment_1() { return cDateFutureYearsAssignment_1; } |
| |
| //INT |
| public RuleCall getDateFutureYearsINTTerminalRuleCall_1_0() { return cDateFutureYearsINTTerminalRuleCall_1_0; } |
| |
| //"years" |
| public Keyword getYearsKeyword_2() { return cYearsKeyword_2; } |
| } |
| |
| public class PropertyFillerDatePastElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerDatePast"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cPastDateKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cDatePastYearsAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cDatePastYearsINTTerminalRuleCall_1_0 = (RuleCall)cDatePastYearsAssignment_1.eContents().get(0); |
| private final Keyword cYearsKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| |
| //PropertyFillerDatePast: |
| // "past date" datePastYears=INT "years"; |
| public ParserRule getRule() { return rule; } |
| |
| //"past date" datePastYears=INT "years" |
| public Group getGroup() { return cGroup; } |
| |
| //"past date" |
| public Keyword getPastDateKeyword_0() { return cPastDateKeyword_0; } |
| |
| //datePastYears=INT |
| public Assignment getDatePastYearsAssignment_1() { return cDatePastYearsAssignment_1; } |
| |
| //INT |
| public RuleCall getDatePastYearsINTTerminalRuleCall_1_0() { return cDatePastYearsINTTerminalRuleCall_1_0; } |
| |
| //"years" |
| public Keyword getYearsKeyword_2() { return cYearsKeyword_2; } |
| } |
| |
| public class PropertyFillerBooleanElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerBoolean"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerBooleanAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cBooleanKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| |
| //PropertyFillerBoolean: |
| // {PropertyFillerBoolean} "boolean"; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerBoolean} "boolean" |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerBoolean} |
| public Action getPropertyFillerBooleanAction_0() { return cPropertyFillerBooleanAction_0; } |
| |
| //"boolean" |
| public Keyword getBooleanKeyword_1() { return cBooleanKeyword_1; } |
| } |
| |
| public class PropertyFillerDateRangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerDateRange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cDateInRangeKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cDateBeginYearsAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cDateBeginYearsSINTParserRuleCall_1_0 = (RuleCall)cDateBeginYearsAssignment_1.eContents().get(0); |
| private final Keyword cUpToAndIncludingKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cDateEndYearsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cDateEndYearsSINTParserRuleCall_3_0 = (RuleCall)cDateEndYearsAssignment_3.eContents().get(0); |
| private final Keyword cYearsKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //PropertyFillerDateRange: |
| // "date in range" dateBeginYears=SINT "up to and including" dateEndYears=SINT "years"; |
| public ParserRule getRule() { return rule; } |
| |
| //"date in range" dateBeginYears=SINT "up to and including" dateEndYears=SINT "years" |
| public Group getGroup() { return cGroup; } |
| |
| //"date in range" |
| public Keyword getDateInRangeKeyword_0() { return cDateInRangeKeyword_0; } |
| |
| //dateBeginYears=SINT |
| public Assignment getDateBeginYearsAssignment_1() { return cDateBeginYearsAssignment_1; } |
| |
| //SINT |
| public RuleCall getDateBeginYearsSINTParserRuleCall_1_0() { return cDateBeginYearsSINTParserRuleCall_1_0; } |
| |
| //"up to and including" |
| public Keyword getUpToAndIncludingKeyword_2() { return cUpToAndIncludingKeyword_2; } |
| |
| //dateEndYears=SINT |
| public Assignment getDateEndYearsAssignment_3() { return cDateEndYearsAssignment_3; } |
| |
| //SINT |
| public RuleCall getDateEndYearsSINTParserRuleCall_3_0() { return cDateEndYearsSINTParserRuleCall_3_0; } |
| |
| //"years" |
| public Keyword getYearsKeyword_4() { return cYearsKeyword_4; } |
| } |
| |
| public class PropertyFillerSignedDoubleRangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerSignedDoubleRange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cSignedDoubleInRangeKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Alternatives cAlternatives_1_0 = (Alternatives)cGroup_1.eContents().get(0); |
| private final Assignment cBeginRangeAssignment_1_0_0 = (Assignment)cAlternatives_1_0.eContents().get(0); |
| private final RuleCall cBeginRangeSignedNumberParserRuleCall_1_0_0_0 = (RuleCall)cBeginRangeAssignment_1_0_0.eContents().get(0); |
| private final Assignment cBeginRangeRefAssignment_1_0_1 = (Assignment)cAlternatives_1_0.eContents().get(1); |
| private final CrossReference cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0 = (CrossReference)cBeginRangeRefAssignment_1_0_1.eContents().get(0); |
| private final RuleCall cBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1 = (RuleCall)cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0.eContents().get(1); |
| private final Keyword cUpToAndIncludingKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); |
| private final Alternatives cAlternatives_1_2 = (Alternatives)cGroup_1.eContents().get(2); |
| private final Assignment cEndRangeAssignment_1_2_0 = (Assignment)cAlternatives_1_2.eContents().get(0); |
| private final RuleCall cEndRangeSignedNumberParserRuleCall_1_2_0_0 = (RuleCall)cEndRangeAssignment_1_2_0.eContents().get(0); |
| private final Assignment cEndRangeRefAssignment_1_2_1 = (Assignment)cAlternatives_1_2.eContents().get(1); |
| private final CrossReference cEndRangeRefLEntityAttributeCrossReference_1_2_1_0 = (CrossReference)cEndRangeRefAssignment_1_2_1.eContents().get(0); |
| private final RuleCall cEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1 = (RuleCall)cEndRangeRefLEntityAttributeCrossReference_1_2_1_0.eContents().get(1); |
| private final Keyword cWithKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cDecimalsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cDecimalsINTTerminalRuleCall_3_0 = (RuleCall)cDecimalsAssignment_3.eContents().get(0); |
| private final Keyword cDecimalsKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cRoundToKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cRoundedAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cRoundedUnsignedNumberParserRuleCall_5_1_0 = (RuleCall)cRoundedAssignment_5_1.eContents().get(0); |
| |
| //PropertyFillerSignedDoubleRange: |
| // "signed double in range" ((beginRange=SignedNumber | beginRangeRef=[entity::LEntityAttribute])? "up to and including" |
| // (endRange=SignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT "decimals" ("round to" |
| // rounded=UnsignedNumber)?; |
| public ParserRule getRule() { return rule; } |
| |
| //"signed double in range" ((beginRange=SignedNumber | beginRangeRef=[entity::LEntityAttribute])? "up to and including" |
| //(endRange=SignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT "decimals" ("round to" |
| //rounded=UnsignedNumber)? |
| public Group getGroup() { return cGroup; } |
| |
| //"signed double in range" |
| public Keyword getSignedDoubleInRangeKeyword_0() { return cSignedDoubleInRangeKeyword_0; } |
| |
| //((beginRange=SignedNumber | beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=SignedNumber | |
| //endRangeRef=[entity::LEntityAttribute]))? |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //(beginRange=SignedNumber | beginRangeRef=[entity::LEntityAttribute])? |
| public Alternatives getAlternatives_1_0() { return cAlternatives_1_0; } |
| |
| //beginRange=SignedNumber |
| public Assignment getBeginRangeAssignment_1_0_0() { return cBeginRangeAssignment_1_0_0; } |
| |
| //SignedNumber |
| public RuleCall getBeginRangeSignedNumberParserRuleCall_1_0_0_0() { return cBeginRangeSignedNumberParserRuleCall_1_0_0_0; } |
| |
| //beginRangeRef=[entity::LEntityAttribute] |
| public Assignment getBeginRangeRefAssignment_1_0_1() { return cBeginRangeRefAssignment_1_0_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getBeginRangeRefLEntityAttributeCrossReference_1_0_1_0() { return cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0; } |
| |
| //ID |
| public RuleCall getBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1() { return cBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1; } |
| |
| //"up to and including" |
| public Keyword getUpToAndIncludingKeyword_1_1() { return cUpToAndIncludingKeyword_1_1; } |
| |
| //endRange=SignedNumber | endRangeRef=[entity::LEntityAttribute] |
| public Alternatives getAlternatives_1_2() { return cAlternatives_1_2; } |
| |
| //endRange=SignedNumber |
| public Assignment getEndRangeAssignment_1_2_0() { return cEndRangeAssignment_1_2_0; } |
| |
| //SignedNumber |
| public RuleCall getEndRangeSignedNumberParserRuleCall_1_2_0_0() { return cEndRangeSignedNumberParserRuleCall_1_2_0_0; } |
| |
| //endRangeRef=[entity::LEntityAttribute] |
| public Assignment getEndRangeRefAssignment_1_2_1() { return cEndRangeRefAssignment_1_2_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getEndRangeRefLEntityAttributeCrossReference_1_2_1_0() { return cEndRangeRefLEntityAttributeCrossReference_1_2_1_0; } |
| |
| //ID |
| public RuleCall getEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1() { return cEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1; } |
| |
| //"with" |
| public Keyword getWithKeyword_2() { return cWithKeyword_2; } |
| |
| //decimals=INT |
| public Assignment getDecimalsAssignment_3() { return cDecimalsAssignment_3; } |
| |
| //INT |
| public RuleCall getDecimalsINTTerminalRuleCall_3_0() { return cDecimalsINTTerminalRuleCall_3_0; } |
| |
| //"decimals" |
| public Keyword getDecimalsKeyword_4() { return cDecimalsKeyword_4; } |
| |
| //("round to" rounded=UnsignedNumber)? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"round to" |
| public Keyword getRoundToKeyword_5_0() { return cRoundToKeyword_5_0; } |
| |
| //rounded=UnsignedNumber |
| public Assignment getRoundedAssignment_5_1() { return cRoundedAssignment_5_1; } |
| |
| //UnsignedNumber |
| public RuleCall getRoundedUnsignedNumberParserRuleCall_5_1_0() { return cRoundedUnsignedNumberParserRuleCall_5_1_0; } |
| } |
| |
| public class PropertyFillerSignedDoubleRandomElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerSignedDoubleRandom"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cSignedDoubleFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cItemsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cItemsSignedNumberParserRuleCall_2_0 = (RuleCall)cItemsAssignment_2.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //PropertyFillerSignedDoubleRandom: |
| // "signed double from" "(" items+=SignedNumber+ ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"signed double from" "(" items+=SignedNumber+ ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"signed double from" |
| public Keyword getSignedDoubleFromKeyword_0() { return cSignedDoubleFromKeyword_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } |
| |
| //items+=SignedNumber+ |
| public Assignment getItemsAssignment_2() { return cItemsAssignment_2; } |
| |
| //SignedNumber |
| public RuleCall getItemsSignedNumberParserRuleCall_2_0() { return cItemsSignedNumberParserRuleCall_2_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } |
| } |
| |
| public class PropertyFillerSignedIntegerRangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerSignedIntegerRange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerSignedIntegerRangeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cSignedIntegerInRangeKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Group cGroup_2 = (Group)cGroup.eContents().get(2); |
| private final Alternatives cAlternatives_2_0 = (Alternatives)cGroup_2.eContents().get(0); |
| private final Assignment cBeginRangeAssignment_2_0_0 = (Assignment)cAlternatives_2_0.eContents().get(0); |
| private final RuleCall cBeginRangeSINTParserRuleCall_2_0_0_0 = (RuleCall)cBeginRangeAssignment_2_0_0.eContents().get(0); |
| private final Assignment cBeginRangeRefAssignment_2_0_1 = (Assignment)cAlternatives_2_0.eContents().get(1); |
| private final CrossReference cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0 = (CrossReference)cBeginRangeRefAssignment_2_0_1.eContents().get(0); |
| private final RuleCall cBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1 = (RuleCall)cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0.eContents().get(1); |
| private final Keyword cUpToAndIncludingKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); |
| private final Alternatives cAlternatives_2_2 = (Alternatives)cGroup_2.eContents().get(2); |
| private final Assignment cEndRangeAssignment_2_2_0 = (Assignment)cAlternatives_2_2.eContents().get(0); |
| private final RuleCall cEndRangeSINTParserRuleCall_2_2_0_0 = (RuleCall)cEndRangeAssignment_2_2_0.eContents().get(0); |
| private final Assignment cEndRangeRefAssignment_2_2_1 = (Assignment)cAlternatives_2_2.eContents().get(1); |
| private final CrossReference cEndRangeRefLEntityAttributeCrossReference_2_2_1_0 = (CrossReference)cEndRangeRefAssignment_2_2_1.eContents().get(0); |
| private final RuleCall cEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1 = (RuleCall)cEndRangeRefLEntityAttributeCrossReference_2_2_1_0.eContents().get(1); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Keyword cRoundToKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); |
| private final Assignment cRoundedAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final RuleCall cRoundedINTTerminalRuleCall_3_1_0 = (RuleCall)cRoundedAssignment_3_1.eContents().get(0); |
| |
| //PropertyFillerSignedIntegerRange: |
| // {PropertyFillerSignedIntegerRange} "signed integer in range" ((beginRange=SINT | |
| // beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=SINT | |
| // endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)?; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerSignedIntegerRange} "signed integer in range" ((beginRange=SINT | |
| //beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=SINT | |
| //endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)? |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerSignedIntegerRange} |
| public Action getPropertyFillerSignedIntegerRangeAction_0() { return cPropertyFillerSignedIntegerRangeAction_0; } |
| |
| //"signed integer in range" |
| public Keyword getSignedIntegerInRangeKeyword_1() { return cSignedIntegerInRangeKeyword_1; } |
| |
| //((beginRange=SINT | beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=SINT | |
| //endRangeRef=[entity::LEntityAttribute]))? |
| public Group getGroup_2() { return cGroup_2; } |
| |
| //(beginRange=SINT | beginRangeRef=[entity::LEntityAttribute])? |
| public Alternatives getAlternatives_2_0() { return cAlternatives_2_0; } |
| |
| //beginRange=SINT |
| public Assignment getBeginRangeAssignment_2_0_0() { return cBeginRangeAssignment_2_0_0; } |
| |
| //SINT |
| public RuleCall getBeginRangeSINTParserRuleCall_2_0_0_0() { return cBeginRangeSINTParserRuleCall_2_0_0_0; } |
| |
| //beginRangeRef=[entity::LEntityAttribute] |
| public Assignment getBeginRangeRefAssignment_2_0_1() { return cBeginRangeRefAssignment_2_0_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getBeginRangeRefLEntityAttributeCrossReference_2_0_1_0() { return cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0; } |
| |
| //ID |
| public RuleCall getBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1() { return cBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1; } |
| |
| //"up to and including" |
| public Keyword getUpToAndIncludingKeyword_2_1() { return cUpToAndIncludingKeyword_2_1; } |
| |
| //endRange=SINT | endRangeRef=[entity::LEntityAttribute] |
| public Alternatives getAlternatives_2_2() { return cAlternatives_2_2; } |
| |
| //endRange=SINT |
| public Assignment getEndRangeAssignment_2_2_0() { return cEndRangeAssignment_2_2_0; } |
| |
| //SINT |
| public RuleCall getEndRangeSINTParserRuleCall_2_2_0_0() { return cEndRangeSINTParserRuleCall_2_2_0_0; } |
| |
| //endRangeRef=[entity::LEntityAttribute] |
| public Assignment getEndRangeRefAssignment_2_2_1() { return cEndRangeRefAssignment_2_2_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getEndRangeRefLEntityAttributeCrossReference_2_2_1_0() { return cEndRangeRefLEntityAttributeCrossReference_2_2_1_0; } |
| |
| //ID |
| public RuleCall getEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1() { return cEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1; } |
| |
| //("round to" rounded=INT)? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"round to" |
| public Keyword getRoundToKeyword_3_0() { return cRoundToKeyword_3_0; } |
| |
| //rounded=INT |
| public Assignment getRoundedAssignment_3_1() { return cRoundedAssignment_3_1; } |
| |
| //INT |
| public RuleCall getRoundedINTTerminalRuleCall_3_1_0() { return cRoundedINTTerminalRuleCall_3_1_0; } |
| } |
| |
| public class PropertyFillerSignedIntegerRandomElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerSignedIntegerRandom"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cSignedIntegerFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cItemsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cItemsSINTParserRuleCall_2_0 = (RuleCall)cItemsAssignment_2.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //PropertyFillerSignedIntegerRandom: |
| // "signed integer from" "(" items+=SINT+ ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"signed integer from" "(" items+=SINT+ ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"signed integer from" |
| public Keyword getSignedIntegerFromKeyword_0() { return cSignedIntegerFromKeyword_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } |
| |
| //items+=SINT+ |
| public Assignment getItemsAssignment_2() { return cItemsAssignment_2; } |
| |
| //SINT |
| public RuleCall getItemsSINTParserRuleCall_2_0() { return cItemsSINTParserRuleCall_2_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } |
| } |
| |
| public class PropertyFillerTextRandomElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerTextRandom"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cTextFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cItemsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cItemsSTRINGTerminalRuleCall_2_0 = (RuleCall)cItemsAssignment_2.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //PropertyFillerTextRandom: |
| // "text from" "(" items+=STRING+ ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"text from" "(" items+=STRING+ ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"text from" |
| public Keyword getTextFromKeyword_0() { return cTextFromKeyword_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } |
| |
| //items+=STRING+ |
| public Assignment getItemsAssignment_2() { return cItemsAssignment_2; } |
| |
| //STRING |
| public RuleCall getItemsSTRINGTerminalRuleCall_2_0() { return cItemsSTRINGTerminalRuleCall_2_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } |
| } |
| |
| public class PropertyFillerTextParagraphsElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerTextParagraphs"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerTextParagraphsAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cParagrapsKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cCountAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cCountINTTerminalRuleCall_2_0 = (RuleCall)cCountAssignment_2.eContents().get(0); |
| |
| //PropertyFillerTextParagraphs: |
| // {PropertyFillerTextParagraphs} "paragraps" count=INT?; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerTextParagraphs} "paragraps" count=INT? |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerTextParagraphs} |
| public Action getPropertyFillerTextParagraphsAction_0() { return cPropertyFillerTextParagraphsAction_0; } |
| |
| //"paragraps" |
| public Keyword getParagrapsKeyword_1() { return cParagrapsKeyword_1; } |
| |
| //count=INT? |
| public Assignment getCountAssignment_2() { return cCountAssignment_2; } |
| |
| //INT |
| public RuleCall getCountINTTerminalRuleCall_2_0() { return cCountINTTerminalRuleCall_2_0; } |
| } |
| |
| public class PropertyFillerTextSentencesElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerTextSentences"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerTextSentencesAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cSentencesKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cCountAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cCountINTTerminalRuleCall_2_0 = (RuleCall)cCountAssignment_2.eContents().get(0); |
| |
| //PropertyFillerTextSentences: |
| // {PropertyFillerTextSentences} "sentences" count=INT?; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerTextSentences} "sentences" count=INT? |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerTextSentences} |
| public Action getPropertyFillerTextSentencesAction_0() { return cPropertyFillerTextSentencesAction_0; } |
| |
| //"sentences" |
| public Keyword getSentencesKeyword_1() { return cSentencesKeyword_1; } |
| |
| //count=INT? |
| public Assignment getCountAssignment_2() { return cCountAssignment_2; } |
| |
| //INT |
| public RuleCall getCountINTTerminalRuleCall_2_0() { return cCountINTTerminalRuleCall_2_0; } |
| } |
| |
| public class PropertyFillerTextWordsElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerTextWords"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerTextWordsAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cWordsKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cCountAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cCountINTTerminalRuleCall_2_0 = (RuleCall)cCountAssignment_2.eContents().get(0); |
| |
| //PropertyFillerTextWords: |
| // {PropertyFillerTextWords} "words" count=INT?; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerTextWords} "words" count=INT? |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerTextWords} |
| public Action getPropertyFillerTextWordsAction_0() { return cPropertyFillerTextWordsAction_0; } |
| |
| //"words" |
| public Keyword getWordsKeyword_1() { return cWordsKeyword_1; } |
| |
| //count=INT? |
| public Assignment getCountAssignment_2() { return cCountAssignment_2; } |
| |
| //INT |
| public RuleCall getCountINTTerminalRuleCall_2_0() { return cCountINTTerminalRuleCall_2_0; } |
| } |
| |
| public class PropertyFillerUnsignedDoubleRangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerUnsignedDoubleRange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cUnsignedDoubleInRangeKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Alternatives cAlternatives_1_0 = (Alternatives)cGroup_1.eContents().get(0); |
| private final Assignment cBeginRangeAssignment_1_0_0 = (Assignment)cAlternatives_1_0.eContents().get(0); |
| private final RuleCall cBeginRangeUnsignedNumberParserRuleCall_1_0_0_0 = (RuleCall)cBeginRangeAssignment_1_0_0.eContents().get(0); |
| private final Assignment cBeginRangeRefAssignment_1_0_1 = (Assignment)cAlternatives_1_0.eContents().get(1); |
| private final CrossReference cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0 = (CrossReference)cBeginRangeRefAssignment_1_0_1.eContents().get(0); |
| private final RuleCall cBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1 = (RuleCall)cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0.eContents().get(1); |
| private final Keyword cUpToAndIncludingKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); |
| private final Alternatives cAlternatives_1_2 = (Alternatives)cGroup_1.eContents().get(2); |
| private final Assignment cEndRangeAssignment_1_2_0 = (Assignment)cAlternatives_1_2.eContents().get(0); |
| private final RuleCall cEndRangeUnsignedNumberParserRuleCall_1_2_0_0 = (RuleCall)cEndRangeAssignment_1_2_0.eContents().get(0); |
| private final Assignment cEndRangeRefAssignment_1_2_1 = (Assignment)cAlternatives_1_2.eContents().get(1); |
| private final CrossReference cEndRangeRefLEntityAttributeCrossReference_1_2_1_0 = (CrossReference)cEndRangeRefAssignment_1_2_1.eContents().get(0); |
| private final RuleCall cEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1 = (RuleCall)cEndRangeRefLEntityAttributeCrossReference_1_2_1_0.eContents().get(1); |
| private final Keyword cWithKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cDecimalsAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cDecimalsINTTerminalRuleCall_3_0 = (RuleCall)cDecimalsAssignment_3.eContents().get(0); |
| private final Keyword cDecimalsKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cRoundToKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cRoundedAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cRoundedUnsignedNumberParserRuleCall_5_1_0 = (RuleCall)cRoundedAssignment_5_1.eContents().get(0); |
| |
| //PropertyFillerUnsignedDoubleRange: |
| // "unsigned double in range" ((beginRange=UnsignedNumber | beginRangeRef=[entity::LEntityAttribute])? |
| // "up to and including" (endRange=UnsignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT |
| // "decimals" ("round to" rounded=UnsignedNumber)?; |
| public ParserRule getRule() { return rule; } |
| |
| //"unsigned double in range" ((beginRange=UnsignedNumber | beginRangeRef=[entity::LEntityAttribute])? |
| //"up to and including" (endRange=UnsignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT |
| //"decimals" ("round to" rounded=UnsignedNumber)? |
| public Group getGroup() { return cGroup; } |
| |
| //"unsigned double in range" |
| public Keyword getUnsignedDoubleInRangeKeyword_0() { return cUnsignedDoubleInRangeKeyword_0; } |
| |
| //((beginRange=UnsignedNumber | beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=UnsignedNumber |
| //| endRangeRef=[entity::LEntityAttribute]))? |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //(beginRange=UnsignedNumber | beginRangeRef=[entity::LEntityAttribute])? |
| public Alternatives getAlternatives_1_0() { return cAlternatives_1_0; } |
| |
| //beginRange=UnsignedNumber |
| public Assignment getBeginRangeAssignment_1_0_0() { return cBeginRangeAssignment_1_0_0; } |
| |
| //UnsignedNumber |
| public RuleCall getBeginRangeUnsignedNumberParserRuleCall_1_0_0_0() { return cBeginRangeUnsignedNumberParserRuleCall_1_0_0_0; } |
| |
| //beginRangeRef=[entity::LEntityAttribute] |
| public Assignment getBeginRangeRefAssignment_1_0_1() { return cBeginRangeRefAssignment_1_0_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getBeginRangeRefLEntityAttributeCrossReference_1_0_1_0() { return cBeginRangeRefLEntityAttributeCrossReference_1_0_1_0; } |
| |
| //ID |
| public RuleCall getBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1() { return cBeginRangeRefLEntityAttributeIDTerminalRuleCall_1_0_1_0_1; } |
| |
| //"up to and including" |
| public Keyword getUpToAndIncludingKeyword_1_1() { return cUpToAndIncludingKeyword_1_1; } |
| |
| //endRange=UnsignedNumber | endRangeRef=[entity::LEntityAttribute] |
| public Alternatives getAlternatives_1_2() { return cAlternatives_1_2; } |
| |
| //endRange=UnsignedNumber |
| public Assignment getEndRangeAssignment_1_2_0() { return cEndRangeAssignment_1_2_0; } |
| |
| //UnsignedNumber |
| public RuleCall getEndRangeUnsignedNumberParserRuleCall_1_2_0_0() { return cEndRangeUnsignedNumberParserRuleCall_1_2_0_0; } |
| |
| //endRangeRef=[entity::LEntityAttribute] |
| public Assignment getEndRangeRefAssignment_1_2_1() { return cEndRangeRefAssignment_1_2_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getEndRangeRefLEntityAttributeCrossReference_1_2_1_0() { return cEndRangeRefLEntityAttributeCrossReference_1_2_1_0; } |
| |
| //ID |
| public RuleCall getEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1() { return cEndRangeRefLEntityAttributeIDTerminalRuleCall_1_2_1_0_1; } |
| |
| //"with" |
| public Keyword getWithKeyword_2() { return cWithKeyword_2; } |
| |
| //decimals=INT |
| public Assignment getDecimalsAssignment_3() { return cDecimalsAssignment_3; } |
| |
| //INT |
| public RuleCall getDecimalsINTTerminalRuleCall_3_0() { return cDecimalsINTTerminalRuleCall_3_0; } |
| |
| //"decimals" |
| public Keyword getDecimalsKeyword_4() { return cDecimalsKeyword_4; } |
| |
| //("round to" rounded=UnsignedNumber)? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"round to" |
| public Keyword getRoundToKeyword_5_0() { return cRoundToKeyword_5_0; } |
| |
| //rounded=UnsignedNumber |
| public Assignment getRoundedAssignment_5_1() { return cRoundedAssignment_5_1; } |
| |
| //UnsignedNumber |
| public RuleCall getRoundedUnsignedNumberParserRuleCall_5_1_0() { return cRoundedUnsignedNumberParserRuleCall_5_1_0; } |
| } |
| |
| public class PropertyFillerUnsignedDoubleRandomElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerUnsignedDoubleRandom"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cUnsignedDoubleFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cItemsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cItemsUnsignedNumberParserRuleCall_2_0 = (RuleCall)cItemsAssignment_2.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //PropertyFillerUnsignedDoubleRandom: |
| // "unsigned double from" "(" items+=UnsignedNumber+ ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"unsigned double from" "(" items+=UnsignedNumber+ ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"unsigned double from" |
| public Keyword getUnsignedDoubleFromKeyword_0() { return cUnsignedDoubleFromKeyword_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } |
| |
| //items+=UnsignedNumber+ |
| public Assignment getItemsAssignment_2() { return cItemsAssignment_2; } |
| |
| //UnsignedNumber |
| public RuleCall getItemsUnsignedNumberParserRuleCall_2_0() { return cItemsUnsignedNumberParserRuleCall_2_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } |
| } |
| |
| public class PropertyFillerUnsignedIntegerRangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerUnsignedIntegerRange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cPropertyFillerUnsignedIntegerRangeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cUnsignedIntegerInRangeKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Group cGroup_2 = (Group)cGroup.eContents().get(2); |
| private final Alternatives cAlternatives_2_0 = (Alternatives)cGroup_2.eContents().get(0); |
| private final Assignment cBeginRangeAssignment_2_0_0 = (Assignment)cAlternatives_2_0.eContents().get(0); |
| private final RuleCall cBeginRangeINTTerminalRuleCall_2_0_0_0 = (RuleCall)cBeginRangeAssignment_2_0_0.eContents().get(0); |
| private final Assignment cBeginRangeRefAssignment_2_0_1 = (Assignment)cAlternatives_2_0.eContents().get(1); |
| private final CrossReference cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0 = (CrossReference)cBeginRangeRefAssignment_2_0_1.eContents().get(0); |
| private final RuleCall cBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1 = (RuleCall)cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0.eContents().get(1); |
| private final Keyword cUpToAndIncludingKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); |
| private final Alternatives cAlternatives_2_2 = (Alternatives)cGroup_2.eContents().get(2); |
| private final Assignment cEndRangeAssignment_2_2_0 = (Assignment)cAlternatives_2_2.eContents().get(0); |
| private final RuleCall cEndRangeINTTerminalRuleCall_2_2_0_0 = (RuleCall)cEndRangeAssignment_2_2_0.eContents().get(0); |
| private final Assignment cEndRangeRefAssignment_2_2_1 = (Assignment)cAlternatives_2_2.eContents().get(1); |
| private final CrossReference cEndRangeRefLEntityAttributeCrossReference_2_2_1_0 = (CrossReference)cEndRangeRefAssignment_2_2_1.eContents().get(0); |
| private final RuleCall cEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1 = (RuleCall)cEndRangeRefLEntityAttributeCrossReference_2_2_1_0.eContents().get(1); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Keyword cRoundToKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); |
| private final Assignment cRoundedAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final RuleCall cRoundedINTTerminalRuleCall_3_1_0 = (RuleCall)cRoundedAssignment_3_1.eContents().get(0); |
| |
| //PropertyFillerUnsignedIntegerRange: |
| // {PropertyFillerUnsignedIntegerRange} "unsigned integer in range" ((beginRange=INT | |
| // beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=INT | |
| // endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)?; |
| public ParserRule getRule() { return rule; } |
| |
| //{PropertyFillerUnsignedIntegerRange} "unsigned integer in range" ((beginRange=INT | |
| //beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=INT | |
| //endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)? |
| public Group getGroup() { return cGroup; } |
| |
| //{PropertyFillerUnsignedIntegerRange} |
| public Action getPropertyFillerUnsignedIntegerRangeAction_0() { return cPropertyFillerUnsignedIntegerRangeAction_0; } |
| |
| //"unsigned integer in range" |
| public Keyword getUnsignedIntegerInRangeKeyword_1() { return cUnsignedIntegerInRangeKeyword_1; } |
| |
| //((beginRange=INT | beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=INT | |
| //endRangeRef=[entity::LEntityAttribute]))? |
| public Group getGroup_2() { return cGroup_2; } |
| |
| //(beginRange=INT | beginRangeRef=[entity::LEntityAttribute])? |
| public Alternatives getAlternatives_2_0() { return cAlternatives_2_0; } |
| |
| //beginRange=INT |
| public Assignment getBeginRangeAssignment_2_0_0() { return cBeginRangeAssignment_2_0_0; } |
| |
| //INT |
| public RuleCall getBeginRangeINTTerminalRuleCall_2_0_0_0() { return cBeginRangeINTTerminalRuleCall_2_0_0_0; } |
| |
| //beginRangeRef=[entity::LEntityAttribute] |
| public Assignment getBeginRangeRefAssignment_2_0_1() { return cBeginRangeRefAssignment_2_0_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getBeginRangeRefLEntityAttributeCrossReference_2_0_1_0() { return cBeginRangeRefLEntityAttributeCrossReference_2_0_1_0; } |
| |
| //ID |
| public RuleCall getBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1() { return cBeginRangeRefLEntityAttributeIDTerminalRuleCall_2_0_1_0_1; } |
| |
| //"up to and including" |
| public Keyword getUpToAndIncludingKeyword_2_1() { return cUpToAndIncludingKeyword_2_1; } |
| |
| //endRange=INT | endRangeRef=[entity::LEntityAttribute] |
| public Alternatives getAlternatives_2_2() { return cAlternatives_2_2; } |
| |
| //endRange=INT |
| public Assignment getEndRangeAssignment_2_2_0() { return cEndRangeAssignment_2_2_0; } |
| |
| //INT |
| public RuleCall getEndRangeINTTerminalRuleCall_2_2_0_0() { return cEndRangeINTTerminalRuleCall_2_2_0_0; } |
| |
| //endRangeRef=[entity::LEntityAttribute] |
| public Assignment getEndRangeRefAssignment_2_2_1() { return cEndRangeRefAssignment_2_2_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getEndRangeRefLEntityAttributeCrossReference_2_2_1_0() { return cEndRangeRefLEntityAttributeCrossReference_2_2_1_0; } |
| |
| //ID |
| public RuleCall getEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1() { return cEndRangeRefLEntityAttributeIDTerminalRuleCall_2_2_1_0_1; } |
| |
| //("round to" rounded=INT)? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"round to" |
| public Keyword getRoundToKeyword_3_0() { return cRoundToKeyword_3_0; } |
| |
| //rounded=INT |
| public Assignment getRoundedAssignment_3_1() { return cRoundedAssignment_3_1; } |
| |
| //INT |
| public RuleCall getRoundedINTTerminalRuleCall_3_1_0() { return cRoundedINTTerminalRuleCall_3_1_0; } |
| } |
| |
| public class PropertyFillerUnsignedIntegerRandomElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyFillerUnsignedIntegerRandom"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cUnsignedIntegerFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cItemsAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cItemsINTTerminalRuleCall_2_0 = (RuleCall)cItemsAssignment_2.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //PropertyFillerUnsignedIntegerRandom: |
| // "unsigned integer from" "(" items+=INT+ ")"; |
| public ParserRule getRule() { return rule; } |
| |
| //"unsigned integer from" "(" items+=INT+ ")" |
| public Group getGroup() { return cGroup; } |
| |
| //"unsigned integer from" |
| public Keyword getUnsignedIntegerFromKeyword_0() { return cUnsignedIntegerFromKeyword_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } |
| |
| //items+=INT+ |
| public Assignment getItemsAssignment_2() { return cItemsAssignment_2; } |
| |
| //INT |
| public RuleCall getItemsINTTerminalRuleCall_2_0() { return cItemsINTTerminalRuleCall_2_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } |
| } |
| |
| public class EntityMockDataTypeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockDataType"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cDatatypeKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| |
| //EntityMockDataType: |
| // "datatype" name=QualifiedName "{" "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //"datatype" name=QualifiedName "{" "}" |
| public Group getGroup() { return cGroup; } |
| |
| //"datatype" |
| public Keyword getDatatypeKeyword_0() { return cDatatypeKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } |
| } |
| |
| public class EntityMockEntitiesElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockEntities"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockEntitiesAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cMockEntitiesKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cEntitiesAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cEntitiesEntityMockEntityParserRuleCall_3_0 = (RuleCall)cEntitiesAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //EntityMockEntities: |
| // {EntityMockEntities} "mock entities" "{" entities+=EntityMockEntity* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockEntities} "mock entities" "{" entities+=EntityMockEntity* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockEntities} |
| public Action getEntityMockEntitiesAction_0() { return cEntityMockEntitiesAction_0; } |
| |
| //"mock entities" |
| public Keyword getMockEntitiesKeyword_1() { return cMockEntitiesKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //entities+=EntityMockEntity* |
| public Assignment getEntitiesAssignment_3() { return cEntitiesAssignment_3; } |
| |
| //EntityMockEntity |
| public RuleCall getEntitiesEntityMockEntityParserRuleCall_3_0() { return cEntitiesEntityMockEntityParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class EntityMockEntityElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockEntity"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cMockingKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cForEntityKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cEntityRefAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final CrossReference cEntityRefLEntityCrossReference_3_0 = (CrossReference)cEntityRefAssignment_3.eContents().get(0); |
| private final RuleCall cEntityRefLEntityIDTerminalRuleCall_3_0_1 = (RuleCall)cEntityRefLEntityCrossReference_3_0.eContents().get(1); |
| private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); |
| private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0); |
| private final Keyword cRowsKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); |
| private final Assignment cMinRowsAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); |
| private final RuleCall cMinRowsINTTerminalRuleCall_4_0_1_0 = (RuleCall)cMinRowsAssignment_4_0_1.eContents().get(0); |
| private final Keyword cToKeyword_4_0_2 = (Keyword)cGroup_4_0.eContents().get(2); |
| private final Assignment cMaxRowsAssignment_4_0_3 = (Assignment)cGroup_4_0.eContents().get(3); |
| private final RuleCall cMaxRowsINTTerminalRuleCall_4_0_3_0 = (RuleCall)cMaxRowsAssignment_4_0_3.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_4_0_4 = (Keyword)cGroup_4_0.eContents().get(4); |
| private final Assignment cTemporariesAssignment_4_0_5 = (Assignment)cGroup_4_0.eContents().get(5); |
| private final RuleCall cTemporariesEntityMockTemporaryParserRuleCall_4_0_5_0 = (RuleCall)cTemporariesAssignment_4_0_5.eContents().get(0); |
| private final Assignment cAttributesAssignment_4_0_6 = (Assignment)cGroup_4_0.eContents().get(6); |
| private final RuleCall cAttributesIEntityMockAttributeParserRuleCall_4_0_6_0 = (RuleCall)cAttributesAssignment_4_0_6.eContents().get(0); |
| private final Assignment cCalculationsAssignment_4_0_7 = (Assignment)cGroup_4_0.eContents().get(7); |
| private final RuleCall cCalculationsEntityMockEntityFunctionParserRuleCall_4_0_7_0 = (RuleCall)cCalculationsAssignment_4_0_7.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4_0_8 = (Keyword)cGroup_4_0.eContents().get(8); |
| private final Group cGroup_4_1 = (Group)cAlternatives_4.eContents().get(1); |
| private final Keyword cByResourceKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); |
| private final Assignment cByResourceAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); |
| private final CrossReference cByResourceEntityMockResourceCrossReference_4_1_1_0 = (CrossReference)cByResourceAssignment_4_1_1.eContents().get(0); |
| private final RuleCall cByResourceEntityMockResourceIDTerminalRuleCall_4_1_1_0_1 = (RuleCall)cByResourceEntityMockResourceCrossReference_4_1_1_0.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_4_1_2 = (Keyword)cGroup_4_1.eContents().get(2); |
| private final Assignment cByResourceAttributesAssignment_4_1_3 = (Assignment)cGroup_4_1.eContents().get(3); |
| private final RuleCall cByResourceAttributesEntityMockByResourceAttributeParserRuleCall_4_1_3_0 = (RuleCall)cByResourceAttributesAssignment_4_1_3.eContents().get(0); |
| private final Assignment cCreateBlobMappingAssignment_4_1_4 = (Assignment)cGroup_4_1.eContents().get(4); |
| private final Keyword cCreateBlobMappingCreateBlobMappingKeyword_4_1_4_0 = (Keyword)cCreateBlobMappingAssignment_4_1_4.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4_1_5 = (Keyword)cGroup_4_1.eContents().get(5); |
| private final Group cGroup_4_2 = (Group)cAlternatives_4.eContents().get(2); |
| private final Keyword cIterateKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0); |
| private final Assignment cIteratorAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1); |
| private final CrossReference cIteratorLEntityAttributeCrossReference_4_2_1_0 = (CrossReference)cIteratorAssignment_4_2_1.eContents().get(0); |
| private final RuleCall cIteratorLEntityAttributeIDTerminalRuleCall_4_2_1_0_1 = (RuleCall)cIteratorLEntityAttributeCrossReference_4_2_1_0.eContents().get(1); |
| private final Keyword cWithKeyword_4_2_2 = (Keyword)cGroup_4_2.eContents().get(2); |
| private final Assignment cIterateAssignment_4_2_3 = (Assignment)cGroup_4_2.eContents().get(3); |
| private final RuleCall cIterateIIterateParserRuleCall_4_2_3_0 = (RuleCall)cIterateAssignment_4_2_3.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_4_2_4 = (Keyword)cGroup_4_2.eContents().get(4); |
| private final Assignment cTemporariesAssignment_4_2_5 = (Assignment)cGroup_4_2.eContents().get(5); |
| private final RuleCall cTemporariesEntityMockTemporaryParserRuleCall_4_2_5_0 = (RuleCall)cTemporariesAssignment_4_2_5.eContents().get(0); |
| private final Assignment cAttributesAssignment_4_2_6 = (Assignment)cGroup_4_2.eContents().get(6); |
| private final RuleCall cAttributesIEntityMockAttributeParserRuleCall_4_2_6_0 = (RuleCall)cAttributesAssignment_4_2_6.eContents().get(0); |
| private final Assignment cCalculationsAssignment_4_2_7 = (Assignment)cGroup_4_2.eContents().get(7); |
| private final RuleCall cCalculationsEntityMockEntityFunctionParserRuleCall_4_2_7_0 = (RuleCall)cCalculationsAssignment_4_2_7.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4_2_8 = (Keyword)cGroup_4_2.eContents().get(8); |
| |
| //EntityMockEntity: |
| // "mocking" name=QualifiedName "for entity" entityRef=[entity::LEntity] ("rows" minRows=INT "to" maxRows=INT "{" |
| // temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}" | |
| // "by resource" byResource=[EntityMockResource] "{" byResourceAttributes+=EntityMockByResourceAttribute* |
| // createBlobMapping?="createBlobMapping"? "}" | "iterate" iterator=[entity::LEntityAttribute] "with" iterate=IIterate |
| // "{" temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}"); |
| public ParserRule getRule() { return rule; } |
| |
| //"mocking" name=QualifiedName "for entity" entityRef=[entity::LEntity] ("rows" minRows=INT "to" maxRows=INT "{" |
| //temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}" | |
| //"by resource" byResource=[EntityMockResource] "{" byResourceAttributes+=EntityMockByResourceAttribute* |
| //createBlobMapping?="createBlobMapping"? "}" | "iterate" iterator=[entity::LEntityAttribute] "with" iterate=IIterate |
| //"{" temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}") |
| public Group getGroup() { return cGroup; } |
| |
| //"mocking" |
| public Keyword getMockingKeyword_0() { return cMockingKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"for entity" |
| public Keyword getForEntityKeyword_2() { return cForEntityKeyword_2; } |
| |
| //entityRef=[entity::LEntity] |
| public Assignment getEntityRefAssignment_3() { return cEntityRefAssignment_3; } |
| |
| //[entity::LEntity] |
| public CrossReference getEntityRefLEntityCrossReference_3_0() { return cEntityRefLEntityCrossReference_3_0; } |
| |
| //ID |
| public RuleCall getEntityRefLEntityIDTerminalRuleCall_3_0_1() { return cEntityRefLEntityIDTerminalRuleCall_3_0_1; } |
| |
| //"rows" minRows=INT "to" maxRows=INT "{" temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* |
| //calculations+=EntityMockEntityFunction* "}" | "by resource" byResource=[EntityMockResource] "{" |
| //byResourceAttributes+=EntityMockByResourceAttribute* createBlobMapping?="createBlobMapping"? "}" | "iterate" |
| //iterator=[entity::LEntityAttribute] "with" iterate=IIterate "{" temporaries+=EntityMockTemporary* |
| //attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}" |
| public Alternatives getAlternatives_4() { return cAlternatives_4; } |
| |
| //"rows" minRows=INT "to" maxRows=INT "{" temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* |
| //calculations+=EntityMockEntityFunction* "}" |
| public Group getGroup_4_0() { return cGroup_4_0; } |
| |
| //"rows" |
| public Keyword getRowsKeyword_4_0_0() { return cRowsKeyword_4_0_0; } |
| |
| //minRows=INT |
| public Assignment getMinRowsAssignment_4_0_1() { return cMinRowsAssignment_4_0_1; } |
| |
| //INT |
| public RuleCall getMinRowsINTTerminalRuleCall_4_0_1_0() { return cMinRowsINTTerminalRuleCall_4_0_1_0; } |
| |
| //"to" |
| public Keyword getToKeyword_4_0_2() { return cToKeyword_4_0_2; } |
| |
| //maxRows=INT |
| public Assignment getMaxRowsAssignment_4_0_3() { return cMaxRowsAssignment_4_0_3; } |
| |
| //INT |
| public RuleCall getMaxRowsINTTerminalRuleCall_4_0_3_0() { return cMaxRowsINTTerminalRuleCall_4_0_3_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_4_0_4() { return cLeftCurlyBracketKeyword_4_0_4; } |
| |
| //temporaries+=EntityMockTemporary* |
| public Assignment getTemporariesAssignment_4_0_5() { return cTemporariesAssignment_4_0_5; } |
| |
| //EntityMockTemporary |
| public RuleCall getTemporariesEntityMockTemporaryParserRuleCall_4_0_5_0() { return cTemporariesEntityMockTemporaryParserRuleCall_4_0_5_0; } |
| |
| //attributes+=IEntityMockAttribute* |
| public Assignment getAttributesAssignment_4_0_6() { return cAttributesAssignment_4_0_6; } |
| |
| //IEntityMockAttribute |
| public RuleCall getAttributesIEntityMockAttributeParserRuleCall_4_0_6_0() { return cAttributesIEntityMockAttributeParserRuleCall_4_0_6_0; } |
| |
| //calculations+=EntityMockEntityFunction* |
| public Assignment getCalculationsAssignment_4_0_7() { return cCalculationsAssignment_4_0_7; } |
| |
| //EntityMockEntityFunction |
| public RuleCall getCalculationsEntityMockEntityFunctionParserRuleCall_4_0_7_0() { return cCalculationsEntityMockEntityFunctionParserRuleCall_4_0_7_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4_0_8() { return cRightCurlyBracketKeyword_4_0_8; } |
| |
| //"by resource" byResource=[EntityMockResource] "{" byResourceAttributes+=EntityMockByResourceAttribute* |
| //createBlobMapping?="createBlobMapping"? "}" |
| public Group getGroup_4_1() { return cGroup_4_1; } |
| |
| //"by resource" |
| public Keyword getByResourceKeyword_4_1_0() { return cByResourceKeyword_4_1_0; } |
| |
| //byResource=[EntityMockResource] |
| public Assignment getByResourceAssignment_4_1_1() { return cByResourceAssignment_4_1_1; } |
| |
| //[EntityMockResource] |
| public CrossReference getByResourceEntityMockResourceCrossReference_4_1_1_0() { return cByResourceEntityMockResourceCrossReference_4_1_1_0; } |
| |
| //ID |
| public RuleCall getByResourceEntityMockResourceIDTerminalRuleCall_4_1_1_0_1() { return cByResourceEntityMockResourceIDTerminalRuleCall_4_1_1_0_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_4_1_2() { return cLeftCurlyBracketKeyword_4_1_2; } |
| |
| //byResourceAttributes+=EntityMockByResourceAttribute* |
| public Assignment getByResourceAttributesAssignment_4_1_3() { return cByResourceAttributesAssignment_4_1_3; } |
| |
| //EntityMockByResourceAttribute |
| public RuleCall getByResourceAttributesEntityMockByResourceAttributeParserRuleCall_4_1_3_0() { return cByResourceAttributesEntityMockByResourceAttributeParserRuleCall_4_1_3_0; } |
| |
| //createBlobMapping?="createBlobMapping"? |
| public Assignment getCreateBlobMappingAssignment_4_1_4() { return cCreateBlobMappingAssignment_4_1_4; } |
| |
| //"createBlobMapping" |
| public Keyword getCreateBlobMappingCreateBlobMappingKeyword_4_1_4_0() { return cCreateBlobMappingCreateBlobMappingKeyword_4_1_4_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4_1_5() { return cRightCurlyBracketKeyword_4_1_5; } |
| |
| //"iterate" iterator=[entity::LEntityAttribute] "with" iterate=IIterate "{" temporaries+=EntityMockTemporary* |
| //attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}" |
| public Group getGroup_4_2() { return cGroup_4_2; } |
| |
| //"iterate" |
| public Keyword getIterateKeyword_4_2_0() { return cIterateKeyword_4_2_0; } |
| |
| //iterator=[entity::LEntityAttribute] |
| public Assignment getIteratorAssignment_4_2_1() { return cIteratorAssignment_4_2_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getIteratorLEntityAttributeCrossReference_4_2_1_0() { return cIteratorLEntityAttributeCrossReference_4_2_1_0; } |
| |
| //ID |
| public RuleCall getIteratorLEntityAttributeIDTerminalRuleCall_4_2_1_0_1() { return cIteratorLEntityAttributeIDTerminalRuleCall_4_2_1_0_1; } |
| |
| //"with" |
| public Keyword getWithKeyword_4_2_2() { return cWithKeyword_4_2_2; } |
| |
| //iterate=IIterate |
| public Assignment getIterateAssignment_4_2_3() { return cIterateAssignment_4_2_3; } |
| |
| //IIterate |
| public RuleCall getIterateIIterateParserRuleCall_4_2_3_0() { return cIterateIIterateParserRuleCall_4_2_3_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_4_2_4() { return cLeftCurlyBracketKeyword_4_2_4; } |
| |
| //temporaries+=EntityMockTemporary* |
| public Assignment getTemporariesAssignment_4_2_5() { return cTemporariesAssignment_4_2_5; } |
| |
| //EntityMockTemporary |
| public RuleCall getTemporariesEntityMockTemporaryParserRuleCall_4_2_5_0() { return cTemporariesEntityMockTemporaryParserRuleCall_4_2_5_0; } |
| |
| //attributes+=IEntityMockAttribute* |
| public Assignment getAttributesAssignment_4_2_6() { return cAttributesAssignment_4_2_6; } |
| |
| //IEntityMockAttribute |
| public RuleCall getAttributesIEntityMockAttributeParserRuleCall_4_2_6_0() { return cAttributesIEntityMockAttributeParserRuleCall_4_2_6_0; } |
| |
| //calculations+=EntityMockEntityFunction* |
| public Assignment getCalculationsAssignment_4_2_7() { return cCalculationsAssignment_4_2_7; } |
| |
| //EntityMockEntityFunction |
| public RuleCall getCalculationsEntityMockEntityFunctionParserRuleCall_4_2_7_0() { return cCalculationsEntityMockEntityFunctionParserRuleCall_4_2_7_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4_2_8() { return cRightCurlyBracketKeyword_4_2_8; } |
| } |
| |
| public class IIterateElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IIterate"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cIntegerIterateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cDateIterateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| |
| //IIterate: |
| // IntegerIterate | DateIterate; |
| public ParserRule getRule() { return rule; } |
| |
| //IntegerIterate | DateIterate |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //IntegerIterate |
| public RuleCall getIntegerIterateParserRuleCall_0() { return cIntegerIterateParserRuleCall_0; } |
| |
| //DateIterate |
| public RuleCall getDateIterateParserRuleCall_1() { return cDateIterateParserRuleCall_1; } |
| } |
| |
| public class IntegerIterateElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerIterate"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cIntegerFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cFromAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cFromSINTParserRuleCall_1_0 = (RuleCall)cFromAssignment_1.eContents().get(0); |
| private final Keyword cUntilKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cUntilAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cUntilSINTParserRuleCall_3_0 = (RuleCall)cUntilAssignment_3.eContents().get(0); |
| private final Keyword cStepKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Assignment cStepAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final RuleCall cStepINTTerminalRuleCall_5_0 = (RuleCall)cStepAssignment_5.eContents().get(0); |
| |
| //IntegerIterate: |
| // "integer from" from=SINT "until" until=SINT "step" step=INT; |
| public ParserRule getRule() { return rule; } |
| |
| //"integer from" from=SINT "until" until=SINT "step" step=INT |
| public Group getGroup() { return cGroup; } |
| |
| //"integer from" |
| public Keyword getIntegerFromKeyword_0() { return cIntegerFromKeyword_0; } |
| |
| //from=SINT |
| public Assignment getFromAssignment_1() { return cFromAssignment_1; } |
| |
| //SINT |
| public RuleCall getFromSINTParserRuleCall_1_0() { return cFromSINTParserRuleCall_1_0; } |
| |
| //"until" |
| public Keyword getUntilKeyword_2() { return cUntilKeyword_2; } |
| |
| //until=SINT |
| public Assignment getUntilAssignment_3() { return cUntilAssignment_3; } |
| |
| //SINT |
| public RuleCall getUntilSINTParserRuleCall_3_0() { return cUntilSINTParserRuleCall_3_0; } |
| |
| //"step" |
| public Keyword getStepKeyword_4() { return cStepKeyword_4; } |
| |
| //step=INT |
| public Assignment getStepAssignment_5() { return cStepAssignment_5; } |
| |
| //INT |
| public RuleCall getStepINTTerminalRuleCall_5_0() { return cStepINTTerminalRuleCall_5_0; } |
| } |
| |
| public class DateIterateElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DateIterate"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cDateFromKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cFromAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cFromDateParserRuleCall_1_0 = (RuleCall)cFromAssignment_1.eContents().get(0); |
| private final Keyword cUntilKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cUntilAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cUntilDateParserRuleCall_3_0 = (RuleCall)cUntilAssignment_3.eContents().get(0); |
| private final Keyword cEveryKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| private final Assignment cStepCountAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final RuleCall cStepCountINTTerminalRuleCall_5_0 = (RuleCall)cStepCountAssignment_5.eContents().get(0); |
| private final Assignment cStepTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cStepTypeEDateStepTypeEnumRuleCall_6_0 = (RuleCall)cStepTypeAssignment_6.eContents().get(0); |
| |
| //DateIterate: |
| // "date from" from=Date "until" until=Date "every" stepCount=INT stepType=EDateStepType; |
| public ParserRule getRule() { return rule; } |
| |
| //"date from" from=Date "until" until=Date "every" stepCount=INT stepType=EDateStepType |
| public Group getGroup() { return cGroup; } |
| |
| //"date from" |
| public Keyword getDateFromKeyword_0() { return cDateFromKeyword_0; } |
| |
| //from=Date |
| public Assignment getFromAssignment_1() { return cFromAssignment_1; } |
| |
| //Date |
| public RuleCall getFromDateParserRuleCall_1_0() { return cFromDateParserRuleCall_1_0; } |
| |
| //"until" |
| public Keyword getUntilKeyword_2() { return cUntilKeyword_2; } |
| |
| //until=Date |
| public Assignment getUntilAssignment_3() { return cUntilAssignment_3; } |
| |
| //Date |
| public RuleCall getUntilDateParserRuleCall_3_0() { return cUntilDateParserRuleCall_3_0; } |
| |
| //"every" |
| public Keyword getEveryKeyword_4() { return cEveryKeyword_4; } |
| |
| //stepCount=INT |
| public Assignment getStepCountAssignment_5() { return cStepCountAssignment_5; } |
| |
| //INT |
| public RuleCall getStepCountINTTerminalRuleCall_5_0() { return cStepCountINTTerminalRuleCall_5_0; } |
| |
| //stepType=EDateStepType |
| public Assignment getStepTypeAssignment_6() { return cStepTypeAssignment_6; } |
| |
| //EDateStepType |
| public RuleCall getStepTypeEDateStepTypeEnumRuleCall_6_0() { return cStepTypeEDateStepTypeEnumRuleCall_6_0; } |
| } |
| |
| public class DateElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Date"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final Assignment cYesterdayAssignment_0 = (Assignment)cAlternatives.eContents().get(0); |
| private final Keyword cYesterdayYesterdayKeyword_0_0 = (Keyword)cYesterdayAssignment_0.eContents().get(0); |
| private final Assignment cTodayAssignment_1 = (Assignment)cAlternatives.eContents().get(1); |
| private final Keyword cTodayTodayKeyword_1_0 = (Keyword)cTodayAssignment_1.eContents().get(0); |
| private final Assignment cTomorrowAssignment_2 = (Assignment)cAlternatives.eContents().get(2); |
| private final Keyword cTomorrowTomorrowKeyword_2_0 = (Keyword)cTomorrowAssignment_2.eContents().get(0); |
| private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3); |
| private final Assignment cYearAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); |
| private final RuleCall cYearINTTerminalRuleCall_3_0_0 = (RuleCall)cYearAssignment_3_0.eContents().get(0); |
| private final Keyword cHyphenMinusKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); |
| private final Assignment cMonthAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); |
| private final RuleCall cMonthINTTerminalRuleCall_3_2_0 = (RuleCall)cMonthAssignment_3_2.eContents().get(0); |
| private final Keyword cHyphenMinusKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); |
| private final Assignment cDayAssignment_3_4 = (Assignment)cGroup_3.eContents().get(4); |
| private final RuleCall cDayINTTerminalRuleCall_3_4_0 = (RuleCall)cDayAssignment_3_4.eContents().get(0); |
| |
| //Date: |
| // yesterday?="yesterday" | today?="today" | tomorrow?="tomorrow" | year=INT "-" month=INT "-" day=INT; |
| public ParserRule getRule() { return rule; } |
| |
| //yesterday?="yesterday" | today?="today" | tomorrow?="tomorrow" | year=INT "-" month=INT "-" day=INT |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //yesterday?="yesterday" |
| public Assignment getYesterdayAssignment_0() { return cYesterdayAssignment_0; } |
| |
| //"yesterday" |
| public Keyword getYesterdayYesterdayKeyword_0_0() { return cYesterdayYesterdayKeyword_0_0; } |
| |
| //today?="today" |
| public Assignment getTodayAssignment_1() { return cTodayAssignment_1; } |
| |
| //"today" |
| public Keyword getTodayTodayKeyword_1_0() { return cTodayTodayKeyword_1_0; } |
| |
| //tomorrow?="tomorrow" |
| public Assignment getTomorrowAssignment_2() { return cTomorrowAssignment_2; } |
| |
| //"tomorrow" |
| public Keyword getTomorrowTomorrowKeyword_2_0() { return cTomorrowTomorrowKeyword_2_0; } |
| |
| //year=INT "-" month=INT "-" day=INT |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //year=INT |
| public Assignment getYearAssignment_3_0() { return cYearAssignment_3_0; } |
| |
| //INT |
| public RuleCall getYearINTTerminalRuleCall_3_0_0() { return cYearINTTerminalRuleCall_3_0_0; } |
| |
| //"-" |
| public Keyword getHyphenMinusKeyword_3_1() { return cHyphenMinusKeyword_3_1; } |
| |
| //month=INT |
| public Assignment getMonthAssignment_3_2() { return cMonthAssignment_3_2; } |
| |
| //INT |
| public RuleCall getMonthINTTerminalRuleCall_3_2_0() { return cMonthINTTerminalRuleCall_3_2_0; } |
| |
| //"-" |
| public Keyword getHyphenMinusKeyword_3_3() { return cHyphenMinusKeyword_3_3; } |
| |
| //day=INT |
| public Assignment getDayAssignment_3_4() { return cDayAssignment_3_4; } |
| |
| //INT |
| public RuleCall getDayINTTerminalRuleCall_3_4_0() { return cDayINTTerminalRuleCall_3_4_0; } |
| } |
| |
| public class EntityMockByResourceAttributeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockByResourceAttribute"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockByResourceAttributeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cVarKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cAttributeRefAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cAttributeRefLEntityAttributeCrossReference_2_0 = (CrossReference)cAttributeRefAssignment_2.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cAttributeRefLEntityAttributeCrossReference_2_0.eContents().get(1); |
| private final Keyword cAsKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cResourceAttributeAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final CrossReference cResourceAttributeEntityMockResourceAttributeCrossReference_4_0 = (CrossReference)cResourceAttributeAssignment_4.eContents().get(0); |
| private final RuleCall cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_0_1 = (RuleCall)cResourceAttributeEntityMockResourceAttributeCrossReference_4_0.eContents().get(1); |
| |
| //EntityMockByResourceAttribute: |
| // {EntityMockByResourceAttribute} "var" attributeRef=[entity::LEntityAttribute] "as" |
| // resourceAttribute=[EntityMockResourceAttribute]; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockByResourceAttribute} "var" attributeRef=[entity::LEntityAttribute] "as" |
| //resourceAttribute=[EntityMockResourceAttribute] |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockByResourceAttribute} |
| public Action getEntityMockByResourceAttributeAction_0() { return cEntityMockByResourceAttributeAction_0; } |
| |
| //"var" |
| public Keyword getVarKeyword_1() { return cVarKeyword_1; } |
| |
| //attributeRef=[entity::LEntityAttribute] |
| public Assignment getAttributeRefAssignment_2() { return cAttributeRefAssignment_2; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getAttributeRefLEntityAttributeCrossReference_2_0() { return cAttributeRefLEntityAttributeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityAttributeIDTerminalRuleCall_2_0_1() { return cAttributeRefLEntityAttributeIDTerminalRuleCall_2_0_1; } |
| |
| //"as" |
| public Keyword getAsKeyword_3() { return cAsKeyword_3; } |
| |
| //resourceAttribute=[EntityMockResourceAttribute] |
| public Assignment getResourceAttributeAssignment_4() { return cResourceAttributeAssignment_4; } |
| |
| //[EntityMockResourceAttribute] |
| public CrossReference getResourceAttributeEntityMockResourceAttributeCrossReference_4_0() { return cResourceAttributeEntityMockResourceAttributeCrossReference_4_0; } |
| |
| //ID |
| public RuleCall getResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_0_1() { return cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_4_0_1; } |
| } |
| |
| public class EntityMockTemporaryElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockTemporary"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cTemporaryKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); |
| private final Keyword cByObjectKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cObjectAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final CrossReference cObjectEntityMockObjectCrossReference_3_0 = (CrossReference)cObjectAssignment_3.eContents().get(0); |
| private final RuleCall cObjectEntityMockObjectIDTerminalRuleCall_3_0_1 = (RuleCall)cObjectEntityMockObjectCrossReference_3_0.eContents().get(1); |
| |
| //EntityMockTemporary: |
| // "temporary" name=QualifiedName "by object" object=[EntityMockObject]; |
| public ParserRule getRule() { return rule; } |
| |
| //"temporary" name=QualifiedName "by object" object=[EntityMockObject] |
| public Group getGroup() { return cGroup; } |
| |
| //"temporary" |
| public Keyword getTemporaryKeyword_0() { return cTemporaryKeyword_0; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_1() { return cNameAssignment_1; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } |
| |
| //"by object" |
| public Keyword getByObjectKeyword_2() { return cByObjectKeyword_2; } |
| |
| //object=[EntityMockObject] |
| public Assignment getObjectAssignment_3() { return cObjectAssignment_3; } |
| |
| //[EntityMockObject] |
| public CrossReference getObjectEntityMockObjectCrossReference_3_0() { return cObjectEntityMockObjectCrossReference_3_0; } |
| |
| //ID |
| public RuleCall getObjectEntityMockObjectIDTerminalRuleCall_3_0_1() { return cObjectEntityMockObjectIDTerminalRuleCall_3_0_1; } |
| } |
| |
| public class IEntityMockEntityUsableElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IEntityMockEntityUsable"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cIEntityMockAttributeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cEntityMockEntityFunctionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| |
| //IEntityMockEntityUsable: |
| // IEntityMockAttribute | EntityMockEntityFunction; |
| public ParserRule getRule() { return rule; } |
| |
| //IEntityMockAttribute | EntityMockEntityFunction |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //IEntityMockAttribute |
| public RuleCall getIEntityMockAttributeParserRuleCall_0() { return cIEntityMockAttributeParserRuleCall_0; } |
| |
| //EntityMockEntityFunction |
| public RuleCall getEntityMockEntityFunctionParserRuleCall_1() { return cEntityMockEntityFunctionParserRuleCall_1; } |
| } |
| |
| public class IEntityMockAttributeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IEntityMockAttribute"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cEntityMockAttributeByObjectParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cEntityMockAttributeFillerParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cEntityMockAttributeByReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| |
| //IEntityMockAttribute: |
| // EntityMockAttributeByObject | EntityMockAttributeFiller | EntityMockAttributeByReference; |
| public ParserRule getRule() { return rule; } |
| |
| //EntityMockAttributeByObject | EntityMockAttributeFiller | EntityMockAttributeByReference |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //EntityMockAttributeByObject |
| public RuleCall getEntityMockAttributeByObjectParserRuleCall_0() { return cEntityMockAttributeByObjectParserRuleCall_0; } |
| |
| //EntityMockAttributeFiller |
| public RuleCall getEntityMockAttributeFillerParserRuleCall_1() { return cEntityMockAttributeFillerParserRuleCall_1; } |
| |
| //EntityMockAttributeByReference |
| public RuleCall getEntityMockAttributeByReferenceParserRuleCall_2() { return cEntityMockAttributeByReferenceParserRuleCall_2; } |
| } |
| |
| public class EntityMockEntityFunctionElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockEntityFunction"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cAttributeRefAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cAttributeRefLEntityAttributeCrossReference_1_0 = (CrossReference)cAttributeRefAssignment_1.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeRefLEntityAttributeCrossReference_1_0.eContents().get(1); |
| private final Keyword cCalculateBasedOnKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Keyword cLeftParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
| private final Assignment cParamsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); |
| private final RuleCall cParamsEntityMockEntityFunctionParameterParserRuleCall_4_0_0 = (RuleCall)cParamsAssignment_4_0.eContents().get(0); |
| private final Group cGroup_4_1 = (Group)cGroup_4.eContents().get(1); |
| private final Keyword cCommaKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); |
| private final Assignment cParamsAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); |
| private final RuleCall cParamsEntityMockEntityFunctionParameterParserRuleCall_4_1_1_0 = (RuleCall)cParamsAssignment_4_1_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); |
| private final Assignment cBodyAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cBodyXBlockExpressionParserRuleCall_6_0 = (RuleCall)cBodyAssignment_6.eContents().get(0); |
| |
| //EntityMockEntityFunction: |
| // "var" attributeRef=[entity::LEntityAttribute] "calculate based on" "(" (params+=EntityMockEntityFunctionParameter |
| // ("," params+=EntityMockEntityFunctionParameter)*)? ")" body=XBlockExpression; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" attributeRef=[entity::LEntityAttribute] "calculate based on" "(" (params+=EntityMockEntityFunctionParameter ("," |
| //params+=EntityMockEntityFunctionParameter)*)? ")" body=XBlockExpression |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //attributeRef=[entity::LEntityAttribute] |
| public Assignment getAttributeRefAssignment_1() { return cAttributeRefAssignment_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getAttributeRefLEntityAttributeCrossReference_1_0() { return cAttributeRefLEntityAttributeCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1() { return cAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1; } |
| |
| //"calculate based on" |
| public Keyword getCalculateBasedOnKeyword_2() { return cCalculateBasedOnKeyword_2; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_3() { return cLeftParenthesisKeyword_3; } |
| |
| //(params+=EntityMockEntityFunctionParameter ("," params+=EntityMockEntityFunctionParameter)*)? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //params+=EntityMockEntityFunctionParameter |
| public Assignment getParamsAssignment_4_0() { return cParamsAssignment_4_0; } |
| |
| //EntityMockEntityFunctionParameter |
| public RuleCall getParamsEntityMockEntityFunctionParameterParserRuleCall_4_0_0() { return cParamsEntityMockEntityFunctionParameterParserRuleCall_4_0_0; } |
| |
| //("," params+=EntityMockEntityFunctionParameter)* |
| public Group getGroup_4_1() { return cGroup_4_1; } |
| |
| //"," |
| public Keyword getCommaKeyword_4_1_0() { return cCommaKeyword_4_1_0; } |
| |
| //params+=EntityMockEntityFunctionParameter |
| public Assignment getParamsAssignment_4_1_1() { return cParamsAssignment_4_1_1; } |
| |
| //EntityMockEntityFunctionParameter |
| public RuleCall getParamsEntityMockEntityFunctionParameterParserRuleCall_4_1_1_0() { return cParamsEntityMockEntityFunctionParameterParserRuleCall_4_1_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; } |
| |
| //body=XBlockExpression |
| public Assignment getBodyAssignment_6() { return cBodyAssignment_6; } |
| |
| //XBlockExpression |
| public RuleCall getBodyXBlockExpressionParserRuleCall_6_0() { return cBodyXBlockExpressionParserRuleCall_6_0; } |
| } |
| |
| public class EntityMockEntityFunctionParameterElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockEntityFunctionParameter"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final Assignment cAttributeRefAssignment_0 = (Assignment)cAlternatives.eContents().get(0); |
| private final CrossReference cAttributeRefLEntityAttributeCrossReference_0_0 = (CrossReference)cAttributeRefAssignment_0.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityAttributeIDTerminalRuleCall_0_0_1 = (RuleCall)cAttributeRefLEntityAttributeCrossReference_0_0.eContents().get(1); |
| private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); |
| private final Assignment cReferencePathsAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); |
| private final CrossReference cReferencePathsLEntityReferenceCrossReference_1_0_0 = (CrossReference)cReferencePathsAssignment_1_0.eContents().get(0); |
| private final RuleCall cReferencePathsLEntityReferenceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cReferencePathsLEntityReferenceCrossReference_1_0_0.eContents().get(1); |
| private final Group cGroup_1_1 = (Group)cGroup_1.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); |
| private final Assignment cReferencePathsAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); |
| private final CrossReference cReferencePathsLEntityReferenceCrossReference_1_1_1_0 = (CrossReference)cReferencePathsAssignment_1_1_1.eContents().get(0); |
| private final RuleCall cReferencePathsLEntityReferenceIDTerminalRuleCall_1_1_1_0_1 = (RuleCall)cReferencePathsLEntityReferenceCrossReference_1_1_1_0.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); |
| private final Assignment cReferenceRefAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3); |
| private final CrossReference cReferenceRefLEntityAttributeCrossReference_1_3_0 = (CrossReference)cReferenceRefAssignment_1_3.eContents().get(0); |
| private final RuleCall cReferenceRefLEntityAttributeIDTerminalRuleCall_1_3_0_1 = (RuleCall)cReferenceRefLEntityAttributeCrossReference_1_3_0.eContents().get(1); |
| |
| //EntityMockEntityFunctionParameter: |
| // attributeRef=[entity::LEntityAttribute] | referencePaths+=[entity::LEntityReference] ("."? |
| // referencePaths+=[entity::LEntityReference])* "." referenceRef=[entity::LEntityAttribute]; |
| public ParserRule getRule() { return rule; } |
| |
| //attributeRef=[entity::LEntityAttribute] | referencePaths+=[entity::LEntityReference] ("."? |
| //referencePaths+=[entity::LEntityReference])* "." referenceRef=[entity::LEntityAttribute] |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //attributeRef=[entity::LEntityAttribute] |
| public Assignment getAttributeRefAssignment_0() { return cAttributeRefAssignment_0; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getAttributeRefLEntityAttributeCrossReference_0_0() { return cAttributeRefLEntityAttributeCrossReference_0_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityAttributeIDTerminalRuleCall_0_0_1() { return cAttributeRefLEntityAttributeIDTerminalRuleCall_0_0_1; } |
| |
| //referencePaths+=[entity::LEntityReference] ("."? referencePaths+=[entity::LEntityReference])* "." |
| //referenceRef=[entity::LEntityAttribute] |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //referencePaths+=[entity::LEntityReference] |
| public Assignment getReferencePathsAssignment_1_0() { return cReferencePathsAssignment_1_0; } |
| |
| //[entity::LEntityReference] |
| public CrossReference getReferencePathsLEntityReferenceCrossReference_1_0_0() { return cReferencePathsLEntityReferenceCrossReference_1_0_0; } |
| |
| //ID |
| public RuleCall getReferencePathsLEntityReferenceIDTerminalRuleCall_1_0_0_1() { return cReferencePathsLEntityReferenceIDTerminalRuleCall_1_0_0_1; } |
| |
| //("."? referencePaths+=[entity::LEntityReference])* |
| public Group getGroup_1_1() { return cGroup_1_1; } |
| |
| //"."? |
| public Keyword getFullStopKeyword_1_1_0() { return cFullStopKeyword_1_1_0; } |
| |
| //referencePaths+=[entity::LEntityReference] |
| public Assignment getReferencePathsAssignment_1_1_1() { return cReferencePathsAssignment_1_1_1; } |
| |
| //[entity::LEntityReference] |
| public CrossReference getReferencePathsLEntityReferenceCrossReference_1_1_1_0() { return cReferencePathsLEntityReferenceCrossReference_1_1_1_0; } |
| |
| //ID |
| public RuleCall getReferencePathsLEntityReferenceIDTerminalRuleCall_1_1_1_0_1() { return cReferencePathsLEntityReferenceIDTerminalRuleCall_1_1_1_0_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_2() { return cFullStopKeyword_1_2; } |
| |
| //referenceRef=[entity::LEntityAttribute] |
| public Assignment getReferenceRefAssignment_1_3() { return cReferenceRefAssignment_1_3; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getReferenceRefLEntityAttributeCrossReference_1_3_0() { return cReferenceRefLEntityAttributeCrossReference_1_3_0; } |
| |
| //ID |
| public RuleCall getReferenceRefLEntityAttributeIDTerminalRuleCall_1_3_0_1() { return cReferenceRefLEntityAttributeIDTerminalRuleCall_1_3_0_1; } |
| } |
| |
| public class EntityMockReferencedObjectAttributeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockReferencedObjectAttribute"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cEntityMockReferencedObjectAttributeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Assignment cTemporaryAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cTemporaryEntityMockTemporaryCrossReference_1_0 = (CrossReference)cTemporaryAssignment_1.eContents().get(0); |
| private final RuleCall cTemporaryEntityMockTemporaryIDTerminalRuleCall_1_0_1 = (RuleCall)cTemporaryEntityMockTemporaryCrossReference_1_0.eContents().get(1); |
| private final Group cGroup_2 = (Group)cGroup.eContents().get(2); |
| private final Keyword cFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); |
| private final Assignment cEmbeddedAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); |
| private final CrossReference cEmbeddedEntityMockObjectEmbedCrossReference_2_1_0 = (CrossReference)cEmbeddedAssignment_2_1.eContents().get(0); |
| private final RuleCall cEmbeddedEntityMockObjectEmbedIDTerminalRuleCall_2_1_0_1 = (RuleCall)cEmbeddedEntityMockObjectEmbedCrossReference_2_1_0.eContents().get(1); |
| private final Keyword cFullStopKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cAttributeAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final CrossReference cAttributeIEntityMockObjectUsableCrossReference_4_0 = (CrossReference)cAttributeAssignment_4.eContents().get(0); |
| private final RuleCall cAttributeIEntityMockObjectUsableIDTerminalRuleCall_4_0_1 = (RuleCall)cAttributeIEntityMockObjectUsableCrossReference_4_0.eContents().get(1); |
| |
| //EntityMockReferencedObjectAttribute: |
| // {EntityMockReferencedObjectAttribute} temporary=[EntityMockTemporary] ("."? embedded+=[EntityMockObjectEmbed])* "." |
| // attribute=[IEntityMockObjectUsable]; |
| public ParserRule getRule() { return rule; } |
| |
| //{EntityMockReferencedObjectAttribute} temporary=[EntityMockTemporary] ("."? embedded+=[EntityMockObjectEmbed])* "." |
| //attribute=[IEntityMockObjectUsable] |
| public Group getGroup() { return cGroup; } |
| |
| //{EntityMockReferencedObjectAttribute} |
| public Action getEntityMockReferencedObjectAttributeAction_0() { return cEntityMockReferencedObjectAttributeAction_0; } |
| |
| //temporary=[EntityMockTemporary] |
| public Assignment getTemporaryAssignment_1() { return cTemporaryAssignment_1; } |
| |
| //[EntityMockTemporary] |
| public CrossReference getTemporaryEntityMockTemporaryCrossReference_1_0() { return cTemporaryEntityMockTemporaryCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getTemporaryEntityMockTemporaryIDTerminalRuleCall_1_0_1() { return cTemporaryEntityMockTemporaryIDTerminalRuleCall_1_0_1; } |
| |
| //("."? embedded+=[EntityMockObjectEmbed])* |
| public Group getGroup_2() { return cGroup_2; } |
| |
| //"."? |
| public Keyword getFullStopKeyword_2_0() { return cFullStopKeyword_2_0; } |
| |
| //embedded+=[EntityMockObjectEmbed] |
| public Assignment getEmbeddedAssignment_2_1() { return cEmbeddedAssignment_2_1; } |
| |
| //[EntityMockObjectEmbed] |
| public CrossReference getEmbeddedEntityMockObjectEmbedCrossReference_2_1_0() { return cEmbeddedEntityMockObjectEmbedCrossReference_2_1_0; } |
| |
| //ID |
| public RuleCall getEmbeddedEntityMockObjectEmbedIDTerminalRuleCall_2_1_0_1() { return cEmbeddedEntityMockObjectEmbedIDTerminalRuleCall_2_1_0_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_3() { return cFullStopKeyword_3; } |
| |
| //attribute=[IEntityMockObjectUsable] |
| public Assignment getAttributeAssignment_4() { return cAttributeAssignment_4; } |
| |
| //[IEntityMockObjectUsable] |
| public CrossReference getAttributeIEntityMockObjectUsableCrossReference_4_0() { return cAttributeIEntityMockObjectUsableCrossReference_4_0; } |
| |
| //ID |
| public RuleCall getAttributeIEntityMockObjectUsableIDTerminalRuleCall_4_0_1() { return cAttributeIEntityMockObjectUsableIDTerminalRuleCall_4_0_1; } |
| } |
| |
| public class EntityMockAttributeByObjectElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockAttributeByObject"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); |
| private final Keyword cVarKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0); |
| private final Assignment cAttributeRefAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1); |
| private final CrossReference cAttributeRefLEntityAttributeCrossReference_0_1_0 = (CrossReference)cAttributeRefAssignment_0_1.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityAttributeIDTerminalRuleCall_0_1_0_1 = (RuleCall)cAttributeRefLEntityAttributeCrossReference_0_1_0.eContents().get(1); |
| private final Group cGroup_0_2 = (Group)cGroup_0.eContents().get(2); |
| private final Keyword cAsKeyword_0_2_0 = (Keyword)cGroup_0_2.eContents().get(0); |
| private final Assignment cReferenceAssignment_0_2_1 = (Assignment)cGroup_0_2.eContents().get(1); |
| private final RuleCall cReferenceEntityMockReferencedObjectAttributeParserRuleCall_0_2_1_0 = (RuleCall)cReferenceAssignment_0_2_1.eContents().get(0); |
| private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); |
| private final Keyword cUsingKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final Assignment cResourceEnumAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); |
| private final CrossReference cResourceEnumEntityMockObjectEnumCrossReference_1_1_0 = (CrossReference)cResourceEnumAssignment_1_1.eContents().get(0); |
| private final RuleCall cResourceEnumEntityMockObjectEnumIDTerminalRuleCall_1_1_0_1 = (RuleCall)cResourceEnumEntityMockObjectEnumCrossReference_1_1_0.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); |
| private final Assignment cResourceAttributeAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3); |
| private final CrossReference cResourceAttributeEntityMockResourceAttributeCrossReference_1_3_0 = (CrossReference)cResourceAttributeAssignment_1_3.eContents().get(0); |
| private final RuleCall cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_1_3_0_1 = (RuleCall)cResourceAttributeEntityMockResourceAttributeCrossReference_1_3_0.eContents().get(1); |
| |
| //EntityMockAttributeByObject: |
| // "var" attributeRef=[entity::LEntityAttribute] ("as" reference=EntityMockReferencedObjectAttribute) | "using" |
| // resourceEnum=[EntityMockObjectEnum] "." resourceAttribute=[EntityMockResourceAttribute]; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" attributeRef=[entity::LEntityAttribute] ("as" reference=EntityMockReferencedObjectAttribute) | "using" |
| //resourceEnum=[EntityMockObjectEnum] "." resourceAttribute=[EntityMockResourceAttribute] |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //"var" attributeRef=[entity::LEntityAttribute] ("as" reference=EntityMockReferencedObjectAttribute) |
| public Group getGroup_0() { return cGroup_0; } |
| |
| //"var" |
| public Keyword getVarKeyword_0_0() { return cVarKeyword_0_0; } |
| |
| //attributeRef=[entity::LEntityAttribute] |
| public Assignment getAttributeRefAssignment_0_1() { return cAttributeRefAssignment_0_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getAttributeRefLEntityAttributeCrossReference_0_1_0() { return cAttributeRefLEntityAttributeCrossReference_0_1_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityAttributeIDTerminalRuleCall_0_1_0_1() { return cAttributeRefLEntityAttributeIDTerminalRuleCall_0_1_0_1; } |
| |
| //"as" reference=EntityMockReferencedObjectAttribute |
| public Group getGroup_0_2() { return cGroup_0_2; } |
| |
| //"as" |
| public Keyword getAsKeyword_0_2_0() { return cAsKeyword_0_2_0; } |
| |
| //reference=EntityMockReferencedObjectAttribute |
| public Assignment getReferenceAssignment_0_2_1() { return cReferenceAssignment_0_2_1; } |
| |
| //EntityMockReferencedObjectAttribute |
| public RuleCall getReferenceEntityMockReferencedObjectAttributeParserRuleCall_0_2_1_0() { return cReferenceEntityMockReferencedObjectAttributeParserRuleCall_0_2_1_0; } |
| |
| //"using" resourceEnum=[EntityMockObjectEnum] "." resourceAttribute=[EntityMockResourceAttribute] |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //"using" |
| public Keyword getUsingKeyword_1_0() { return cUsingKeyword_1_0; } |
| |
| //resourceEnum=[EntityMockObjectEnum] |
| public Assignment getResourceEnumAssignment_1_1() { return cResourceEnumAssignment_1_1; } |
| |
| //[EntityMockObjectEnum] |
| public CrossReference getResourceEnumEntityMockObjectEnumCrossReference_1_1_0() { return cResourceEnumEntityMockObjectEnumCrossReference_1_1_0; } |
| |
| //ID |
| public RuleCall getResourceEnumEntityMockObjectEnumIDTerminalRuleCall_1_1_0_1() { return cResourceEnumEntityMockObjectEnumIDTerminalRuleCall_1_1_0_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_2() { return cFullStopKeyword_1_2; } |
| |
| //resourceAttribute=[EntityMockResourceAttribute] |
| public Assignment getResourceAttributeAssignment_1_3() { return cResourceAttributeAssignment_1_3; } |
| |
| //[EntityMockResourceAttribute] |
| public CrossReference getResourceAttributeEntityMockResourceAttributeCrossReference_1_3_0() { return cResourceAttributeEntityMockResourceAttributeCrossReference_1_3_0; } |
| |
| //ID |
| public RuleCall getResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_1_3_0_1() { return cResourceAttributeEntityMockResourceAttributeIDTerminalRuleCall_1_3_0_1; } |
| } |
| |
| public class EntityMockAttributeFillerElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockAttributeFiller"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cVarKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cAttributeRefAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cAttributeRefLEntityAttributeCrossReference_1_0 = (CrossReference)cAttributeRefAssignment_1.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeRefLEntityAttributeCrossReference_1_0.eContents().get(1); |
| private final Keyword cRandomizeKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cFillerTypeAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cFillerTypePropertyFillerTypeParserRuleCall_3_0 = (RuleCall)cFillerTypeAssignment_3.eContents().get(0); |
| |
| //EntityMockAttributeFiller: |
| // "var" attributeRef=[entity::LEntityAttribute] "randomize" fillerType=PropertyFillerType; |
| public ParserRule getRule() { return rule; } |
| |
| //"var" attributeRef=[entity::LEntityAttribute] "randomize" fillerType=PropertyFillerType |
| public Group getGroup() { return cGroup; } |
| |
| //"var" |
| public Keyword getVarKeyword_0() { return cVarKeyword_0; } |
| |
| //attributeRef=[entity::LEntityAttribute] |
| public Assignment getAttributeRefAssignment_1() { return cAttributeRefAssignment_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getAttributeRefLEntityAttributeCrossReference_1_0() { return cAttributeRefLEntityAttributeCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1() { return cAttributeRefLEntityAttributeIDTerminalRuleCall_1_0_1; } |
| |
| //"randomize" |
| public Keyword getRandomizeKeyword_2() { return cRandomizeKeyword_2; } |
| |
| //fillerType=PropertyFillerType |
| public Assignment getFillerTypeAssignment_3() { return cFillerTypeAssignment_3; } |
| |
| //PropertyFillerType |
| public RuleCall getFillerTypePropertyFillerTypeParserRuleCall_3_0() { return cFillerTypePropertyFillerTypeParserRuleCall_3_0; } |
| } |
| |
| public class EntityMockAttributeByReferenceElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityMockAttributeByReference"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cRefKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cAttributeRefAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final CrossReference cAttributeRefLEntityReferenceCrossReference_1_0 = (CrossReference)cAttributeRefAssignment_1.eContents().get(0); |
| private final RuleCall cAttributeRefLEntityReferenceIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeRefLEntityReferenceCrossReference_1_0.eContents().get(1); |
| private final Keyword cToKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); |
| private final Keyword cExistingEntitiesKeyword_3_0 = (Keyword)cAlternatives_3.eContents().get(0); |
| private final Assignment cMockedEntityAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); |
| private final CrossReference cMockedEntityEntityMockEntityCrossReference_3_1_0 = (CrossReference)cMockedEntityAssignment_3_1.eContents().get(0); |
| private final RuleCall cMockedEntityEntityMockEntityIDTerminalRuleCall_3_1_0_1 = (RuleCall)cMockedEntityEntityMockEntityCrossReference_3_1_0.eContents().get(1); |
| private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
| private final Keyword cOptionalForKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
| private final Assignment cOptionalForAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
| private final RuleCall cOptionalForINTTerminalRuleCall_4_1_0 = (RuleCall)cOptionalForAssignment_4_1.eContents().get(0); |
| private final Keyword cPercentKeyword_4_2 = (Keyword)cGroup_4.eContents().get(2); |
| |
| //EntityMockAttributeByReference: |
| // "ref" attributeRef=[entity::LEntityReference] "to" ("existing entities" | mockedEntity=[EntityMockEntity]) |
| // ("optional for" optionalFor=INT "percent")?; |
| public ParserRule getRule() { return rule; } |
| |
| //"ref" attributeRef=[entity::LEntityReference] "to" ("existing entities" | mockedEntity=[EntityMockEntity]) |
| //("optional for" optionalFor=INT "percent")? |
| public Group getGroup() { return cGroup; } |
| |
| //"ref" |
| public Keyword getRefKeyword_0() { return cRefKeyword_0; } |
| |
| //attributeRef=[entity::LEntityReference] |
| public Assignment getAttributeRefAssignment_1() { return cAttributeRefAssignment_1; } |
| |
| //[entity::LEntityReference] |
| public CrossReference getAttributeRefLEntityReferenceCrossReference_1_0() { return cAttributeRefLEntityReferenceCrossReference_1_0; } |
| |
| //ID |
| public RuleCall getAttributeRefLEntityReferenceIDTerminalRuleCall_1_0_1() { return cAttributeRefLEntityReferenceIDTerminalRuleCall_1_0_1; } |
| |
| //"to" |
| public Keyword getToKeyword_2() { return cToKeyword_2; } |
| |
| //"existing entities" | mockedEntity=[EntityMockEntity] |
| public Alternatives getAlternatives_3() { return cAlternatives_3; } |
| |
| //"existing entities" |
| public Keyword getExistingEntitiesKeyword_3_0() { return cExistingEntitiesKeyword_3_0; } |
| |
| //mockedEntity=[EntityMockEntity] |
| public Assignment getMockedEntityAssignment_3_1() { return cMockedEntityAssignment_3_1; } |
| |
| //[EntityMockEntity] |
| public CrossReference getMockedEntityEntityMockEntityCrossReference_3_1_0() { return cMockedEntityEntityMockEntityCrossReference_3_1_0; } |
| |
| //ID |
| public RuleCall getMockedEntityEntityMockEntityIDTerminalRuleCall_3_1_0_1() { return cMockedEntityEntityMockEntityIDTerminalRuleCall_3_1_0_1; } |
| |
| //("optional for" optionalFor=INT "percent")? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //"optional for" |
| public Keyword getOptionalForKeyword_4_0() { return cOptionalForKeyword_4_0; } |
| |
| //optionalFor=INT |
| public Assignment getOptionalForAssignment_4_1() { return cOptionalForAssignment_4_1; } |
| |
| //INT |
| public RuleCall getOptionalForINTTerminalRuleCall_4_1_0() { return cOptionalForINTTerminalRuleCall_4_1_0; } |
| |
| //"percent" |
| public Keyword getPercentKeyword_4_2() { return cPercentKeyword_4_2; } |
| } |
| |
| public class SignedNumberElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SignedNumber"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final RuleCall cUnsignedNumberParserRuleCall_1 = (RuleCall)cGroup.eContents().get(1); |
| |
| //SignedNumber returns ecore::EDouble: |
| // "-"? UnsignedNumber; |
| public ParserRule getRule() { return rule; } |
| |
| //"-"? UnsignedNumber |
| public Group getGroup() { return cGroup; } |
| |
| //"-"? |
| public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } |
| |
| //UnsignedNumber |
| public RuleCall getUnsignedNumberParserRuleCall_1() { return cUnsignedNumberParserRuleCall_1; } |
| } |
| |
| public class UnsignedNumberElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UnsignedNumber"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cINTTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final RuleCall cINTTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
| |
| //UnsignedNumber returns ecore::EDouble: |
| // INT ("." INT)?; |
| public ParserRule getRule() { return rule; } |
| |
| //INT ("." INT)? |
| public Group getGroup() { return cGroup; } |
| |
| //INT |
| public RuleCall getINTTerminalRuleCall_0() { return cINTTerminalRuleCall_0; } |
| |
| //("." INT)? |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //INT |
| public RuleCall getINTTerminalRuleCall_1_1() { return cINTTerminalRuleCall_1_1; } |
| } |
| |
| public class SINTElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SINT"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); |
| |
| //SINT returns ecore::EInt: |
| // "-"? INT; |
| public ParserRule getRule() { return rule; } |
| |
| //"-"? INT |
| public Group getGroup() { return cGroup; } |
| |
| //"-"? |
| public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } |
| |
| //INT |
| public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } |
| } |
| |
| public class QualifiedNameElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cValidIDParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final RuleCall cValidIDParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
| |
| //QualifiedName: |
| // ValidID ("." ValidID)*; |
| public ParserRule getRule() { return rule; } |
| |
| //ValidID ("." ValidID)* |
| public Group getGroup() { return cGroup; } |
| |
| //ValidID |
| public RuleCall getValidIDParserRuleCall_0() { return cValidIDParserRuleCall_0; } |
| |
| //(=> "." ValidID)* |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //=> "." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //ValidID |
| public RuleCall getValidIDParserRuleCall_1_1() { return cValidIDParserRuleCall_1_1; } |
| } |
| |
| public class ValidIDElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValidID"); |
| private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); |
| |
| //ValidID: |
| // ID; |
| public ParserRule getRule() { return rule; } |
| |
| //ID |
| public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } |
| } |
| |
| |
| public class EDateStepTypeElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "EDateStepType"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cDAYSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cDAYSDaysKeyword_0_0 = (Keyword)cDAYSEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cWEEKSEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cWEEKSWeeksKeyword_1_0 = (Keyword)cWEEKSEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cMONTHSEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cMONTHSMonthsKeyword_2_0 = (Keyword)cMONTHSEnumLiteralDeclaration_2.eContents().get(0); |
| private final EnumLiteralDeclaration cYEARSEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); |
| private final Keyword cYEARSYearsKeyword_3_0 = (Keyword)cYEARSEnumLiteralDeclaration_3.eContents().get(0); |
| |
| //enum EDateStepType: |
| // DAYS="days" | WEEKS="weeks" | MONTHS="months" | YEARS="years"; |
| public EnumRule getRule() { return rule; } |
| |
| //DAYS="days" | WEEKS="weeks" | MONTHS="months" | YEARS="years" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //DAYS="days" |
| public EnumLiteralDeclaration getDAYSEnumLiteralDeclaration_0() { return cDAYSEnumLiteralDeclaration_0; } |
| |
| //"days" |
| public Keyword getDAYSDaysKeyword_0_0() { return cDAYSDaysKeyword_0_0; } |
| |
| //WEEKS="weeks" |
| public EnumLiteralDeclaration getWEEKSEnumLiteralDeclaration_1() { return cWEEKSEnumLiteralDeclaration_1; } |
| |
| //"weeks" |
| public Keyword getWEEKSWeeksKeyword_1_0() { return cWEEKSWeeksKeyword_1_0; } |
| |
| //MONTHS="months" |
| public EnumLiteralDeclaration getMONTHSEnumLiteralDeclaration_2() { return cMONTHSEnumLiteralDeclaration_2; } |
| |
| //"months" |
| public Keyword getMONTHSMonthsKeyword_2_0() { return cMONTHSMonthsKeyword_2_0; } |
| |
| //YEARS="years" |
| public EnumLiteralDeclaration getYEARSEnumLiteralDeclaration_3() { return cYEARSEnumLiteralDeclaration_3; } |
| |
| //"years" |
| public Keyword getYEARSYearsKeyword_3_0() { return cYEARSYearsKeyword_3_0; } |
| } |
| |
| private final EntityMockModelElements pEntityMockModel; |
| private final EntityMockPackageElements pEntityMockPackage; |
| private final EntityModelImportElements pEntityModelImport; |
| private final EntityMockQualifiedNameWithWildCardElements pEntityMockQualifiedNameWithWildCard; |
| private final RunningDataInterchangesElements pRunningDataInterchanges; |
| private final RunningDataInterchangeElements pRunningDataInterchange; |
| private final EntityMockResourcesElements pEntityMockResources; |
| private final EntityMockResourceElements pEntityMockResource; |
| private final EntityMockResourceAttributeElements pEntityMockResourceAttribute; |
| private final EntityMockResourceDataRowElements pEntityMockResourceDataRow; |
| private final EntityMockObjectsElements pEntityMockObjects; |
| private final EntityMockObjectElements pEntityMockObject; |
| private final EntityMockObjectEnumElements pEntityMockObjectEnum; |
| private final EntityMockDataTypesElements pEntityMockDataTypes; |
| private final IEntityMockObjectUsableElements pIEntityMockObjectUsable; |
| private final IEntityMockObjectAttributeElements pIEntityMockObjectAttribute; |
| private final EntityMockObjectPlainValueElements pEntityMockObjectPlainValue; |
| private final EntityMockObjectResourceValueElements pEntityMockObjectResourceValue; |
| private final EntityMockObjectArrayValueElements pEntityMockObjectArrayValue; |
| private final EntityMockObjectItemValueElements pEntityMockObjectItemValue; |
| private final EntityMockObjectEmbedElements pEntityMockObjectEmbed; |
| private final EntityMockObjectFunctionElements pEntityMockObjectFunction; |
| private final EntityMockObjectFunctionParameterElements pEntityMockObjectFunctionParameter; |
| private final EntityMockObjectFillElements pEntityMockObjectFill; |
| private final PropertyFillerTypeElements pPropertyFillerType; |
| private final PropertyFillerDateFutureElements pPropertyFillerDateFuture; |
| private final PropertyFillerDatePastElements pPropertyFillerDatePast; |
| private final PropertyFillerBooleanElements pPropertyFillerBoolean; |
| private final PropertyFillerDateRangeElements pPropertyFillerDateRange; |
| private final PropertyFillerSignedDoubleRangeElements pPropertyFillerSignedDoubleRange; |
| private final PropertyFillerSignedDoubleRandomElements pPropertyFillerSignedDoubleRandom; |
| private final PropertyFillerSignedIntegerRangeElements pPropertyFillerSignedIntegerRange; |
| private final PropertyFillerSignedIntegerRandomElements pPropertyFillerSignedIntegerRandom; |
| private final PropertyFillerTextRandomElements pPropertyFillerTextRandom; |
| private final PropertyFillerTextParagraphsElements pPropertyFillerTextParagraphs; |
| private final PropertyFillerTextSentencesElements pPropertyFillerTextSentences; |
| private final PropertyFillerTextWordsElements pPropertyFillerTextWords; |
| private final PropertyFillerUnsignedDoubleRangeElements pPropertyFillerUnsignedDoubleRange; |
| private final PropertyFillerUnsignedDoubleRandomElements pPropertyFillerUnsignedDoubleRandom; |
| private final PropertyFillerUnsignedIntegerRangeElements pPropertyFillerUnsignedIntegerRange; |
| private final PropertyFillerUnsignedIntegerRandomElements pPropertyFillerUnsignedIntegerRandom; |
| private final EntityMockDataTypeElements pEntityMockDataType; |
| private final EntityMockEntitiesElements pEntityMockEntities; |
| private final EntityMockEntityElements pEntityMockEntity; |
| private final IIterateElements pIIterate; |
| private final IntegerIterateElements pIntegerIterate; |
| private final DateIterateElements pDateIterate; |
| private final DateElements pDate; |
| private final EDateStepTypeElements unknownRuleEDateStepType; |
| private final EntityMockByResourceAttributeElements pEntityMockByResourceAttribute; |
| private final EntityMockTemporaryElements pEntityMockTemporary; |
| private final IEntityMockEntityUsableElements pIEntityMockEntityUsable; |
| private final IEntityMockAttributeElements pIEntityMockAttribute; |
| private final EntityMockEntityFunctionElements pEntityMockEntityFunction; |
| private final EntityMockEntityFunctionParameterElements pEntityMockEntityFunctionParameter; |
| private final EntityMockReferencedObjectAttributeElements pEntityMockReferencedObjectAttribute; |
| private final EntityMockAttributeByObjectElements pEntityMockAttributeByObject; |
| private final EntityMockAttributeFillerElements pEntityMockAttributeFiller; |
| private final EntityMockAttributeByReferenceElements pEntityMockAttributeByReference; |
| private final SignedNumberElements pSignedNumber; |
| private final UnsignedNumberElements pUnsignedNumber; |
| private final SINTElements pSINT; |
| private final QualifiedNameElements pQualifiedName; |
| private final ValidIDElements pValidID; |
| private final TerminalRule tID; |
| |
| private final Grammar grammar; |
| |
| private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations; |
| |
| @Inject |
| public EntityMockDSLGrammarAccess(GrammarProvider grammarProvider, |
| XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { |
| this.grammar = internalFindGrammar(grammarProvider); |
| this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; |
| this.pEntityMockModel = new EntityMockModelElements(); |
| this.pEntityMockPackage = new EntityMockPackageElements(); |
| this.pEntityModelImport = new EntityModelImportElements(); |
| this.pEntityMockQualifiedNameWithWildCard = new EntityMockQualifiedNameWithWildCardElements(); |
| this.pRunningDataInterchanges = new RunningDataInterchangesElements(); |
| this.pRunningDataInterchange = new RunningDataInterchangeElements(); |
| this.pEntityMockResources = new EntityMockResourcesElements(); |
| this.pEntityMockResource = new EntityMockResourceElements(); |
| this.pEntityMockResourceAttribute = new EntityMockResourceAttributeElements(); |
| this.pEntityMockResourceDataRow = new EntityMockResourceDataRowElements(); |
| this.pEntityMockObjects = new EntityMockObjectsElements(); |
| this.pEntityMockObject = new EntityMockObjectElements(); |
| this.pEntityMockObjectEnum = new EntityMockObjectEnumElements(); |
| this.pEntityMockDataTypes = new EntityMockDataTypesElements(); |
| this.pIEntityMockObjectUsable = new IEntityMockObjectUsableElements(); |
| this.pIEntityMockObjectAttribute = new IEntityMockObjectAttributeElements(); |
| this.pEntityMockObjectPlainValue = new EntityMockObjectPlainValueElements(); |
| this.pEntityMockObjectResourceValue = new EntityMockObjectResourceValueElements(); |
| this.pEntityMockObjectArrayValue = new EntityMockObjectArrayValueElements(); |
| this.pEntityMockObjectItemValue = new EntityMockObjectItemValueElements(); |
| this.pEntityMockObjectEmbed = new EntityMockObjectEmbedElements(); |
| this.pEntityMockObjectFunction = new EntityMockObjectFunctionElements(); |
| this.pEntityMockObjectFunctionParameter = new EntityMockObjectFunctionParameterElements(); |
| this.pEntityMockObjectFill = new EntityMockObjectFillElements(); |
| this.pPropertyFillerType = new PropertyFillerTypeElements(); |
| this.pPropertyFillerDateFuture = new PropertyFillerDateFutureElements(); |
| this.pPropertyFillerDatePast = new PropertyFillerDatePastElements(); |
| this.pPropertyFillerBoolean = new PropertyFillerBooleanElements(); |
| this.pPropertyFillerDateRange = new PropertyFillerDateRangeElements(); |
| this.pPropertyFillerSignedDoubleRange = new PropertyFillerSignedDoubleRangeElements(); |
| this.pPropertyFillerSignedDoubleRandom = new PropertyFillerSignedDoubleRandomElements(); |
| this.pPropertyFillerSignedIntegerRange = new PropertyFillerSignedIntegerRangeElements(); |
| this.pPropertyFillerSignedIntegerRandom = new PropertyFillerSignedIntegerRandomElements(); |
| this.pPropertyFillerTextRandom = new PropertyFillerTextRandomElements(); |
| this.pPropertyFillerTextParagraphs = new PropertyFillerTextParagraphsElements(); |
| this.pPropertyFillerTextSentences = new PropertyFillerTextSentencesElements(); |
| this.pPropertyFillerTextWords = new PropertyFillerTextWordsElements(); |
| this.pPropertyFillerUnsignedDoubleRange = new PropertyFillerUnsignedDoubleRangeElements(); |
| this.pPropertyFillerUnsignedDoubleRandom = new PropertyFillerUnsignedDoubleRandomElements(); |
| this.pPropertyFillerUnsignedIntegerRange = new PropertyFillerUnsignedIntegerRangeElements(); |
| this.pPropertyFillerUnsignedIntegerRandom = new PropertyFillerUnsignedIntegerRandomElements(); |
| this.pEntityMockDataType = new EntityMockDataTypeElements(); |
| this.pEntityMockEntities = new EntityMockEntitiesElements(); |
| this.pEntityMockEntity = new EntityMockEntityElements(); |
| this.pIIterate = new IIterateElements(); |
| this.pIntegerIterate = new IntegerIterateElements(); |
| this.pDateIterate = new DateIterateElements(); |
| this.pDate = new DateElements(); |
| this.unknownRuleEDateStepType = new EDateStepTypeElements(); |
| this.pEntityMockByResourceAttribute = new EntityMockByResourceAttributeElements(); |
| this.pEntityMockTemporary = new EntityMockTemporaryElements(); |
| this.pIEntityMockEntityUsable = new IEntityMockEntityUsableElements(); |
| this.pIEntityMockAttribute = new IEntityMockAttributeElements(); |
| this.pEntityMockEntityFunction = new EntityMockEntityFunctionElements(); |
| this.pEntityMockEntityFunctionParameter = new EntityMockEntityFunctionParameterElements(); |
| this.pEntityMockReferencedObjectAttribute = new EntityMockReferencedObjectAttributeElements(); |
| this.pEntityMockAttributeByObject = new EntityMockAttributeByObjectElements(); |
| this.pEntityMockAttributeFiller = new EntityMockAttributeFillerElements(); |
| this.pEntityMockAttributeByReference = new EntityMockAttributeByReferenceElements(); |
| this.pSignedNumber = new SignedNumberElements(); |
| this.pUnsignedNumber = new UnsignedNumberElements(); |
| this.pSINT = new SINTElements(); |
| this.pQualifiedName = new QualifiedNameElements(); |
| this.pValidID = new ValidIDElements(); |
| this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ID"); |
| } |
| |
| protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { |
| Grammar grammar = grammarProvider.getGrammar(this); |
| while (grammar != null) { |
| if ("org.eclipse.osbp.xtext.entitymock.EntityMockDSL".equals(grammar.getName())) { |
| return grammar; |
| } |
| List<Grammar> grammars = grammar.getUsedGrammars(); |
| if (!grammars.isEmpty()) { |
| grammar = grammars.iterator().next(); |
| } else { |
| return null; |
| } |
| } |
| return grammar; |
| } |
| |
| |
| public Grammar getGrammar() { |
| return grammar; |
| } |
| |
| |
| public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() { |
| return gaXbaseWithAnnotations; |
| } |
| |
| |
| //EntityMockModel: |
| // packages+=EntityMockPackage*; |
| public EntityMockModelElements getEntityMockModelAccess() { |
| return pEntityMockModel; |
| } |
| |
| public ParserRule getEntityMockModelRule() { |
| return getEntityMockModelAccess().getRule(); |
| } |
| |
| //EntityMockPackage: |
| // "mock entitymodel for" imports+=EntityModelImport "{" ("run with priority" runPriority=INT)? ("import" |
| // imports+=EntityModelImport)* datainterchanges=RunningDataInterchanges? resources=EntityMockResources? |
| // objects=EntityMockObjects? datatypes=EntityMockDataTypes? entities=EntityMockEntities "}"; |
| public EntityMockPackageElements getEntityMockPackageAccess() { |
| return pEntityMockPackage; |
| } |
| |
| public ParserRule getEntityMockPackageRule() { |
| return getEntityMockPackageAccess().getRule(); |
| } |
| |
| //EntityModelImport returns types::LImport: |
| // importedNamespace=EntityMockQualifiedNameWithWildCard; |
| public EntityModelImportElements getEntityModelImportAccess() { |
| return pEntityModelImport; |
| } |
| |
| public ParserRule getEntityModelImportRule() { |
| return getEntityModelImportAccess().getRule(); |
| } |
| |
| //EntityMockQualifiedNameWithWildCard: |
| // QualifiedName ("." "*")?; |
| public EntityMockQualifiedNameWithWildCardElements getEntityMockQualifiedNameWithWildCardAccess() { |
| return pEntityMockQualifiedNameWithWildCard; |
| } |
| |
| public ParserRule getEntityMockQualifiedNameWithWildCardRule() { |
| return getEntityMockQualifiedNameWithWildCardAccess().getRule(); |
| } |
| |
| //RunningDataInterchanges: |
| // {RunningDataInterchanges} "datainterchanges" "{" datainterchanges+=RunningDataInterchange* "}"; |
| public RunningDataInterchangesElements getRunningDataInterchangesAccess() { |
| return pRunningDataInterchanges; |
| } |
| |
| public ParserRule getRunningDataInterchangesRule() { |
| return getRunningDataInterchangesAccess().getRule(); |
| } |
| |
| //RunningDataInterchange: |
| // {RunningDataInterchange} "datainterchange import" datainterchangeRef=[datainterchange::DataInterchange] "from file" |
| // fileURL=STRING; |
| public RunningDataInterchangeElements getRunningDataInterchangeAccess() { |
| return pRunningDataInterchange; |
| } |
| |
| public ParserRule getRunningDataInterchangeRule() { |
| return getRunningDataInterchangeAccess().getRule(); |
| } |
| |
| //EntityMockResources: |
| // {EntityMockResources} "resources" "{" resources+=EntityMockResource* "}"; |
| public EntityMockResourcesElements getEntityMockResourcesAccess() { |
| return pEntityMockResources; |
| } |
| |
| public ParserRule getEntityMockResourcesRule() { |
| return getEntityMockResourcesAccess().getRule(); |
| } |
| |
| //EntityMockResource: |
| // "resource" name=QualifiedName "{" ("attributes" "(" (attributes+=EntityMockResourceAttribute ","?)* ")")? "items" "{" |
| // datarows+=EntityMockResourceDataRow* "}" "}"; |
| public EntityMockResourceElements getEntityMockResourceAccess() { |
| return pEntityMockResource; |
| } |
| |
| public ParserRule getEntityMockResourceRule() { |
| return getEntityMockResourceAccess().getRule(); |
| } |
| |
| //EntityMockResourceAttribute: |
| // {EntityMockResourceAttribute} name=QualifiedName; |
| public EntityMockResourceAttributeElements getEntityMockResourceAttributeAccess() { |
| return pEntityMockResourceAttribute; |
| } |
| |
| public ParserRule getEntityMockResourceAttributeRule() { |
| return getEntityMockResourceAttributeAccess().getRule(); |
| } |
| |
| //EntityMockResourceDataRow: |
| // {EntityMockResourceDataRow} name=QualifiedName ("(" (values+=STRING ","?)* ")")?; |
| public EntityMockResourceDataRowElements getEntityMockResourceDataRowAccess() { |
| return pEntityMockResourceDataRow; |
| } |
| |
| public ParserRule getEntityMockResourceDataRowRule() { |
| return getEntityMockResourceDataRowAccess().getRule(); |
| } |
| |
| //EntityMockObjects: |
| // {EntityMockObjects} "objects" "{" objects+=EntityMockObject* "}"; |
| public EntityMockObjectsElements getEntityMockObjectsAccess() { |
| return pEntityMockObjects; |
| } |
| |
| public ParserRule getEntityMockObjectsRule() { |
| return getEntityMockObjectsAccess().getRule(); |
| } |
| |
| //EntityMockObject: |
| // "object" name=QualifiedName "{" enumerations+=EntityMockObjectEnum* attributes+=IEntityMockObjectAttribute* |
| // calculations+=EntityMockObjectFunction* "}"; |
| public EntityMockObjectElements getEntityMockObjectAccess() { |
| return pEntityMockObject; |
| } |
| |
| public ParserRule getEntityMockObjectRule() { |
| return getEntityMockObjectAccess().getRule(); |
| } |
| |
| //EntityMockObjectEnum: |
| // "var" name=QualifiedName "by enum" usingResource=[types::LEnum]; |
| public EntityMockObjectEnumElements getEntityMockObjectEnumAccess() { |
| return pEntityMockObjectEnum; |
| } |
| |
| public ParserRule getEntityMockObjectEnumRule() { |
| return getEntityMockObjectEnumAccess().getRule(); |
| } |
| |
| //EntityMockDataTypes: |
| // {EntityMockDataTypes} "datatypes" "{" datatypes+=EntityMockDataType* "}"; |
| public EntityMockDataTypesElements getEntityMockDataTypesAccess() { |
| return pEntityMockDataTypes; |
| } |
| |
| public ParserRule getEntityMockDataTypesRule() { |
| return getEntityMockDataTypesAccess().getRule(); |
| } |
| |
| //IEntityMockObjectUsable: |
| // EntityMockObjectFunction | EntityMockObjectEnum | EntityMockObjectPlainValue | EntityMockObjectArrayValue | |
| // EntityMockObjectEmbed | EntityMockObjectFill; |
| public IEntityMockObjectUsableElements getIEntityMockObjectUsableAccess() { |
| return pIEntityMockObjectUsable; |
| } |
| |
| public ParserRule getIEntityMockObjectUsableRule() { |
| return getIEntityMockObjectUsableAccess().getRule(); |
| } |
| |
| //IEntityMockObjectAttribute: |
| // EntityMockObjectResourceValue | EntityMockObjectPlainValue | EntityMockObjectArrayValue | EntityMockObjectEmbed | |
| // EntityMockObjectFill; |
| public IEntityMockObjectAttributeElements getIEntityMockObjectAttributeAccess() { |
| return pIEntityMockObjectAttribute; |
| } |
| |
| public ParserRule getIEntityMockObjectAttributeRule() { |
| return getIEntityMockObjectAttributeAccess().getRule(); |
| } |
| |
| //EntityMockObjectPlainValue: |
| // "var" name=QualifiedName "(" (values+=STRING ","?)* ")"; |
| public EntityMockObjectPlainValueElements getEntityMockObjectPlainValueAccess() { |
| return pEntityMockObjectPlainValue; |
| } |
| |
| public ParserRule getEntityMockObjectPlainValueRule() { |
| return getEntityMockObjectPlainValueAccess().getRule(); |
| } |
| |
| //EntityMockObjectResourceValue: |
| // "var" name=QualifiedName "with" resourceEnum=[EntityMockObjectEnum] ("." |
| // resourceAttribute=[EntityMockResourceAttribute])?; |
| public EntityMockObjectResourceValueElements getEntityMockObjectResourceValueAccess() { |
| return pEntityMockObjectResourceValue; |
| } |
| |
| public ParserRule getEntityMockObjectResourceValueRule() { |
| return getEntityMockObjectResourceValueAccess().getRule(); |
| } |
| |
| //EntityMockObjectArrayValue: |
| // "var" name=QualifiedName "switch on" enumeration=[EntityMockObjectEnum] "{" items+=EntityMockObjectItemValue* "}"; |
| public EntityMockObjectArrayValueElements getEntityMockObjectArrayValueAccess() { |
| return pEntityMockObjectArrayValue; |
| } |
| |
| public ParserRule getEntityMockObjectArrayValueRule() { |
| return getEntityMockObjectArrayValueAccess().getRule(); |
| } |
| |
| //EntityMockObjectItemValue: |
| // "when" datarow=[types::LEnumLiteral] "(" (values+=STRING ","?)* ")"; |
| public EntityMockObjectItemValueElements getEntityMockObjectItemValueAccess() { |
| return pEntityMockObjectItemValue; |
| } |
| |
| public ParserRule getEntityMockObjectItemValueRule() { |
| return getEntityMockObjectItemValueAccess().getRule(); |
| } |
| |
| //EntityMockObjectEmbed: |
| // {EntityMockObjectEmbed} "embed" name=QualifiedName "defined as" object=[EntityMockObject]; |
| public EntityMockObjectEmbedElements getEntityMockObjectEmbedAccess() { |
| return pEntityMockObjectEmbed; |
| } |
| |
| public ParserRule getEntityMockObjectEmbedRule() { |
| return getEntityMockObjectEmbedAccess().getRule(); |
| } |
| |
| //EntityMockObjectFunction: |
| // "var" name=QualifiedName "calculate as" oftype=JvmParameterizedTypeReference "based on" "(" |
| // (params+=EntityMockObjectFunctionParameter ("," params+=EntityMockObjectFunctionParameter)*)? ")" |
| // body=XBlockExpression; |
| public EntityMockObjectFunctionElements getEntityMockObjectFunctionAccess() { |
| return pEntityMockObjectFunction; |
| } |
| |
| public ParserRule getEntityMockObjectFunctionRule() { |
| return getEntityMockObjectFunctionAccess().getRule(); |
| } |
| |
| //EntityMockObjectFunctionParameter: |
| // parameterType=JvmTypeReference name=[IEntityMockObjectUsable]; |
| public EntityMockObjectFunctionParameterElements getEntityMockObjectFunctionParameterAccess() { |
| return pEntityMockObjectFunctionParameter; |
| } |
| |
| public ParserRule getEntityMockObjectFunctionParameterRule() { |
| return getEntityMockObjectFunctionParameterAccess().getRule(); |
| } |
| |
| //EntityMockObjectFill: |
| // "var" name=QualifiedName "randomize" fillerType=PropertyFillerType; |
| public EntityMockObjectFillElements getEntityMockObjectFillAccess() { |
| return pEntityMockObjectFill; |
| } |
| |
| public ParserRule getEntityMockObjectFillRule() { |
| return getEntityMockObjectFillAccess().getRule(); |
| } |
| |
| //PropertyFillerType: |
| // PropertyFillerDateFuture | PropertyFillerDatePast | PropertyFillerDateRange | PropertyFillerBoolean | |
| // PropertyFillerSignedDoubleRange | PropertyFillerSignedDoubleRandom | PropertyFillerSignedIntegerRange | |
| // PropertyFillerSignedIntegerRandom | PropertyFillerTextRandom | PropertyFillerTextParagraphs | |
| // PropertyFillerTextSentences | PropertyFillerTextWords | PropertyFillerUnsignedDoubleRange | |
| // PropertyFillerUnsignedDoubleRandom | PropertyFillerUnsignedIntegerRange | PropertyFillerUnsignedIntegerRandom; |
| public PropertyFillerTypeElements getPropertyFillerTypeAccess() { |
| return pPropertyFillerType; |
| } |
| |
| public ParserRule getPropertyFillerTypeRule() { |
| return getPropertyFillerTypeAccess().getRule(); |
| } |
| |
| //PropertyFillerDateFuture: |
| // "future date" dateFutureYears=INT "years"; |
| public PropertyFillerDateFutureElements getPropertyFillerDateFutureAccess() { |
| return pPropertyFillerDateFuture; |
| } |
| |
| public ParserRule getPropertyFillerDateFutureRule() { |
| return getPropertyFillerDateFutureAccess().getRule(); |
| } |
| |
| //PropertyFillerDatePast: |
| // "past date" datePastYears=INT "years"; |
| public PropertyFillerDatePastElements getPropertyFillerDatePastAccess() { |
| return pPropertyFillerDatePast; |
| } |
| |
| public ParserRule getPropertyFillerDatePastRule() { |
| return getPropertyFillerDatePastAccess().getRule(); |
| } |
| |
| //PropertyFillerBoolean: |
| // {PropertyFillerBoolean} "boolean"; |
| public PropertyFillerBooleanElements getPropertyFillerBooleanAccess() { |
| return pPropertyFillerBoolean; |
| } |
| |
| public ParserRule getPropertyFillerBooleanRule() { |
| return getPropertyFillerBooleanAccess().getRule(); |
| } |
| |
| //PropertyFillerDateRange: |
| // "date in range" dateBeginYears=SINT "up to and including" dateEndYears=SINT "years"; |
| public PropertyFillerDateRangeElements getPropertyFillerDateRangeAccess() { |
| return pPropertyFillerDateRange; |
| } |
| |
| public ParserRule getPropertyFillerDateRangeRule() { |
| return getPropertyFillerDateRangeAccess().getRule(); |
| } |
| |
| //PropertyFillerSignedDoubleRange: |
| // "signed double in range" ((beginRange=SignedNumber | beginRangeRef=[entity::LEntityAttribute])? "up to and including" |
| // (endRange=SignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT "decimals" ("round to" |
| // rounded=UnsignedNumber)?; |
| public PropertyFillerSignedDoubleRangeElements getPropertyFillerSignedDoubleRangeAccess() { |
| return pPropertyFillerSignedDoubleRange; |
| } |
| |
| public ParserRule getPropertyFillerSignedDoubleRangeRule() { |
| return getPropertyFillerSignedDoubleRangeAccess().getRule(); |
| } |
| |
| //PropertyFillerSignedDoubleRandom: |
| // "signed double from" "(" items+=SignedNumber+ ")"; |
| public PropertyFillerSignedDoubleRandomElements getPropertyFillerSignedDoubleRandomAccess() { |
| return pPropertyFillerSignedDoubleRandom; |
| } |
| |
| public ParserRule getPropertyFillerSignedDoubleRandomRule() { |
| return getPropertyFillerSignedDoubleRandomAccess().getRule(); |
| } |
| |
| //PropertyFillerSignedIntegerRange: |
| // {PropertyFillerSignedIntegerRange} "signed integer in range" ((beginRange=SINT | |
| // beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=SINT | |
| // endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)?; |
| public PropertyFillerSignedIntegerRangeElements getPropertyFillerSignedIntegerRangeAccess() { |
| return pPropertyFillerSignedIntegerRange; |
| } |
| |
| public ParserRule getPropertyFillerSignedIntegerRangeRule() { |
| return getPropertyFillerSignedIntegerRangeAccess().getRule(); |
| } |
| |
| //PropertyFillerSignedIntegerRandom: |
| // "signed integer from" "(" items+=SINT+ ")"; |
| public PropertyFillerSignedIntegerRandomElements getPropertyFillerSignedIntegerRandomAccess() { |
| return pPropertyFillerSignedIntegerRandom; |
| } |
| |
| public ParserRule getPropertyFillerSignedIntegerRandomRule() { |
| return getPropertyFillerSignedIntegerRandomAccess().getRule(); |
| } |
| |
| //PropertyFillerTextRandom: |
| // "text from" "(" items+=STRING+ ")"; |
| public PropertyFillerTextRandomElements getPropertyFillerTextRandomAccess() { |
| return pPropertyFillerTextRandom; |
| } |
| |
| public ParserRule getPropertyFillerTextRandomRule() { |
| return getPropertyFillerTextRandomAccess().getRule(); |
| } |
| |
| //PropertyFillerTextParagraphs: |
| // {PropertyFillerTextParagraphs} "paragraps" count=INT?; |
| public PropertyFillerTextParagraphsElements getPropertyFillerTextParagraphsAccess() { |
| return pPropertyFillerTextParagraphs; |
| } |
| |
| public ParserRule getPropertyFillerTextParagraphsRule() { |
| return getPropertyFillerTextParagraphsAccess().getRule(); |
| } |
| |
| //PropertyFillerTextSentences: |
| // {PropertyFillerTextSentences} "sentences" count=INT?; |
| public PropertyFillerTextSentencesElements getPropertyFillerTextSentencesAccess() { |
| return pPropertyFillerTextSentences; |
| } |
| |
| public ParserRule getPropertyFillerTextSentencesRule() { |
| return getPropertyFillerTextSentencesAccess().getRule(); |
| } |
| |
| //PropertyFillerTextWords: |
| // {PropertyFillerTextWords} "words" count=INT?; |
| public PropertyFillerTextWordsElements getPropertyFillerTextWordsAccess() { |
| return pPropertyFillerTextWords; |
| } |
| |
| public ParserRule getPropertyFillerTextWordsRule() { |
| return getPropertyFillerTextWordsAccess().getRule(); |
| } |
| |
| //PropertyFillerUnsignedDoubleRange: |
| // "unsigned double in range" ((beginRange=UnsignedNumber | beginRangeRef=[entity::LEntityAttribute])? |
| // "up to and including" (endRange=UnsignedNumber | endRangeRef=[entity::LEntityAttribute]))? "with" decimals=INT |
| // "decimals" ("round to" rounded=UnsignedNumber)?; |
| public PropertyFillerUnsignedDoubleRangeElements getPropertyFillerUnsignedDoubleRangeAccess() { |
| return pPropertyFillerUnsignedDoubleRange; |
| } |
| |
| public ParserRule getPropertyFillerUnsignedDoubleRangeRule() { |
| return getPropertyFillerUnsignedDoubleRangeAccess().getRule(); |
| } |
| |
| //PropertyFillerUnsignedDoubleRandom: |
| // "unsigned double from" "(" items+=UnsignedNumber+ ")"; |
| public PropertyFillerUnsignedDoubleRandomElements getPropertyFillerUnsignedDoubleRandomAccess() { |
| return pPropertyFillerUnsignedDoubleRandom; |
| } |
| |
| public ParserRule getPropertyFillerUnsignedDoubleRandomRule() { |
| return getPropertyFillerUnsignedDoubleRandomAccess().getRule(); |
| } |
| |
| //PropertyFillerUnsignedIntegerRange: |
| // {PropertyFillerUnsignedIntegerRange} "unsigned integer in range" ((beginRange=INT | |
| // beginRangeRef=[entity::LEntityAttribute])? "up to and including" (endRange=INT | |
| // endRangeRef=[entity::LEntityAttribute]))? ("round to" rounded=INT)?; |
| public PropertyFillerUnsignedIntegerRangeElements getPropertyFillerUnsignedIntegerRangeAccess() { |
| return pPropertyFillerUnsignedIntegerRange; |
| } |
| |
| public ParserRule getPropertyFillerUnsignedIntegerRangeRule() { |
| return getPropertyFillerUnsignedIntegerRangeAccess().getRule(); |
| } |
| |
| //PropertyFillerUnsignedIntegerRandom: |
| // "unsigned integer from" "(" items+=INT+ ")"; |
| public PropertyFillerUnsignedIntegerRandomElements getPropertyFillerUnsignedIntegerRandomAccess() { |
| return pPropertyFillerUnsignedIntegerRandom; |
| } |
| |
| public ParserRule getPropertyFillerUnsignedIntegerRandomRule() { |
| return getPropertyFillerUnsignedIntegerRandomAccess().getRule(); |
| } |
| |
| //EntityMockDataType: |
| // "datatype" name=QualifiedName "{" "}"; |
| public EntityMockDataTypeElements getEntityMockDataTypeAccess() { |
| return pEntityMockDataType; |
| } |
| |
| public ParserRule getEntityMockDataTypeRule() { |
| return getEntityMockDataTypeAccess().getRule(); |
| } |
| |
| //EntityMockEntities: |
| // {EntityMockEntities} "mock entities" "{" entities+=EntityMockEntity* "}"; |
| public EntityMockEntitiesElements getEntityMockEntitiesAccess() { |
| return pEntityMockEntities; |
| } |
| |
| public ParserRule getEntityMockEntitiesRule() { |
| return getEntityMockEntitiesAccess().getRule(); |
| } |
| |
| //EntityMockEntity: |
| // "mocking" name=QualifiedName "for entity" entityRef=[entity::LEntity] ("rows" minRows=INT "to" maxRows=INT "{" |
| // temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}" | |
| // "by resource" byResource=[EntityMockResource] "{" byResourceAttributes+=EntityMockByResourceAttribute* |
| // createBlobMapping?="createBlobMapping"? "}" | "iterate" iterator=[entity::LEntityAttribute] "with" iterate=IIterate |
| // "{" temporaries+=EntityMockTemporary* attributes+=IEntityMockAttribute* calculations+=EntityMockEntityFunction* "}"); |
| public EntityMockEntityElements getEntityMockEntityAccess() { |
| return pEntityMockEntity; |
| } |
| |
| public ParserRule getEntityMockEntityRule() { |
| return getEntityMockEntityAccess().getRule(); |
| } |
| |
| //IIterate: |
| // IntegerIterate | DateIterate; |
| public IIterateElements getIIterateAccess() { |
| return pIIterate; |
| } |
| |
| public ParserRule getIIterateRule() { |
| return getIIterateAccess().getRule(); |
| } |
| |
| //IntegerIterate: |
| // "integer from" from=SINT "until" until=SINT "step" step=INT; |
| public IntegerIterateElements getIntegerIterateAccess() { |
| return pIntegerIterate; |
| } |
| |
| public ParserRule getIntegerIterateRule() { |
| return getIntegerIterateAccess().getRule(); |
| } |
| |
| //DateIterate: |
| // "date from" from=Date "until" until=Date "every" stepCount=INT stepType=EDateStepType; |
| public DateIterateElements getDateIterateAccess() { |
| return pDateIterate; |
| } |
| |
| public ParserRule getDateIterateRule() { |
| return getDateIterateAccess().getRule(); |
| } |
| |
| //Date: |
| // yesterday?="yesterday" | today?="today" | tomorrow?="tomorrow" | year=INT "-" month=INT "-" day=INT; |
| public DateElements getDateAccess() { |
| return pDate; |
| } |
| |
| public ParserRule getDateRule() { |
| return getDateAccess().getRule(); |
| } |
| |
| //enum EDateStepType: |
| // DAYS="days" | WEEKS="weeks" | MONTHS="months" | YEARS="years"; |
| public EDateStepTypeElements getEDateStepTypeAccess() { |
| return unknownRuleEDateStepType; |
| } |
| |
| public EnumRule getEDateStepTypeRule() { |
| return getEDateStepTypeAccess().getRule(); |
| } |
| |
| //EntityMockByResourceAttribute: |
| // {EntityMockByResourceAttribute} "var" attributeRef=[entity::LEntityAttribute] "as" |
| // resourceAttribute=[EntityMockResourceAttribute]; |
| public EntityMockByResourceAttributeElements getEntityMockByResourceAttributeAccess() { |
| return pEntityMockByResourceAttribute; |
| } |
| |
| public ParserRule getEntityMockByResourceAttributeRule() { |
| return getEntityMockByResourceAttributeAccess().getRule(); |
| } |
| |
| //EntityMockTemporary: |
| // "temporary" name=QualifiedName "by object" object=[EntityMockObject]; |
| public EntityMockTemporaryElements getEntityMockTemporaryAccess() { |
| return pEntityMockTemporary; |
| } |
| |
| public ParserRule getEntityMockTemporaryRule() { |
| return getEntityMockTemporaryAccess().getRule(); |
| } |
| |
| //IEntityMockEntityUsable: |
| // IEntityMockAttribute | EntityMockEntityFunction; |
| public IEntityMockEntityUsableElements getIEntityMockEntityUsableAccess() { |
| return pIEntityMockEntityUsable; |
| } |
| |
| public ParserRule getIEntityMockEntityUsableRule() { |
| return getIEntityMockEntityUsableAccess().getRule(); |
| } |
| |
| //IEntityMockAttribute: |
| // EntityMockAttributeByObject | EntityMockAttributeFiller | EntityMockAttributeByReference; |
| public IEntityMockAttributeElements getIEntityMockAttributeAccess() { |
| return pIEntityMockAttribute; |
| } |
| |
| public ParserRule getIEntityMockAttributeRule() { |
| return getIEntityMockAttributeAccess().getRule(); |
| } |
| |
| //EntityMockEntityFunction: |
| // "var" attributeRef=[entity::LEntityAttribute] "calculate based on" "(" (params+=EntityMockEntityFunctionParameter |
| // ("," params+=EntityMockEntityFunctionParameter)*)? ")" body=XBlockExpression; |
| public EntityMockEntityFunctionElements getEntityMockEntityFunctionAccess() { |
| return pEntityMockEntityFunction; |
| } |
| |
| public ParserRule getEntityMockEntityFunctionRule() { |
| return getEntityMockEntityFunctionAccess().getRule(); |
| } |
| |
| //EntityMockEntityFunctionParameter: |
| // attributeRef=[entity::LEntityAttribute] | referencePaths+=[entity::LEntityReference] ("."? |
| // referencePaths+=[entity::LEntityReference])* "." referenceRef=[entity::LEntityAttribute]; |
| public EntityMockEntityFunctionParameterElements getEntityMockEntityFunctionParameterAccess() { |
| return pEntityMockEntityFunctionParameter; |
| } |
| |
| public ParserRule getEntityMockEntityFunctionParameterRule() { |
| return getEntityMockEntityFunctionParameterAccess().getRule(); |
| } |
| |
| //EntityMockReferencedObjectAttribute: |
| // {EntityMockReferencedObjectAttribute} temporary=[EntityMockTemporary] ("."? embedded+=[EntityMockObjectEmbed])* "." |
| // attribute=[IEntityMockObjectUsable]; |
| public EntityMockReferencedObjectAttributeElements getEntityMockReferencedObjectAttributeAccess() { |
| return pEntityMockReferencedObjectAttribute; |
| } |
| |
| public ParserRule getEntityMockReferencedObjectAttributeRule() { |
| return getEntityMockReferencedObjectAttributeAccess().getRule(); |
| } |
| |
| //EntityMockAttributeByObject: |
| // "var" attributeRef=[entity::LEntityAttribute] ("as" reference=EntityMockReferencedObjectAttribute) | "using" |
| // resourceEnum=[EntityMockObjectEnum] "." resourceAttribute=[EntityMockResourceAttribute]; |
| public EntityMockAttributeByObjectElements getEntityMockAttributeByObjectAccess() { |
| return pEntityMockAttributeByObject; |
| } |
| |
| public ParserRule getEntityMockAttributeByObjectRule() { |
| return getEntityMockAttributeByObjectAccess().getRule(); |
| } |
| |
| //EntityMockAttributeFiller: |
| // "var" attributeRef=[entity::LEntityAttribute] "randomize" fillerType=PropertyFillerType; |
| public EntityMockAttributeFillerElements getEntityMockAttributeFillerAccess() { |
| return pEntityMockAttributeFiller; |
| } |
| |
| public ParserRule getEntityMockAttributeFillerRule() { |
| return getEntityMockAttributeFillerAccess().getRule(); |
| } |
| |
| //EntityMockAttributeByReference: |
| // "ref" attributeRef=[entity::LEntityReference] "to" ("existing entities" | mockedEntity=[EntityMockEntity]) |
| // ("optional for" optionalFor=INT "percent")?; |
| public EntityMockAttributeByReferenceElements getEntityMockAttributeByReferenceAccess() { |
| return pEntityMockAttributeByReference; |
| } |
| |
| public ParserRule getEntityMockAttributeByReferenceRule() { |
| return getEntityMockAttributeByReferenceAccess().getRule(); |
| } |
| |
| //SignedNumber returns ecore::EDouble: |
| // "-"? UnsignedNumber; |
| public SignedNumberElements getSignedNumberAccess() { |
| return pSignedNumber; |
| } |
| |
| public ParserRule getSignedNumberRule() { |
| return getSignedNumberAccess().getRule(); |
| } |
| |
| //UnsignedNumber returns ecore::EDouble: |
| // INT ("." INT)?; |
| public UnsignedNumberElements getUnsignedNumberAccess() { |
| return pUnsignedNumber; |
| } |
| |
| public ParserRule getUnsignedNumberRule() { |
| return getUnsignedNumberAccess().getRule(); |
| } |
| |
| //SINT returns ecore::EInt: |
| // "-"? INT; |
| public SINTElements getSINTAccess() { |
| return pSINT; |
| } |
| |
| public ParserRule getSINTRule() { |
| return getSINTAccess().getRule(); |
| } |
| |
| //QualifiedName: |
| // ValidID ("." ValidID)*; |
| public QualifiedNameElements getQualifiedNameAccess() { |
| return pQualifiedName; |
| } |
| |
| public ParserRule getQualifiedNameRule() { |
| return getQualifiedNameAccess().getRule(); |
| } |
| |
| //ValidID: |
| // ID; |
| public ValidIDElements getValidIDAccess() { |
| return pValidID; |
| } |
| |
| public ParserRule getValidIDRule() { |
| return getValidIDAccess().getRule(); |
| } |
| |
| //terminal ID: |
| // "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*; |
| public TerminalRule getIDRule() { |
| return tID; |
| } |
| |
| //XAnnotation: |
| // {XAnnotation} "@" annotationType=[types::JvmAnnotationType|QualifiedName] ("(" |
| // (elementValuePairs+=XAnnotationElementValuePair ("," elementValuePairs+=XAnnotationElementValuePair)* | |
| // value=XAnnotationElementValueOrCommaList)? ")")?; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationAccess(); |
| } |
| |
| public ParserRule getXAnnotationRule() { |
| return getXAnnotationAccess().getRule(); |
| } |
| |
| //XAnnotationElementValuePair: |
| // => (element=[types::JvmOperation|ValidID] "=") value=XAnnotationElementValue; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValuePairRule() { |
| return getXAnnotationElementValuePairAccess().getRule(); |
| } |
| |
| //XAnnotationElementValueOrCommaList returns xbase::XExpression: |
| // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" |
| // | XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} ("," elements+=XAnnotationOrExpression)+)?; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValueOrCommaListRule() { |
| return getXAnnotationElementValueOrCommaListAccess().getRule(); |
| } |
| |
| //XAnnotationElementValue returns xbase::XExpression: |
| // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" |
| // | XAnnotationOrExpression; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValueAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValueRule() { |
| return getXAnnotationElementValueAccess().getRule(); |
| } |
| |
| //XAnnotationOrExpression returns xbase::XExpression: |
| // XAnnotation | XExpression; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess(); |
| } |
| |
| public ParserRule getXAnnotationOrExpressionRule() { |
| return getXAnnotationOrExpressionAccess().getRule(); |
| } |
| |
| //XExpression: |
| // XAssignment; |
| public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() { |
| return gaXbaseWithAnnotations.getXExpressionAccess(); |
| } |
| |
| public ParserRule getXExpressionRule() { |
| return getXExpressionAccess().getRule(); |
| } |
| |
| //XAssignment returns XExpression: |
| // {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression |
| // (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign]) |
| // rightOperand=XAssignment)?; |
| public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() { |
| return gaXbaseWithAnnotations.getXAssignmentAccess(); |
| } |
| |
| public ParserRule getXAssignmentRule() { |
| return getXAssignmentAccess().getRule(); |
| } |
| |
| //OpSingleAssign: |
| // "="; |
| public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() { |
| return gaXbaseWithAnnotations.getOpSingleAssignAccess(); |
| } |
| |
| public ParserRule getOpSingleAssignRule() { |
| return getOpSingleAssignAccess().getRule(); |
| } |
| |
| //OpMultiAssign: |
| // "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">="; |
| public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() { |
| return gaXbaseWithAnnotations.getOpMultiAssignAccess(); |
| } |
| |
| public ParserRule getOpMultiAssignRule() { |
| return getOpMultiAssignAccess().getRule(); |
| } |
| |
| //XOrExpression returns XExpression: |
| // XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr]) |
| // rightOperand=XAndExpression)*; |
| public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() { |
| return gaXbaseWithAnnotations.getXOrExpressionAccess(); |
| } |
| |
| public ParserRule getXOrExpressionRule() { |
| return getXOrExpressionAccess().getRule(); |
| } |
| |
| //OpOr: |
| // "||"; |
| public XbaseGrammarAccess.OpOrElements getOpOrAccess() { |
| return gaXbaseWithAnnotations.getOpOrAccess(); |
| } |
| |
| public ParserRule getOpOrRule() { |
| return getOpOrAccess().getRule(); |
| } |
| |
| //XAndExpression returns XExpression: |
| // XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd]) |
| // rightOperand=XEqualityExpression)*; |
| public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAndExpressionAccess(); |
| } |
| |
| public ParserRule getXAndExpressionRule() { |
| return getXAndExpressionAccess().getRule(); |
| } |
| |
| //OpAnd: |
| // "&&"; |
| public XbaseGrammarAccess.OpAndElements getOpAndAccess() { |
| return gaXbaseWithAnnotations.getOpAndAccess(); |
| } |
| |
| public ParserRule getOpAndRule() { |
| return getOpAndAccess().getRule(); |
| } |
| |
| //XEqualityExpression returns XExpression: |
| // XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality]) |
| // rightOperand=XRelationalExpression)*; |
| public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() { |
| return gaXbaseWithAnnotations.getXEqualityExpressionAccess(); |
| } |
| |
| public ParserRule getXEqualityExpressionRule() { |
| return getXEqualityExpressionAccess().getRule(); |
| } |
| |
| //OpEquality: |
| // "==" | "!=" | "===" | "!=="; |
| public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() { |
| return gaXbaseWithAnnotations.getOpEqualityAccess(); |
| } |
| |
| public ParserRule getOpEqualityRule() { |
| return getOpEqualityAccess().getRule(); |
| } |
| |
| //XRelationalExpression returns XExpression: |
| // XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | => |
| // ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare]) |
| // rightOperand=XOtherOperatorExpression)*; |
| public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() { |
| return gaXbaseWithAnnotations.getXRelationalExpressionAccess(); |
| } |
| |
| public ParserRule getXRelationalExpressionRule() { |
| return getXRelationalExpressionAccess().getRule(); |
| } |
| |
| //OpCompare: |
| // ">=" | "<" "=" | ">" | "<"; |
| public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() { |
| return gaXbaseWithAnnotations.getOpCompareAccess(); |
| } |
| |
| public ParserRule getOpCompareRule() { |
| return getOpCompareAccess().getRule(); |
| } |
| |
| //XOtherOperatorExpression returns XExpression: |
| // XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther]) |
| // rightOperand=XAdditiveExpression)*; |
| public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() { |
| return gaXbaseWithAnnotations.getXOtherOperatorExpressionAccess(); |
| } |
| |
| public ParserRule getXOtherOperatorExpressionRule() { |
| return getXOtherOperatorExpressionAccess().getRule(); |
| } |
| |
| //OpOther: |
| // "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:"; |
| public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() { |
| return gaXbaseWithAnnotations.getOpOtherAccess(); |
| } |
| |
| public ParserRule getOpOtherRule() { |
| return getOpOtherAccess().getRule(); |
| } |
| |
| //XAdditiveExpression returns XExpression: |
| // XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd]) |
| // rightOperand=XMultiplicativeExpression)*; |
| public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAdditiveExpressionAccess(); |
| } |
| |
| public ParserRule getXAdditiveExpressionRule() { |
| return getXAdditiveExpressionAccess().getRule(); |
| } |
| |
| //OpAdd: |
| // "+" | "-"; |
| public XbaseGrammarAccess.OpAddElements getOpAddAccess() { |
| return gaXbaseWithAnnotations.getOpAddAccess(); |
| } |
| |
| public ParserRule getOpAddRule() { |
| return getOpAddAccess().getRule(); |
| } |
| |
| //XMultiplicativeExpression returns XExpression: |
| // XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti]) |
| // rightOperand=XUnaryOperation)*; |
| public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() { |
| return gaXbaseWithAnnotations.getXMultiplicativeExpressionAccess(); |
| } |
| |
| public ParserRule getXMultiplicativeExpressionRule() { |
| return getXMultiplicativeExpressionAccess().getRule(); |
| } |
| |
| //OpMulti: |
| // "*" | "**" | "/" | "%"; |
| public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() { |
| return gaXbaseWithAnnotations.getOpMultiAccess(); |
| } |
| |
| public ParserRule getOpMultiRule() { |
| return getOpMultiAccess().getRule(); |
| } |
| |
| //XUnaryOperation returns XExpression: |
| // {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression; |
| public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() { |
| return gaXbaseWithAnnotations.getXUnaryOperationAccess(); |
| } |
| |
| public ParserRule getXUnaryOperationRule() { |
| return getXUnaryOperationAccess().getRule(); |
| } |
| |
| //OpUnary: |
| // "!" | "-" | "+"; |
| public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() { |
| return gaXbaseWithAnnotations.getOpUnaryAccess(); |
| } |
| |
| public ParserRule getOpUnaryRule() { |
| return getOpUnaryAccess().getRule(); |
| } |
| |
| //XCastedExpression returns XExpression: |
| // XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*; |
| public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXCastedExpressionAccess(); |
| } |
| |
| public ParserRule getXCastedExpressionRule() { |
| return getXCastedExpressionAccess().getRule(); |
| } |
| |
| //XPostfixOperation returns XExpression: |
| // XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?; |
| public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() { |
| return gaXbaseWithAnnotations.getXPostfixOperationAccess(); |
| } |
| |
| public ParserRule getXPostfixOperationRule() { |
| return getXPostfixOperationAccess().getRule(); |
| } |
| |
| //OpPostfix: |
| // "++" | "--"; |
| public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() { |
| return gaXbaseWithAnnotations.getOpPostfixAccess(); |
| } |
| |
| public ParserRule getOpPostfixRule() { |
| return getOpPostfixAccess().getRule(); |
| } |
| |
| //XMemberFeatureCall returns XExpression: |
| // XPrimaryExpression (=> ({XAssignment.assignable=current} ("." | explicitStatic?="::") |
| // feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment | => |
| // ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ("<" |
| // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? |
| // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (memberCallArguments+=XShortClosure |
| // | memberCallArguments+=XExpression ("," memberCallArguments+=XExpression)*)? ")")? memberCallArguments+=XClosure?)*; |
| public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() { |
| return gaXbaseWithAnnotations.getXMemberFeatureCallAccess(); |
| } |
| |
| public ParserRule getXMemberFeatureCallRule() { |
| return getXMemberFeatureCallAccess().getRule(); |
| } |
| |
| //XPrimaryExpression returns XExpression: |
| // XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral | |
| // XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression | |
| // XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression; |
| public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() { |
| return gaXbaseWithAnnotations.getXPrimaryExpressionAccess(); |
| } |
| |
| public ParserRule getXPrimaryExpressionRule() { |
| return getXPrimaryExpressionAccess().getRule(); |
| } |
| |
| //XLiteral returns XExpression: |
| // XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral; |
| public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() { |
| return gaXbaseWithAnnotations.getXLiteralAccess(); |
| } |
| |
| public ParserRule getXLiteralRule() { |
| return getXLiteralAccess().getRule(); |
| } |
| |
| //XCollectionLiteral: |
| // XSetLiteral | XListLiteral; |
| public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() { |
| return gaXbaseWithAnnotations.getXCollectionLiteralAccess(); |
| } |
| |
| public ParserRule getXCollectionLiteralRule() { |
| return getXCollectionLiteralAccess().getRule(); |
| } |
| |
| //XSetLiteral: |
| // {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}"; |
| public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() { |
| return gaXbaseWithAnnotations.getXSetLiteralAccess(); |
| } |
| |
| public ParserRule getXSetLiteralRule() { |
| return getXSetLiteralAccess().getRule(); |
| } |
| |
| //XListLiteral: |
| // {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]"; |
| public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() { |
| return gaXbaseWithAnnotations.getXListLiteralAccess(); |
| } |
| |
| public ParserRule getXListLiteralRule() { |
| return getXListLiteralAccess().getRule(); |
| } |
| |
| //XClosure returns XExpression: |
| // => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter ("," |
| // declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]"; |
| public XbaseGrammarAccess.XClosureElements getXClosureAccess() { |
| return gaXbaseWithAnnotations.getXClosureAccess(); |
| } |
| |
| public ParserRule getXClosureRule() { |
| return getXClosureAccess().getRule(); |
| } |
| |
| //XExpressionInClosure returns XExpression: |
| // {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*; |
| public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() { |
| return gaXbaseWithAnnotations.getXExpressionInClosureAccess(); |
| } |
| |
| public ParserRule getXExpressionInClosureRule() { |
| return getXExpressionInClosureAccess().getRule(); |
| } |
| |
| //XShortClosure returns XExpression: |
| // => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)? |
| // explicitSyntax?="|") expression=XExpression; |
| public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() { |
| return gaXbaseWithAnnotations.getXShortClosureAccess(); |
| } |
| |
| public ParserRule getXShortClosureRule() { |
| return getXShortClosureAccess().getRule(); |
| } |
| |
| //XParenthesizedExpression returns XExpression: |
| // "(" XExpression ")"; |
| public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXParenthesizedExpressionAccess(); |
| } |
| |
| public ParserRule getXParenthesizedExpressionRule() { |
| return getXParenthesizedExpressionAccess().getRule(); |
| } |
| |
| //XIfExpression returns XExpression: |
| // {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?; |
| public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() { |
| return gaXbaseWithAnnotations.getXIfExpressionAccess(); |
| } |
| |
| public ParserRule getXIfExpressionRule() { |
| return getXIfExpressionAccess().getRule(); |
| } |
| |
| //XSwitchExpression returns XExpression: |
| // {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | => |
| // (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":" |
| // default=XExpression)? "}"; |
| public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() { |
| return gaXbaseWithAnnotations.getXSwitchExpressionAccess(); |
| } |
| |
| public ParserRule getXSwitchExpressionRule() { |
| return getXSwitchExpressionAccess().getRule(); |
| } |
| |
| //XCasePart: |
| // {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=","); |
| public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() { |
| return gaXbaseWithAnnotations.getXCasePartAccess(); |
| } |
| |
| public ParserRule getXCasePartRule() { |
| return getXCasePartAccess().getRule(); |
| } |
| |
| //XForLoopExpression returns XExpression: |
| // => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")" |
| // eachExpression=XExpression; |
| public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() { |
| return gaXbaseWithAnnotations.getXForLoopExpressionAccess(); |
| } |
| |
| public ParserRule getXForLoopExpressionRule() { |
| return getXForLoopExpressionAccess().getRule(); |
| } |
| |
| //XBasicForLoopExpression returns XExpression: |
| // {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration ("," |
| // initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression ("," |
| // updateExpressions+=XExpression)*)? ")" eachExpression=XExpression; |
| public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() { |
| return gaXbaseWithAnnotations.getXBasicForLoopExpressionAccess(); |
| } |
| |
| public ParserRule getXBasicForLoopExpressionRule() { |
| return getXBasicForLoopExpressionAccess().getRule(); |
| } |
| |
| //XWhileExpression returns XExpression: |
| // {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression; |
| public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() { |
| return gaXbaseWithAnnotations.getXWhileExpressionAccess(); |
| } |
| |
| public ParserRule getXWhileExpressionRule() { |
| return getXWhileExpressionAccess().getRule(); |
| } |
| |
| //XDoWhileExpression returns XExpression: |
| // {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")"; |
| public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() { |
| return gaXbaseWithAnnotations.getXDoWhileExpressionAccess(); |
| } |
| |
| public ParserRule getXDoWhileExpressionRule() { |
| return getXDoWhileExpressionAccess().getRule(); |
| } |
| |
| //XBlockExpression returns XExpression: |
| // {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}"; |
| public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() { |
| return gaXbaseWithAnnotations.getXBlockExpressionAccess(); |
| } |
| |
| public ParserRule getXBlockExpressionRule() { |
| return getXBlockExpressionAccess().getRule(); |
| } |
| |
| //XExpressionOrVarDeclaration returns XExpression: |
| // XVariableDeclaration | XExpression; |
| public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXExpressionOrVarDeclarationAccess(); |
| } |
| |
| public ParserRule getXExpressionOrVarDeclarationRule() { |
| return getXExpressionOrVarDeclarationAccess().getRule(); |
| } |
| |
| //XVariableDeclaration returns XExpression: |
| // {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("=" |
| // right=XExpression)?; |
| public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXVariableDeclarationAccess(); |
| } |
| |
| public ParserRule getXVariableDeclarationRule() { |
| return getXVariableDeclarationAccess().getRule(); |
| } |
| |
| //JvmFormalParameter returns types::JvmFormalParameter: |
| // parameterType=JvmTypeReference? name=ValidID; |
| public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() { |
| return gaXbaseWithAnnotations.getJvmFormalParameterAccess(); |
| } |
| |
| public ParserRule getJvmFormalParameterRule() { |
| return getJvmFormalParameterAccess().getRule(); |
| } |
| |
| //FullJvmFormalParameter returns types::JvmFormalParameter: |
| // parameterType=JvmTypeReference name=ValidID; |
| public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() { |
| return gaXbaseWithAnnotations.getFullJvmFormalParameterAccess(); |
| } |
| |
| public ParserRule getFullJvmFormalParameterRule() { |
| return getFullJvmFormalParameterAccess().getRule(); |
| } |
| |
| //XFeatureCall returns XExpression: |
| // {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? |
| // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure |
| // | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?; |
| public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() { |
| return gaXbaseWithAnnotations.getXFeatureCallAccess(); |
| } |
| |
| public ParserRule getXFeatureCallRule() { |
| return getXFeatureCallAccess().getRule(); |
| } |
| |
| //FeatureCallID: |
| // ValidID | "extends" | "static" | "import" | "extension"; |
| public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() { |
| return gaXbaseWithAnnotations.getFeatureCallIDAccess(); |
| } |
| |
| public ParserRule getFeatureCallIDRule() { |
| return getFeatureCallIDAccess().getRule(); |
| } |
| |
| //IdOrSuper: |
| // FeatureCallID | "super"; |
| public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() { |
| return gaXbaseWithAnnotations.getIdOrSuperAccess(); |
| } |
| |
| public ParserRule getIdOrSuperRule() { |
| return getIdOrSuperAccess().getRule(); |
| } |
| |
| //XConstructorCall returns XExpression: |
| // {XConstructorCall} "new" constructor=[types::JvmConstructor|QualifiedName] ("<" |
| // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? (=> |
| // explicitConstructorCall?="(" (arguments+=XShortClosure | arguments+=XExpression ("," arguments+=XExpression)*)? ")")? |
| // arguments+=XClosure?; |
| public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() { |
| return gaXbaseWithAnnotations.getXConstructorCallAccess(); |
| } |
| |
| public ParserRule getXConstructorCallRule() { |
| return getXConstructorCallAccess().getRule(); |
| } |
| |
| //XBooleanLiteral returns XExpression: |
| // {XBooleanLiteral} ("false" | isTrue?="true"); |
| public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() { |
| return gaXbaseWithAnnotations.getXBooleanLiteralAccess(); |
| } |
| |
| public ParserRule getXBooleanLiteralRule() { |
| return getXBooleanLiteralAccess().getRule(); |
| } |
| |
| //XNullLiteral returns XExpression: |
| // {XNullLiteral} "null"; |
| public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() { |
| return gaXbaseWithAnnotations.getXNullLiteralAccess(); |
| } |
| |
| public ParserRule getXNullLiteralRule() { |
| return getXNullLiteralAccess().getRule(); |
| } |
| |
| //XNumberLiteral returns XExpression: |
| // {XNumberLiteral} value=Number; |
| public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() { |
| return gaXbaseWithAnnotations.getXNumberLiteralAccess(); |
| } |
| |
| public ParserRule getXNumberLiteralRule() { |
| return getXNumberLiteralAccess().getRule(); |
| } |
| |
| //XStringLiteral returns XExpression: |
| // {XStringLiteral} value=STRING; |
| public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() { |
| return gaXbaseWithAnnotations.getXStringLiteralAccess(); |
| } |
| |
| public ParserRule getXStringLiteralRule() { |
| return getXStringLiteralAccess().getRule(); |
| } |
| |
| //XTypeLiteral returns XExpression: |
| // {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")"; |
| public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() { |
| return gaXbaseWithAnnotations.getXTypeLiteralAccess(); |
| } |
| |
| public ParserRule getXTypeLiteralRule() { |
| return getXTypeLiteralAccess().getRule(); |
| } |
| |
| //XThrowExpression returns XExpression: |
| // {XThrowExpression} "throw" expression=XExpression; |
| public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() { |
| return gaXbaseWithAnnotations.getXThrowExpressionAccess(); |
| } |
| |
| public ParserRule getXThrowExpressionRule() { |
| return getXThrowExpressionAccess().getRule(); |
| } |
| |
| //XReturnExpression returns XExpression: |
| // {XReturnExpression} "return" -> expression=XExpression?; |
| public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() { |
| return gaXbaseWithAnnotations.getXReturnExpressionAccess(); |
| } |
| |
| public ParserRule getXReturnExpressionRule() { |
| return getXReturnExpressionAccess().getRule(); |
| } |
| |
| //XTryCatchFinallyExpression returns XExpression: |
| // {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally" |
| // finallyExpression=XExpression)? | "finally" finallyExpression=XExpression); |
| public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() { |
| return gaXbaseWithAnnotations.getXTryCatchFinallyExpressionAccess(); |
| } |
| |
| public ParserRule getXTryCatchFinallyExpressionRule() { |
| return getXTryCatchFinallyExpressionAccess().getRule(); |
| } |
| |
| //XSynchronizedExpression returns XExpression: |
| // => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression; |
| public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXSynchronizedExpressionAccess(); |
| } |
| |
| public ParserRule getXSynchronizedExpressionRule() { |
| return getXSynchronizedExpressionAccess().getRule(); |
| } |
| |
| //XCatchClause: |
| // "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression; |
| public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() { |
| return gaXbaseWithAnnotations.getXCatchClauseAccess(); |
| } |
| |
| public ParserRule getXCatchClauseRule() { |
| return getXCatchClauseAccess().getRule(); |
| } |
| |
| //Number hidden(): |
| // HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?; |
| public XbaseGrammarAccess.NumberElements getNumberAccess() { |
| return gaXbaseWithAnnotations.getNumberAccess(); |
| } |
| |
| public ParserRule getNumberRule() { |
| return getNumberAccess().getRule(); |
| } |
| |
| /// ** |
| // * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes, |
| // * which makes downstream grammars break on classloading, when a rule is removed. |
| // * / |
| //StaticQualifier: |
| // (ValidID "::")+; |
| public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() { |
| return gaXbaseWithAnnotations.getStaticQualifierAccess(); |
| } |
| |
| public ParserRule getStaticQualifierRule() { |
| return getStaticQualifierAccess().getRule(); |
| } |
| |
| //terminal HEX: |
| // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F" | "_")+ ("#" (("b" | "B") ("i" | "I") | ("l" | "L")))?; |
| public TerminalRule getHEXRule() { |
| return gaXbaseWithAnnotations.getHEXRule(); |
| } |
| |
| //terminal INT returns ecore::EInt: |
| // "0".."9" ("0".."9" | "_")*; |
| public TerminalRule getINTRule() { |
| return gaXbaseWithAnnotations.getINTRule(); |
| } |
| |
| //terminal DECIMAL: |
| // INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?; |
| public TerminalRule getDECIMALRule() { |
| return gaXbaseWithAnnotations.getDECIMALRule(); |
| } |
| |
| //JvmTypeReference: |
| // JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* | |
| // XFunctionTypeRef; |
| public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmTypeReferenceRule() { |
| return getJvmTypeReferenceAccess().getRule(); |
| } |
| |
| //ArrayBrackets: |
| // "[" "]"; |
| public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() { |
| return gaXbaseWithAnnotations.getArrayBracketsAccess(); |
| } |
| |
| public ParserRule getArrayBracketsRule() { |
| return getArrayBracketsAccess().getRule(); |
| } |
| |
| //XFunctionTypeRef: |
| // ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference; |
| public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() { |
| return gaXbaseWithAnnotations.getXFunctionTypeRefAccess(); |
| } |
| |
| public ParserRule getXFunctionTypeRefRule() { |
| return getXFunctionTypeRefAccess().getRule(); |
| } |
| |
| //JvmParameterizedTypeReference: |
| // type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">" |
| // (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference ("," |
| // arguments+=JvmArgumentTypeReference)* ">")?)*)?; |
| public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmParameterizedTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmParameterizedTypeReferenceRule() { |
| return getJvmParameterizedTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmArgumentTypeReference returns JvmTypeReference: |
| // JvmTypeReference | JvmWildcardTypeReference; |
| public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmArgumentTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmArgumentTypeReferenceRule() { |
| return getJvmArgumentTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmWildcardTypeReference: |
| // {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* | |
| // constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?; |
| public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmWildcardTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmWildcardTypeReferenceRule() { |
| return getJvmWildcardTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmUpperBound: |
| // "extends" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() { |
| return gaXbaseWithAnnotations.getJvmUpperBoundAccess(); |
| } |
| |
| public ParserRule getJvmUpperBoundRule() { |
| return getJvmUpperBoundAccess().getRule(); |
| } |
| |
| //JvmUpperBoundAnded returns JvmUpperBound: |
| // "&" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() { |
| return gaXbaseWithAnnotations.getJvmUpperBoundAndedAccess(); |
| } |
| |
| public ParserRule getJvmUpperBoundAndedRule() { |
| return getJvmUpperBoundAndedAccess().getRule(); |
| } |
| |
| //JvmLowerBound: |
| // "super" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() { |
| return gaXbaseWithAnnotations.getJvmLowerBoundAccess(); |
| } |
| |
| public ParserRule getJvmLowerBoundRule() { |
| return getJvmLowerBoundAccess().getRule(); |
| } |
| |
| //JvmLowerBoundAnded returns JvmLowerBound: |
| // "&" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() { |
| return gaXbaseWithAnnotations.getJvmLowerBoundAndedAccess(); |
| } |
| |
| public ParserRule getJvmLowerBoundAndedRule() { |
| return getJvmLowerBoundAndedAccess().getRule(); |
| } |
| |
| //JvmTypeParameter: |
| // name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?; |
| public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() { |
| return gaXbaseWithAnnotations.getJvmTypeParameterAccess(); |
| } |
| |
| public ParserRule getJvmTypeParameterRule() { |
| return getJvmTypeParameterAccess().getRule(); |
| } |
| |
| //QualifiedNameWithWildcard: |
| // QualifiedName "." "*"; |
| public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { |
| return gaXbaseWithAnnotations.getQualifiedNameWithWildcardAccess(); |
| } |
| |
| public ParserRule getQualifiedNameWithWildcardRule() { |
| return getQualifiedNameWithWildcardAccess().getRule(); |
| } |
| |
| //XImportSection: |
| // importDeclarations+=XImportDeclaration+; |
| public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() { |
| return gaXbaseWithAnnotations.getXImportSectionAccess(); |
| } |
| |
| public ParserRule getXImportSectionRule() { |
| return getXImportSectionAccess().getRule(); |
| } |
| |
| //XImportDeclaration: |
| // "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport] |
| // (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] | |
| // importedNamespace=QualifiedNameWithWildcard) ";"?; |
| public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXImportDeclarationAccess(); |
| } |
| |
| public ParserRule getXImportDeclarationRule() { |
| return getXImportDeclarationAccess().getRule(); |
| } |
| |
| //QualifiedNameInStaticImport: |
| // (ValidID ".")+; |
| public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() { |
| return gaXbaseWithAnnotations.getQualifiedNameInStaticImportAccess(); |
| } |
| |
| public ParserRule getQualifiedNameInStaticImportRule() { |
| return getQualifiedNameInStaticImportAccess().getRule(); |
| } |
| |
| //terminal STRING: |
| // "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" . |
| // / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?; |
| public TerminalRule getSTRINGRule() { |
| return gaXbaseWithAnnotations.getSTRINGRule(); |
| } |
| |
| //terminal ML_COMMENT: |
| // "/ *"->"* /"; |
| public TerminalRule getML_COMMENTRule() { |
| return gaXbaseWithAnnotations.getML_COMMENTRule(); |
| } |
| |
| //terminal SL_COMMENT: |
| // "//" !("\n" | "\r")* ("\r"? "\n")?; |
| public TerminalRule getSL_COMMENTRule() { |
| return gaXbaseWithAnnotations.getSL_COMMENTRule(); |
| } |
| |
| //terminal WS: |
| // (" " | "\t" | "\r" | "\n")+; |
| public TerminalRule getWSRule() { |
| return gaXbaseWithAnnotations.getWSRule(); |
| } |
| |
| //terminal ANY_OTHER: |
| // .; |
| public TerminalRule getANY_OTHERRule() { |
| return gaXbaseWithAnnotations.getANY_OTHERRule(); |
| } |
| } |