| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * 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: |
| * Florian Pirchner - Initial implementation |
| */ |
| grammar InternalEntityGrammar; |
| |
| options { |
| superClass=AbstractInternalAntlrParser; |
| |
| } |
| |
| @lexer::header { |
| package org.eclipse.osbp.dsl.entity.xtext.parser.antlr.internal; |
| |
| // Hack: Use our own Lexer superclass by means of import. |
| // Currently there is no other way to specify the superclass for the lexer. |
| import org.eclipse.xtext.parser.antlr.Lexer; |
| } |
| |
| @parser::header { |
| package org.eclipse.osbp.dsl.entity.xtext.parser.antlr.internal; |
| |
| import org.eclipse.xtext.*; |
| import org.eclipse.xtext.parser.*; |
| import org.eclipse.xtext.parser.impl.*; |
| import org.eclipse.emf.ecore.util.EcoreUtil; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.emf.common.util.Enumerator; |
| import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
| import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; |
| import org.eclipse.osbp.dsl.entity.xtext.services.EntityGrammarGrammarAccess; |
| |
| } |
| |
| @parser::members { |
| |
| private EntityGrammarGrammarAccess grammarAccess; |
| |
| public InternalEntityGrammarParser(TokenStream input, EntityGrammarGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "EntityModel"; |
| } |
| |
| @Override |
| protected EntityGrammarGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| } |
| |
| @rulecatch { |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| } |
| |
| |
| |
| |
| // Entry rule entryRuleEntityModel |
| entryRuleEntityModel returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEntityModelRule()); } |
| iv_ruleEntityModel=ruleEntityModel |
| { $current=$iv_ruleEntityModel.current; } |
| EOF |
| ; |
| |
| // Rule EntityModel |
| ruleEntityModel returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityModelAccess().getPackagesTypedPackageParserRuleCall_0()); |
| } |
| lv_packages_0_0=ruleTypedPackage { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityModelRule()); |
| } |
| add( |
| $current, |
| "packages", |
| lv_packages_0_0, |
| "TypedPackage"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleClass |
| entryRuleClass returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getClassRule()); } |
| iv_ruleClass=ruleClass |
| { $current=$iv_ruleClass.current; } |
| EOF |
| ; |
| |
| // Rule Class |
| ruleClass returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getClassAccess().getLClassAction_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| } |
| lv_annotations_1_0=ruleAnnotationDef { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| $current, |
| "annotations", |
| lv_annotations_1_0, |
| "AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*((( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLEntityAnnotationInfoAction_2_0_0(), |
| $current); |
| } |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 0); |
| } |
| ({true}?=>( |
| ( |
| lv_abstract_4_0= 'abstract' |
| { |
| newLeafNode(lv_abstract_4_0, grammarAccess.getClassAccess().getAbstractAbstractKeyword_2_0_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed($current, "abstract", true, "abstract"); |
| } |
| |
| ) |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 1); |
| } |
| ({true}?=>(( |
| ( |
| lv_historized_5_0= 'historized' |
| { |
| newLeafNode(lv_historized_5_0, grammarAccess.getClassAccess().getHistorizedHistorizedKeyword_2_0_1_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed($current, "historized", true, "historized"); |
| } |
| |
| ) |
| ) |
| |(( |
| ( |
| lv_timedependent_6_0= 'timedependent' |
| { |
| newLeafNode(lv_timedependent_6_0, grammarAccess.getClassAccess().getTimedependentTimedependentKeyword_2_0_1_1_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed($current, "timedependent", true, "timedependent"); |
| } |
| |
| ) |
| )( otherlv_7='(' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getClassAccess().getLeftParenthesisKeyword_2_0_1_1_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getTimedependentDateTypeLHistorizedDateTypeEnumRuleCall_2_0_1_1_1_1_1_0()); |
| } |
| lv_timedependentDateType_8_0=ruleLHistorizedDateType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "timedependentDateType", |
| lv_timedependentDateType_8_0, |
| "LHistorizedDateType"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_9=')' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getClassAccess().getRightParenthesisKeyword_2_0_1_1_1_1_2()); |
| } |
| )?))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1(), 2); |
| } |
| ({true}?=>( |
| ( |
| lv_cacheable_10_0= 'cacheable' |
| { |
| newLeafNode(lv_cacheable_10_0, grammarAccess.getClassAccess().getCacheableCacheableKeyword_2_0_1_2_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed($current, "cacheable", true, "cacheable"); |
| } |
| |
| ) |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1()); |
| } |
| ) |
| ) |
| |
| )* |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getClassAccess().getUnorderedGroup_2_0_1()); |
| } |
| |
| ) otherlv_11='entity' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getClassAccess().getEntityKeyword_2_0_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_3_0()); |
| } |
| lv_name_12_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_12_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_13='extends' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getClassAccess().getExtendsKeyword_2_0_4_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLEntityCrossReference_2_0_4_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15='{' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_0_5()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getPersistenceInfoEntityPersistenceInfoParserRuleCall_2_0_6_0()); |
| } |
| lv_persistenceInfo_16_0=ruleEntityPersistenceInfo { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "persistenceInfo", |
| lv_persistenceInfo_16_0, |
| "EntityPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getInheritanceStrategyEntityInheritanceStrategyParserRuleCall_2_0_7_0()); |
| } |
| lv_inheritanceStrategy_17_0=ruleEntityInheritanceStrategy { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "inheritanceStrategy", |
| lv_inheritanceStrategy_17_0, |
| "EntityInheritanceStrategy"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_18='persistenceUnit' |
| { |
| newLeafNode(otherlv_18, grammarAccess.getClassAccess().getPersistenceUnitKeyword_2_0_8_0()); |
| } |
| ( |
| ( |
| lv_persistenceUnit_19_0=RULE_STRING |
| { |
| newLeafNode(lv_persistenceUnit_19_0, grammarAccess.getClassAccess().getPersistenceUnitSTRINGTerminalRuleCall_2_0_8_1_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "persistenceUnit", |
| lv_persistenceUnit_19_0, |
| "STRING"); |
| } |
| |
| ) |
| )( otherlv_20=';' |
| { |
| newLeafNode(otherlv_20, grammarAccess.getClassAccess().getSemicolonKeyword_2_0_8_2()); |
| } |
| )?)?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesEntityFeatureParserRuleCall_2_0_9_0()); |
| } |
| lv_features_21_0=ruleEntityFeature { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| $current, |
| "features", |
| lv_features_21_0, |
| "EntityFeature"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getIndexesIndexParserRuleCall_2_0_10_0()); |
| } |
| lv_indexes_22_0=ruleIndex { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| $current, |
| "indexes", |
| lv_indexes_22_0, |
| "Index"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_23='}' |
| { |
| newLeafNode(otherlv_23, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_0_11()); |
| } |
| ) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLEntityAnnotationInfoAction_2_1_0(), |
| $current); |
| } |
| )( |
| ( |
| lv_mappedSuperclass_25_0= 'mapped superclass' |
| { |
| newLeafNode(lv_mappedSuperclass_25_0, grammarAccess.getClassAccess().getMappedSuperclassMappedSuperclassKeyword_2_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed($current, "mappedSuperclass", true, "mapped superclass"); |
| } |
| |
| ) |
| )( otherlv_26='extends' |
| { |
| newLeafNode(otherlv_26, grammarAccess.getClassAccess().getExtendsKeyword_2_1_2_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLEntityCrossReference_2_1_2_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getNameValidIDWithKeywordsParserRuleCall_2_1_3_0()); |
| } |
| lv_name_28_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_28_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_29='{' |
| { |
| newLeafNode(otherlv_29, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_1_4()); |
| } |
| ( otherlv_30='persistenceUnit' |
| { |
| newLeafNode(otherlv_30, grammarAccess.getClassAccess().getPersistenceUnitKeyword_2_1_5_0()); |
| } |
| ( |
| ( |
| lv_persistenceUnit_31_0=RULE_STRING |
| { |
| newLeafNode(lv_persistenceUnit_31_0, grammarAccess.getClassAccess().getPersistenceUnitSTRINGTerminalRuleCall_2_1_5_1_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "persistenceUnit", |
| lv_persistenceUnit_31_0, |
| "STRING"); |
| } |
| |
| ) |
| )( otherlv_32=';' |
| { |
| newLeafNode(otherlv_32, grammarAccess.getClassAccess().getSemicolonKeyword_2_1_5_2()); |
| } |
| )?)?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesEntityFeatureParserRuleCall_2_1_6_0()); |
| } |
| lv_features_33_0=ruleEntityFeature { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| $current, |
| "features", |
| lv_features_33_0, |
| "EntityFeature"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_34='}' |
| { |
| newLeafNode(otherlv_34, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_1_7()); |
| } |
| ) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLBeanAnnotationInfoAction_2_2_0(), |
| $current); |
| } |
| ) otherlv_36='bean' |
| { |
| newLeafNode(otherlv_36, grammarAccess.getClassAccess().getBeanKeyword_2_2_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getNameTRANSLATABLEIDParserRuleCall_2_2_2_0()); |
| } |
| lv_name_37_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_37_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_38='extends' |
| { |
| newLeafNode(otherlv_38, grammarAccess.getClassAccess().getExtendsKeyword_2_2_3_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getClassRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLBeanCrossReference_2_2_3_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_40='{' |
| { |
| newLeafNode(otherlv_40, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_2_4()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesBeanFeatureParserRuleCall_2_2_5_0()); |
| } |
| lv_features_41_0=ruleBeanFeature { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| $current, |
| "features", |
| lv_features_41_0, |
| "BeanFeature"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_42='}' |
| { |
| newLeafNode(otherlv_42, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_2_6()); |
| } |
| ))) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleIndex |
| entryRuleIndex returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getIndexRule()); } |
| iv_ruleIndex=ruleIndex |
| { $current=$iv_ruleIndex.current; } |
| EOF |
| ; |
| |
| // Rule Index |
| ruleIndex returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| ( |
| lv_unique_0_0= 'unique' |
| { |
| newLeafNode(lv_unique_0_0, grammarAccess.getIndexAccess().getUniqueUniqueKeyword_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| setWithLastConsumed($current, "unique", true, "unique"); |
| } |
| |
| ) |
| )? otherlv_1='index' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getIndexAccess().getIndexKeyword_1()); |
| } |
| ( |
| ( |
| lv_name_2_0=RULE_ID |
| { |
| newLeafNode(lv_name_2_0, grammarAccess.getIndexAccess().getNameIDTerminalRuleCall_2_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| } |
| |
| ) |
| ) otherlv_3='{' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getIndexAccess().getLeftCurlyBracketKeyword_3()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| } |
| otherlv_4=RULE_ID |
| { |
| newLeafNode(otherlv_4, grammarAccess.getIndexAccess().getFeaturesLEntityFeatureCrossReference_4_0()); |
| } |
| |
| ) |
| )( otherlv_5=', ' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getIndexAccess().getCommaSpaceKeyword_5_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| } |
| otherlv_6=RULE_ID |
| { |
| newLeafNode(otherlv_6, grammarAccess.getIndexAccess().getFeaturesLEntityFeatureCrossReference_5_1_0()); |
| } |
| |
| ) |
| ))* otherlv_7='}' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getIndexAccess().getRightCurlyBracketKeyword_6()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleEntityPersistenceInfo |
| entryRuleEntityPersistenceInfo returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEntityPersistenceInfoRule()); } |
| iv_ruleEntityPersistenceInfo=ruleEntityPersistenceInfo |
| { $current=$iv_ruleEntityPersistenceInfo.current; } |
| EOF |
| ; |
| |
| // Rule EntityPersistenceInfo |
| ruleEntityPersistenceInfo returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getEntityPersistenceInfoAccess().getLEntityPersistenceInfoAction_0(), |
| $current); |
| } |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1(), 0); |
| } |
| ({true}?=>( otherlv_2='schemaName' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getEntityPersistenceInfoAccess().getSchemaNameKeyword_1_0_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityPersistenceInfoAccess().getSchemaNameValidIDWithKeywordsParserRuleCall_1_0_1_0()); |
| } |
| lv_schemaName_3_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityPersistenceInfoRule()); |
| } |
| set( |
| $current, |
| "schemaName", |
| lv_schemaName_3_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=';' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getEntityPersistenceInfoAccess().getSemicolonKeyword_1_0_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1(), 1); |
| } |
| ({true}?=>( otherlv_5='tableName' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getEntityPersistenceInfoAccess().getTableNameKeyword_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityPersistenceInfoAccess().getTableNameValidIDWithKeywordsParserRuleCall_1_1_1_0()); |
| } |
| lv_tableName_6_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityPersistenceInfoRule()); |
| } |
| set( |
| $current, |
| "tableName", |
| lv_tableName_6_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_7=';' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getEntityPersistenceInfoAccess().getSemicolonKeyword_1_1_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1()); |
| } |
| ) |
| ) |
| |
| )* |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getEntityPersistenceInfoAccess().getUnorderedGroup_1()); |
| } |
| |
| )) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleColumnPersistenceInfo |
| entryRuleColumnPersistenceInfo returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getColumnPersistenceInfoRule()); } |
| iv_ruleColumnPersistenceInfo=ruleColumnPersistenceInfo |
| { $current=$iv_ruleColumnPersistenceInfo.current; } |
| EOF |
| ; |
| |
| // Rule ColumnPersistenceInfo |
| ruleColumnPersistenceInfo returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getColumnPersistenceInfoAccess().getLEntityColumnPersistenceInfoAction_0(), |
| $current); |
| } |
| ) otherlv_1='(' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getColumnPersistenceInfoAccess().getLeftParenthesisKeyword_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getColumnPersistenceInfoAccess().getColumnNameValidIDWithKeywordsParserRuleCall_2_0()); |
| } |
| lv_columnName_2_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getColumnPersistenceInfoRule()); |
| } |
| set( |
| $current, |
| "columnName", |
| lv_columnName_2_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_3=')' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getColumnPersistenceInfoAccess().getRightParenthesisKeyword_3()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleEntityFeature |
| entryRuleEntityFeature returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEntityFeatureRule()); } |
| iv_ruleEntityFeature=ruleEntityFeature |
| { $current=$iv_ruleEntityFeature.current; } |
| EOF |
| ; |
| |
| // Rule EntityFeature |
| ruleEntityFeature returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getEntityFeatureAccess().getLEntityFeatureAction_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| } |
| lv_annotations_1_0=ruleAnnotationDef { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "annotations", |
| lv_annotations_1_0, |
| "AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*((( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLEntityReferenceAnnotationInfoAction_2_0_0(), |
| $current); |
| } |
| )( otherlv_3='ref' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getEntityFeatureAccess().getRefKeyword_2_0_1_0()); |
| } |
| ( |
| ( |
| lv_cascading_4_0= 'cascade' |
| { |
| newLeafNode(lv_cascading_4_0, grammarAccess.getEntityFeatureAccess().getCascadingCascadeKeyword_2_0_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "cascading", true, "cascade"); |
| } |
| |
| ) |
| )?( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLEntityCrossReference_2_0_1_2_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_0_1_3_0()); |
| } |
| lv_multiplicity_6_0=ruleMultiplicity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "multiplicity", |
| lv_multiplicity_6_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_7='[' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_0_1_4_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0()); |
| } |
| lv_constraints_8_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_8_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_9=']' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_0_1_4_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0()); |
| } |
| lv_name_10_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_10_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_6_0()); |
| } |
| lv_persistenceInfo_11_0=ruleColumnPersistenceInfo { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "persistenceInfo", |
| lv_persistenceInfo_11_0, |
| "ColumnPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_12='opposite' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getEntityFeatureAccess().getOppositeKeyword_2_0_1_7_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getOppositeLEntityReferenceCrossReference_2_0_1_7_1_0()); |
| } |
| ruleLFQN { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?( otherlv_14='properties' |
| { |
| newLeafNode(otherlv_14, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_0_1_8_0()); |
| } |
| otherlv_15='(' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_0_1_8_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_8_2_0()); |
| } |
| lv_properties_16_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_16_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_17=', ' |
| { |
| newLeafNode(otherlv_17, grammarAccess.getEntityFeatureAccess().getCommaSpaceKeyword_2_0_1_8_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_8_3_1_0()); |
| } |
| lv_properties_18_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_18_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_19=')' |
| { |
| newLeafNode(otherlv_19, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_0_1_8_4()); |
| } |
| )?(( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getResultFiltersResultFiltersParserRuleCall_2_0_1_9_0_0()); |
| } |
| lv_resultFilters_20_0=ruleResultFilters { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "resultFilters", |
| lv_resultFilters_20_0, |
| "ResultFilters"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) |
| |( otherlv_21=';' |
| { |
| newLeafNode(otherlv_21, grammarAccess.getEntityFeatureAccess().getSemicolonKeyword_2_0_1_9_1()); |
| } |
| )?))) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLEntityAttributeAnnotationInfoAction_2_1_0(), |
| $current); |
| } |
| )((( |
| ( |
| lv_transient_23_0= 'transient' |
| { |
| newLeafNode(lv_transient_23_0, grammarAccess.getEntityFeatureAccess().getTransientTransientKeyword_2_1_1_0_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "transient", true, "transient"); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_0_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_25='[' |
| { |
| newLeafNode(otherlv_25, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_1_1_0_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0()); |
| } |
| lv_constraints_26_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_26_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_27=']' |
| { |
| newLeafNode(otherlv_27, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_1_1_0_2_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0()); |
| } |
| lv_name_28_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_28_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_29='properties' |
| { |
| newLeafNode(otherlv_29, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_0_4_0()); |
| } |
| otherlv_30='(' |
| { |
| newLeafNode(otherlv_30, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_0_4_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0()); |
| } |
| lv_properties_31_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_31_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_32=', ' |
| { |
| newLeafNode(otherlv_32, grammarAccess.getEntityFeatureAccess().getCommaSpaceKeyword_2_1_1_0_4_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0()); |
| } |
| lv_properties_33_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_33_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_34=')' |
| { |
| newLeafNode(otherlv_34, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_0_4_4()); |
| } |
| )?( otherlv_35=';' |
| { |
| newLeafNode(otherlv_35, grammarAccess.getEntityFeatureAccess().getSemicolonKeyword_2_1_1_0_5()); |
| } |
| )?) |
| |(( |
| ( |
| lv_derived_36_0= 'derived' |
| { |
| newLeafNode(lv_derived_36_0, grammarAccess.getEntityFeatureAccess().getDerivedDerivedKeyword_2_1_1_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "derived", true, "derived"); |
| } |
| |
| ) |
| )( |
| ( |
| lv_domainDescription_37_0= 'domainDescription' |
| { |
| newLeafNode(lv_domainDescription_37_0, grammarAccess.getEntityFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_1_1_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "domainDescription", true, "domainDescription"); |
| } |
| |
| ) |
| )?( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_1_2_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0()); |
| } |
| lv_name_39_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_39_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_40='properties' |
| { |
| newLeafNode(otherlv_40, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_1_4_0()); |
| } |
| otherlv_41='(' |
| { |
| newLeafNode(otherlv_41, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_1_4_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_2_0()); |
| } |
| lv_properties_42_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_42_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_43=', ' |
| { |
| newLeafNode(otherlv_43, grammarAccess.getEntityFeatureAccess().getCommaSpaceKeyword_2_1_1_1_4_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_3_1_0()); |
| } |
| lv_properties_44_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_44_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_45=')' |
| { |
| newLeafNode(otherlv_45, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_1_4_4()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_5_0()); |
| } |
| lv_derivedGetterExpression_46_0=ruleXBlockExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "derivedGetterExpression", |
| lv_derivedGetterExpression_46_0, |
| "XBlockExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| |(( otherlv_47='var' |
| { |
| newLeafNode(otherlv_47, grammarAccess.getEntityFeatureAccess().getVarKeyword_2_1_1_2_0_0()); |
| } |
| |
| |( |
| ( |
| lv_id_48_0= 'id' |
| { |
| newLeafNode(lv_id_48_0, grammarAccess.getEntityFeatureAccess().getIdIdKeyword_2_1_1_2_0_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "id", true, "id"); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_uuid_49_0= 'uuid' |
| { |
| newLeafNode(lv_uuid_49_0, grammarAccess.getEntityFeatureAccess().getUuidUuidKeyword_2_1_1_2_0_2_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "uuid", true, "uuid"); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_version_50_0= 'version' |
| { |
| newLeafNode(lv_version_50_0, grammarAccess.getEntityFeatureAccess().getVersionVersionKeyword_2_1_1_2_0_3_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "version", true, "version"); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_domainDescription_51_0= 'domainDescription' |
| { |
| newLeafNode(lv_domainDescription_51_0, grammarAccess.getEntityFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_1_1_2_0_4_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "domainDescription", true, "domainDescription"); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_domainKey_52_0= 'domainKey' |
| { |
| newLeafNode(lv_domainKey_52_0, grammarAccess.getEntityFeatureAccess().getDomainKeyDomainKeyKeyword_2_1_1_2_0_5_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed($current, "domainKey", true, "domainKey"); |
| } |
| |
| ) |
| ))( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_2_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_1_1_2_2_0()); |
| } |
| lv_multiplicity_54_0=ruleMultiplicity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "multiplicity", |
| lv_multiplicity_54_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_55='[' |
| { |
| newLeafNode(otherlv_55, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_1_1_2_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_2_3_1_0()); |
| } |
| lv_constraints_56_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_56_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_57=']' |
| { |
| newLeafNode(otherlv_57, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_1_1_2_3_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_2_4_0()); |
| } |
| lv_name_58_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_58_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_5_0()); |
| } |
| lv_persistenceInfo_59_0=ruleColumnPersistenceInfo { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "persistenceInfo", |
| lv_persistenceInfo_59_0, |
| "ColumnPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_60='opposite' |
| { |
| newLeafNode(otherlv_60, grammarAccess.getEntityFeatureAccess().getOppositeKeyword_2_1_1_2_6_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getOppositeLBeanReferenceCrossReference_2_1_1_2_6_1_0()); |
| } |
| ruleLFQN { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?( otherlv_62='properties' |
| { |
| newLeafNode(otherlv_62, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_2_7_0()); |
| } |
| otherlv_63='(' |
| { |
| newLeafNode(otherlv_63, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_2_7_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_2_0()); |
| } |
| lv_properties_64_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_64_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_65=', ' |
| { |
| newLeafNode(otherlv_65, grammarAccess.getEntityFeatureAccess().getCommaSpaceKeyword_2_1_1_2_7_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_3_1_0()); |
| } |
| lv_properties_66_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_66_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_67=')' |
| { |
| newLeafNode(otherlv_67, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_2_7_4()); |
| } |
| )?( otherlv_68=';' |
| { |
| newLeafNode(otherlv_68, grammarAccess.getEntityFeatureAccess().getSemicolonKeyword_2_1_1_2_8()); |
| } |
| )?))) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLOperationAnnotationInfoAction_2_2_0(), |
| $current); |
| } |
| )( otherlv_70='def' |
| { |
| newLeafNode(otherlv_70, grammarAccess.getEntityFeatureAccess().getDefKeyword_2_2_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0()); |
| } |
| lv_type_71_0=ruleJvmTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "type", |
| lv_type_71_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0()); |
| } |
| lv_name_72_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_72_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_73='(' |
| { |
| newLeafNode(otherlv_73, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_2_1_3()); |
| } |
| (( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0()); |
| } |
| lv_params_74_0=ruleFullJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "params", |
| lv_params_74_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_75=', ' |
| { |
| newLeafNode(otherlv_75, grammarAccess.getEntityFeatureAccess().getCommaSpaceKeyword_2_2_1_4_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0()); |
| } |
| lv_params_76_0=ruleFullJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| $current, |
| "params", |
| lv_params_76_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_77=')' |
| { |
| newLeafNode(otherlv_77, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_2_1_5()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getBodyXExpressionParserRuleCall_2_2_1_6_0()); |
| } |
| lv_body_78_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| $current, |
| "body", |
| lv_body_78_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))))) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleBeanFeature |
| entryRuleBeanFeature returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getBeanFeatureRule()); } |
| iv_ruleBeanFeature=ruleBeanFeature |
| { $current=$iv_ruleBeanFeature.current; } |
| EOF |
| ; |
| |
| // Rule BeanFeature |
| ruleBeanFeature returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getBeanFeatureAccess().getLBeanFeatureAction_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| } |
| lv_annotations_1_0=ruleAnnotationDef { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "annotations", |
| lv_annotations_1_0, |
| "AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*((( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLBeanReferenceAnnotationInfoAction_2_0_0(), |
| $current); |
| } |
| )( otherlv_3='ref' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getBeanFeatureAccess().getRefKeyword_2_0_1_0()); |
| } |
| ( |
| ( |
| lv_cascading_4_0= 'cascade' |
| { |
| newLeafNode(lv_cascading_4_0, grammarAccess.getBeanFeatureAccess().getCascadingCascadeKeyword_2_0_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed($current, "cascading", true, "cascade"); |
| } |
| |
| ) |
| )?( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLTypeCrossReference_2_0_1_2_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_0_1_3_0()); |
| } |
| lv_multiplicity_6_0=ruleMultiplicity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "multiplicity", |
| lv_multiplicity_6_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_7='[' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_0_1_4_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0()); |
| } |
| lv_constraints_8_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_8_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_9=']' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_0_1_4_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0()); |
| } |
| lv_name_10_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_10_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_11='opposite' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getBeanFeatureAccess().getOppositeKeyword_2_0_1_6_0()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getOppositeLReferenceCrossReference_2_0_1_6_1_0()); |
| } |
| ruleLFQN { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?( otherlv_13='properties' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_0_1_7_0()); |
| } |
| otherlv_14='(' |
| { |
| newLeafNode(otherlv_14, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_0_1_7_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_7_2_0()); |
| } |
| lv_properties_15_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_15_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_16=', ' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getBeanFeatureAccess().getCommaSpaceKeyword_2_0_1_7_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_7_3_1_0()); |
| } |
| lv_properties_17_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_17_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_18=')' |
| { |
| newLeafNode(otherlv_18, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_0_1_7_4()); |
| } |
| )?(( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getResultFiltersResultFiltersParserRuleCall_2_0_1_8_0_0()); |
| } |
| lv_resultFilters_19_0=ruleResultFilters { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "resultFilters", |
| lv_resultFilters_19_0, |
| "ResultFilters"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) |
| |( otherlv_20=';' |
| { |
| newLeafNode(otherlv_20, grammarAccess.getBeanFeatureAccess().getSemicolonKeyword_2_0_1_8_1()); |
| } |
| )?))) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLBeanAttributeAnnotationInfoAction_2_1_0(), |
| $current); |
| } |
| )((( |
| ( |
| lv_transient_22_0= 'transient' |
| { |
| newLeafNode(lv_transient_22_0, grammarAccess.getBeanFeatureAccess().getTransientTransientKeyword_2_1_1_0_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed($current, "transient", true, "transient"); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_0_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_24='[' |
| { |
| newLeafNode(otherlv_24, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_1_1_0_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0()); |
| } |
| lv_constraints_25_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_25_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_26=']' |
| { |
| newLeafNode(otherlv_26, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_1_1_0_2_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0()); |
| } |
| lv_name_27_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_27_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_28='properties' |
| { |
| newLeafNode(otherlv_28, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_1_1_0_4_0()); |
| } |
| otherlv_29='(' |
| { |
| newLeafNode(otherlv_29, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_1_1_0_4_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0()); |
| } |
| lv_properties_30_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_30_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_31=', ' |
| { |
| newLeafNode(otherlv_31, grammarAccess.getBeanFeatureAccess().getCommaSpaceKeyword_2_1_1_0_4_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0()); |
| } |
| lv_properties_32_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_32_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_33=')' |
| { |
| newLeafNode(otherlv_33, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_1_1_0_4_4()); |
| } |
| )?) |
| |(( otherlv_34='var' |
| { |
| newLeafNode(otherlv_34, grammarAccess.getBeanFeatureAccess().getVarKeyword_2_1_1_1_0_0()); |
| } |
| |
| |( |
| ( |
| lv_id_35_0= 'id' |
| { |
| newLeafNode(lv_id_35_0, grammarAccess.getBeanFeatureAccess().getIdIdKeyword_2_1_1_1_0_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed($current, "id", true, "id"); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_version_36_0= 'version' |
| { |
| newLeafNode(lv_version_36_0, grammarAccess.getBeanFeatureAccess().getVersionVersionKeyword_2_1_1_1_0_2_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed($current, "version", true, "version"); |
| } |
| |
| ) |
| ))( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_1_1_0()); |
| } |
| ruleTYPE_CROSS_REFERENCE { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_1_1_1_2_0()); |
| } |
| lv_multiplicity_38_0=ruleMultiplicity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "multiplicity", |
| lv_multiplicity_38_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?( otherlv_39='[' |
| { |
| newLeafNode(otherlv_39, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_1_1_1_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_1_3_1_0()); |
| } |
| lv_constraints_40_0=ruleAllConstraints { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_40_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_41=']' |
| { |
| newLeafNode(otherlv_41, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_1_1_1_3_2()); |
| } |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_4_0()); |
| } |
| lv_name_42_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_42_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_43='properties' |
| { |
| newLeafNode(otherlv_43, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_1_1_1_5_0()); |
| } |
| otherlv_44='(' |
| { |
| newLeafNode(otherlv_44, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_1_1_1_5_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_2_0()); |
| } |
| lv_properties_45_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_45_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_46=', ' |
| { |
| newLeafNode(otherlv_46, grammarAccess.getBeanFeatureAccess().getCommaSpaceKeyword_2_1_1_1_5_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_3_1_0()); |
| } |
| lv_properties_47_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_47_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_48=')' |
| { |
| newLeafNode(otherlv_48, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_1_1_1_5_4()); |
| } |
| )?( otherlv_49=';' |
| { |
| newLeafNode(otherlv_49, grammarAccess.getBeanFeatureAccess().getSemicolonKeyword_2_1_1_1_6()); |
| } |
| )?))) |
| |(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLOperationAnnotationInfoAction_2_2_0(), |
| $current); |
| } |
| )( otherlv_51='def' |
| { |
| newLeafNode(otherlv_51, grammarAccess.getBeanFeatureAccess().getDefKeyword_2_2_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0()); |
| } |
| lv_type_52_0=ruleJvmTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "type", |
| lv_type_52_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0()); |
| } |
| lv_name_53_0=ruleTRANSLATABLEID { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_53_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_54='(' |
| { |
| newLeafNode(otherlv_54, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_2_1_3()); |
| } |
| (( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0()); |
| } |
| lv_params_55_0=ruleFullJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "params", |
| lv_params_55_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_56=',' |
| { |
| newLeafNode(otherlv_56, grammarAccess.getBeanFeatureAccess().getCommaKeyword_2_2_1_4_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0()); |
| } |
| lv_params_57_0=ruleFullJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| $current, |
| "params", |
| lv_params_57_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_58=')' |
| { |
| newLeafNode(otherlv_58, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_2_1_5()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getBodyXExpressionParserRuleCall_2_2_1_6_0()); |
| } |
| lv_body_59_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| $current, |
| "body", |
| lv_body_59_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))))) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleEntityInheritanceStrategy |
| entryRuleEntityInheritanceStrategy returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEntityInheritanceStrategyRule()); } |
| iv_ruleEntityInheritanceStrategy=ruleEntityInheritanceStrategy |
| { $current=$iv_ruleEntityInheritanceStrategy.current; } |
| EOF |
| ; |
| |
| // Rule EntityInheritanceStrategy |
| ruleEntityInheritanceStrategy returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getEntityInheritanceStrategyAccess().getTablePerClassStrategyParserRuleCall_0()); |
| } |
| this_TablePerClassStrategy_0=ruleTablePerClassStrategy |
| { |
| $current = $this_TablePerClassStrategy_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getEntityInheritanceStrategyAccess().getTablePerSubclassStrategyParserRuleCall_1()); |
| } |
| this_TablePerSubclassStrategy_1=ruleTablePerSubclassStrategy |
| { |
| $current = $this_TablePerSubclassStrategy_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleTablePerClassStrategy |
| entryRuleTablePerClassStrategy returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getTablePerClassStrategyRule()); } |
| iv_ruleTablePerClassStrategy=ruleTablePerClassStrategy |
| { $current=$iv_ruleTablePerClassStrategy.current; } |
| EOF |
| ; |
| |
| // Rule TablePerClassStrategy |
| ruleTablePerClassStrategy returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getTablePerClassStrategyAccess().getLTablePerClassStrategyAction_0(), |
| $current); |
| } |
| ) otherlv_1='inheritance per class' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getTablePerClassStrategyAccess().getInheritancePerClassKeyword_1()); |
| } |
| otherlv_2='{' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getTablePerClassStrategyAccess().getLeftCurlyBracketKeyword_2()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 0); |
| } |
| ({true}?=>( otherlv_4='discriminatorColumn' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorColumnKeyword_3_0_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0()); |
| } |
| lv_discriminatorColumn_5_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorColumn", |
| lv_discriminatorColumn_5_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_6=';' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getTablePerClassStrategyAccess().getSemicolonKeyword_3_0_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 1); |
| } |
| ({true}?=>( otherlv_7='discriminatorType' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorTypeKeyword_3_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0()); |
| } |
| lv_discriminatorType_8_0=ruleDiscriminatorType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorType", |
| lv_discriminatorType_8_0, |
| "DiscriminatorType"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_9=';' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getTablePerClassStrategyAccess().getSemicolonKeyword_3_1_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3(), 2); |
| } |
| ({true}?=>( otherlv_10='discriminatorValue' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorValueKeyword_3_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0()); |
| } |
| lv_discriminatorValue_11_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorValue", |
| lv_discriminatorValue_11_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_12=';' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getTablePerClassStrategyAccess().getSemicolonKeyword_3_2_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) |
| |
| )* |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getTablePerClassStrategyAccess().getUnorderedGroup_3()); |
| } |
| |
| ) otherlv_13='}' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getTablePerClassStrategyAccess().getRightCurlyBracketKeyword_4()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleTablePerSubclassStrategy |
| entryRuleTablePerSubclassStrategy returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getTablePerSubclassStrategyRule()); } |
| iv_ruleTablePerSubclassStrategy=ruleTablePerSubclassStrategy |
| { $current=$iv_ruleTablePerSubclassStrategy.current; } |
| EOF |
| ; |
| |
| // Rule TablePerSubclassStrategy |
| ruleTablePerSubclassStrategy returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getTablePerSubclassStrategyAccess().getLTablePerSubclassStrategyAction_0(), |
| $current); |
| } |
| ) otherlv_1='inheritance per subclass' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getTablePerSubclassStrategyAccess().getInheritancePerSubclassKeyword_1()); |
| } |
| otherlv_2='{' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getTablePerSubclassStrategyAccess().getLeftCurlyBracketKeyword_2()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 0); |
| } |
| ({true}?=>( otherlv_4='discriminatorColumn' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorColumnKeyword_3_0_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0()); |
| } |
| lv_discriminatorColumn_5_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorColumn", |
| lv_discriminatorColumn_5_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_6=';' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getTablePerSubclassStrategyAccess().getSemicolonKeyword_3_0_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 1); |
| } |
| ({true}?=>( otherlv_7='discriminatorType' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorTypeKeyword_3_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0()); |
| } |
| lv_discriminatorType_8_0=ruleDiscriminatorType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorType", |
| lv_discriminatorType_8_0, |
| "DiscriminatorType"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_9=';' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getTablePerSubclassStrategyAccess().getSemicolonKeyword_3_1_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3(), 2); |
| } |
| ({true}?=>( otherlv_10='discriminatorValue' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorValueKeyword_3_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0()); |
| } |
| lv_discriminatorValue_11_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| $current, |
| "discriminatorValue", |
| lv_discriminatorValue_11_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_12=';' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getTablePerSubclassStrategyAccess().getSemicolonKeyword_3_2_2()); |
| } |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3()); |
| } |
| ) |
| ) |
| |
| )* |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getTablePerSubclassStrategyAccess().getUnorderedGroup_3()); |
| } |
| |
| ) otherlv_13='}' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getTablePerSubclassStrategyAccess().getRightCurlyBracketKeyword_4()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleTRANSLATABLEID |
| entryRuleTRANSLATABLEID returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getTRANSLATABLEIDRule()); } |
| iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID |
| { $current=$iv_ruleTRANSLATABLEID.current.getText(); } |
| EOF |
| ; |
| |
| // Rule TRANSLATABLEID |
| ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| { |
| newCompositeNode(grammarAccess.getTRANSLATABLEIDAccess().getValidIDWithKeywordsParserRuleCall()); |
| } |
| this_ValidIDWithKeywords_0=ruleValidIDWithKeywords { |
| $current.merge(this_ValidIDWithKeywords_0); |
| } |
| |
| { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| |
| |
| // Entry rule entryRuleTypedPackage |
| entryRuleTypedPackage returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getTypedPackageRule()); } |
| iv_ruleTypedPackage=ruleTypedPackage |
| { $current=$iv_ruleTypedPackage.current; } |
| EOF |
| ; |
| |
| // Rule TypedPackage |
| ruleTypedPackage returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getTypedPackageAccess().getLTypedPackageAction_0(), |
| $current); |
| } |
| ) otherlv_1='package' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getTypedPackageAccess().getPackageKeyword_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getNameQualifiedNameParserRuleCall_2_0()); |
| } |
| lv_name_2_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_2_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_3='{' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getTypedPackageAccess().getLeftCurlyBracketKeyword_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getImportsImportParserRuleCall_3_1_0()); |
| } |
| lv_imports_4_0=ruleImport { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| add( |
| $current, |
| "imports", |
| lv_imports_4_0, |
| "Import"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*( |
| ( |
| { |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getTypesTypeParserRuleCall_3_2_0()); |
| } |
| lv_types_5_0=ruleType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| add( |
| $current, |
| "types", |
| lv_types_5_0, |
| "Type"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_6='}' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getTypedPackageAccess().getRightCurlyBracketKeyword_3_3()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleType |
| entryRuleType returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getTypeRule()); } |
| iv_ruleType=ruleType |
| { $current=$iv_ruleType.current; } |
| EOF |
| ; |
| |
| // Rule Type |
| ruleType returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getTypeAccess().getScalarTypeParserRuleCall_0()); |
| } |
| this_ScalarType_0=ruleScalarType |
| { |
| $current = $this_ScalarType_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getTypeAccess().getClassParserRuleCall_1()); |
| } |
| this_Class_1=ruleClass |
| { |
| $current = $this_Class_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleImport |
| entryRuleImport returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getImportRule()); } |
| iv_ruleImport=ruleImport |
| { $current=$iv_ruleImport.current; } |
| EOF |
| ; |
| |
| // Rule Import |
| ruleImport returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( otherlv_0='import' |
| { |
| newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0()); |
| } |
| lv_importedNamespace_1_0=ruleLQualifiedNameWithWildCard { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getImportRule()); |
| } |
| set( |
| $current, |
| "importedNamespace", |
| lv_importedNamespace_1_0, |
| "LQualifiedNameWithWildCard"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_2=';' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getImportAccess().getSemicolonKeyword_2()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDataType |
| entryRuleDataType returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDataTypeRule()); } |
| iv_ruleDataType=ruleDataType |
| { $current=$iv_ruleDataType.current; } |
| EOF |
| ; |
| |
| // Rule DataType |
| ruleDataType returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( otherlv_0='datatype' |
| { |
| newLeafNode(otherlv_0, grammarAccess.getDataTypeAccess().getDatatypeKeyword_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getNameValidIDWithKeywordsParserRuleCall_1_0()); |
| } |
| lv_name_1_0=ruleValidIDWithKeywords { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| $current, |
| "name", |
| lv_name_1_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )(( otherlv_2='jvmType' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDataTypeAccess().getJvmTypeKeyword_2_0_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0()); |
| } |
| lv_jvmTypeReference_3_0=ruleJvmTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| $current, |
| "jvmTypeReference", |
| lv_jvmTypeReference_3_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| lv_asPrimitive_4_0= 'as primitive' |
| { |
| newLeafNode(lv_asPrimitive_4_0, grammarAccess.getDataTypeAccess().getAsPrimitiveAsPrimitiveKeyword_2_0_2_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed($current, "asPrimitive", true, "as primitive"); |
| } |
| |
| ) |
| )?( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDataTypeConstraintParserRuleCall_2_0_3_0()); |
| } |
| lv_constraints_5_0=ruleDataTypeConstraint { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_5_0, |
| "DataTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*( otherlv_6='properties' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_0_4_0()); |
| } |
| otherlv_7='(' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_0_4_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_2_0()); |
| } |
| lv_properties_8_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_8_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_9=', ' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_0_4_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_3_1_0()); |
| } |
| lv_properties_10_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_10_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_11=')' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_0_4_4()); |
| } |
| )?) |
| |(( |
| ( |
| lv_date_12_0= 'dateType' |
| { |
| newLeafNode(lv_date_12_0, grammarAccess.getDataTypeAccess().getDateDateTypeKeyword_2_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed($current, "date", true, "dateType"); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getDateTypeDateTypeEnumRuleCall_2_1_1_0()); |
| } |
| lv_dateType_13_0=ruleDateType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| $current, |
| "dateType", |
| lv_dateType_13_0, |
| "DateType"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDateConstraintParserRuleCall_2_1_2_0()); |
| } |
| lv_constraints_14_0=ruleDateConstraint { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_14_0, |
| "DateConstraint"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*( otherlv_15='properties' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_1_3_0()); |
| } |
| otherlv_16='(' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_1_3_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_2_0()); |
| } |
| lv_properties_17_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_17_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_18=', ' |
| { |
| newLeafNode(otherlv_18, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_1_3_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_3_1_0()); |
| } |
| lv_properties_19_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_19_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_20=')' |
| { |
| newLeafNode(otherlv_20, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_1_3_4()); |
| } |
| )?) |
| |(( |
| ( |
| lv_asBlob_21_0= 'as blob' |
| { |
| newLeafNode(lv_asBlob_21_0, grammarAccess.getDataTypeAccess().getAsBlobAsBlobKeyword_2_2_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed($current, "asBlob", true, "as blob"); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsBlobTypeConstraintParserRuleCall_2_2_1_0()); |
| } |
| lv_constraints_22_0=ruleBlobTypeConstraint { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "constraints", |
| lv_constraints_22_0, |
| "BlobTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )*( otherlv_23='properties' |
| { |
| newLeafNode(otherlv_23, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_2_2_0()); |
| } |
| otherlv_24='(' |
| { |
| newLeafNode(otherlv_24, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_2_2_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_2_0()); |
| } |
| lv_properties_25_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_25_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_26=', ' |
| { |
| newLeafNode(otherlv_26, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_2_2_3_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_3_1_0()); |
| } |
| lv_properties_27_0=ruleKeyAndValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| $current, |
| "properties", |
| lv_properties_27_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_28=')' |
| { |
| newLeafNode(otherlv_28, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_2_2_4()); |
| } |
| )?))( otherlv_29=';' |
| { |
| newLeafNode(otherlv_29, grammarAccess.getDataTypeAccess().getSemicolonKeyword_3()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleAllConstraints |
| entryRuleAllConstraints returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getAllConstraintsRule()); } |
| iv_ruleAllConstraints=ruleAllConstraints |
| { $current=$iv_ruleAllConstraints.current; } |
| EOF |
| ; |
| |
| // Rule AllConstraints |
| ruleAllConstraints returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertFalseParserRuleCall_0()); |
| } |
| this_DtCAssertFalse_0=ruleDtCAssertFalse |
| { |
| $current = $this_DtCAssertFalse_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertTrueParserRuleCall_1()); |
| } |
| this_DtCAssertTrue_1=ruleDtCAssertTrue |
| { |
| $current = $this_DtCAssertTrue_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMaxParserRuleCall_2()); |
| } |
| this_DtCDecimalMax_2=ruleDtCDecimalMax |
| { |
| $current = $this_DtCDecimalMax_2.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMinParserRuleCall_3()); |
| } |
| this_DtCDecimalMin_3=ruleDtCDecimalMin |
| { |
| $current = $this_DtCDecimalMin_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDigitsParserRuleCall_4()); |
| } |
| this_DtCDigits_4=ruleDtCDigits |
| { |
| $current = $this_DtCDigits_4.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMaxParserRuleCall_5()); |
| } |
| this_DtCNumericMax_5=ruleDtCNumericMax |
| { |
| $current = $this_DtCNumericMax_5.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMinParserRuleCall_6()); |
| } |
| this_DtCNumericMin_6=ruleDtCNumericMin |
| { |
| $current = $this_DtCNumericMin_6.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNotNullParserRuleCall_7()); |
| } |
| this_DtCNotNull_7=ruleDtCNotNull |
| { |
| $current = $this_DtCNotNull_7.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNullParserRuleCall_8()); |
| } |
| this_DtCNull_8=ruleDtCNull |
| { |
| $current = $this_DtCNull_8.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCRegExParserRuleCall_9()); |
| } |
| this_DtCRegEx_9=ruleDtCRegEx |
| { |
| $current = $this_DtCRegEx_9.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCSizeParserRuleCall_10()); |
| } |
| this_DtCSize_10=ruleDtCSize |
| { |
| $current = $this_DtCSize_10.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCFutureParserRuleCall_11()); |
| } |
| this_DtCFuture_11=ruleDtCFuture |
| { |
| $current = $this_DtCFuture_11.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCPastParserRuleCall_12()); |
| } |
| this_DtCPast_12=ruleDtCPast |
| { |
| $current = $this_DtCPast_12.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDataTypeConstraint |
| entryRuleDataTypeConstraint returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDataTypeConstraintRule()); } |
| iv_ruleDataTypeConstraint=ruleDataTypeConstraint |
| { $current=$iv_ruleDataTypeConstraint.current; } |
| EOF |
| ; |
| |
| // Rule DataTypeConstraint |
| ruleDataTypeConstraint returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertFalseParserRuleCall_0()); |
| } |
| this_DtCAssertFalse_0=ruleDtCAssertFalse |
| { |
| $current = $this_DtCAssertFalse_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertTrueParserRuleCall_1()); |
| } |
| this_DtCAssertTrue_1=ruleDtCAssertTrue |
| { |
| $current = $this_DtCAssertTrue_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMaxParserRuleCall_2()); |
| } |
| this_DtCDecimalMax_2=ruleDtCDecimalMax |
| { |
| $current = $this_DtCDecimalMax_2.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMinParserRuleCall_3()); |
| } |
| this_DtCDecimalMin_3=ruleDtCDecimalMin |
| { |
| $current = $this_DtCDecimalMin_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDigitsParserRuleCall_4()); |
| } |
| this_DtCDigits_4=ruleDtCDigits |
| { |
| $current = $this_DtCDigits_4.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMaxParserRuleCall_5()); |
| } |
| this_DtCNumericMax_5=ruleDtCNumericMax |
| { |
| $current = $this_DtCNumericMax_5.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMinParserRuleCall_6()); |
| } |
| this_DtCNumericMin_6=ruleDtCNumericMin |
| { |
| $current = $this_DtCNumericMin_6.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNotNullParserRuleCall_7()); |
| } |
| this_DtCNotNull_7=ruleDtCNotNull |
| { |
| $current = $this_DtCNotNull_7.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNullParserRuleCall_8()); |
| } |
| this_DtCNull_8=ruleDtCNull |
| { |
| $current = $this_DtCNull_8.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCRegExParserRuleCall_9()); |
| } |
| this_DtCRegEx_9=ruleDtCRegEx |
| { |
| $current = $this_DtCRegEx_9.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCSizeParserRuleCall_10()); |
| } |
| this_DtCSize_10=ruleDtCSize |
| { |
| $current = $this_DtCSize_10.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDateConstraint |
| entryRuleDateConstraint returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDateConstraintRule()); } |
| iv_ruleDateConstraint=ruleDateConstraint |
| { $current=$iv_ruleDateConstraint.current; } |
| EOF |
| ; |
| |
| // Rule DateConstraint |
| ruleDateConstraint returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCFutureParserRuleCall_0()); |
| } |
| this_DtCFuture_0=ruleDtCFuture |
| { |
| $current = $this_DtCFuture_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCPastParserRuleCall_1()); |
| } |
| this_DtCPast_1=ruleDtCPast |
| { |
| $current = $this_DtCPast_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNotNullParserRuleCall_2()); |
| } |
| this_DtCNotNull_2=ruleDtCNotNull |
| { |
| $current = $this_DtCNotNull_2.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNullParserRuleCall_3()); |
| } |
| this_DtCNull_3=ruleDtCNull |
| { |
| $current = $this_DtCNull_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleBlobTypeConstraint |
| entryRuleBlobTypeConstraint returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getBlobTypeConstraintRule()); } |
| iv_ruleBlobTypeConstraint=ruleBlobTypeConstraint |
| { $current=$iv_ruleBlobTypeConstraint.current; } |
| EOF |
| ; |
| |
| // Rule BlobTypeConstraint |
| ruleBlobTypeConstraint returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNotNullParserRuleCall_0()); |
| } |
| this_DtCNotNull_0=ruleDtCNotNull |
| { |
| $current = $this_DtCNotNull_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNullParserRuleCall_1()); |
| } |
| this_DtCNull_1=ruleDtCNull |
| { |
| $current = $this_DtCNull_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCAssertFalse |
| entryRuleDtCAssertFalse returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCAssertFalseRule()); } |
| iv_ruleDtCAssertFalse=ruleDtCAssertFalse |
| { $current=$iv_ruleDtCAssertFalse.current; } |
| EOF |
| ; |
| |
| // Rule DtCAssertFalse |
| ruleDtCAssertFalse returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCAssertFalseAccess().getLDtCAssertFalseAction_0(), |
| $current); |
| } |
| ) otherlv_1='isFalse' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertFalseAccess().getIsFalseKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCAssertFalseAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertFalseAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertFalseAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertFalseAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCAssertTrue |
| entryRuleDtCAssertTrue returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCAssertTrueRule()); } |
| iv_ruleDtCAssertTrue=ruleDtCAssertTrue |
| { $current=$iv_ruleDtCAssertTrue.current; } |
| EOF |
| ; |
| |
| // Rule DtCAssertTrue |
| ruleDtCAssertTrue returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCAssertTrueAccess().getLDtCAssertTrueAction_0(), |
| $current); |
| } |
| ) otherlv_1='isTrue' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertTrueAccess().getIsTrueKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCAssertTrueAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertTrueAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertTrueAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertTrueAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCDecimalMax |
| entryRuleDtCDecimalMax returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCDecimalMaxRule()); } |
| iv_ruleDtCDecimalMax=ruleDtCDecimalMax |
| { $current=$iv_ruleDtCDecimalMax.current; } |
| EOF |
| ; |
| |
| // Rule DtCDecimalMax |
| ruleDtCDecimalMax returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMaxAccess().getLDtCDecimalMaxAction_0(), |
| $current); |
| } |
| ) otherlv_1='maxDecimal' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMaxAccess().getMaxDecimalKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMaxAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMaxLDecimalParserRuleCall_3_0()); |
| } |
| lv_max_3_0=ruleLDecimal { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| $current, |
| "max", |
| lv_max_3_0, |
| "LDecimal"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0); |
| } |
| ({true}?=>( otherlv_5='[' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMaxAccess().getLeftSquareBracketKeyword_4_0_0()); |
| } |
| ( otherlv_6='msgCode' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMaxAccess().getMsgCodeKeyword_4_0_1_0()); |
| } |
| otherlv_7='=' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| } |
| lv_msgCode_8_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1); |
| } |
| ({true}?=>( otherlv_9='msgI18nKey' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyKeyword_4_1_0()); |
| } |
| otherlv_10='=' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| } |
| lv_msgI18nKey_11_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2); |
| } |
| ({true}?=>(( otherlv_12='severity' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMaxAccess().getSeverityKeyword_4_2_0_0()); |
| } |
| otherlv_13='=' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| } |
| lv_severity_14_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_14_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15=']' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMaxAccess().getRightSquareBracketKeyword_4_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| } |
| |
| )? otherlv_16=')' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDtCDecimalMaxAccess().getRightParenthesisKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCDecimalMin |
| entryRuleDtCDecimalMin returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCDecimalMinRule()); } |
| iv_ruleDtCDecimalMin=ruleDtCDecimalMin |
| { $current=$iv_ruleDtCDecimalMin.current; } |
| EOF |
| ; |
| |
| // Rule DtCDecimalMin |
| ruleDtCDecimalMin returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMinAccess().getLDtCDecimalMinAction_0(), |
| $current); |
| } |
| ) otherlv_1='minDecimal' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMinAccess().getMinDecimalKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMinAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMinLDecimalParserRuleCall_3_0()); |
| } |
| lv_min_3_0=ruleLDecimal { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| $current, |
| "min", |
| lv_min_3_0, |
| "LDecimal"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0); |
| } |
| ({true}?=>( otherlv_5='[' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMinAccess().getLeftSquareBracketKeyword_4_0_0()); |
| } |
| ( otherlv_6='msgCode' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMinAccess().getMsgCodeKeyword_4_0_1_0()); |
| } |
| otherlv_7='=' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| } |
| lv_msgCode_8_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1); |
| } |
| ({true}?=>( otherlv_9='msgI18nKey' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyKeyword_4_1_0()); |
| } |
| otherlv_10='=' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| } |
| lv_msgI18nKey_11_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2); |
| } |
| ({true}?=>(( otherlv_12='severity' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMinAccess().getSeverityKeyword_4_2_0_0()); |
| } |
| otherlv_13='=' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| } |
| lv_severity_14_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_14_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15=']' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMinAccess().getRightSquareBracketKeyword_4_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| } |
| |
| )? otherlv_16=')' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDtCDecimalMinAccess().getRightParenthesisKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCDigits |
| entryRuleDtCDigits returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCDigitsRule()); } |
| iv_ruleDtCDigits=ruleDtCDigits |
| { $current=$iv_ruleDtCDigits.current; } |
| EOF |
| ; |
| |
| // Rule DtCDigits |
| ruleDtCDigits returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCDigitsAccess().getLDtCDigitsAction_0(), |
| $current); |
| } |
| ) otherlv_1='digits' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCDigitsAccess().getDigitsKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCDigitsAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| lv_intDigits_3_0=RULE_INT |
| { |
| newLeafNode(lv_intDigits_3_0, grammarAccess.getDtCDigitsAccess().getIntDigitsINTTerminalRuleCall_3_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDtCDigitsRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "intDigits", |
| lv_intDigits_3_0, |
| "INT"); |
| } |
| |
| ) |
| ) otherlv_4=', ' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCDigitsAccess().getCommaSpaceKeyword_4()); |
| } |
| ( |
| ( |
| lv_fractionDigits_5_0=RULE_INT |
| { |
| newLeafNode(lv_fractionDigits_5_0, grammarAccess.getDtCDigitsAccess().getFractionDigitsINTTerminalRuleCall_5_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDtCDigitsRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "fractionDigits", |
| lv_fractionDigits_5_0, |
| "INT"); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0); |
| } |
| ({true}?=>( otherlv_7='[' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCDigitsAccess().getLeftSquareBracketKeyword_6_0_0()); |
| } |
| ( otherlv_8='msgCode' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCDigitsAccess().getMsgCodeKeyword_6_0_1_0()); |
| } |
| otherlv_9='=' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgCodeQualifiedNameParserRuleCall_6_0_1_2_0()); |
| } |
| lv_msgCode_10_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_10_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1); |
| } |
| ({true}?=>( otherlv_11='msgI18nKey' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCDigitsAccess().getMsgI18nKeyKeyword_6_1_0()); |
| } |
| otherlv_12='=' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_2_0()); |
| } |
| lv_msgI18nKey_13_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_13_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2); |
| } |
| ({true}?=>(( otherlv_14='severity' |
| { |
| newLeafNode(otherlv_14, grammarAccess.getDtCDigitsAccess().getSeverityKeyword_6_2_0_0()); |
| } |
| otherlv_15='=' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getSeverityConstraintSeverityEnumRuleCall_6_2_0_2_0()); |
| } |
| lv_severity_16_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_16_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_17=']' |
| { |
| newLeafNode(otherlv_17, grammarAccess.getDtCDigitsAccess().getRightSquareBracketKeyword_6_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()); |
| } |
| |
| )? otherlv_18=')' |
| { |
| newLeafNode(otherlv_18, grammarAccess.getDtCDigitsAccess().getRightParenthesisKeyword_7()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCFuture |
| entryRuleDtCFuture returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCFutureRule()); } |
| iv_ruleDtCFuture=ruleDtCFuture |
| { $current=$iv_ruleDtCFuture.current; } |
| EOF |
| ; |
| |
| // Rule DtCFuture |
| ruleDtCFuture returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCFutureAccess().getLDtCFutureAction_0(), |
| $current); |
| } |
| ) otherlv_1='isFuture' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCFutureAccess().getIsFutureKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCFutureAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCFutureAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCFutureAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCFutureAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCFutureAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCPast |
| entryRuleDtCPast returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCPastRule()); } |
| iv_ruleDtCPast=ruleDtCPast |
| { $current=$iv_ruleDtCPast.current; } |
| EOF |
| ; |
| |
| // Rule DtCPast |
| ruleDtCPast returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCPastAccess().getLDtCPastAction_0(), |
| $current); |
| } |
| ) otherlv_1='isPast' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCPastAccess().getIsPastKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCPastAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCPastAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCPastAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCPastAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCPastAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCPastAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCPastAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCPastAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCNumericMax |
| entryRuleDtCNumericMax returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCNumericMaxRule()); } |
| iv_ruleDtCNumericMax=ruleDtCNumericMax |
| { $current=$iv_ruleDtCNumericMax.current; } |
| EOF |
| ; |
| |
| // Rule DtCNumericMax |
| ruleDtCNumericMax returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCNumericMaxAccess().getLDtCNumericMaxAction_0(), |
| $current); |
| } |
| ) otherlv_1='maxNumber' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCNumericMaxAccess().getMaxNumberKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCNumericMaxAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMaxLIntParserRuleCall_3_0()); |
| } |
| lv_max_3_0=ruleLInt { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| $current, |
| "max", |
| lv_max_3_0, |
| "LInt"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0); |
| } |
| ({true}?=>( otherlv_5='[' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCNumericMaxAccess().getLeftSquareBracketKeyword_4_0_0()); |
| } |
| ( otherlv_6='msgCode' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDtCNumericMaxAccess().getMsgCodeKeyword_4_0_1_0()); |
| } |
| otherlv_7='=' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| } |
| lv_msgCode_8_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1); |
| } |
| ({true}?=>( otherlv_9='msgI18nKey' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyKeyword_4_1_0()); |
| } |
| otherlv_10='=' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| } |
| lv_msgI18nKey_11_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2); |
| } |
| ({true}?=>(( otherlv_12='severity' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCNumericMaxAccess().getSeverityKeyword_4_2_0_0()); |
| } |
| otherlv_13='=' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| } |
| lv_severity_14_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_14_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15=']' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCNumericMaxAccess().getRightSquareBracketKeyword_4_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()); |
| } |
| |
| )? otherlv_16=')' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDtCNumericMaxAccess().getRightParenthesisKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCNumericMin |
| entryRuleDtCNumericMin returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCNumericMinRule()); } |
| iv_ruleDtCNumericMin=ruleDtCNumericMin |
| { $current=$iv_ruleDtCNumericMin.current; } |
| EOF |
| ; |
| |
| // Rule DtCNumericMin |
| ruleDtCNumericMin returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCNumericMinAccess().getLDtCNumericMinAction_0(), |
| $current); |
| } |
| ) otherlv_1='minNumber' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCNumericMinAccess().getMinNumberKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCNumericMinAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMinLIntParserRuleCall_3_0()); |
| } |
| lv_min_3_0=ruleLInt { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| $current, |
| "min", |
| lv_min_3_0, |
| "LInt"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0); |
| } |
| ({true}?=>( otherlv_5='[' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCNumericMinAccess().getLeftSquareBracketKeyword_4_0_0()); |
| } |
| ( otherlv_6='msgCode' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDtCNumericMinAccess().getMsgCodeKeyword_4_0_1_0()); |
| } |
| otherlv_7='=' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| } |
| lv_msgCode_8_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1); |
| } |
| ({true}?=>( otherlv_9='msgI18nKey' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyKeyword_4_1_0()); |
| } |
| otherlv_10='=' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| } |
| lv_msgI18nKey_11_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2); |
| } |
| ({true}?=>(( otherlv_12='severity' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCNumericMinAccess().getSeverityKeyword_4_2_0_0()); |
| } |
| otherlv_13='=' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| } |
| lv_severity_14_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_14_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15=']' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCNumericMinAccess().getRightSquareBracketKeyword_4_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()); |
| } |
| |
| )? otherlv_16=')' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDtCNumericMinAccess().getRightParenthesisKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCNotNull |
| entryRuleDtCNotNull returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCNotNullRule()); } |
| iv_ruleDtCNotNull=ruleDtCNotNull |
| { $current=$iv_ruleDtCNotNull.current; } |
| EOF |
| ; |
| |
| // Rule DtCNotNull |
| ruleDtCNotNull returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCNotNullAccess().getLDtCNotNullAction_0(), |
| $current); |
| } |
| ) otherlv_1='isNotNull' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCNotNullAccess().getIsNotNullKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCNotNullAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCNotNullAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCNotNullAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCNotNullAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCNotNullAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCNull |
| entryRuleDtCNull returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCNullRule()); } |
| iv_ruleDtCNull=ruleDtCNull |
| { $current=$iv_ruleDtCNull.current; } |
| EOF |
| ; |
| |
| // Rule DtCNull |
| ruleDtCNull returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCNullAccess().getLDtCNullAction_0(), |
| $current); |
| } |
| ) otherlv_1='isNull' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCNullAccess().getIsNullKeyword_1()); |
| } |
| ( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0); |
| } |
| ({true}?=>( otherlv_3='[' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getDtCNullAccess().getLeftSquareBracketKeyword_2_0_0()); |
| } |
| ( otherlv_4='msgCode' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCNullAccess().getMsgCodeKeyword_2_0_1_0()); |
| } |
| otherlv_5='=' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| } |
| lv_msgCode_6_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1); |
| } |
| ({true}?=>( otherlv_7='msgI18nKey' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCNullAccess().getMsgI18nKeyKeyword_2_1_0()); |
| } |
| otherlv_8='=' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| } |
| lv_msgI18nKey_9_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2); |
| } |
| ({true}?=>(( otherlv_10='severity' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCNullAccess().getSeverityKeyword_2_2_0_0()); |
| } |
| otherlv_11='=' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| } |
| lv_severity_12_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_12_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_13=']' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCNullAccess().getRightSquareBracketKeyword_2_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCRegEx |
| entryRuleDtCRegEx returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCRegExRule()); } |
| iv_ruleDtCRegEx=ruleDtCRegEx |
| { $current=$iv_ruleDtCRegEx.current; } |
| EOF |
| ; |
| |
| // Rule DtCRegEx |
| ruleDtCRegEx returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCRegExAccess().getLDtCRegExAction_0(), |
| $current); |
| } |
| ) otherlv_1='regex' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCRegExAccess().getRegexKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCRegExAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| lv_pattern_3_0=RULE_STRING |
| { |
| newLeafNode(lv_pattern_3_0, grammarAccess.getDtCRegExAccess().getPatternSTRINGTerminalRuleCall_3_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDtCRegExRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "pattern", |
| lv_pattern_3_0, |
| "STRING"); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0); |
| } |
| ({true}?=>( otherlv_5='[' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getDtCRegExAccess().getLeftSquareBracketKeyword_4_0_0()); |
| } |
| ( otherlv_6='msgCode' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getDtCRegExAccess().getMsgCodeKeyword_4_0_1_0()); |
| } |
| otherlv_7='=' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| } |
| lv_msgCode_8_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1); |
| } |
| ({true}?=>( otherlv_9='msgI18nKey' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCRegExAccess().getMsgI18nKeyKeyword_4_1_0()); |
| } |
| otherlv_10='=' |
| { |
| newLeafNode(otherlv_10, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| } |
| lv_msgI18nKey_11_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2); |
| } |
| ({true}?=>(( otherlv_12='severity' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCRegExAccess().getSeverityKeyword_4_2_0_0()); |
| } |
| otherlv_13='=' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| } |
| lv_severity_14_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_14_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_15=']' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCRegExAccess().getRightSquareBracketKeyword_4_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()); |
| } |
| |
| )? otherlv_16=')' |
| { |
| newLeafNode(otherlv_16, grammarAccess.getDtCRegExAccess().getRightParenthesisKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleDtCSize |
| entryRuleDtCSize returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getDtCSizeRule()); } |
| iv_ruleDtCSize=ruleDtCSize |
| { $current=$iv_ruleDtCSize.current; } |
| EOF |
| ; |
| |
| // Rule DtCSize |
| ruleDtCSize returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getDtCSizeAccess().getLDtCSizeAction_0(), |
| $current); |
| } |
| ) otherlv_1='minMaxSize' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getDtCSizeAccess().getMinMaxSizeKeyword_1()); |
| } |
| otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getDtCSizeAccess().getLeftParenthesisKeyword_2()); |
| } |
| ( |
| ( |
| lv_min_3_0=RULE_INT |
| { |
| newLeafNode(lv_min_3_0, grammarAccess.getDtCSizeAccess().getMinINTTerminalRuleCall_3_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDtCSizeRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "min", |
| lv_min_3_0, |
| "INT"); |
| } |
| |
| ) |
| ) otherlv_4=', ' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getDtCSizeAccess().getCommaSpaceKeyword_4()); |
| } |
| ( |
| ( |
| lv_max_5_0=RULE_INT |
| { |
| newLeafNode(lv_max_5_0, grammarAccess.getDtCSizeAccess().getMaxINTTerminalRuleCall_5_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getDtCSizeRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "max", |
| lv_max_5_0, |
| "INT"); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0); |
| } |
| ({true}?=>( otherlv_7='[' |
| { |
| newLeafNode(otherlv_7, grammarAccess.getDtCSizeAccess().getLeftSquareBracketKeyword_6_0_0()); |
| } |
| ( otherlv_8='msgCode' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getDtCSizeAccess().getMsgCodeKeyword_6_0_1_0()); |
| } |
| otherlv_9='=' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_0_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgCodeQualifiedNameParserRuleCall_6_0_1_2_0()); |
| } |
| lv_msgCode_10_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| $current, |
| "msgCode", |
| lv_msgCode_10_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1); |
| } |
| ({true}?=>( otherlv_11='msgI18nKey' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getDtCSizeAccess().getMsgI18nKeyKeyword_6_1_0()); |
| } |
| otherlv_12='=' |
| { |
| newLeafNode(otherlv_12, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_1_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_2_0()); |
| } |
| lv_msgI18nKey_13_0=ruleQualifiedName { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| $current, |
| "msgI18nKey", |
| lv_msgI18nKey_13_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2); |
| } |
| ({true}?=>(( otherlv_14='severity' |
| { |
| newLeafNode(otherlv_14, grammarAccess.getDtCSizeAccess().getSeverityKeyword_6_2_0_0()); |
| } |
| otherlv_15='=' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_2_0_1()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getSeverityConstraintSeverityEnumRuleCall_6_2_0_2_0()); |
| } |
| lv_severity_16_0=ruleConstraintSeverity { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| $current, |
| "severity", |
| lv_severity_16_0, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_17=']' |
| { |
| newLeafNode(otherlv_17, grammarAccess.getDtCSizeAccess().getRightSquareBracketKeyword_6_2_1()); |
| } |
| )) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()); |
| } |
| |
| )? otherlv_18=')' |
| { |
| newLeafNode(otherlv_18, grammarAccess.getDtCSizeAccess().getRightParenthesisKeyword_7()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleScalarType |
| entryRuleScalarType returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getScalarTypeRule()); } |
| iv_ruleScalarType=ruleScalarType |
| { $current=$iv_ruleScalarType.current; } |
| EOF |
| ; |
| |
| // Rule ScalarType |
| ruleScalarType returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getScalarTypeAccess().getDataTypeParserRuleCall_0()); |
| } |
| this_DataType_0=ruleDataType |
| { |
| $current = $this_DataType_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getScalarTypeAccess().getEnumParserRuleCall_1()); |
| } |
| this_Enum_1=ruleEnum |
| { |
| $current = $this_Enum_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| |
| |
| // Entry rule entryRuleEnum |
| entryRuleEnum returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEnumRule()); } |
| iv_ruleEnum=ruleEnum |
| { $current=$iv_ruleEnum.current; } |
| EOF |
| ; |
| |
| // Rule Enum |
| ruleEnum returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( otherlv_0='enum' |
| { |
| newLeafNode(otherlv_0, grammarAccess.getEnumAccess().getEnumKeyword_0()); |
| } |
| ( |
| ( |
| lv_name_1_0=RULE_ID |
| { |
| newLeafNode(lv_name_1_0, grammarAccess.getEnumAccess().getNameIDTerminalRuleCall_1_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEnumRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "name", |
| lv_name_1_0, |
| "ID"); |
| } |
| |
| ) |
| ) otherlv_2='{' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getEnumAccess().getLeftCurlyBracketKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_3_0()); |
| } |
| lv_literals_3_0=ruleEnumLiteral { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEnumRule()); |
| } |
| add( |
| $current, |
| "literals", |
| lv_literals_3_0, |
| "EnumLiteral"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=', ' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getEnumAccess().getCommaSpaceKeyword_4_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_4_1_0()); |
| } |
| lv_literals_5_0=ruleEnumLiteral { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getEnumRule()); |
| } |
| add( |
| $current, |
| "literals", |
| lv_literals_5_0, |
| "EnumLiteral"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_6='}' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getEnumAccess().getRightCurlyBracketKeyword_5()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleEnumLiteral |
| entryRuleEnumLiteral returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getEnumLiteralRule()); } |
| iv_ruleEnumLiteral=ruleEnumLiteral |
| { $current=$iv_ruleEnumLiteral.current; } |
| EOF |
| ; |
| |
| // Rule EnumLiteral |
| ruleEnumLiteral returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| ( |
| lv_name_0_0=RULE_ID |
| { |
| newLeafNode(lv_name_0_0, grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "name", |
| lv_name_0_0, |
| "ID"); |
| } |
| |
| ) |
| )( |
| |
| ( |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1()); |
| } |
| ( |
| ( |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0); |
| } |
| ({true}?=>( otherlv_2='(' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getEnumLiteralAccess().getLeftParenthesisKeyword_1_0_0()); |
| } |
| ( |
| ( |
| lv_default_3_0= 'asDefault' |
| { |
| newLeafNode(lv_default_3_0, grammarAccess.getEnumLiteralAccess().getDefaultAsDefaultKeyword_1_0_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed($current, "default", true, "asDefault"); |
| } |
| |
| ) |
| )?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1()); |
| } |
| ) |
| ) | |
| |
| ( |
| {getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1)}?=>( |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1); |
| } |
| ({true}?=>(( |
| ( |
| lv_null_4_0= 'forNull' |
| { |
| newLeafNode(lv_null_4_0, grammarAccess.getEnumLiteralAccess().getNullForNullKeyword_1_1_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed($current, "null", true, "forNull"); |
| } |
| |
| ) |
| )? otherlv_5=')' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getEnumLiteralAccess().getRightParenthesisKeyword_1_1_1()); |
| } |
| ( otherlv_6='=' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getEnumLiteralAccess().getEqualsSignKeyword_1_1_2_0()); |
| } |
| ( |
| ( |
| lv_value_7_0=RULE_INT |
| { |
| newLeafNode(lv_value_7_0, grammarAccess.getEnumLiteralAccess().getValueINTTerminalRuleCall_1_1_2_1_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "value", |
| lv_value_7_0, |
| "INT"); |
| } |
| |
| ) |
| ))?)) |
| { |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1()); |
| } |
| ) |
| ) |
| |
| )+ |
| {getUnorderedGroupHelper().canLeave(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1())}? |
| ) |
| ) |
| { |
| getUnorderedGroupHelper().leave(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1()); |
| } |
| |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleAnnotationDef |
| entryRuleAnnotationDef returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getAnnotationDefRule()); } |
| iv_ruleAnnotationDef=ruleAnnotationDef |
| { $current=$iv_ruleAnnotationDef.current; } |
| EOF |
| ; |
| |
| // Rule AnnotationDef |
| ruleAnnotationDef returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ((( |
| ( |
| ruleXAnnotation |
| ) |
| ))=>( |
| ( |
| { |
| newCompositeNode(grammarAccess.getAnnotationDefAccess().getAnnotationXAnnotationParserRuleCall_0_0()); |
| } |
| lv_annotation_0_0=ruleXAnnotation { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getAnnotationDefRule()); |
| } |
| set( |
| $current, |
| "annotation", |
| lv_annotation_0_0, |
| "XAnnotation"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleResultFilters |
| entryRuleResultFilters returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getResultFiltersRule()); } |
| iv_ruleResultFilters=ruleResultFilters |
| { $current=$iv_ruleResultFilters.current; } |
| EOF |
| ; |
| |
| // Rule ResultFilters |
| ruleResultFilters returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getResultFiltersAccess().getLResultFiltersAction_0(), |
| $current); |
| } |
| ) otherlv_1='constraints' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getResultFiltersAccess().getConstraintsKeyword_1()); |
| } |
| otherlv_2='{' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getResultFiltersAccess().getLeftCurlyBracketKeyword_2()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getResultFiltersAccess().getResultFiltersResultFilterParserRuleCall_3_0()); |
| } |
| lv_resultFilters_3_0=ruleResultFilter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getResultFiltersRule()); |
| } |
| add( |
| $current, |
| "resultFilters", |
| lv_resultFilters_3_0, |
| "ResultFilter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )* otherlv_4='}' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getResultFiltersAccess().getRightCurlyBracketKeyword_4()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleResultFilter |
| entryRuleResultFilter returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getResultFilterRule()); } |
| iv_ruleResultFilter=ruleResultFilter |
| { $current=$iv_ruleResultFilter.current; } |
| EOF |
| ; |
| |
| // Rule ResultFilter |
| ruleResultFilter returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| { |
| newCompositeNode(grammarAccess.getResultFilterAccess().getAttributeMatchingConstraintParserRuleCall()); |
| } |
| this_AttributeMatchingConstraint_0=ruleAttributeMatchingConstraint |
| { |
| $current = $this_AttributeMatchingConstraint_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleAttributeMatchingConstraint |
| entryRuleAttributeMatchingConstraint returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getAttributeMatchingConstraintRule()); } |
| iv_ruleAttributeMatchingConstraint=ruleAttributeMatchingConstraint |
| { $current=$iv_ruleAttributeMatchingConstraint.current; } |
| EOF |
| ; |
| |
| // Rule AttributeMatchingConstraint |
| ruleAttributeMatchingConstraint returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| } |
| otherlv_0=RULE_ID |
| { |
| newLeafNode(otherlv_0, grammarAccess.getAttributeMatchingConstraintAccess().getAttributeLAttributeCrossReference_0_0()); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getAttributeMatchingConstraintAccess().getComparatorTypeLComparatorTypeEnumRuleCall_1_0()); |
| } |
| lv_comparatorType_1_0=ruleLComparatorType { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| set( |
| $current, |
| "comparatorType", |
| lv_comparatorType_1_0, |
| "LComparatorType"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )(( |
| ( |
| lv_matchingValue_2_0=RULE_STRING |
| { |
| newLeafNode(lv_matchingValue_2_0, grammarAccess.getAttributeMatchingConstraintAccess().getMatchingValueSTRINGTerminalRuleCall_2_0_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "matchingValue", |
| lv_matchingValue_2_0, |
| "STRING"); |
| } |
| |
| ) |
| ) |
| |(( |
| ( |
| RULE_ID |
| |
| ) |
| )=> |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| } |
| otherlv_3=RULE_ID |
| { |
| newLeafNode(otherlv_3, grammarAccess.getAttributeMatchingConstraintAccess().getMatchingLiteralLEnumLiteralCrossReference_2_1_0()); |
| } |
| |
| ) |
| ))( otherlv_4=';' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getAttributeMatchingConstraintAccess().getSemicolonKeyword_3()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleKeyAndValue |
| entryRuleKeyAndValue returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getKeyAndValueRule()); } |
| iv_ruleKeyAndValue=ruleKeyAndValue |
| { $current=$iv_ruleKeyAndValue.current; } |
| EOF |
| ; |
| |
| // Rule KeyAndValue |
| ruleKeyAndValue returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( otherlv_0='key' |
| { |
| newLeafNode(otherlv_0, grammarAccess.getKeyAndValueAccess().getKeyKeyword_0()); |
| } |
| otherlv_1='=' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getKeyAndValueAccess().getEqualsSignKeyword_1()); |
| } |
| ( |
| ( |
| lv_key_2_0=RULE_STRING |
| { |
| newLeafNode(lv_key_2_0, grammarAccess.getKeyAndValueAccess().getKeySTRINGTerminalRuleCall_2_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getKeyAndValueRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "key", |
| lv_key_2_0, |
| "STRING"); |
| } |
| |
| ) |
| ) otherlv_3='value' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getKeyAndValueAccess().getValueKeyword_3()); |
| } |
| otherlv_4='=' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getKeyAndValueAccess().getEqualsSignKeyword_4()); |
| } |
| ( |
| ( |
| lv_value_5_0=RULE_STRING |
| { |
| newLeafNode(lv_value_5_0, grammarAccess.getKeyAndValueAccess().getValueSTRINGTerminalRuleCall_5_0()); |
| } |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getKeyAndValueRule()); |
| } |
| setWithLastConsumed( |
| $current, |
| "value", |
| lv_value_5_0, |
| "STRING"); |
| } |
| |
| ) |
| )) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleLQualifiedNameWithWildCard |
| entryRuleLQualifiedNameWithWildCard returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getLQualifiedNameWithWildCardRule()); } |
| iv_ruleLQualifiedNameWithWildCard=ruleLQualifiedNameWithWildCard |
| { $current=$iv_ruleLQualifiedNameWithWildCard.current.getText(); } |
| EOF |
| ; |
| |
| // Rule LQualifiedNameWithWildCard |
| ruleLQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getLQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); |
| } |
| this_QualifiedName_0=ruleQualifiedName { |
| $current.merge(this_QualifiedName_0); |
| } |
| |
| { |
| afterParserOrEnumRuleCall(); |
| } |
| ( |
| kw='.' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); |
| } |
| |
| kw='*' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleLFQN |
| entryRuleLFQN returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getLFQNRule()); } |
| iv_ruleLFQN=ruleLFQN |
| { $current=$iv_ruleLFQN.current.getText(); } |
| EOF |
| ; |
| |
| // Rule LFQN |
| ruleLFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( this_ID_0=RULE_ID { |
| $current.merge(this_ID_0); |
| } |
| |
| { |
| newLeafNode(this_ID_0, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_0()); |
| } |
| ( |
| kw='.' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLFQNAccess().getFullStopKeyword_1_0()); |
| } |
| this_ID_2=RULE_ID { |
| $current.merge(this_ID_2); |
| } |
| |
| { |
| newLeafNode(this_ID_2, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_1_1()); |
| } |
| )*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleTYPE_CROSS_REFERENCE |
| entryRuleTYPE_CROSS_REFERENCE returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getTYPE_CROSS_REFERENCERule()); } |
| iv_ruleTYPE_CROSS_REFERENCE=ruleTYPE_CROSS_REFERENCE |
| { $current=$iv_ruleTYPE_CROSS_REFERENCE.current.getText(); } |
| EOF |
| ; |
| |
| // Rule TYPE_CROSS_REFERENCE |
| ruleTYPE_CROSS_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| this_ID_0=RULE_ID { |
| $current.merge(this_ID_0); |
| } |
| |
| { |
| newLeafNode(this_ID_0, grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleValidIDWithKeywords |
| entryRuleValidIDWithKeywords returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getValidIDWithKeywordsRule()); } |
| iv_ruleValidIDWithKeywords=ruleValidIDWithKeywords |
| { $current=$iv_ruleValidIDWithKeywords.current.getText(); } |
| EOF |
| ; |
| |
| // Rule ValidIDWithKeywords |
| ruleValidIDWithKeywords returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='cachable' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCachableKeyword_0()); |
| } |
| |
| | |
| kw='id' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getIdKeyword_1()); |
| } |
| |
| | |
| kw='uuid' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getUuidKeyword_2()); |
| } |
| |
| | |
| kw='transient' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getTransientKeyword_3()); |
| } |
| |
| | |
| kw='version' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getVersionKeyword_4()); |
| } |
| |
| |( |
| kw='derived' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDerivedKeyword_5_0()); |
| } |
| |
| kw='collection' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCollectionKeyword_5_1()); |
| } |
| ) |
| | |
| kw='refers' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getRefersKeyword_6()); |
| } |
| |
| | |
| kw='settings' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getSettingsKeyword_7()); |
| } |
| |
| | |
| kw='lazy' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getLazyKeyword_8()); |
| } |
| |
| | |
| kw='notnull' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getNotnullKeyword_9()); |
| } |
| |
| | |
| kw='dto' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDtoKeyword_10()); |
| } |
| |
| | |
| kw='date' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDateKeyword_11()); |
| } |
| |
| | |
| kw='mapto' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getMaptoKeyword_12()); |
| } |
| |
| | |
| kw='ref' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getRefKeyword_13()); |
| } |
| |
| | |
| kw='cascade' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCascadeKeyword_14()); |
| } |
| |
| | |
| kw='var' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getVarKeyword_15()); |
| } |
| |
| | this_ID_17=RULE_ID { |
| $current.merge(this_ID_17); |
| } |
| |
| { |
| newLeafNode(this_ID_17, grammarAccess.getValidIDWithKeywordsAccess().getIDTerminalRuleCall_16()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| |
| |
| // Entry rule entryRuleMultiplicity |
| entryRuleMultiplicity returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getMultiplicityRule()); } |
| iv_ruleMultiplicity=ruleMultiplicity |
| { $current=$iv_ruleMultiplicity.current; } |
| EOF |
| ; |
| |
| // Rule Multiplicity |
| ruleMultiplicity returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( otherlv_0='[' |
| { |
| newLeafNode(otherlv_0, grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getMultiplicityAccess().getLowerLowerBoundEnumRuleCall_1_0()); |
| } |
| lv_lower_1_0=ruleLowerBound { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getMultiplicityRule()); |
| } |
| set( |
| $current, |
| "lower", |
| lv_lower_1_0, |
| "LowerBound"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_2='..' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getMultiplicityAccess().getFullStopFullStopKeyword_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getMultiplicityAccess().getUpperUpperBoundEnumRuleCall_2_1_0()); |
| } |
| lv_upper_3_0=ruleUpperBound { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getMultiplicityRule()); |
| } |
| set( |
| $current, |
| "upper", |
| lv_upper_3_0, |
| "UpperBound"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_4=']' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleLInt |
| entryRuleLInt returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getLIntRule()); } |
| iv_ruleLInt=ruleLInt |
| { $current=$iv_ruleLInt.current.getText(); } |
| EOF |
| ; |
| |
| // Rule LInt |
| ruleLInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| kw='+' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLIntAccess().getPlusSignKeyword_0_0()); |
| } |
| |
| | |
| kw='-' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLIntAccess().getHyphenMinusKeyword_0_1()); |
| } |
| )? this_INT_2=RULE_INT { |
| $current.merge(this_INT_2); |
| } |
| |
| { |
| newLeafNode(this_INT_2, grammarAccess.getLIntAccess().getINTTerminalRuleCall_1()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleLDecimal |
| entryRuleLDecimal returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getLDecimalRule()); } |
| iv_ruleLDecimal=ruleLDecimal |
| { $current=$iv_ruleLDecimal.current.getText(); } |
| EOF |
| ; |
| |
| // Rule LDecimal |
| ruleLDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getLDecimalAccess().getLIntParserRuleCall_0()); |
| } |
| this_LInt_0=ruleLInt { |
| $current.merge(this_LInt_0); |
| } |
| |
| { |
| afterParserOrEnumRuleCall(); |
| } |
| ( |
| kw='.' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLDecimalAccess().getFullStopKeyword_1_0()); |
| } |
| this_INT_2=RULE_INT { |
| $current.merge(this_INT_2); |
| } |
| |
| { |
| newLeafNode(this_INT_2, grammarAccess.getLDecimalAccess().getINTTerminalRuleCall_1_1()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAnnotation |
| entryRuleXAnnotation returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAnnotationRule()); } |
| iv_ruleXAnnotation=ruleXAnnotation |
| { $current=$iv_ruleXAnnotation.current; } |
| EOF |
| ; |
| |
| // Rule XAnnotation |
| ruleXAnnotation returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), |
| $current); |
| } |
| ) otherlv_1='@' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); |
| } |
| ( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAnnotationRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0()); |
| } |
| ruleQualifiedName { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )((( '(' |
| )=> otherlv_3='(' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); |
| } |
| )(((((( |
| ( |
| ruleValidID |
| ) |
| ) '=' |
| ))=> |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); |
| } |
| lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); |
| } |
| add( |
| $current, |
| "elementValuePairs", |
| lv_elementValuePairs_4_0, |
| "XAnnotationElementValuePair"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_5=',' |
| { |
| newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); |
| } |
| (((( |
| ( |
| ruleValidID |
| ) |
| ) '=' |
| ))=> |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); |
| } |
| lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); |
| } |
| add( |
| $current, |
| "elementValuePairs", |
| lv_elementValuePairs_6_0, |
| "XAnnotationElementValuePair"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| |( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); |
| } |
| lv_value_7_0=ruleXAnnotationElementValueOrCommaList { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); |
| } |
| set( |
| $current, |
| "value", |
| lv_value_7_0, |
| "XAnnotationElementValueOrCommaList"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))? otherlv_8=')' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2()); |
| } |
| )?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAnnotationElementValuePair |
| entryRuleXAnnotationElementValuePair returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); } |
| iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair |
| { $current=$iv_ruleXAnnotationElementValuePair.current; } |
| EOF |
| ; |
| |
| // Rule XAnnotationElementValuePair |
| ruleXAnnotationElementValuePair returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ((((( |
| ( |
| ruleValidID |
| ) |
| ) '=' |
| ))=>(( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0()); |
| } |
| ruleValidID { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) otherlv_1='=' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); |
| } |
| ))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); |
| } |
| lv_value_2_0=ruleXAnnotationElementValue { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule()); |
| } |
| set( |
| $current, |
| "value", |
| lv_value_2_0, |
| "XAnnotationElementValue"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAnnotationElementValueOrCommaList |
| entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); } |
| iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList |
| { $current=$iv_ruleXAnnotationElementValueOrCommaList.current; } |
| EOF |
| ; |
| |
| // Rule XAnnotationElementValueOrCommaList |
| ruleXAnnotationElementValueOrCommaList returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (((((( |
| ) '#' |
| '[' |
| ))=>(( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), |
| $current); |
| } |
| ) otherlv_1='#' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); |
| } |
| otherlv_2='[' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| } |
| ))(( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| } |
| lv_elements_3_0=ruleXAnnotationOrExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_3_0, |
| "XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=',' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| } |
| lv_elements_5_0=ruleXAnnotationOrExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_5_0, |
| "XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_6=']' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); |
| } |
| ) |
| |( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); |
| } |
| this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression |
| { |
| $current = $this_XAnnotationOrExpression_7.current; |
| afterParserOrEnumRuleCall(); |
| } |
| (( |
| { |
| $current = forceCreateModelElementAndAdd( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), |
| $current); |
| } |
| )( otherlv_9=',' |
| { |
| newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); |
| } |
| lv_elements_10_0=ruleXAnnotationOrExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_10_0, |
| "XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))+)?)) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAnnotationElementValue |
| entryRuleXAnnotationElementValue returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); } |
| iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue |
| { $current=$iv_ruleXAnnotationElementValue.current; } |
| EOF |
| ; |
| |
| // Rule XAnnotationElementValue |
| ruleXAnnotationElementValue returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (((((( |
| ) '#' |
| '[' |
| ))=>(( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), |
| $current); |
| } |
| ) otherlv_1='#' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); |
| } |
| otherlv_2='[' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| } |
| ))(( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| } |
| lv_elements_3_0=ruleXAnnotationOrExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_3_0, |
| "XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=',' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| } |
| lv_elements_5_0=ruleXAnnotationOrExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_5_0, |
| "XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_6=']' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); |
| } |
| ) |
| | |
| { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); |
| } |
| this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression |
| { |
| $current = $this_XAnnotationOrExpression_7.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAnnotationOrExpression |
| entryRuleXAnnotationOrExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); } |
| iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression |
| { $current=$iv_ruleXAnnotationOrExpression.current; } |
| EOF |
| ; |
| |
| // Rule XAnnotationOrExpression |
| ruleXAnnotationOrExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); |
| } |
| this_XAnnotation_0=ruleXAnnotation |
| { |
| $current = $this_XAnnotation_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); |
| } |
| this_XExpression_1=ruleXExpression |
| { |
| $current = $this_XExpression_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXExpression |
| entryRuleXExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXExpressionRule()); } |
| iv_ruleXExpression=ruleXExpression |
| { $current=$iv_ruleXExpression.current; } |
| EOF |
| ; |
| |
| // Rule XExpression |
| ruleXExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| { |
| newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); |
| } |
| this_XAssignment_0=ruleXAssignment |
| { |
| $current = $this_XAssignment_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAssignment |
| entryRuleXAssignment returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAssignmentRule()); } |
| iv_ruleXAssignment=ruleXAssignment |
| { $current=$iv_ruleXAssignment.current; } |
| EOF |
| ; |
| |
| // Rule XAssignment |
| ruleXAssignment returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ((( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAssignmentRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); |
| } |
| ruleFeatureCallID { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2()); |
| } |
| ruleOpSingleAssign |
| { |
| afterParserOrEnumRuleCall(); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); |
| } |
| lv_value_3_0=ruleXAssignment { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAssignmentRule()); |
| } |
| set( |
| $current, |
| "value", |
| lv_value_3_0, |
| "XAssignment"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| |( |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); |
| } |
| this_XOrExpression_4=ruleXOrExpression |
| { |
| $current = $this_XOrExpression_4.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpMultiAssign |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAssignmentRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); |
| } |
| ruleOpMultiAssign { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); |
| } |
| lv_rightOperand_7_0=ruleXAssignment { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAssignmentRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_7_0, |
| "XAssignment"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))?)) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpSingleAssign |
| entryRuleOpSingleAssign returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpSingleAssignRule()); } |
| iv_ruleOpSingleAssign=ruleOpSingleAssign |
| { $current=$iv_ruleOpSingleAssign.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpSingleAssign |
| ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| kw='=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpMultiAssign |
| entryRuleOpMultiAssign returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpMultiAssignRule()); } |
| iv_ruleOpMultiAssign=ruleOpMultiAssign |
| { $current=$iv_ruleOpMultiAssign.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpMultiAssign |
| ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='+=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); |
| } |
| |
| | |
| kw='-=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); |
| } |
| |
| | |
| kw='*=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); |
| } |
| |
| | |
| kw='/=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); |
| } |
| |
| | |
| kw='%=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); |
| } |
| |
| |( |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); |
| } |
| |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); |
| } |
| |
| kw='=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); |
| } |
| ) |
| |( |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); |
| } |
| ( |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); |
| } |
| )? |
| kw='>=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2()); |
| } |
| )) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXOrExpression |
| entryRuleXOrExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXOrExpressionRule()); } |
| iv_ruleXOrExpression=ruleXOrExpression |
| { $current=$iv_ruleXOrExpression.current; } |
| EOF |
| ; |
| |
| // Rule XOrExpression |
| ruleXOrExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); |
| } |
| this_XAndExpression_0=ruleXAndExpression |
| { |
| $current = $this_XAndExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpOr |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXOrExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpOr { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXAndExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXOrExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XAndExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpOr |
| entryRuleOpOr returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpOrRule()); } |
| iv_ruleOpOr=ruleOpOr |
| { $current=$iv_ruleOpOr.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpOr |
| ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| kw='||' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAndExpression |
| entryRuleXAndExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAndExpressionRule()); } |
| iv_ruleXAndExpression=ruleXAndExpression |
| { $current=$iv_ruleXAndExpression.current; } |
| EOF |
| ; |
| |
| // Rule XAndExpression |
| ruleXAndExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); |
| } |
| this_XEqualityExpression_0=ruleXEqualityExpression |
| { |
| $current = $this_XEqualityExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpAnd |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAndExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpAnd { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXEqualityExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAndExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XEqualityExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpAnd |
| entryRuleOpAnd returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpAndRule()); } |
| iv_ruleOpAnd=ruleOpAnd |
| { $current=$iv_ruleOpAnd.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpAnd |
| ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| |
| kw='&&' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); |
| } |
| |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXEqualityExpression |
| entryRuleXEqualityExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXEqualityExpressionRule()); } |
| iv_ruleXEqualityExpression=ruleXEqualityExpression |
| { $current=$iv_ruleXEqualityExpression.current; } |
| EOF |
| ; |
| |
| // Rule XEqualityExpression |
| ruleXEqualityExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); |
| } |
| this_XRelationalExpression_0=ruleXRelationalExpression |
| { |
| $current = $this_XRelationalExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpEquality |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXEqualityExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpEquality { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXRelationalExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XRelationalExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpEquality |
| entryRuleOpEquality returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpEqualityRule()); } |
| iv_ruleOpEquality=ruleOpEquality |
| { $current=$iv_ruleOpEquality.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpEquality |
| ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='==' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); |
| } |
| |
| | |
| kw='!=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); |
| } |
| |
| | |
| kw='===' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); |
| } |
| |
| | |
| kw='!==' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXRelationalExpression |
| entryRuleXRelationalExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXRelationalExpressionRule()); } |
| iv_ruleXRelationalExpression=ruleXRelationalExpression |
| { $current=$iv_ruleXRelationalExpression.current; } |
| EOF |
| ; |
| |
| // Rule XRelationalExpression |
| ruleXRelationalExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0()); |
| } |
| this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression |
| { |
| $current = $this_XOtherOperatorExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| (((((( |
| ) 'instanceof' |
| ))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), |
| $current); |
| } |
| ) otherlv_2='instanceof' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); |
| } |
| ))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); |
| } |
| lv_type_3_0=ruleJvmTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); |
| } |
| set( |
| $current, |
| "type", |
| lv_type_3_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| |((((( |
| )( |
| ( |
| ruleOpCompare |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXRelationalExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); |
| } |
| ruleOpCompare { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); |
| } |
| lv_rightOperand_6_0=ruleXOtherOperatorExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_6_0, |
| "XOtherOperatorExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpCompare |
| entryRuleOpCompare returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpCompareRule()); } |
| iv_ruleOpCompare=ruleOpCompare |
| { $current=$iv_ruleOpCompare.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpCompare |
| ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='>=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); |
| } |
| |
| |( |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); |
| } |
| |
| kw='=' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); |
| } |
| ) |
| | |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); |
| } |
| |
| | |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXOtherOperatorExpression |
| entryRuleXOtherOperatorExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); } |
| iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression |
| { $current=$iv_ruleXOtherOperatorExpression.current; } |
| EOF |
| ; |
| |
| // Rule XOtherOperatorExpression |
| ruleXOtherOperatorExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); |
| } |
| this_XAdditiveExpression_0=ruleXAdditiveExpression |
| { |
| $current = $this_XAdditiveExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpOther |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpOther { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXAdditiveExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XAdditiveExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpOther |
| entryRuleOpOther returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpOtherRule()); } |
| iv_ruleOpOther=ruleOpOther |
| { $current=$iv_ruleOpOther.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpOther |
| ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='->' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| } |
| |
| | |
| kw='..<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); |
| } |
| |
| |( |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); |
| } |
| |
| kw='..' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); |
| } |
| ) |
| | |
| kw='..' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); |
| } |
| |
| | |
| kw='=>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); |
| } |
| |
| |( |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); |
| } |
| (((( |
| '>' |
| |
| '>' |
| ))=>( |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0()); |
| } |
| |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1()); |
| } |
| )) |
| | |
| kw='>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); |
| } |
| )) |
| |( |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); |
| } |
| (((( |
| '<' |
| |
| '<' |
| ))=>( |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); |
| } |
| |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); |
| } |
| )) |
| | |
| kw='<' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); |
| } |
| |
| | |
| kw='=>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); |
| } |
| )) |
| | |
| kw='<>' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); |
| } |
| |
| | |
| kw='?:' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXAdditiveExpression |
| entryRuleXAdditiveExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXAdditiveExpressionRule()); } |
| iv_ruleXAdditiveExpression=ruleXAdditiveExpression |
| { $current=$iv_ruleXAdditiveExpression.current; } |
| EOF |
| ; |
| |
| // Rule XAdditiveExpression |
| ruleXAdditiveExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); |
| } |
| this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression |
| { |
| $current = $this_XMultiplicativeExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpAdd |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpAdd { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXMultiplicativeExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XMultiplicativeExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpAdd |
| entryRuleOpAdd returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpAddRule()); } |
| iv_ruleOpAdd=ruleOpAdd |
| { $current=$iv_ruleOpAdd.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpAdd |
| ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='+' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); |
| } |
| |
| | |
| kw='-' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXMultiplicativeExpression |
| entryRuleXMultiplicativeExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule()); } |
| iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression |
| { $current=$iv_ruleXMultiplicativeExpression.current; } |
| EOF |
| ; |
| |
| // Rule XMultiplicativeExpression |
| ruleXMultiplicativeExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); |
| } |
| this_XUnaryOperation_0=ruleXUnaryOperation |
| { |
| $current = $this_XUnaryOperation_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| )( |
| ( |
| ruleOpMulti |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| } |
| ruleOpMulti { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0()); |
| } |
| lv_rightOperand_3_0=ruleXUnaryOperation { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| set( |
| $current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "XUnaryOperation"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpMulti |
| entryRuleOpMulti returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpMultiRule()); } |
| iv_ruleOpMulti=ruleOpMulti |
| { $current=$iv_ruleOpMulti.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpMulti |
| ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='*' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); |
| } |
| |
| | |
| kw='**' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); |
| } |
| |
| | |
| kw='/' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); |
| } |
| |
| | |
| kw='%' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXUnaryOperation |
| entryRuleXUnaryOperation returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXUnaryOperationRule()); } |
| iv_ruleXUnaryOperation=ruleXUnaryOperation |
| { $current=$iv_ruleXUnaryOperation.current; } |
| EOF |
| ; |
| |
| // Rule XUnaryOperation |
| ruleXUnaryOperation returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ((( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXUnaryOperationRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); |
| } |
| ruleOpUnary { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0()); |
| } |
| lv_operand_2_0=ruleXUnaryOperation { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXUnaryOperationRule()); |
| } |
| set( |
| $current, |
| "operand", |
| lv_operand_2_0, |
| "XUnaryOperation"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| | |
| { |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); |
| } |
| this_XCastedExpression_3=ruleXCastedExpression |
| { |
| $current = $this_XCastedExpression_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpUnary |
| entryRuleOpUnary returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpUnaryRule()); } |
| iv_ruleOpUnary=ruleOpUnary |
| { $current=$iv_ruleOpUnary.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpUnary |
| ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='!' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); |
| } |
| |
| | |
| kw='-' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); |
| } |
| |
| | |
| kw='+' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXCastedExpression |
| entryRuleXCastedExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXCastedExpressionRule()); } |
| iv_ruleXCastedExpression=ruleXCastedExpression |
| { $current=$iv_ruleXCastedExpression.current; } |
| EOF |
| ; |
| |
| // Rule XCastedExpression |
| ruleXCastedExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); |
| } |
| this_XPostfixOperation_0=ruleXPostfixOperation |
| { |
| $current = $this_XPostfixOperation_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ((((( |
| ) 'as' |
| ))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), |
| $current); |
| } |
| ) otherlv_2='as' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); |
| } |
| ))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0()); |
| } |
| lv_type_3_0=ruleJvmTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXCastedExpressionRule()); |
| } |
| set( |
| $current, |
| "type", |
| lv_type_3_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXPostfixOperation |
| entryRuleXPostfixOperation returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXPostfixOperationRule()); } |
| iv_ruleXPostfixOperation=ruleXPostfixOperation |
| { $current=$iv_ruleXPostfixOperation.current; } |
| EOF |
| ; |
| |
| // Rule XPostfixOperation |
| ruleXPostfixOperation returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); |
| } |
| this_XMemberFeatureCall_0=ruleXMemberFeatureCall |
| { |
| $current = $this_XMemberFeatureCall_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| (((( |
| )( |
| ( |
| ruleOpPostfix |
| ) |
| )))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(), |
| $current); |
| } |
| )( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXPostfixOperationRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0()); |
| } |
| ruleOpPostfix { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )))?) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleOpPostfix |
| entryRuleOpPostfix returns [String current=null] |
| : |
| { newCompositeNode(grammarAccess.getOpPostfixRule()); } |
| iv_ruleOpPostfix=ruleOpPostfix |
| { $current=$iv_ruleOpPostfix.current.getText(); } |
| EOF |
| ; |
| |
| // Rule OpPostfix |
| ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| kw='++' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); |
| } |
| |
| | |
| kw='--' |
| { |
| $current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXMemberFeatureCall |
| entryRuleXMemberFeatureCall returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXMemberFeatureCallRule()); } |
| iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall |
| { $current=$iv_ruleXMemberFeatureCall.current; } |
| EOF |
| ; |
| |
| // Rule XMemberFeatureCall |
| ruleXMemberFeatureCall returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); |
| } |
| this_XPrimaryExpression_0=ruleXPrimaryExpression |
| { |
| $current = $this_XPrimaryExpression_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| (((((( |
| )( '.' |
| |
| |( |
| ( |
| '::' |
| |
| |
| ) |
| ))( |
| ( |
| ruleFeatureCallID |
| ) |
| ) ruleOpSingleAssign))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(), |
| $current); |
| } |
| )( otherlv_2='.' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); |
| } |
| |
| |( |
| ( |
| lv_explicitStatic_3_0= '::' |
| { |
| newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed($current, "explicitStatic", true, "::"); |
| } |
| |
| ) |
| ))( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); |
| } |
| ruleFeatureCallID { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); |
| } |
| ruleOpSingleAssign |
| { |
| afterParserOrEnumRuleCall(); |
| } |
| ))( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0()); |
| } |
| lv_value_6_0=ruleXAssignment { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| set( |
| $current, |
| "value", |
| lv_value_6_0, |
| "XAssignment"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )) |
| |((((( |
| )( '.' |
| |
| |( |
| ( |
| '?.' |
| |
| |
| ) |
| ) |
| |( |
| ( |
| '::' |
| |
| |
| ) |
| ))))=>(( |
| { |
| $current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(), |
| $current); |
| } |
| )( otherlv_8='.' |
| { |
| newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); |
| } |
| |
| |( |
| ( |
| lv_nullSafe_9_0= '?.' |
| { |
| newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed($current, "nullSafe", true, "?."); |
| } |
| |
| ) |
| ) |
| |( |
| ( |
| lv_explicitStatic_10_0= '::' |
| { |
| newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed($current, "explicitStatic", true, "::"); |
| } |
| |
| ) |
| ))))( otherlv_11='<' |
| { |
| newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0()); |
| } |
| lv_typeArguments_12_0=ruleJvmArgumentTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "typeArguments", |
| lv_typeArguments_12_0, |
| "JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_13=',' |
| { |
| newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0()); |
| } |
| lv_typeArguments_14_0=ruleJvmArgumentTypeReference { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "typeArguments", |
| lv_typeArguments_14_0, |
| "JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))* otherlv_15='>' |
| { |
| newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); |
| } |
| )?( |
| ( |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| } |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); |
| } |
| ruleIdOrSuper { |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )((( |
| ( |
| '(' |
| |
| |
| ) |
| )=> |
| ( |
| lv_explicitOperationCall_17_0= '(' |
| { |
| newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed($current, "explicitOperationCall", true, "("); |
| } |
| |
| ) |
| )((((( |
| )(( |
| ( |
| ruleJvmFormalParameter |
| ) |
| )( ',' |
| ( |
| ( |
| ruleJvmFormalParameter |
| ) |
| ))*)?( |
| ( |
| '|' |
| |
| |
| ) |
| )))=> |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); |
| } |
| lv_memberCallArguments_18_0=ruleXShortClosure { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "memberCallArguments", |
| lv_memberCallArguments_18_0, |
| "XShortClosure"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ) |
| |(( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0()); |
| } |
| lv_memberCallArguments_19_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "memberCallArguments", |
| lv_memberCallArguments_19_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_20=',' |
| { |
| newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0()); |
| } |
| lv_memberCallArguments_21_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "memberCallArguments", |
| lv_memberCallArguments_21_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*))? otherlv_22=')' |
| { |
| newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2()); |
| } |
| )?(((( |
| ) '[' |
| ))=> |
| ( |
| { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); |
| } |
| lv_memberCallArguments_23_0=ruleXClosure { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| $current, |
| "memberCallArguments", |
| lv_memberCallArguments_23_0, |
| "XClosure"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )?))*) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXPrimaryExpression |
| entryRuleXPrimaryExpression returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXPrimaryExpressionRule()); } |
| iv_ruleXPrimaryExpression=ruleXPrimaryExpression |
| { $current=$iv_ruleXPrimaryExpression.current; } |
| EOF |
| ; |
| |
| // Rule XPrimaryExpression |
| ruleXPrimaryExpression returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); |
| } |
| this_XConstructorCall_0=ruleXConstructorCall |
| { |
| $current = $this_XConstructorCall_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); |
| } |
| this_XBlockExpression_1=ruleXBlockExpression |
| { |
| $current = $this_XBlockExpression_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); |
| } |
| this_XSwitchExpression_2=ruleXSwitchExpression |
| { |
| $current = $this_XSwitchExpression_2.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| |(((( |
| ) 'synchronized' |
| '(' |
| ))=> |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); |
| } |
| this_XSynchronizedExpression_3=ruleXSynchronizedExpression |
| { |
| $current = $this_XSynchronizedExpression_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); |
| } |
| this_XFeatureCall_4=ruleXFeatureCall |
| { |
| $current = $this_XFeatureCall_4.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); |
| } |
| this_XLiteral_5=ruleXLiteral |
| { |
| $current = $this_XLiteral_5.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); |
| } |
| this_XIfExpression_6=ruleXIfExpression |
| { |
| $current = $this_XIfExpression_6.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| |(((( |
| ) 'for' |
| '(' |
| ( |
| ( |
| ruleJvmFormalParameter |
| ) |
| ) ':' |
| ))=> |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); |
| } |
| this_XForLoopExpression_7=ruleXForLoopExpression |
| { |
| $current = $this_XForLoopExpression_7.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); |
| } |
| this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression |
| { |
| $current = $this_XBasicForLoopExpression_8.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); |
| } |
| this_XWhileExpression_9=ruleXWhileExpression |
| { |
| $current = $this_XWhileExpression_9.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); |
| } |
| this_XDoWhileExpression_10=ruleXDoWhileExpression |
| { |
| $current = $this_XDoWhileExpression_10.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); |
| } |
| this_XThrowExpression_11=ruleXThrowExpression |
| { |
| $current = $this_XThrowExpression_11.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); |
| } |
| this_XReturnExpression_12=ruleXReturnExpression |
| { |
| $current = $this_XReturnExpression_12.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); |
| } |
| this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression |
| { |
| $current = $this_XTryCatchFinallyExpression_13.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); |
| } |
| this_XParenthesizedExpression_14=ruleXParenthesizedExpression |
| { |
| $current = $this_XParenthesizedExpression_14.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXLiteral |
| entryRuleXLiteral returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXLiteralRule()); } |
| iv_ruleXLiteral=ruleXLiteral |
| { $current=$iv_ruleXLiteral.current; } |
| EOF |
| ; |
| |
| // Rule XLiteral |
| ruleXLiteral returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); |
| } |
| this_XCollectionLiteral_0=ruleXCollectionLiteral |
| { |
| $current = $this_XCollectionLiteral_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| |(((( |
| ) '[' |
| ))=> |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); |
| } |
| this_XClosure_1=ruleXClosure |
| { |
| $current = $this_XClosure_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| | |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); |
| } |
| this_XBooleanLiteral_2=ruleXBooleanLiteral |
| { |
| $current = $this_XBooleanLiteral_2.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); |
| } |
| this_XNumberLiteral_3=ruleXNumberLiteral |
| { |
| $current = $this_XNumberLiteral_3.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); |
| } |
| this_XNullLiteral_4=ruleXNullLiteral |
| { |
| $current = $this_XNullLiteral_4.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); |
| } |
| this_XStringLiteral_5=ruleXStringLiteral |
| { |
| $current = $this_XStringLiteral_5.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); |
| } |
| this_XTypeLiteral_6=ruleXTypeLiteral |
| { |
| $current = $this_XTypeLiteral_6.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXCollectionLiteral |
| entryRuleXCollectionLiteral returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXCollectionLiteralRule()); } |
| iv_ruleXCollectionLiteral=ruleXCollectionLiteral |
| { $current=$iv_ruleXCollectionLiteral.current; } |
| EOF |
| ; |
| |
| // Rule XCollectionLiteral |
| ruleXCollectionLiteral returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ( |
| { |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); |
| } |
| this_XSetLiteral_0=ruleXSetLiteral |
| { |
| $current = $this_XSetLiteral_0.current; |
| afterParserOrEnumRuleCall(); |
| } |
| |
| | |
| { |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); |
| } |
| this_XListLiteral_1=ruleXListLiteral |
| { |
| $current = $this_XListLiteral_1.current; |
| afterParserOrEnumRuleCall(); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXSetLiteral |
| entryRuleXSetLiteral returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXSetLiteralRule()); } |
| iv_ruleXSetLiteral=ruleXSetLiteral |
| { $current=$iv_ruleXSetLiteral.current; } |
| EOF |
| ; |
| |
| // Rule XSetLiteral |
| ruleXSetLiteral returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(), |
| $current); |
| } |
| ) otherlv_1='#' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); |
| } |
| otherlv_2='{' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2()); |
| } |
| (( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| } |
| lv_elements_3_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_3_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=',' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| } |
| lv_elements_5_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_5_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_6='}' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXListLiteral |
| entryRuleXListLiteral returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXListLiteralRule()); } |
| iv_ruleXListLiteral=ruleXListLiteral |
| { $current=$iv_ruleXListLiteral.current; } |
| EOF |
| ; |
| |
| // Rule XListLiteral |
| ruleXListLiteral returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| (( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(), |
| $current); |
| } |
| ) otherlv_1='#' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1()); |
| } |
| otherlv_2='[' |
| { |
| newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2()); |
| } |
| (( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| } |
| lv_elements_3_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_3_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_4=',' |
| { |
| newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| } |
| lv_elements_5_0=ruleXExpression { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| $current, |
| "elements", |
| lv_elements_5_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)? otherlv_6=']' |
| { |
| newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4()); |
| } |
| ) |
| ; |
| |
| |
| |
| |
| |
| // Entry rule entryRuleXClosure |
| entryRuleXClosure returns [EObject current=null] |
| : |
| { newCompositeNode(grammarAccess.getXClosureRule()); } |
| iv_ruleXClosure=ruleXClosure |
| { $current=$iv_ruleXClosure.current; } |
| EOF |
| ; |
| |
| // Rule XClosure |
| ruleXClosure returns [EObject current=null] |
| @init { enterRule(); |
| } |
| @after { leaveRule(); }: |
| ((((( |
| ) '[' |
| ))=>(( |
| { |
| $current = forceCreateModelElement( |
| grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(), |
| $current); |
| } |
| ) otherlv_1='[' |
| { |
| newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1()); |
| } |
| ))((((( |
| ( |
| ruleJvmFormalParameter |
| ) |
| )( ',' |
| ( |
| ( |
| ruleJvmFormalParameter |
| ) |
| ))*)?( |
| ( |
| '|' |
| |
| |
| ) |
| )))=>((( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0()); |
| } |
| lv_declaredFormalParameters_2_0=ruleJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| add( |
| $current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_2_0, |
| "JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| )( otherlv_3=',' |
| { |
| newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0()); |
| } |
| ( |
| ( |
| { |
| newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0()); |
| } |
| lv_declaredFormalParameters_4_0=ruleJvmFormalParameter { |
| if ($current==null) { |
| $current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| add( |
| $current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_4_0, |
| "JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| } |
| |
| ) |
| ))*)?( |
| ( |
| lv_explicitSyntax_5_0= '|' |
| { |
| newLeafNode(lv_explicitSyntax_5_0, grammarAccess.getXClosureAccess().getExplicitSyntaxVerticalLineKeyword_1_0_1_0()); |
| } |
| |
| { |
| if ($current==null) { |
| $current = createModelElement(grammarAccess.getXClosureRule()); |
| } |
| setWithLastConsumed($current, "explicitSyntax", true, "|"); |