package net.certware.sacm.dsl.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.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 net.certware.sacm.dsl.services.SacmDslGrammarAccess; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; @SuppressWarnings("all") public class InternalSacmDslParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_INT", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'AssuranceCase'", "'{'", "'id'", "'name'", "'gid'", "'taggedValue'", "','", "'}'", "'annotation'", "'argument'", "'evidence'", "'TaggedValue'", "'key'", "'value'", "'Annotation'", "'content'", "'Argumentation'", "'description'", "'argumentation'", "'argumentElement'", "'EvidenceContainer'", "'version'", "'evaluation'", "'item'", "'property'", "'element'", "'CitationElement'", "'argumentElementReference'", "'('", "')'", "'argumentationReference'", "'InformationElement'", "'url'", "'ArgumentReasoning'", "'structure'", "'describedInference'", "'describedChallenge'", "'Claim'", "'assumed'", "'toBeSupported'", "'AssertedInference'", "'source'", "'target'", "'AssertedEvidence'", "'AssertedContext'", "'AssertedChallenge'", "'AssertedCounterEvidence'", "'Document'", "'title'", "'citation'", "'timing'", "'custody'", "'provenance'", "'event'", "'Assertion'", "'facttype'", "'definition'", "'role'", "'Object'", "'concept'", "'CompositeObject'", "'UnknownObject'", "'ReferencedClaim'", "'claim'", "'EvidenceGroup'", "'Exhibit'", "'Record'", "'ObjectifiedAssertion'", "'assertion'", "'EndTime'", "'datetime'", "'StartTime'", "'AtTime'", "'dateTtime'", "'CareOf'", "'custodian'", "'AtLocation'", "'location'", "'UsingProcess'", "'method'", "'Person'", "'HasRoleIn'", "'organization'", "'DependsOn'", "'Satisfies'", "'RequiresContainer'", "'container'", "'ContainerConsistency'", "'ContainerCompleteness'", "'CompliesTo'", "'criteria'", "'ExtendedProjectProperty'", "'Organization'", "'address'", "'Tool'", "'Method'", "'EvidenceRequest'", "'ProjectObjective'", "'Activity'", "'Service'", "'ConsistencyLevel'", "'CompletenessLevel'", "'StandardOfProof'", "'ApprovedBy'", "'supervisor'", "'CreatedBy'", "'OwnedBy'", "'owner'", "'PerformedBy'", "'executor'", "'IsGeneratedAt'", "'IsAcquiredAt'", "'IsTransferredTo'", "'IsRevokedAt'", "'IsCreatedAt'", "'IsModifiedBy'", "'Consistency'", "'Completeness'", "'status'", "'IsBasedOn'", "'Originality'", "'Reliability'", "'IsPartOf'", "'whole'", "'HasElectronicSource'", "'format'", "'fileSize'", "'IsExpressedInLanguage'", "'language'", "'IsPrimary'", "'HasSecurityClassification'", "'securityClassification'", "'IsReleaseableTo'", "'releasability'", "'HasVersion'", "'HasMedia'", "'media'", "'ExtendedDocumentProperty'", "'OriginalityLevel'", "'ReliabilityLevel'", "'true'", "'false'", "'RoleBinding'", "'subject'", "'Confidence'", "'IsA'", "'attribute'", "'IsCharacterizedBy'", "'Relevance'", "'Significance'", "'Accuracy'", "'IsScopedBy'", "'scope'", "'Reporting'", "'Supports'", "'Support'", "'Conflicts'", "'Refutes'", "'Negates'", "'Resolves'", "'Weakens'", "'relation'", "'Amplifies'", "'Challenges'", "'Strength'", "'ProvidesContext'", "'context'", "'MeansThat'", "'meaning'", "'ExtendedEvidenceAttribute'", "'ConfidenceLevel'", "'Level'", "'AccuracyLevel'", "'ReportingLevel'", "'SupportLevel'" }; public static final int T__144=144; public static final int T__143=143; public static final int T__146=146; public static final int T__50=50; public static final int T__145=145; public static final int T__140=140; public static final int T__142=142; public static final int T__141=141; public static final int T__59=59; public static final int T__55=55; public static final int T__56=56; public static final int T__57=57; public static final int T__58=58; public static final int T__51=51; public static final int T__137=137; public static final int T__52=52; public static final int T__136=136; public static final int T__53=53; public static final int T__139=139; public static final int T__54=54; public static final int T__138=138; public static final int T__133=133; public static final int T__132=132; public static final int T__60=60; public static final int T__135=135; public static final int T__61=61; public static final int T__134=134; public static final int RULE_ID=6; public static final int T__131=131; public static final int T__130=130; public static final int RULE_INT=5; public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__67=67; public static final int T__129=129; public static final int T__68=68; public static final int T__69=69; public static final int T__62=62; public static final int T__126=126; public static final int T__63=63; public static final int T__125=125; public static final int T__64=64; public static final int T__128=128; public static final int T__65=65; public static final int T__127=127; public static final int T__166=166; public static final int T__165=165; public static final int T__168=168; public static final int T__167=167; public static final int T__162=162; public static final int T__161=161; public static final int T__164=164; public static final int T__163=163; public static final int T__160=160; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; public static final int T__33=33; public static final int T__34=34; public static final int T__35=35; public static final int T__36=36; public static final int T__159=159; public static final int T__30=30; public static final int T__158=158; public static final int T__31=31; public static final int T__32=32; public static final int T__155=155; public static final int T__154=154; public static final int T__157=157; public static final int T__156=156; public static final int T__151=151; public static final int T__150=150; public static final int T__153=153; public static final int T__152=152; public static final int T__48=48; public static final int T__49=49; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; public static final int T__47=47; public static final int T__40=40; public static final int T__148=148; public static final int T__41=41; public static final int T__147=147; public static final int T__42=42; public static final int T__43=43; public static final int T__149=149; public static final int T__91=91; public static final int T__100=100; public static final int T__92=92; public static final int T__93=93; public static final int T__102=102; public static final int T__94=94; public static final int T__101=101; public static final int T__184=184; public static final int T__183=183; public static final int T__90=90; public static final int T__185=185; public static final int T__180=180; public static final int T__182=182; public static final int T__181=181; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__11=11; public static final int T__99=99; public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; public static final int T__95=95; public static final int T__96=96; public static final int T__97=97; public static final int T__98=98; public static final int T__177=177; public static final int T__176=176; public static final int T__179=179; public static final int T__178=178; public static final int T__173=173; public static final int T__172=172; public static final int T__175=175; public static final int T__174=174; public static final int T__171=171; public static final int T__170=170; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int T__29=29; public static final int T__22=22; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__169=169; public static final int T__20=20; public static final int T__21=21; public static final int T__122=122; public static final int T__70=70; public static final int T__121=121; public static final int T__71=71; public static final int T__124=124; public static final int T__72=72; public static final int T__123=123; public static final int T__120=120; public static final int RULE_STRING=4; public static final int RULE_SL_COMMENT=8; public static final int T__77=77; public static final int T__119=119; public static final int T__78=78; public static final int T__118=118; public static final int T__79=79; public static final int T__73=73; public static final int T__115=115; public static final int EOF=-1; public static final int T__74=74; public static final int T__114=114; public static final int T__75=75; public static final int T__117=117; public static final int T__76=76; public static final int T__116=116; public static final int T__80=80; public static final int T__111=111; public static final int T__81=81; public static final int T__110=110; public static final int T__82=82; public static final int T__113=113; public static final int T__83=83; public static final int T__112=112; public static final int RULE_WS=9; public static final int RULE_ANY_OTHER=10; public static final int T__88=88; public static final int T__108=108; public static final int T__89=89; public static final int T__107=107; public static final int T__109=109; public static final int T__84=84; public static final int T__104=104; public static final int T__85=85; public static final int T__103=103; public static final int T__86=86; public static final int T__106=106; public static final int T__87=87; public static final int T__105=105; // delegates // delegators public InternalSacmDslParser(TokenStream input) { this(input, new RecognizerSharedState()); } public InternalSacmDslParser(TokenStream input, RecognizerSharedState state) { super(input, state); } public String[] getTokenNames() { return InternalSacmDslParser.tokenNames; } public String getGrammarFileName() { return "InternalSacmDsl.g"; } private SacmDslGrammarAccess grammarAccess; public InternalSacmDslParser(TokenStream input, SacmDslGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } @Override protected String getFirstRuleName() { return "AssuranceCase"; } @Override protected SacmDslGrammarAccess getGrammarAccess() { return grammarAccess; } // $ANTLR start "entryRuleAssuranceCase" // InternalSacmDsl.g:67:1: entryRuleAssuranceCase returns [EObject current=null] : iv_ruleAssuranceCase= ruleAssuranceCase EOF ; public final EObject entryRuleAssuranceCase() throws RecognitionException { EObject current = null; EObject iv_ruleAssuranceCase = null; try { // InternalSacmDsl.g:68:2: (iv_ruleAssuranceCase= ruleAssuranceCase EOF ) // InternalSacmDsl.g:69:2: iv_ruleAssuranceCase= ruleAssuranceCase EOF { newCompositeNode(grammarAccess.getAssuranceCaseRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssuranceCase=ruleAssuranceCase(); state._fsp--; current =iv_ruleAssuranceCase; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssuranceCase" // $ANTLR start "ruleAssuranceCase" // InternalSacmDsl.g:76:1: ruleAssuranceCase returns [EObject current=null] : (otherlv_0= 'AssuranceCase' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssuranceCase() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_gid_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_argument_22_0 = null; EObject lv_argument_24_0 = null; EObject lv_evidence_28_0 = null; EObject lv_evidence_30_0 = null; enterRule(); try { // InternalSacmDsl.g:79:28: ( (otherlv_0= 'AssuranceCase' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:80:1: (otherlv_0= 'AssuranceCase' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:80:1: (otherlv_0= 'AssuranceCase' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:80:3: otherlv_0= 'AssuranceCase' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,11,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssuranceCaseAccess().getAssuranceCaseKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssuranceCaseAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssuranceCaseAccess().getIdKeyword_2()); // InternalSacmDsl.g:92:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:93:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:93:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:94:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssuranceCaseAccess().getNameKeyword_4()); // InternalSacmDsl.g:114:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:115:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:115:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:116:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_7); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,15,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssuranceCaseAccess().getGidKeyword_6()); // InternalSacmDsl.g:136:1: ( (lv_gid_7_0= ruleString0 ) ) // InternalSacmDsl.g:137:1: (lv_gid_7_0= ruleString0 ) { // InternalSacmDsl.g:137:1: (lv_gid_7_0= ruleString0 ) // InternalSacmDsl.g:138:3: lv_gid_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getGidString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_8); lv_gid_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } set( current, "gid", lv_gid_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:154:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0==16) ) { alt2=1; } switch (alt2) { case 1 : // InternalSacmDsl.g:154:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getAssuranceCaseAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getAssuranceCaseAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:162:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:163:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:163:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:164:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:180:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0==17) ) { alt1=1; } switch (alt1) { case 1 : // InternalSacmDsl.g:180:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getAssuranceCaseAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:184:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:185:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:185:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:186:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_11); newLeafNode(otherlv_13, grammarAccess.getAssuranceCaseAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:206:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt4=2; int LA4_0 = input.LA(1); if ( (LA4_0==19) ) { alt4=1; } switch (alt4) { case 1 : // InternalSacmDsl.g:206:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getAssuranceCaseAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getAssuranceCaseAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:214:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:215:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:215:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:216:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:232:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop3: do { int alt3=2; int LA3_0 = input.LA(1); if ( (LA3_0==17) ) { alt3=1; } switch (alt3) { case 1 : // InternalSacmDsl.g:232:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getAssuranceCaseAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:236:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:237:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:237:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:238:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop3; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_13); newLeafNode(otherlv_19, grammarAccess.getAssuranceCaseAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:258:3: (otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0==20) ) { alt6=1; } switch (alt6) { case 1 : // InternalSacmDsl.g:258:5: otherlv_20= 'argument' otherlv_21= '{' ( (lv_argument_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,20,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssuranceCaseAccess().getArgumentKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_14); newLeafNode(otherlv_21, grammarAccess.getAssuranceCaseAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:266:1: ( (lv_argument_22_0= ruleArgumentation0 ) ) // InternalSacmDsl.g:267:1: (lv_argument_22_0= ruleArgumentation0 ) { // InternalSacmDsl.g:267:1: (lv_argument_22_0= ruleArgumentation0 ) // InternalSacmDsl.g:268:3: lv_argument_22_0= ruleArgumentation0 { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getArgumentArgumentation0ParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argument_22_0=ruleArgumentation0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "argument", lv_argument_22_0, "net.certware.sacm.dsl.SacmDsl.Argumentation0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:284:2: (otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) )* loop5: do { int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0==17) ) { alt5=1; } switch (alt5) { case 1 : // InternalSacmDsl.g:284:4: otherlv_23= ',' ( (lv_argument_24_0= ruleArgumentation0 ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_14); newLeafNode(otherlv_23, grammarAccess.getAssuranceCaseAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:288:1: ( (lv_argument_24_0= ruleArgumentation0 ) ) // InternalSacmDsl.g:289:1: (lv_argument_24_0= ruleArgumentation0 ) { // InternalSacmDsl.g:289:1: (lv_argument_24_0= ruleArgumentation0 ) // InternalSacmDsl.g:290:3: lv_argument_24_0= ruleArgumentation0 { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getArgumentArgumentation0ParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argument_24_0=ruleArgumentation0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "argument", lv_argument_24_0, "net.certware.sacm.dsl.SacmDsl.Argumentation0"); afterParserOrEnumRuleCall(); } } } break; default : break loop5; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_15); newLeafNode(otherlv_25, grammarAccess.getAssuranceCaseAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:310:3: (otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' )? int alt8=2; int LA8_0 = input.LA(1); if ( (LA8_0==21) ) { alt8=1; } switch (alt8) { case 1 : // InternalSacmDsl.g:310:5: otherlv_26= 'evidence' otherlv_27= '{' ( (lv_evidence_28_0= ruleEvidenceContainer ) ) (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,21,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssuranceCaseAccess().getEvidenceKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_16); newLeafNode(otherlv_27, grammarAccess.getAssuranceCaseAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:318:1: ( (lv_evidence_28_0= ruleEvidenceContainer ) ) // InternalSacmDsl.g:319:1: (lv_evidence_28_0= ruleEvidenceContainer ) { // InternalSacmDsl.g:319:1: (lv_evidence_28_0= ruleEvidenceContainer ) // InternalSacmDsl.g:320:3: lv_evidence_28_0= ruleEvidenceContainer { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getEvidenceEvidenceContainerParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_evidence_28_0=ruleEvidenceContainer(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "evidence", lv_evidence_28_0, "net.certware.sacm.dsl.SacmDsl.EvidenceContainer"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:336:2: (otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==17) ) { alt7=1; } switch (alt7) { case 1 : // InternalSacmDsl.g:336:4: otherlv_29= ',' ( (lv_evidence_30_0= ruleEvidenceContainer ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_16); newLeafNode(otherlv_29, grammarAccess.getAssuranceCaseAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:340:1: ( (lv_evidence_30_0= ruleEvidenceContainer ) ) // InternalSacmDsl.g:341:1: (lv_evidence_30_0= ruleEvidenceContainer ) { // InternalSacmDsl.g:341:1: (lv_evidence_30_0= ruleEvidenceContainer ) // InternalSacmDsl.g:342:3: lv_evidence_30_0= ruleEvidenceContainer { newCompositeNode(grammarAccess.getAssuranceCaseAccess().getEvidenceEvidenceContainerParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_evidence_30_0=ruleEvidenceContainer(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssuranceCaseRule()); } add( current, "evidence", lv_evidence_30_0, "net.certware.sacm.dsl.SacmDsl.EvidenceContainer"); afterParserOrEnumRuleCall(); } } } break; default : break loop7; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssuranceCaseAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssuranceCaseAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssuranceCase" // $ANTLR start "entryRuleArgumentElement" // InternalSacmDsl.g:374:1: entryRuleArgumentElement returns [EObject current=null] : iv_ruleArgumentElement= ruleArgumentElement EOF ; public final EObject entryRuleArgumentElement() throws RecognitionException { EObject current = null; EObject iv_ruleArgumentElement = null; try { // InternalSacmDsl.g:375:2: (iv_ruleArgumentElement= ruleArgumentElement EOF ) // InternalSacmDsl.g:376:2: iv_ruleArgumentElement= ruleArgumentElement EOF { newCompositeNode(grammarAccess.getArgumentElementRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleArgumentElement=ruleArgumentElement(); state._fsp--; current =iv_ruleArgumentElement; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleArgumentElement" // $ANTLR start "ruleArgumentElement" // InternalSacmDsl.g:383:1: ruleArgumentElement returns [EObject current=null] : (this_CitationElement_0= ruleCitationElement | this_InformationElement_1= ruleInformationElement | this_ArgumentReasoning_2= ruleArgumentReasoning | this_Claim_3= ruleClaim | this_AssertedInference_4= ruleAssertedInference | this_AssertedEvidence_5= ruleAssertedEvidence | this_AssertedContext_6= ruleAssertedContext | this_AssertedChallenge_7= ruleAssertedChallenge | this_AssertedCounterEvidence_8= ruleAssertedCounterEvidence ) ; public final EObject ruleArgumentElement() throws RecognitionException { EObject current = null; EObject this_CitationElement_0 = null; EObject this_InformationElement_1 = null; EObject this_ArgumentReasoning_2 = null; EObject this_Claim_3 = null; EObject this_AssertedInference_4 = null; EObject this_AssertedEvidence_5 = null; EObject this_AssertedContext_6 = null; EObject this_AssertedChallenge_7 = null; EObject this_AssertedCounterEvidence_8 = null; enterRule(); try { // InternalSacmDsl.g:386:28: ( (this_CitationElement_0= ruleCitationElement | this_InformationElement_1= ruleInformationElement | this_ArgumentReasoning_2= ruleArgumentReasoning | this_Claim_3= ruleClaim | this_AssertedInference_4= ruleAssertedInference | this_AssertedEvidence_5= ruleAssertedEvidence | this_AssertedContext_6= ruleAssertedContext | this_AssertedChallenge_7= ruleAssertedChallenge | this_AssertedCounterEvidence_8= ruleAssertedCounterEvidence ) ) // InternalSacmDsl.g:387:1: (this_CitationElement_0= ruleCitationElement | this_InformationElement_1= ruleInformationElement | this_ArgumentReasoning_2= ruleArgumentReasoning | this_Claim_3= ruleClaim | this_AssertedInference_4= ruleAssertedInference | this_AssertedEvidence_5= ruleAssertedEvidence | this_AssertedContext_6= ruleAssertedContext | this_AssertedChallenge_7= ruleAssertedChallenge | this_AssertedCounterEvidence_8= ruleAssertedCounterEvidence ) { // InternalSacmDsl.g:387:1: (this_CitationElement_0= ruleCitationElement | this_InformationElement_1= ruleInformationElement | this_ArgumentReasoning_2= ruleArgumentReasoning | this_Claim_3= ruleClaim | this_AssertedInference_4= ruleAssertedInference | this_AssertedEvidence_5= ruleAssertedEvidence | this_AssertedContext_6= ruleAssertedContext | this_AssertedChallenge_7= ruleAssertedChallenge | this_AssertedCounterEvidence_8= ruleAssertedCounterEvidence ) int alt9=9; switch ( input.LA(1) ) { case 37: { alt9=1; } break; case 42: { alt9=2; } break; case 44: { alt9=3; } break; case 48: { alt9=4; } break; case 51: { alt9=5; } break; case 54: { alt9=6; } break; case 55: { alt9=7; } break; case 56: { alt9=8; } break; case 57: { alt9=9; } break; default: NoViableAltException nvae = new NoViableAltException("", 9, 0, input); throw nvae; } switch (alt9) { case 1 : // InternalSacmDsl.g:388:5: this_CitationElement_0= ruleCitationElement { newCompositeNode(grammarAccess.getArgumentElementAccess().getCitationElementParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_CitationElement_0=ruleCitationElement(); state._fsp--; current = this_CitationElement_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:398:5: this_InformationElement_1= ruleInformationElement { newCompositeNode(grammarAccess.getArgumentElementAccess().getInformationElementParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_InformationElement_1=ruleInformationElement(); state._fsp--; current = this_InformationElement_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:408:5: this_ArgumentReasoning_2= ruleArgumentReasoning { newCompositeNode(grammarAccess.getArgumentElementAccess().getArgumentReasoningParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_ArgumentReasoning_2=ruleArgumentReasoning(); state._fsp--; current = this_ArgumentReasoning_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:418:5: this_Claim_3= ruleClaim { newCompositeNode(grammarAccess.getArgumentElementAccess().getClaimParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Claim_3=ruleClaim(); state._fsp--; current = this_Claim_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:428:5: this_AssertedInference_4= ruleAssertedInference { newCompositeNode(grammarAccess.getArgumentElementAccess().getAssertedInferenceParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_AssertedInference_4=ruleAssertedInference(); state._fsp--; current = this_AssertedInference_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:438:5: this_AssertedEvidence_5= ruleAssertedEvidence { newCompositeNode(grammarAccess.getArgumentElementAccess().getAssertedEvidenceParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_AssertedEvidence_5=ruleAssertedEvidence(); state._fsp--; current = this_AssertedEvidence_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:448:5: this_AssertedContext_6= ruleAssertedContext { newCompositeNode(grammarAccess.getArgumentElementAccess().getAssertedContextParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_AssertedContext_6=ruleAssertedContext(); state._fsp--; current = this_AssertedContext_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:458:5: this_AssertedChallenge_7= ruleAssertedChallenge { newCompositeNode(grammarAccess.getArgumentElementAccess().getAssertedChallengeParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_AssertedChallenge_7=ruleAssertedChallenge(); state._fsp--; current = this_AssertedChallenge_7; afterParserOrEnumRuleCall(); } break; case 9 : // InternalSacmDsl.g:468:5: this_AssertedCounterEvidence_8= ruleAssertedCounterEvidence { newCompositeNode(grammarAccess.getArgumentElementAccess().getAssertedCounterEvidenceParserRuleCall_8()); pushFollow(FollowSets000.FOLLOW_2); this_AssertedCounterEvidence_8=ruleAssertedCounterEvidence(); state._fsp--; current = this_AssertedCounterEvidence_8; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleArgumentElement" // $ANTLR start "entryRuleEvidenceEvaluation" // InternalSacmDsl.g:484:1: entryRuleEvidenceEvaluation returns [EObject current=null] : iv_ruleEvidenceEvaluation= ruleEvidenceEvaluation EOF ; public final EObject entryRuleEvidenceEvaluation() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceEvaluation = null; try { // InternalSacmDsl.g:485:2: (iv_ruleEvidenceEvaluation= ruleEvidenceEvaluation EOF ) // InternalSacmDsl.g:486:2: iv_ruleEvidenceEvaluation= ruleEvidenceEvaluation EOF { newCompositeNode(grammarAccess.getEvidenceEvaluationRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceEvaluation=ruleEvidenceEvaluation(); state._fsp--; current =iv_ruleEvidenceEvaluation; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceEvaluation" // $ANTLR start "ruleEvidenceEvaluation" // InternalSacmDsl.g:493:1: ruleEvidenceEvaluation returns [EObject current=null] : (this_IsA_0= ruleIsA | this_IsCharacterizedBy_1= ruleIsCharacterizedBy | this_IsScopedBy_2= ruleIsScopedBy | this_Supports_3= ruleSupports | this_Conflicts_4= ruleConflicts | this_Refutes_5= ruleRefutes | this_Negates_6= ruleNegates | this_Resolves_7= ruleResolves | this_Weakens_8= ruleWeakens | this_Amplifies_9= ruleAmplifies | this_Challenges_10= ruleChallenges | this_ProvidesContext_11= ruleProvidesContext | this_MeansThat_12= ruleMeansThat ) ; public final EObject ruleEvidenceEvaluation() throws RecognitionException { EObject current = null; EObject this_IsA_0 = null; EObject this_IsCharacterizedBy_1 = null; EObject this_IsScopedBy_2 = null; EObject this_Supports_3 = null; EObject this_Conflicts_4 = null; EObject this_Refutes_5 = null; EObject this_Negates_6 = null; EObject this_Resolves_7 = null; EObject this_Weakens_8 = null; EObject this_Amplifies_9 = null; EObject this_Challenges_10 = null; EObject this_ProvidesContext_11 = null; EObject this_MeansThat_12 = null; enterRule(); try { // InternalSacmDsl.g:496:28: ( (this_IsA_0= ruleIsA | this_IsCharacterizedBy_1= ruleIsCharacterizedBy | this_IsScopedBy_2= ruleIsScopedBy | this_Supports_3= ruleSupports | this_Conflicts_4= ruleConflicts | this_Refutes_5= ruleRefutes | this_Negates_6= ruleNegates | this_Resolves_7= ruleResolves | this_Weakens_8= ruleWeakens | this_Amplifies_9= ruleAmplifies | this_Challenges_10= ruleChallenges | this_ProvidesContext_11= ruleProvidesContext | this_MeansThat_12= ruleMeansThat ) ) // InternalSacmDsl.g:497:1: (this_IsA_0= ruleIsA | this_IsCharacterizedBy_1= ruleIsCharacterizedBy | this_IsScopedBy_2= ruleIsScopedBy | this_Supports_3= ruleSupports | this_Conflicts_4= ruleConflicts | this_Refutes_5= ruleRefutes | this_Negates_6= ruleNegates | this_Resolves_7= ruleResolves | this_Weakens_8= ruleWeakens | this_Amplifies_9= ruleAmplifies | this_Challenges_10= ruleChallenges | this_ProvidesContext_11= ruleProvidesContext | this_MeansThat_12= ruleMeansThat ) { // InternalSacmDsl.g:497:1: (this_IsA_0= ruleIsA | this_IsCharacterizedBy_1= ruleIsCharacterizedBy | this_IsScopedBy_2= ruleIsScopedBy | this_Supports_3= ruleSupports | this_Conflicts_4= ruleConflicts | this_Refutes_5= ruleRefutes | this_Negates_6= ruleNegates | this_Resolves_7= ruleResolves | this_Weakens_8= ruleWeakens | this_Amplifies_9= ruleAmplifies | this_Challenges_10= ruleChallenges | this_ProvidesContext_11= ruleProvidesContext | this_MeansThat_12= ruleMeansThat ) int alt10=13; switch ( input.LA(1) ) { case 156: { alt10=1; } break; case 158: { alt10=2; } break; case 162: { alt10=3; } break; case 165: { alt10=4; } break; case 167: { alt10=5; } break; case 168: { alt10=6; } break; case 169: { alt10=7; } break; case 170: { alt10=8; } break; case 171: { alt10=9; } break; case 173: { alt10=10; } break; case 174: { alt10=11; } break; case 176: { alt10=12; } break; case 178: { alt10=13; } break; default: NoViableAltException nvae = new NoViableAltException("", 10, 0, input); throw nvae; } switch (alt10) { case 1 : // InternalSacmDsl.g:498:5: this_IsA_0= ruleIsA { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getIsAParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_IsA_0=ruleIsA(); state._fsp--; current = this_IsA_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:508:5: this_IsCharacterizedBy_1= ruleIsCharacterizedBy { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getIsCharacterizedByParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_IsCharacterizedBy_1=ruleIsCharacterizedBy(); state._fsp--; current = this_IsCharacterizedBy_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:518:5: this_IsScopedBy_2= ruleIsScopedBy { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getIsScopedByParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_IsScopedBy_2=ruleIsScopedBy(); state._fsp--; current = this_IsScopedBy_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:528:5: this_Supports_3= ruleSupports { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getSupportsParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Supports_3=ruleSupports(); state._fsp--; current = this_Supports_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:538:5: this_Conflicts_4= ruleConflicts { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getConflictsParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_Conflicts_4=ruleConflicts(); state._fsp--; current = this_Conflicts_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:548:5: this_Refutes_5= ruleRefutes { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getRefutesParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_Refutes_5=ruleRefutes(); state._fsp--; current = this_Refutes_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:558:5: this_Negates_6= ruleNegates { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getNegatesParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_Negates_6=ruleNegates(); state._fsp--; current = this_Negates_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:568:5: this_Resolves_7= ruleResolves { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getResolvesParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_Resolves_7=ruleResolves(); state._fsp--; current = this_Resolves_7; afterParserOrEnumRuleCall(); } break; case 9 : // InternalSacmDsl.g:578:5: this_Weakens_8= ruleWeakens { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getWeakensParserRuleCall_8()); pushFollow(FollowSets000.FOLLOW_2); this_Weakens_8=ruleWeakens(); state._fsp--; current = this_Weakens_8; afterParserOrEnumRuleCall(); } break; case 10 : // InternalSacmDsl.g:588:5: this_Amplifies_9= ruleAmplifies { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getAmplifiesParserRuleCall_9()); pushFollow(FollowSets000.FOLLOW_2); this_Amplifies_9=ruleAmplifies(); state._fsp--; current = this_Amplifies_9; afterParserOrEnumRuleCall(); } break; case 11 : // InternalSacmDsl.g:598:5: this_Challenges_10= ruleChallenges { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getChallengesParserRuleCall_10()); pushFollow(FollowSets000.FOLLOW_2); this_Challenges_10=ruleChallenges(); state._fsp--; current = this_Challenges_10; afterParserOrEnumRuleCall(); } break; case 12 : // InternalSacmDsl.g:608:5: this_ProvidesContext_11= ruleProvidesContext { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getProvidesContextParserRuleCall_11()); pushFollow(FollowSets000.FOLLOW_2); this_ProvidesContext_11=ruleProvidesContext(); state._fsp--; current = this_ProvidesContext_11; afterParserOrEnumRuleCall(); } break; case 13 : // InternalSacmDsl.g:618:5: this_MeansThat_12= ruleMeansThat { newCompositeNode(grammarAccess.getEvidenceEvaluationAccess().getMeansThatParserRuleCall_12()); pushFollow(FollowSets000.FOLLOW_2); this_MeansThat_12=ruleMeansThat(); state._fsp--; current = this_MeansThat_12; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceEvaluation" // $ANTLR start "entryRuleEvidenceItem" // InternalSacmDsl.g:634:1: entryRuleEvidenceItem returns [EObject current=null] : iv_ruleEvidenceItem= ruleEvidenceItem EOF ; public final EObject entryRuleEvidenceItem() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceItem = null; try { // InternalSacmDsl.g:635:2: (iv_ruleEvidenceItem= ruleEvidenceItem EOF ) // InternalSacmDsl.g:636:2: iv_ruleEvidenceItem= ruleEvidenceItem EOF { newCompositeNode(grammarAccess.getEvidenceItemRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceItem=ruleEvidenceItem(); state._fsp--; current =iv_ruleEvidenceItem; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceItem" // $ANTLR start "ruleEvidenceItem" // InternalSacmDsl.g:643:1: ruleEvidenceItem returns [EObject current=null] : (this_Document_0= ruleDocument | this_Assertion_1= ruleAssertion | this_Object_2= ruleObject | this_CompositeObject_3= ruleCompositeObject | this_UnknownObject_4= ruleUnknownObject | this_ReferencedClaim_5= ruleReferencedClaim | this_EvidenceGroup_6= ruleEvidenceGroup | this_Exhibit_Impl_7= ruleExhibit_Impl | this_Record_8= ruleRecord | this_ObjectifiedAssertion_9= ruleObjectifiedAssertion ) ; public final EObject ruleEvidenceItem() throws RecognitionException { EObject current = null; EObject this_Document_0 = null; EObject this_Assertion_1 = null; EObject this_Object_2 = null; EObject this_CompositeObject_3 = null; EObject this_UnknownObject_4 = null; EObject this_ReferencedClaim_5 = null; EObject this_EvidenceGroup_6 = null; EObject this_Exhibit_Impl_7 = null; EObject this_Record_8 = null; EObject this_ObjectifiedAssertion_9 = null; enterRule(); try { // InternalSacmDsl.g:646:28: ( (this_Document_0= ruleDocument | this_Assertion_1= ruleAssertion | this_Object_2= ruleObject | this_CompositeObject_3= ruleCompositeObject | this_UnknownObject_4= ruleUnknownObject | this_ReferencedClaim_5= ruleReferencedClaim | this_EvidenceGroup_6= ruleEvidenceGroup | this_Exhibit_Impl_7= ruleExhibit_Impl | this_Record_8= ruleRecord | this_ObjectifiedAssertion_9= ruleObjectifiedAssertion ) ) // InternalSacmDsl.g:647:1: (this_Document_0= ruleDocument | this_Assertion_1= ruleAssertion | this_Object_2= ruleObject | this_CompositeObject_3= ruleCompositeObject | this_UnknownObject_4= ruleUnknownObject | this_ReferencedClaim_5= ruleReferencedClaim | this_EvidenceGroup_6= ruleEvidenceGroup | this_Exhibit_Impl_7= ruleExhibit_Impl | this_Record_8= ruleRecord | this_ObjectifiedAssertion_9= ruleObjectifiedAssertion ) { // InternalSacmDsl.g:647:1: (this_Document_0= ruleDocument | this_Assertion_1= ruleAssertion | this_Object_2= ruleObject | this_CompositeObject_3= ruleCompositeObject | this_UnknownObject_4= ruleUnknownObject | this_ReferencedClaim_5= ruleReferencedClaim | this_EvidenceGroup_6= ruleEvidenceGroup | this_Exhibit_Impl_7= ruleExhibit_Impl | this_Record_8= ruleRecord | this_ObjectifiedAssertion_9= ruleObjectifiedAssertion ) int alt11=10; switch ( input.LA(1) ) { case 58: { alt11=1; } break; case 65: { alt11=2; } break; case 69: { alt11=3; } break; case 71: { alt11=4; } break; case 72: { alt11=5; } break; case 73: { alt11=6; } break; case 75: { alt11=7; } break; case 76: { alt11=8; } break; case 77: { alt11=9; } break; case 78: { alt11=10; } break; default: NoViableAltException nvae = new NoViableAltException("", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // InternalSacmDsl.g:648:5: this_Document_0= ruleDocument { newCompositeNode(grammarAccess.getEvidenceItemAccess().getDocumentParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Document_0=ruleDocument(); state._fsp--; current = this_Document_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:658:5: this_Assertion_1= ruleAssertion { newCompositeNode(grammarAccess.getEvidenceItemAccess().getAssertionParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_Assertion_1=ruleAssertion(); state._fsp--; current = this_Assertion_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:668:5: this_Object_2= ruleObject { newCompositeNode(grammarAccess.getEvidenceItemAccess().getObjectParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_Object_2=ruleObject(); state._fsp--; current = this_Object_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:678:5: this_CompositeObject_3= ruleCompositeObject { newCompositeNode(grammarAccess.getEvidenceItemAccess().getCompositeObjectParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_CompositeObject_3=ruleCompositeObject(); state._fsp--; current = this_CompositeObject_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:688:5: this_UnknownObject_4= ruleUnknownObject { newCompositeNode(grammarAccess.getEvidenceItemAccess().getUnknownObjectParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_UnknownObject_4=ruleUnknownObject(); state._fsp--; current = this_UnknownObject_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:698:5: this_ReferencedClaim_5= ruleReferencedClaim { newCompositeNode(grammarAccess.getEvidenceItemAccess().getReferencedClaimParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_ReferencedClaim_5=ruleReferencedClaim(); state._fsp--; current = this_ReferencedClaim_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:708:5: this_EvidenceGroup_6= ruleEvidenceGroup { newCompositeNode(grammarAccess.getEvidenceItemAccess().getEvidenceGroupParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_EvidenceGroup_6=ruleEvidenceGroup(); state._fsp--; current = this_EvidenceGroup_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:718:5: this_Exhibit_Impl_7= ruleExhibit_Impl { newCompositeNode(grammarAccess.getEvidenceItemAccess().getExhibit_ImplParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_Exhibit_Impl_7=ruleExhibit_Impl(); state._fsp--; current = this_Exhibit_Impl_7; afterParserOrEnumRuleCall(); } break; case 9 : // InternalSacmDsl.g:728:5: this_Record_8= ruleRecord { newCompositeNode(grammarAccess.getEvidenceItemAccess().getRecordParserRuleCall_8()); pushFollow(FollowSets000.FOLLOW_2); this_Record_8=ruleRecord(); state._fsp--; current = this_Record_8; afterParserOrEnumRuleCall(); } break; case 10 : // InternalSacmDsl.g:738:5: this_ObjectifiedAssertion_9= ruleObjectifiedAssertion { newCompositeNode(grammarAccess.getEvidenceItemAccess().getObjectifiedAssertionParserRuleCall_9()); pushFollow(FollowSets000.FOLLOW_2); this_ObjectifiedAssertion_9=ruleObjectifiedAssertion(); state._fsp--; current = this_ObjectifiedAssertion_9; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceItem" // $ANTLR start "entryRuleProjectProperty" // InternalSacmDsl.g:754:1: entryRuleProjectProperty returns [EObject current=null] : iv_ruleProjectProperty= ruleProjectProperty EOF ; public final EObject entryRuleProjectProperty() throws RecognitionException { EObject current = null; EObject iv_ruleProjectProperty = null; try { // InternalSacmDsl.g:755:2: (iv_ruleProjectProperty= ruleProjectProperty EOF ) // InternalSacmDsl.g:756:2: iv_ruleProjectProperty= ruleProjectProperty EOF { newCompositeNode(grammarAccess.getProjectPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleProjectProperty=ruleProjectProperty(); state._fsp--; current =iv_ruleProjectProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleProjectProperty" // $ANTLR start "ruleProjectProperty" // InternalSacmDsl.g:763:1: ruleProjectProperty returns [EObject current=null] : (this_HasRoleIn_0= ruleHasRoleIn | this_DependsOn_1= ruleDependsOn | this_Satisfies_2= ruleSatisfies | this_RequiresContainer_3= ruleRequiresContainer | this_ContainerConsistency_4= ruleContainerConsistency | this_ContainerCompleteness_5= ruleContainerCompleteness | this_CompliesTo_6= ruleCompliesTo | this_ExtendedProjectProperty_7= ruleExtendedProjectProperty ) ; public final EObject ruleProjectProperty() throws RecognitionException { EObject current = null; EObject this_HasRoleIn_0 = null; EObject this_DependsOn_1 = null; EObject this_Satisfies_2 = null; EObject this_RequiresContainer_3 = null; EObject this_ContainerConsistency_4 = null; EObject this_ContainerCompleteness_5 = null; EObject this_CompliesTo_6 = null; EObject this_ExtendedProjectProperty_7 = null; enterRule(); try { // InternalSacmDsl.g:766:28: ( (this_HasRoleIn_0= ruleHasRoleIn | this_DependsOn_1= ruleDependsOn | this_Satisfies_2= ruleSatisfies | this_RequiresContainer_3= ruleRequiresContainer | this_ContainerConsistency_4= ruleContainerConsistency | this_ContainerCompleteness_5= ruleContainerCompleteness | this_CompliesTo_6= ruleCompliesTo | this_ExtendedProjectProperty_7= ruleExtendedProjectProperty ) ) // InternalSacmDsl.g:767:1: (this_HasRoleIn_0= ruleHasRoleIn | this_DependsOn_1= ruleDependsOn | this_Satisfies_2= ruleSatisfies | this_RequiresContainer_3= ruleRequiresContainer | this_ContainerConsistency_4= ruleContainerConsistency | this_ContainerCompleteness_5= ruleContainerCompleteness | this_CompliesTo_6= ruleCompliesTo | this_ExtendedProjectProperty_7= ruleExtendedProjectProperty ) { // InternalSacmDsl.g:767:1: (this_HasRoleIn_0= ruleHasRoleIn | this_DependsOn_1= ruleDependsOn | this_Satisfies_2= ruleSatisfies | this_RequiresContainer_3= ruleRequiresContainer | this_ContainerConsistency_4= ruleContainerConsistency | this_ContainerCompleteness_5= ruleContainerCompleteness | this_CompliesTo_6= ruleCompliesTo | this_ExtendedProjectProperty_7= ruleExtendedProjectProperty ) int alt12=8; switch ( input.LA(1) ) { case 92: { alt12=1; } break; case 94: { alt12=2; } break; case 95: { alt12=3; } break; case 96: { alt12=4; } break; case 98: { alt12=5; } break; case 99: { alt12=6; } break; case 100: { alt12=7; } break; case 102: { alt12=8; } break; default: NoViableAltException nvae = new NoViableAltException("", 12, 0, input); throw nvae; } switch (alt12) { case 1 : // InternalSacmDsl.g:768:5: this_HasRoleIn_0= ruleHasRoleIn { newCompositeNode(grammarAccess.getProjectPropertyAccess().getHasRoleInParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_HasRoleIn_0=ruleHasRoleIn(); state._fsp--; current = this_HasRoleIn_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:778:5: this_DependsOn_1= ruleDependsOn { newCompositeNode(grammarAccess.getProjectPropertyAccess().getDependsOnParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_DependsOn_1=ruleDependsOn(); state._fsp--; current = this_DependsOn_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:788:5: this_Satisfies_2= ruleSatisfies { newCompositeNode(grammarAccess.getProjectPropertyAccess().getSatisfiesParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_Satisfies_2=ruleSatisfies(); state._fsp--; current = this_Satisfies_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:798:5: this_RequiresContainer_3= ruleRequiresContainer { newCompositeNode(grammarAccess.getProjectPropertyAccess().getRequiresContainerParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_RequiresContainer_3=ruleRequiresContainer(); state._fsp--; current = this_RequiresContainer_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:808:5: this_ContainerConsistency_4= ruleContainerConsistency { newCompositeNode(grammarAccess.getProjectPropertyAccess().getContainerConsistencyParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_ContainerConsistency_4=ruleContainerConsistency(); state._fsp--; current = this_ContainerConsistency_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:818:5: this_ContainerCompleteness_5= ruleContainerCompleteness { newCompositeNode(grammarAccess.getProjectPropertyAccess().getContainerCompletenessParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_ContainerCompleteness_5=ruleContainerCompleteness(); state._fsp--; current = this_ContainerCompleteness_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:828:5: this_CompliesTo_6= ruleCompliesTo { newCompositeNode(grammarAccess.getProjectPropertyAccess().getCompliesToParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_CompliesTo_6=ruleCompliesTo(); state._fsp--; current = this_CompliesTo_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:838:5: this_ExtendedProjectProperty_7= ruleExtendedProjectProperty { newCompositeNode(grammarAccess.getProjectPropertyAccess().getExtendedProjectPropertyParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedProjectProperty_7=ruleExtendedProjectProperty(); state._fsp--; current = this_ExtendedProjectProperty_7; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleProjectProperty" // $ANTLR start "entryRuleProjectElement" // InternalSacmDsl.g:854:1: entryRuleProjectElement returns [EObject current=null] : iv_ruleProjectElement= ruleProjectElement EOF ; public final EObject entryRuleProjectElement() throws RecognitionException { EObject current = null; EObject iv_ruleProjectElement = null; try { // InternalSacmDsl.g:855:2: (iv_ruleProjectElement= ruleProjectElement EOF ) // InternalSacmDsl.g:856:2: iv_ruleProjectElement= ruleProjectElement EOF { newCompositeNode(grammarAccess.getProjectElementRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleProjectElement=ruleProjectElement(); state._fsp--; current =iv_ruleProjectElement; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleProjectElement" // $ANTLR start "ruleProjectElement" // InternalSacmDsl.g:863:1: ruleProjectElement returns [EObject current=null] : (this_Tool_0= ruleTool | this_Method_1= ruleMethod | this_Person_2= rulePerson | this_Organization_3= ruleOrganization | this_EvidenceRequest_4= ruleEvidenceRequest | this_ProjectObjective_5= ruleProjectObjective | this_Activity_6= ruleActivity | this_Service_7= ruleService ) ; public final EObject ruleProjectElement() throws RecognitionException { EObject current = null; EObject this_Tool_0 = null; EObject this_Method_1 = null; EObject this_Person_2 = null; EObject this_Organization_3 = null; EObject this_EvidenceRequest_4 = null; EObject this_ProjectObjective_5 = null; EObject this_Activity_6 = null; EObject this_Service_7 = null; enterRule(); try { // InternalSacmDsl.g:866:28: ( (this_Tool_0= ruleTool | this_Method_1= ruleMethod | this_Person_2= rulePerson | this_Organization_3= ruleOrganization | this_EvidenceRequest_4= ruleEvidenceRequest | this_ProjectObjective_5= ruleProjectObjective | this_Activity_6= ruleActivity | this_Service_7= ruleService ) ) // InternalSacmDsl.g:867:1: (this_Tool_0= ruleTool | this_Method_1= ruleMethod | this_Person_2= rulePerson | this_Organization_3= ruleOrganization | this_EvidenceRequest_4= ruleEvidenceRequest | this_ProjectObjective_5= ruleProjectObjective | this_Activity_6= ruleActivity | this_Service_7= ruleService ) { // InternalSacmDsl.g:867:1: (this_Tool_0= ruleTool | this_Method_1= ruleMethod | this_Person_2= rulePerson | this_Organization_3= ruleOrganization | this_EvidenceRequest_4= ruleEvidenceRequest | this_ProjectObjective_5= ruleProjectObjective | this_Activity_6= ruleActivity | this_Service_7= ruleService ) int alt13=8; switch ( input.LA(1) ) { case 105: { alt13=1; } break; case 106: { alt13=2; } break; case 91: { alt13=3; } break; case 103: { alt13=4; } break; case 107: { alt13=5; } break; case 108: { alt13=6; } break; case 109: { alt13=7; } break; case 110: { alt13=8; } break; default: NoViableAltException nvae = new NoViableAltException("", 13, 0, input); throw nvae; } switch (alt13) { case 1 : // InternalSacmDsl.g:868:5: this_Tool_0= ruleTool { newCompositeNode(grammarAccess.getProjectElementAccess().getToolParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Tool_0=ruleTool(); state._fsp--; current = this_Tool_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:878:5: this_Method_1= ruleMethod { newCompositeNode(grammarAccess.getProjectElementAccess().getMethodParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_Method_1=ruleMethod(); state._fsp--; current = this_Method_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:888:5: this_Person_2= rulePerson { newCompositeNode(grammarAccess.getProjectElementAccess().getPersonParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_Person_2=rulePerson(); state._fsp--; current = this_Person_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:898:5: this_Organization_3= ruleOrganization { newCompositeNode(grammarAccess.getProjectElementAccess().getOrganizationParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Organization_3=ruleOrganization(); state._fsp--; current = this_Organization_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:908:5: this_EvidenceRequest_4= ruleEvidenceRequest { newCompositeNode(grammarAccess.getProjectElementAccess().getEvidenceRequestParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_EvidenceRequest_4=ruleEvidenceRequest(); state._fsp--; current = this_EvidenceRequest_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:918:5: this_ProjectObjective_5= ruleProjectObjective { newCompositeNode(grammarAccess.getProjectElementAccess().getProjectObjectiveParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_ProjectObjective_5=ruleProjectObjective(); state._fsp--; current = this_ProjectObjective_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:928:5: this_Activity_6= ruleActivity { newCompositeNode(grammarAccess.getProjectElementAccess().getActivityParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_Activity_6=ruleActivity(); state._fsp--; current = this_Activity_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:938:5: this_Service_7= ruleService { newCompositeNode(grammarAccess.getProjectElementAccess().getServiceParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_Service_7=ruleService(); state._fsp--; current = this_Service_7; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleProjectElement" // $ANTLR start "entryRuleTimingProperty" // InternalSacmDsl.g:954:1: entryRuleTimingProperty returns [EObject current=null] : iv_ruleTimingProperty= ruleTimingProperty EOF ; public final EObject entryRuleTimingProperty() throws RecognitionException { EObject current = null; EObject iv_ruleTimingProperty = null; try { // InternalSacmDsl.g:955:2: (iv_ruleTimingProperty= ruleTimingProperty EOF ) // InternalSacmDsl.g:956:2: iv_ruleTimingProperty= ruleTimingProperty EOF { newCompositeNode(grammarAccess.getTimingPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleTimingProperty=ruleTimingProperty(); state._fsp--; current =iv_ruleTimingProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTimingProperty" // $ANTLR start "ruleTimingProperty" // InternalSacmDsl.g:963:1: ruleTimingProperty returns [EObject current=null] : (this_EndTime_0= ruleEndTime | this_StartTime_1= ruleStartTime | this_AtTime_2= ruleAtTime ) ; public final EObject ruleTimingProperty() throws RecognitionException { EObject current = null; EObject this_EndTime_0 = null; EObject this_StartTime_1 = null; EObject this_AtTime_2 = null; enterRule(); try { // InternalSacmDsl.g:966:28: ( (this_EndTime_0= ruleEndTime | this_StartTime_1= ruleStartTime | this_AtTime_2= ruleAtTime ) ) // InternalSacmDsl.g:967:1: (this_EndTime_0= ruleEndTime | this_StartTime_1= ruleStartTime | this_AtTime_2= ruleAtTime ) { // InternalSacmDsl.g:967:1: (this_EndTime_0= ruleEndTime | this_StartTime_1= ruleStartTime | this_AtTime_2= ruleAtTime ) int alt14=3; switch ( input.LA(1) ) { case 80: { alt14=1; } break; case 82: { alt14=2; } break; case 83: { alt14=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 14, 0, input); throw nvae; } switch (alt14) { case 1 : // InternalSacmDsl.g:968:5: this_EndTime_0= ruleEndTime { newCompositeNode(grammarAccess.getTimingPropertyAccess().getEndTimeParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_EndTime_0=ruleEndTime(); state._fsp--; current = this_EndTime_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:978:5: this_StartTime_1= ruleStartTime { newCompositeNode(grammarAccess.getTimingPropertyAccess().getStartTimeParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_StartTime_1=ruleStartTime(); state._fsp--; current = this_StartTime_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:988:5: this_AtTime_2= ruleAtTime { newCompositeNode(grammarAccess.getTimingPropertyAccess().getAtTimeParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_AtTime_2=ruleAtTime(); state._fsp--; current = this_AtTime_2; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTimingProperty" // $ANTLR start "entryRuleCustodyProperty" // InternalSacmDsl.g:1004:1: entryRuleCustodyProperty returns [EObject current=null] : iv_ruleCustodyProperty= ruleCustodyProperty EOF ; public final EObject entryRuleCustodyProperty() throws RecognitionException { EObject current = null; EObject iv_ruleCustodyProperty = null; try { // InternalSacmDsl.g:1005:2: (iv_ruleCustodyProperty= ruleCustodyProperty EOF ) // InternalSacmDsl.g:1006:2: iv_ruleCustodyProperty= ruleCustodyProperty EOF { newCompositeNode(grammarAccess.getCustodyPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCustodyProperty=ruleCustodyProperty(); state._fsp--; current =iv_ruleCustodyProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCustodyProperty" // $ANTLR start "ruleCustodyProperty" // InternalSacmDsl.g:1013:1: ruleCustodyProperty returns [EObject current=null] : (this_CareOf_0= ruleCareOf | this_AtLocation_1= ruleAtLocation | this_UsingProcess_2= ruleUsingProcess ) ; public final EObject ruleCustodyProperty() throws RecognitionException { EObject current = null; EObject this_CareOf_0 = null; EObject this_AtLocation_1 = null; EObject this_UsingProcess_2 = null; enterRule(); try { // InternalSacmDsl.g:1016:28: ( (this_CareOf_0= ruleCareOf | this_AtLocation_1= ruleAtLocation | this_UsingProcess_2= ruleUsingProcess ) ) // InternalSacmDsl.g:1017:1: (this_CareOf_0= ruleCareOf | this_AtLocation_1= ruleAtLocation | this_UsingProcess_2= ruleUsingProcess ) { // InternalSacmDsl.g:1017:1: (this_CareOf_0= ruleCareOf | this_AtLocation_1= ruleAtLocation | this_UsingProcess_2= ruleUsingProcess ) int alt15=3; switch ( input.LA(1) ) { case 85: { alt15=1; } break; case 87: { alt15=2; } break; case 89: { alt15=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 15, 0, input); throw nvae; } switch (alt15) { case 1 : // InternalSacmDsl.g:1018:5: this_CareOf_0= ruleCareOf { newCompositeNode(grammarAccess.getCustodyPropertyAccess().getCareOfParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_CareOf_0=ruleCareOf(); state._fsp--; current = this_CareOf_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1028:5: this_AtLocation_1= ruleAtLocation { newCompositeNode(grammarAccess.getCustodyPropertyAccess().getAtLocationParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_AtLocation_1=ruleAtLocation(); state._fsp--; current = this_AtLocation_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1038:5: this_UsingProcess_2= ruleUsingProcess { newCompositeNode(grammarAccess.getCustodyPropertyAccess().getUsingProcessParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_UsingProcess_2=ruleUsingProcess(); state._fsp--; current = this_UsingProcess_2; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCustodyProperty" // $ANTLR start "entryRuleProvenance" // InternalSacmDsl.g:1054:1: entryRuleProvenance returns [EObject current=null] : iv_ruleProvenance= ruleProvenance EOF ; public final EObject entryRuleProvenance() throws RecognitionException { EObject current = null; EObject iv_ruleProvenance = null; try { // InternalSacmDsl.g:1055:2: (iv_ruleProvenance= ruleProvenance EOF ) // InternalSacmDsl.g:1056:2: iv_ruleProvenance= ruleProvenance EOF { newCompositeNode(grammarAccess.getProvenanceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleProvenance=ruleProvenance(); state._fsp--; current =iv_ruleProvenance; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleProvenance" // $ANTLR start "ruleProvenance" // InternalSacmDsl.g:1063:1: ruleProvenance returns [EObject current=null] : (this_ApprovedBy_0= ruleApprovedBy | this_CreatedBy_1= ruleCreatedBy | this_OwnedBy_2= ruleOwnedBy | this_PerformedBy_3= rulePerformedBy ) ; public final EObject ruleProvenance() throws RecognitionException { EObject current = null; EObject this_ApprovedBy_0 = null; EObject this_CreatedBy_1 = null; EObject this_OwnedBy_2 = null; EObject this_PerformedBy_3 = null; enterRule(); try { // InternalSacmDsl.g:1066:28: ( (this_ApprovedBy_0= ruleApprovedBy | this_CreatedBy_1= ruleCreatedBy | this_OwnedBy_2= ruleOwnedBy | this_PerformedBy_3= rulePerformedBy ) ) // InternalSacmDsl.g:1067:1: (this_ApprovedBy_0= ruleApprovedBy | this_CreatedBy_1= ruleCreatedBy | this_OwnedBy_2= ruleOwnedBy | this_PerformedBy_3= rulePerformedBy ) { // InternalSacmDsl.g:1067:1: (this_ApprovedBy_0= ruleApprovedBy | this_CreatedBy_1= ruleCreatedBy | this_OwnedBy_2= ruleOwnedBy | this_PerformedBy_3= rulePerformedBy ) int alt16=4; switch ( input.LA(1) ) { case 114: { alt16=1; } break; case 116: { alt16=2; } break; case 117: { alt16=3; } break; case 119: { alt16=4; } break; default: NoViableAltException nvae = new NoViableAltException("", 16, 0, input); throw nvae; } switch (alt16) { case 1 : // InternalSacmDsl.g:1068:5: this_ApprovedBy_0= ruleApprovedBy { newCompositeNode(grammarAccess.getProvenanceAccess().getApprovedByParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_ApprovedBy_0=ruleApprovedBy(); state._fsp--; current = this_ApprovedBy_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1078:5: this_CreatedBy_1= ruleCreatedBy { newCompositeNode(grammarAccess.getProvenanceAccess().getCreatedByParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_CreatedBy_1=ruleCreatedBy(); state._fsp--; current = this_CreatedBy_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1088:5: this_OwnedBy_2= ruleOwnedBy { newCompositeNode(grammarAccess.getProvenanceAccess().getOwnedByParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_OwnedBy_2=ruleOwnedBy(); state._fsp--; current = this_OwnedBy_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:1098:5: this_PerformedBy_3= rulePerformedBy { newCompositeNode(grammarAccess.getProvenanceAccess().getPerformedByParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_PerformedBy_3=rulePerformedBy(); state._fsp--; current = this_PerformedBy_3; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleProvenance" // $ANTLR start "entryRuleEvidenceEvent" // InternalSacmDsl.g:1114:1: entryRuleEvidenceEvent returns [EObject current=null] : iv_ruleEvidenceEvent= ruleEvidenceEvent EOF ; public final EObject entryRuleEvidenceEvent() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceEvent = null; try { // InternalSacmDsl.g:1115:2: (iv_ruleEvidenceEvent= ruleEvidenceEvent EOF ) // InternalSacmDsl.g:1116:2: iv_ruleEvidenceEvent= ruleEvidenceEvent EOF { newCompositeNode(grammarAccess.getEvidenceEventRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceEvent=ruleEvidenceEvent(); state._fsp--; current =iv_ruleEvidenceEvent; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceEvent" // $ANTLR start "ruleEvidenceEvent" // InternalSacmDsl.g:1123:1: ruleEvidenceEvent returns [EObject current=null] : (this_IsGeneratedAt_0= ruleIsGeneratedAt | this_IsAcquiredAt_1= ruleIsAcquiredAt | this_IsTransferredTo_2= ruleIsTransferredTo | this_IsRevokedAt_3= ruleIsRevokedAt | this_IsCreatedAt_4= ruleIsCreatedAt | this_IsModifiedBy_5= ruleIsModifiedBy ) ; public final EObject ruleEvidenceEvent() throws RecognitionException { EObject current = null; EObject this_IsGeneratedAt_0 = null; EObject this_IsAcquiredAt_1 = null; EObject this_IsTransferredTo_2 = null; EObject this_IsRevokedAt_3 = null; EObject this_IsCreatedAt_4 = null; EObject this_IsModifiedBy_5 = null; enterRule(); try { // InternalSacmDsl.g:1126:28: ( (this_IsGeneratedAt_0= ruleIsGeneratedAt | this_IsAcquiredAt_1= ruleIsAcquiredAt | this_IsTransferredTo_2= ruleIsTransferredTo | this_IsRevokedAt_3= ruleIsRevokedAt | this_IsCreatedAt_4= ruleIsCreatedAt | this_IsModifiedBy_5= ruleIsModifiedBy ) ) // InternalSacmDsl.g:1127:1: (this_IsGeneratedAt_0= ruleIsGeneratedAt | this_IsAcquiredAt_1= ruleIsAcquiredAt | this_IsTransferredTo_2= ruleIsTransferredTo | this_IsRevokedAt_3= ruleIsRevokedAt | this_IsCreatedAt_4= ruleIsCreatedAt | this_IsModifiedBy_5= ruleIsModifiedBy ) { // InternalSacmDsl.g:1127:1: (this_IsGeneratedAt_0= ruleIsGeneratedAt | this_IsAcquiredAt_1= ruleIsAcquiredAt | this_IsTransferredTo_2= ruleIsTransferredTo | this_IsRevokedAt_3= ruleIsRevokedAt | this_IsCreatedAt_4= ruleIsCreatedAt | this_IsModifiedBy_5= ruleIsModifiedBy ) int alt17=6; switch ( input.LA(1) ) { case 121: { alt17=1; } break; case 122: { alt17=2; } break; case 123: { alt17=3; } break; case 124: { alt17=4; } break; case 125: { alt17=5; } break; case 126: { alt17=6; } break; default: NoViableAltException nvae = new NoViableAltException("", 17, 0, input); throw nvae; } switch (alt17) { case 1 : // InternalSacmDsl.g:1128:5: this_IsGeneratedAt_0= ruleIsGeneratedAt { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsGeneratedAtParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_IsGeneratedAt_0=ruleIsGeneratedAt(); state._fsp--; current = this_IsGeneratedAt_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1138:5: this_IsAcquiredAt_1= ruleIsAcquiredAt { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsAcquiredAtParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_IsAcquiredAt_1=ruleIsAcquiredAt(); state._fsp--; current = this_IsAcquiredAt_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1148:5: this_IsTransferredTo_2= ruleIsTransferredTo { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsTransferredToParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_IsTransferredTo_2=ruleIsTransferredTo(); state._fsp--; current = this_IsTransferredTo_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:1158:5: this_IsRevokedAt_3= ruleIsRevokedAt { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsRevokedAtParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_IsRevokedAt_3=ruleIsRevokedAt(); state._fsp--; current = this_IsRevokedAt_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:1168:5: this_IsCreatedAt_4= ruleIsCreatedAt { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsCreatedAtParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_IsCreatedAt_4=ruleIsCreatedAt(); state._fsp--; current = this_IsCreatedAt_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:1178:5: this_IsModifiedBy_5= ruleIsModifiedBy { newCompositeNode(grammarAccess.getEvidenceEventAccess().getIsModifiedByParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_IsModifiedBy_5=ruleIsModifiedBy(); state._fsp--; current = this_IsModifiedBy_5; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceEvent" // $ANTLR start "entryRuleExhibitProperty" // InternalSacmDsl.g:1194:1: entryRuleExhibitProperty returns [EObject current=null] : iv_ruleExhibitProperty= ruleExhibitProperty EOF ; public final EObject entryRuleExhibitProperty() throws RecognitionException { EObject current = null; EObject iv_ruleExhibitProperty = null; try { // InternalSacmDsl.g:1195:2: (iv_ruleExhibitProperty= ruleExhibitProperty EOF ) // InternalSacmDsl.g:1196:2: iv_ruleExhibitProperty= ruleExhibitProperty EOF { newCompositeNode(grammarAccess.getExhibitPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleExhibitProperty=ruleExhibitProperty(); state._fsp--; current =iv_ruleExhibitProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExhibitProperty" // $ANTLR start "ruleExhibitProperty" // InternalSacmDsl.g:1203:1: ruleExhibitProperty returns [EObject current=null] : (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_IsBasedOn_2= ruleIsBasedOn | this_Originality_3= ruleOriginality | this_Reliability_4= ruleReliability | this_IsPartOf_5= ruleIsPartOf | this_HasElectronicSource_6= ruleHasElectronicSource | this_IsExpressedInLanguage_7= ruleIsExpressedInLanguage | this_HasSecurityClassification_8= ruleHasSecurityClassification | this_IsReleaseableTo_9= ruleIsReleaseableTo | this_HasVersion_10= ruleHasVersion | this_HasMedia_11= ruleHasMedia | this_ExtendedDocumentProperty_12= ruleExtendedDocumentProperty ) ; public final EObject ruleExhibitProperty() throws RecognitionException { EObject current = null; EObject this_Consistency_0 = null; EObject this_Completeness_1 = null; EObject this_IsBasedOn_2 = null; EObject this_Originality_3 = null; EObject this_Reliability_4 = null; EObject this_IsPartOf_5 = null; EObject this_HasElectronicSource_6 = null; EObject this_IsExpressedInLanguage_7 = null; EObject this_HasSecurityClassification_8 = null; EObject this_IsReleaseableTo_9 = null; EObject this_HasVersion_10 = null; EObject this_HasMedia_11 = null; EObject this_ExtendedDocumentProperty_12 = null; enterRule(); try { // InternalSacmDsl.g:1206:28: ( (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_IsBasedOn_2= ruleIsBasedOn | this_Originality_3= ruleOriginality | this_Reliability_4= ruleReliability | this_IsPartOf_5= ruleIsPartOf | this_HasElectronicSource_6= ruleHasElectronicSource | this_IsExpressedInLanguage_7= ruleIsExpressedInLanguage | this_HasSecurityClassification_8= ruleHasSecurityClassification | this_IsReleaseableTo_9= ruleIsReleaseableTo | this_HasVersion_10= ruleHasVersion | this_HasMedia_11= ruleHasMedia | this_ExtendedDocumentProperty_12= ruleExtendedDocumentProperty ) ) // InternalSacmDsl.g:1207:1: (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_IsBasedOn_2= ruleIsBasedOn | this_Originality_3= ruleOriginality | this_Reliability_4= ruleReliability | this_IsPartOf_5= ruleIsPartOf | this_HasElectronicSource_6= ruleHasElectronicSource | this_IsExpressedInLanguage_7= ruleIsExpressedInLanguage | this_HasSecurityClassification_8= ruleHasSecurityClassification | this_IsReleaseableTo_9= ruleIsReleaseableTo | this_HasVersion_10= ruleHasVersion | this_HasMedia_11= ruleHasMedia | this_ExtendedDocumentProperty_12= ruleExtendedDocumentProperty ) { // InternalSacmDsl.g:1207:1: (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_IsBasedOn_2= ruleIsBasedOn | this_Originality_3= ruleOriginality | this_Reliability_4= ruleReliability | this_IsPartOf_5= ruleIsPartOf | this_HasElectronicSource_6= ruleHasElectronicSource | this_IsExpressedInLanguage_7= ruleIsExpressedInLanguage | this_HasSecurityClassification_8= ruleHasSecurityClassification | this_IsReleaseableTo_9= ruleIsReleaseableTo | this_HasVersion_10= ruleHasVersion | this_HasMedia_11= ruleHasMedia | this_ExtendedDocumentProperty_12= ruleExtendedDocumentProperty ) int alt18=13; switch ( input.LA(1) ) { case 127: { alt18=1; } break; case 128: { alt18=2; } break; case 130: { alt18=3; } break; case 131: { alt18=4; } break; case 132: { alt18=5; } break; case 133: { alt18=6; } break; case 135: { alt18=7; } break; case 138: { alt18=8; } break; case 141: { alt18=9; } break; case 143: { alt18=10; } break; case 145: { alt18=11; } break; case 146: { alt18=12; } break; case 148: { alt18=13; } break; default: NoViableAltException nvae = new NoViableAltException("", 18, 0, input); throw nvae; } switch (alt18) { case 1 : // InternalSacmDsl.g:1208:5: this_Consistency_0= ruleConsistency { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getConsistencyParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Consistency_0=ruleConsistency(); state._fsp--; current = this_Consistency_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1218:5: this_Completeness_1= ruleCompleteness { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getCompletenessParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_Completeness_1=ruleCompleteness(); state._fsp--; current = this_Completeness_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1228:5: this_IsBasedOn_2= ruleIsBasedOn { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getIsBasedOnParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_IsBasedOn_2=ruleIsBasedOn(); state._fsp--; current = this_IsBasedOn_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:1238:5: this_Originality_3= ruleOriginality { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getOriginalityParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Originality_3=ruleOriginality(); state._fsp--; current = this_Originality_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:1248:5: this_Reliability_4= ruleReliability { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getReliabilityParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_Reliability_4=ruleReliability(); state._fsp--; current = this_Reliability_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:1258:5: this_IsPartOf_5= ruleIsPartOf { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getIsPartOfParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_IsPartOf_5=ruleIsPartOf(); state._fsp--; current = this_IsPartOf_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:1268:5: this_HasElectronicSource_6= ruleHasElectronicSource { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getHasElectronicSourceParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_HasElectronicSource_6=ruleHasElectronicSource(); state._fsp--; current = this_HasElectronicSource_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:1278:5: this_IsExpressedInLanguage_7= ruleIsExpressedInLanguage { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getIsExpressedInLanguageParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_IsExpressedInLanguage_7=ruleIsExpressedInLanguage(); state._fsp--; current = this_IsExpressedInLanguage_7; afterParserOrEnumRuleCall(); } break; case 9 : // InternalSacmDsl.g:1288:5: this_HasSecurityClassification_8= ruleHasSecurityClassification { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getHasSecurityClassificationParserRuleCall_8()); pushFollow(FollowSets000.FOLLOW_2); this_HasSecurityClassification_8=ruleHasSecurityClassification(); state._fsp--; current = this_HasSecurityClassification_8; afterParserOrEnumRuleCall(); } break; case 10 : // InternalSacmDsl.g:1298:5: this_IsReleaseableTo_9= ruleIsReleaseableTo { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getIsReleaseableToParserRuleCall_9()); pushFollow(FollowSets000.FOLLOW_2); this_IsReleaseableTo_9=ruleIsReleaseableTo(); state._fsp--; current = this_IsReleaseableTo_9; afterParserOrEnumRuleCall(); } break; case 11 : // InternalSacmDsl.g:1308:5: this_HasVersion_10= ruleHasVersion { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getHasVersionParserRuleCall_10()); pushFollow(FollowSets000.FOLLOW_2); this_HasVersion_10=ruleHasVersion(); state._fsp--; current = this_HasVersion_10; afterParserOrEnumRuleCall(); } break; case 12 : // InternalSacmDsl.g:1318:5: this_HasMedia_11= ruleHasMedia { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getHasMediaParserRuleCall_11()); pushFollow(FollowSets000.FOLLOW_2); this_HasMedia_11=ruleHasMedia(); state._fsp--; current = this_HasMedia_11; afterParserOrEnumRuleCall(); } break; case 13 : // InternalSacmDsl.g:1328:5: this_ExtendedDocumentProperty_12= ruleExtendedDocumentProperty { newCompositeNode(grammarAccess.getExhibitPropertyAccess().getExtendedDocumentPropertyParserRuleCall_12()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedDocumentProperty_12=ruleExtendedDocumentProperty(); state._fsp--; current = this_ExtendedDocumentProperty_12; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExhibitProperty" // $ANTLR start "entryRuleFormalObject" // InternalSacmDsl.g:1344:1: entryRuleFormalObject returns [EObject current=null] : iv_ruleFormalObject= ruleFormalObject EOF ; public final EObject entryRuleFormalObject() throws RecognitionException { EObject current = null; EObject iv_ruleFormalObject = null; try { // InternalSacmDsl.g:1345:2: (iv_ruleFormalObject= ruleFormalObject EOF ) // InternalSacmDsl.g:1346:2: iv_ruleFormalObject= ruleFormalObject EOF { newCompositeNode(grammarAccess.getFormalObjectRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleFormalObject=ruleFormalObject(); state._fsp--; current =iv_ruleFormalObject; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFormalObject" // $ANTLR start "ruleFormalObject" // InternalSacmDsl.g:1353:1: ruleFormalObject returns [EObject current=null] : (this_Object_0= ruleObject | this_CompositeObject_1= ruleCompositeObject | this_UnknownObject_2= ruleUnknownObject | this_ObjectifiedAssertion_3= ruleObjectifiedAssertion ) ; public final EObject ruleFormalObject() throws RecognitionException { EObject current = null; EObject this_Object_0 = null; EObject this_CompositeObject_1 = null; EObject this_UnknownObject_2 = null; EObject this_ObjectifiedAssertion_3 = null; enterRule(); try { // InternalSacmDsl.g:1356:28: ( (this_Object_0= ruleObject | this_CompositeObject_1= ruleCompositeObject | this_UnknownObject_2= ruleUnknownObject | this_ObjectifiedAssertion_3= ruleObjectifiedAssertion ) ) // InternalSacmDsl.g:1357:1: (this_Object_0= ruleObject | this_CompositeObject_1= ruleCompositeObject | this_UnknownObject_2= ruleUnknownObject | this_ObjectifiedAssertion_3= ruleObjectifiedAssertion ) { // InternalSacmDsl.g:1357:1: (this_Object_0= ruleObject | this_CompositeObject_1= ruleCompositeObject | this_UnknownObject_2= ruleUnknownObject | this_ObjectifiedAssertion_3= ruleObjectifiedAssertion ) int alt19=4; switch ( input.LA(1) ) { case 69: { alt19=1; } break; case 71: { alt19=2; } break; case 72: { alt19=3; } break; case 78: { alt19=4; } break; default: NoViableAltException nvae = new NoViableAltException("", 19, 0, input); throw nvae; } switch (alt19) { case 1 : // InternalSacmDsl.g:1358:5: this_Object_0= ruleObject { newCompositeNode(grammarAccess.getFormalObjectAccess().getObjectParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Object_0=ruleObject(); state._fsp--; current = this_Object_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1368:5: this_CompositeObject_1= ruleCompositeObject { newCompositeNode(grammarAccess.getFormalObjectAccess().getCompositeObjectParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_CompositeObject_1=ruleCompositeObject(); state._fsp--; current = this_CompositeObject_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1378:5: this_UnknownObject_2= ruleUnknownObject { newCompositeNode(grammarAccess.getFormalObjectAccess().getUnknownObjectParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_UnknownObject_2=ruleUnknownObject(); state._fsp--; current = this_UnknownObject_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:1388:5: this_ObjectifiedAssertion_3= ruleObjectifiedAssertion { newCompositeNode(grammarAccess.getFormalObjectAccess().getObjectifiedAssertionParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_ObjectifiedAssertion_3=ruleObjectifiedAssertion(); state._fsp--; current = this_ObjectifiedAssertion_3; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFormalObject" // $ANTLR start "entryRuleEvidenceElement" // InternalSacmDsl.g:1404:1: entryRuleEvidenceElement returns [EObject current=null] : iv_ruleEvidenceElement= ruleEvidenceElement EOF ; public final EObject entryRuleEvidenceElement() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceElement = null; try { // InternalSacmDsl.g:1405:2: (iv_ruleEvidenceElement= ruleEvidenceElement EOF ) // InternalSacmDsl.g:1406:2: iv_ruleEvidenceElement= ruleEvidenceElement EOF { newCompositeNode(grammarAccess.getEvidenceElementRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceElement=ruleEvidenceElement(); state._fsp--; current =iv_ruleEvidenceElement; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceElement" // $ANTLR start "ruleEvidenceElement" // InternalSacmDsl.g:1413:1: ruleEvidenceElement returns [EObject current=null] : (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_Document_2= ruleDocument | this_Confidence_3= ruleConfidence | this_ApprovedBy_4= ruleApprovedBy | this_CreatedBy_5= ruleCreatedBy | this_Tool_6= ruleTool | this_Method_7= ruleMethod | this_IsBasedOn_8= ruleIsBasedOn | this_IsA_9= ruleIsA | this_IsCharacterizedBy_10= ruleIsCharacterizedBy | this_Person_11= rulePerson | this_Organization_12= ruleOrganization | this_EndTime_13= ruleEndTime | this_Assertion_14= ruleAssertion | this_Object_15= ruleObject | this_CompositeObject_16= ruleCompositeObject | this_StartTime_17= ruleStartTime | this_Relevance_18= ruleRelevance | this_Significance_19= ruleSignificance | this_Accuracy_20= ruleAccuracy | this_HasRoleIn_21= ruleHasRoleIn | this_IsScopedBy_22= ruleIsScopedBy | this_AtTime_23= ruleAtTime | this_Originality_24= ruleOriginality | this_Reporting_25= ruleReporting | this_Reliability_26= ruleReliability | this_Supports_27= ruleSupports | this_IsGeneratedAt_28= ruleIsGeneratedAt | this_Support_29= ruleSupport | this_Conflicts_30= ruleConflicts | this_Refutes_31= ruleRefutes | this_Negates_32= ruleNegates | this_UnknownObject_33= ruleUnknownObject | this_Resolves_34= ruleResolves | this_EvidenceRequest_35= ruleEvidenceRequest | this_ProjectObjective_36= ruleProjectObjective | this_Activity_37= ruleActivity | this_DependsOn_38= ruleDependsOn | this_Satisfies_39= ruleSatisfies | this_ReferencedClaim_40= ruleReferencedClaim | this_Weakens_41= ruleWeakens | this_Amplifies_42= ruleAmplifies | this_Challenges_43= ruleChallenges | this_Strength_44= ruleStrength | this_IsAcquiredAt_45= ruleIsAcquiredAt | this_IsTransferredTo_46= ruleIsTransferredTo | this_OwnedBy_47= ruleOwnedBy | this_IsPartOf_48= ruleIsPartOf | this_IsRevokedAt_49= ruleIsRevokedAt | this_ProvidesContext_50= ruleProvidesContext | this_MeansThat_51= ruleMeansThat | this_CareOf_52= ruleCareOf | this_AtLocation_53= ruleAtLocation | this_IsCreatedAt_54= ruleIsCreatedAt | this_RequiresContainer_55= ruleRequiresContainer | this_Service_56= ruleService | this_HasElectronicSource_57= ruleHasElectronicSource | this_IsExpressedInLanguage_58= ruleIsExpressedInLanguage | this_UsingProcess_59= ruleUsingProcess | this_HasSecurityClassification_60= ruleHasSecurityClassification | this_IsReleaseableTo_61= ruleIsReleaseableTo | this_EvidenceGroup_62= ruleEvidenceGroup | this_HasVersion_63= ruleHasVersion | this_HasMedia_64= ruleHasMedia | this_Exhibit_Impl_65= ruleExhibit_Impl | this_ExtendedEvidenceAttribute_66= ruleExtendedEvidenceAttribute | this_ExtendedDocumentProperty_67= ruleExtendedDocumentProperty | this_Record_68= ruleRecord | this_ObjectifiedAssertion_69= ruleObjectifiedAssertion | this_IsModifiedBy_70= ruleIsModifiedBy | this_PerformedBy_71= rulePerformedBy | this_ContainerConsistency_72= ruleContainerConsistency | this_ContainerCompleteness_73= ruleContainerCompleteness | this_CompliesTo_74= ruleCompliesTo | this_ExtendedProjectProperty_75= ruleExtendedProjectProperty ) ; public final EObject ruleEvidenceElement() throws RecognitionException { EObject current = null; EObject this_Consistency_0 = null; EObject this_Completeness_1 = null; EObject this_Document_2 = null; EObject this_Confidence_3 = null; EObject this_ApprovedBy_4 = null; EObject this_CreatedBy_5 = null; EObject this_Tool_6 = null; EObject this_Method_7 = null; EObject this_IsBasedOn_8 = null; EObject this_IsA_9 = null; EObject this_IsCharacterizedBy_10 = null; EObject this_Person_11 = null; EObject this_Organization_12 = null; EObject this_EndTime_13 = null; EObject this_Assertion_14 = null; EObject this_Object_15 = null; EObject this_CompositeObject_16 = null; EObject this_StartTime_17 = null; EObject this_Relevance_18 = null; EObject this_Significance_19 = null; EObject this_Accuracy_20 = null; EObject this_HasRoleIn_21 = null; EObject this_IsScopedBy_22 = null; EObject this_AtTime_23 = null; EObject this_Originality_24 = null; EObject this_Reporting_25 = null; EObject this_Reliability_26 = null; EObject this_Supports_27 = null; EObject this_IsGeneratedAt_28 = null; EObject this_Support_29 = null; EObject this_Conflicts_30 = null; EObject this_Refutes_31 = null; EObject this_Negates_32 = null; EObject this_UnknownObject_33 = null; EObject this_Resolves_34 = null; EObject this_EvidenceRequest_35 = null; EObject this_ProjectObjective_36 = null; EObject this_Activity_37 = null; EObject this_DependsOn_38 = null; EObject this_Satisfies_39 = null; EObject this_ReferencedClaim_40 = null; EObject this_Weakens_41 = null; EObject this_Amplifies_42 = null; EObject this_Challenges_43 = null; EObject this_Strength_44 = null; EObject this_IsAcquiredAt_45 = null; EObject this_IsTransferredTo_46 = null; EObject this_OwnedBy_47 = null; EObject this_IsPartOf_48 = null; EObject this_IsRevokedAt_49 = null; EObject this_ProvidesContext_50 = null; EObject this_MeansThat_51 = null; EObject this_CareOf_52 = null; EObject this_AtLocation_53 = null; EObject this_IsCreatedAt_54 = null; EObject this_RequiresContainer_55 = null; EObject this_Service_56 = null; EObject this_HasElectronicSource_57 = null; EObject this_IsExpressedInLanguage_58 = null; EObject this_UsingProcess_59 = null; EObject this_HasSecurityClassification_60 = null; EObject this_IsReleaseableTo_61 = null; EObject this_EvidenceGroup_62 = null; EObject this_HasVersion_63 = null; EObject this_HasMedia_64 = null; EObject this_Exhibit_Impl_65 = null; EObject this_ExtendedEvidenceAttribute_66 = null; EObject this_ExtendedDocumentProperty_67 = null; EObject this_Record_68 = null; EObject this_ObjectifiedAssertion_69 = null; EObject this_IsModifiedBy_70 = null; EObject this_PerformedBy_71 = null; EObject this_ContainerConsistency_72 = null; EObject this_ContainerCompleteness_73 = null; EObject this_CompliesTo_74 = null; EObject this_ExtendedProjectProperty_75 = null; enterRule(); try { // InternalSacmDsl.g:1416:28: ( (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_Document_2= ruleDocument | this_Confidence_3= ruleConfidence | this_ApprovedBy_4= ruleApprovedBy | this_CreatedBy_5= ruleCreatedBy | this_Tool_6= ruleTool | this_Method_7= ruleMethod | this_IsBasedOn_8= ruleIsBasedOn | this_IsA_9= ruleIsA | this_IsCharacterizedBy_10= ruleIsCharacterizedBy | this_Person_11= rulePerson | this_Organization_12= ruleOrganization | this_EndTime_13= ruleEndTime | this_Assertion_14= ruleAssertion | this_Object_15= ruleObject | this_CompositeObject_16= ruleCompositeObject | this_StartTime_17= ruleStartTime | this_Relevance_18= ruleRelevance | this_Significance_19= ruleSignificance | this_Accuracy_20= ruleAccuracy | this_HasRoleIn_21= ruleHasRoleIn | this_IsScopedBy_22= ruleIsScopedBy | this_AtTime_23= ruleAtTime | this_Originality_24= ruleOriginality | this_Reporting_25= ruleReporting | this_Reliability_26= ruleReliability | this_Supports_27= ruleSupports | this_IsGeneratedAt_28= ruleIsGeneratedAt | this_Support_29= ruleSupport | this_Conflicts_30= ruleConflicts | this_Refutes_31= ruleRefutes | this_Negates_32= ruleNegates | this_UnknownObject_33= ruleUnknownObject | this_Resolves_34= ruleResolves | this_EvidenceRequest_35= ruleEvidenceRequest | this_ProjectObjective_36= ruleProjectObjective | this_Activity_37= ruleActivity | this_DependsOn_38= ruleDependsOn | this_Satisfies_39= ruleSatisfies | this_ReferencedClaim_40= ruleReferencedClaim | this_Weakens_41= ruleWeakens | this_Amplifies_42= ruleAmplifies | this_Challenges_43= ruleChallenges | this_Strength_44= ruleStrength | this_IsAcquiredAt_45= ruleIsAcquiredAt | this_IsTransferredTo_46= ruleIsTransferredTo | this_OwnedBy_47= ruleOwnedBy | this_IsPartOf_48= ruleIsPartOf | this_IsRevokedAt_49= ruleIsRevokedAt | this_ProvidesContext_50= ruleProvidesContext | this_MeansThat_51= ruleMeansThat | this_CareOf_52= ruleCareOf | this_AtLocation_53= ruleAtLocation | this_IsCreatedAt_54= ruleIsCreatedAt | this_RequiresContainer_55= ruleRequiresContainer | this_Service_56= ruleService | this_HasElectronicSource_57= ruleHasElectronicSource | this_IsExpressedInLanguage_58= ruleIsExpressedInLanguage | this_UsingProcess_59= ruleUsingProcess | this_HasSecurityClassification_60= ruleHasSecurityClassification | this_IsReleaseableTo_61= ruleIsReleaseableTo | this_EvidenceGroup_62= ruleEvidenceGroup | this_HasVersion_63= ruleHasVersion | this_HasMedia_64= ruleHasMedia | this_Exhibit_Impl_65= ruleExhibit_Impl | this_ExtendedEvidenceAttribute_66= ruleExtendedEvidenceAttribute | this_ExtendedDocumentProperty_67= ruleExtendedDocumentProperty | this_Record_68= ruleRecord | this_ObjectifiedAssertion_69= ruleObjectifiedAssertion | this_IsModifiedBy_70= ruleIsModifiedBy | this_PerformedBy_71= rulePerformedBy | this_ContainerConsistency_72= ruleContainerConsistency | this_ContainerCompleteness_73= ruleContainerCompleteness | this_CompliesTo_74= ruleCompliesTo | this_ExtendedProjectProperty_75= ruleExtendedProjectProperty ) ) // InternalSacmDsl.g:1417:1: (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_Document_2= ruleDocument | this_Confidence_3= ruleConfidence | this_ApprovedBy_4= ruleApprovedBy | this_CreatedBy_5= ruleCreatedBy | this_Tool_6= ruleTool | this_Method_7= ruleMethod | this_IsBasedOn_8= ruleIsBasedOn | this_IsA_9= ruleIsA | this_IsCharacterizedBy_10= ruleIsCharacterizedBy | this_Person_11= rulePerson | this_Organization_12= ruleOrganization | this_EndTime_13= ruleEndTime | this_Assertion_14= ruleAssertion | this_Object_15= ruleObject | this_CompositeObject_16= ruleCompositeObject | this_StartTime_17= ruleStartTime | this_Relevance_18= ruleRelevance | this_Significance_19= ruleSignificance | this_Accuracy_20= ruleAccuracy | this_HasRoleIn_21= ruleHasRoleIn | this_IsScopedBy_22= ruleIsScopedBy | this_AtTime_23= ruleAtTime | this_Originality_24= ruleOriginality | this_Reporting_25= ruleReporting | this_Reliability_26= ruleReliability | this_Supports_27= ruleSupports | this_IsGeneratedAt_28= ruleIsGeneratedAt | this_Support_29= ruleSupport | this_Conflicts_30= ruleConflicts | this_Refutes_31= ruleRefutes | this_Negates_32= ruleNegates | this_UnknownObject_33= ruleUnknownObject | this_Resolves_34= ruleResolves | this_EvidenceRequest_35= ruleEvidenceRequest | this_ProjectObjective_36= ruleProjectObjective | this_Activity_37= ruleActivity | this_DependsOn_38= ruleDependsOn | this_Satisfies_39= ruleSatisfies | this_ReferencedClaim_40= ruleReferencedClaim | this_Weakens_41= ruleWeakens | this_Amplifies_42= ruleAmplifies | this_Challenges_43= ruleChallenges | this_Strength_44= ruleStrength | this_IsAcquiredAt_45= ruleIsAcquiredAt | this_IsTransferredTo_46= ruleIsTransferredTo | this_OwnedBy_47= ruleOwnedBy | this_IsPartOf_48= ruleIsPartOf | this_IsRevokedAt_49= ruleIsRevokedAt | this_ProvidesContext_50= ruleProvidesContext | this_MeansThat_51= ruleMeansThat | this_CareOf_52= ruleCareOf | this_AtLocation_53= ruleAtLocation | this_IsCreatedAt_54= ruleIsCreatedAt | this_RequiresContainer_55= ruleRequiresContainer | this_Service_56= ruleService | this_HasElectronicSource_57= ruleHasElectronicSource | this_IsExpressedInLanguage_58= ruleIsExpressedInLanguage | this_UsingProcess_59= ruleUsingProcess | this_HasSecurityClassification_60= ruleHasSecurityClassification | this_IsReleaseableTo_61= ruleIsReleaseableTo | this_EvidenceGroup_62= ruleEvidenceGroup | this_HasVersion_63= ruleHasVersion | this_HasMedia_64= ruleHasMedia | this_Exhibit_Impl_65= ruleExhibit_Impl | this_ExtendedEvidenceAttribute_66= ruleExtendedEvidenceAttribute | this_ExtendedDocumentProperty_67= ruleExtendedDocumentProperty | this_Record_68= ruleRecord | this_ObjectifiedAssertion_69= ruleObjectifiedAssertion | this_IsModifiedBy_70= ruleIsModifiedBy | this_PerformedBy_71= rulePerformedBy | this_ContainerConsistency_72= ruleContainerConsistency | this_ContainerCompleteness_73= ruleContainerCompleteness | this_CompliesTo_74= ruleCompliesTo | this_ExtendedProjectProperty_75= ruleExtendedProjectProperty ) { // InternalSacmDsl.g:1417:1: (this_Consistency_0= ruleConsistency | this_Completeness_1= ruleCompleteness | this_Document_2= ruleDocument | this_Confidence_3= ruleConfidence | this_ApprovedBy_4= ruleApprovedBy | this_CreatedBy_5= ruleCreatedBy | this_Tool_6= ruleTool | this_Method_7= ruleMethod | this_IsBasedOn_8= ruleIsBasedOn | this_IsA_9= ruleIsA | this_IsCharacterizedBy_10= ruleIsCharacterizedBy | this_Person_11= rulePerson | this_Organization_12= ruleOrganization | this_EndTime_13= ruleEndTime | this_Assertion_14= ruleAssertion | this_Object_15= ruleObject | this_CompositeObject_16= ruleCompositeObject | this_StartTime_17= ruleStartTime | this_Relevance_18= ruleRelevance | this_Significance_19= ruleSignificance | this_Accuracy_20= ruleAccuracy | this_HasRoleIn_21= ruleHasRoleIn | this_IsScopedBy_22= ruleIsScopedBy | this_AtTime_23= ruleAtTime | this_Originality_24= ruleOriginality | this_Reporting_25= ruleReporting | this_Reliability_26= ruleReliability | this_Supports_27= ruleSupports | this_IsGeneratedAt_28= ruleIsGeneratedAt | this_Support_29= ruleSupport | this_Conflicts_30= ruleConflicts | this_Refutes_31= ruleRefutes | this_Negates_32= ruleNegates | this_UnknownObject_33= ruleUnknownObject | this_Resolves_34= ruleResolves | this_EvidenceRequest_35= ruleEvidenceRequest | this_ProjectObjective_36= ruleProjectObjective | this_Activity_37= ruleActivity | this_DependsOn_38= ruleDependsOn | this_Satisfies_39= ruleSatisfies | this_ReferencedClaim_40= ruleReferencedClaim | this_Weakens_41= ruleWeakens | this_Amplifies_42= ruleAmplifies | this_Challenges_43= ruleChallenges | this_Strength_44= ruleStrength | this_IsAcquiredAt_45= ruleIsAcquiredAt | this_IsTransferredTo_46= ruleIsTransferredTo | this_OwnedBy_47= ruleOwnedBy | this_IsPartOf_48= ruleIsPartOf | this_IsRevokedAt_49= ruleIsRevokedAt | this_ProvidesContext_50= ruleProvidesContext | this_MeansThat_51= ruleMeansThat | this_CareOf_52= ruleCareOf | this_AtLocation_53= ruleAtLocation | this_IsCreatedAt_54= ruleIsCreatedAt | this_RequiresContainer_55= ruleRequiresContainer | this_Service_56= ruleService | this_HasElectronicSource_57= ruleHasElectronicSource | this_IsExpressedInLanguage_58= ruleIsExpressedInLanguage | this_UsingProcess_59= ruleUsingProcess | this_HasSecurityClassification_60= ruleHasSecurityClassification | this_IsReleaseableTo_61= ruleIsReleaseableTo | this_EvidenceGroup_62= ruleEvidenceGroup | this_HasVersion_63= ruleHasVersion | this_HasMedia_64= ruleHasMedia | this_Exhibit_Impl_65= ruleExhibit_Impl | this_ExtendedEvidenceAttribute_66= ruleExtendedEvidenceAttribute | this_ExtendedDocumentProperty_67= ruleExtendedDocumentProperty | this_Record_68= ruleRecord | this_ObjectifiedAssertion_69= ruleObjectifiedAssertion | this_IsModifiedBy_70= ruleIsModifiedBy | this_PerformedBy_71= rulePerformedBy | this_ContainerConsistency_72= ruleContainerConsistency | this_ContainerCompleteness_73= ruleContainerCompleteness | this_CompliesTo_74= ruleCompliesTo | this_ExtendedProjectProperty_75= ruleExtendedProjectProperty ) int alt20=76; switch ( input.LA(1) ) { case 127: { alt20=1; } break; case 128: { alt20=2; } break; case 58: { alt20=3; } break; case 155: { alt20=4; } break; case 114: { alt20=5; } break; case 116: { alt20=6; } break; case 105: { alt20=7; } break; case 106: { alt20=8; } break; case 130: { alt20=9; } break; case 156: { alt20=10; } break; case 158: { alt20=11; } break; case 91: { alt20=12; } break; case 103: { alt20=13; } break; case 80: { alt20=14; } break; case 65: { alt20=15; } break; case 69: { alt20=16; } break; case 71: { alt20=17; } break; case 82: { alt20=18; } break; case 159: { alt20=19; } break; case 160: { alt20=20; } break; case 161: { alt20=21; } break; case 92: { alt20=22; } break; case 162: { alt20=23; } break; case 83: { alt20=24; } break; case 131: { alt20=25; } break; case 164: { alt20=26; } break; case 132: { alt20=27; } break; case 165: { alt20=28; } break; case 121: { alt20=29; } break; case 166: { alt20=30; } break; case 167: { alt20=31; } break; case 168: { alt20=32; } break; case 169: { alt20=33; } break; case 72: { alt20=34; } break; case 170: { alt20=35; } break; case 107: { alt20=36; } break; case 108: { alt20=37; } break; case 109: { alt20=38; } break; case 94: { alt20=39; } break; case 95: { alt20=40; } break; case 73: { alt20=41; } break; case 171: { alt20=42; } break; case 173: { alt20=43; } break; case 174: { alt20=44; } break; case 175: { alt20=45; } break; case 122: { alt20=46; } break; case 123: { alt20=47; } break; case 117: { alt20=48; } break; case 133: { alt20=49; } break; case 124: { alt20=50; } break; case 176: { alt20=51; } break; case 178: { alt20=52; } break; case 85: { alt20=53; } break; case 87: { alt20=54; } break; case 125: { alt20=55; } break; case 96: { alt20=56; } break; case 110: { alt20=57; } break; case 135: { alt20=58; } break; case 138: { alt20=59; } break; case 89: { alt20=60; } break; case 141: { alt20=61; } break; case 143: { alt20=62; } break; case 75: { alt20=63; } break; case 145: { alt20=64; } break; case 146: { alt20=65; } break; case 76: { alt20=66; } break; case 180: { alt20=67; } break; case 148: { alt20=68; } break; case 77: { alt20=69; } break; case 78: { alt20=70; } break; case 126: { alt20=71; } break; case 119: { alt20=72; } break; case 98: { alt20=73; } break; case 99: { alt20=74; } break; case 100: { alt20=75; } break; case 102: { alt20=76; } break; default: NoViableAltException nvae = new NoViableAltException("", 20, 0, input); throw nvae; } switch (alt20) { case 1 : // InternalSacmDsl.g:1418:5: this_Consistency_0= ruleConsistency { newCompositeNode(grammarAccess.getEvidenceElementAccess().getConsistencyParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Consistency_0=ruleConsistency(); state._fsp--; current = this_Consistency_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:1428:5: this_Completeness_1= ruleCompleteness { newCompositeNode(grammarAccess.getEvidenceElementAccess().getCompletenessParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_Completeness_1=ruleCompleteness(); state._fsp--; current = this_Completeness_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:1438:5: this_Document_2= ruleDocument { newCompositeNode(grammarAccess.getEvidenceElementAccess().getDocumentParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_Document_2=ruleDocument(); state._fsp--; current = this_Document_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:1448:5: this_Confidence_3= ruleConfidence { newCompositeNode(grammarAccess.getEvidenceElementAccess().getConfidenceParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Confidence_3=ruleConfidence(); state._fsp--; current = this_Confidence_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:1458:5: this_ApprovedBy_4= ruleApprovedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getApprovedByParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_ApprovedBy_4=ruleApprovedBy(); state._fsp--; current = this_ApprovedBy_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:1468:5: this_CreatedBy_5= ruleCreatedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getCreatedByParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_CreatedBy_5=ruleCreatedBy(); state._fsp--; current = this_CreatedBy_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:1478:5: this_Tool_6= ruleTool { newCompositeNode(grammarAccess.getEvidenceElementAccess().getToolParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_Tool_6=ruleTool(); state._fsp--; current = this_Tool_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:1488:5: this_Method_7= ruleMethod { newCompositeNode(grammarAccess.getEvidenceElementAccess().getMethodParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_Method_7=ruleMethod(); state._fsp--; current = this_Method_7; afterParserOrEnumRuleCall(); } break; case 9 : // InternalSacmDsl.g:1498:5: this_IsBasedOn_8= ruleIsBasedOn { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsBasedOnParserRuleCall_8()); pushFollow(FollowSets000.FOLLOW_2); this_IsBasedOn_8=ruleIsBasedOn(); state._fsp--; current = this_IsBasedOn_8; afterParserOrEnumRuleCall(); } break; case 10 : // InternalSacmDsl.g:1508:5: this_IsA_9= ruleIsA { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsAParserRuleCall_9()); pushFollow(FollowSets000.FOLLOW_2); this_IsA_9=ruleIsA(); state._fsp--; current = this_IsA_9; afterParserOrEnumRuleCall(); } break; case 11 : // InternalSacmDsl.g:1518:5: this_IsCharacterizedBy_10= ruleIsCharacterizedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsCharacterizedByParserRuleCall_10()); pushFollow(FollowSets000.FOLLOW_2); this_IsCharacterizedBy_10=ruleIsCharacterizedBy(); state._fsp--; current = this_IsCharacterizedBy_10; afterParserOrEnumRuleCall(); } break; case 12 : // InternalSacmDsl.g:1528:5: this_Person_11= rulePerson { newCompositeNode(grammarAccess.getEvidenceElementAccess().getPersonParserRuleCall_11()); pushFollow(FollowSets000.FOLLOW_2); this_Person_11=rulePerson(); state._fsp--; current = this_Person_11; afterParserOrEnumRuleCall(); } break; case 13 : // InternalSacmDsl.g:1538:5: this_Organization_12= ruleOrganization { newCompositeNode(grammarAccess.getEvidenceElementAccess().getOrganizationParserRuleCall_12()); pushFollow(FollowSets000.FOLLOW_2); this_Organization_12=ruleOrganization(); state._fsp--; current = this_Organization_12; afterParserOrEnumRuleCall(); } break; case 14 : // InternalSacmDsl.g:1548:5: this_EndTime_13= ruleEndTime { newCompositeNode(grammarAccess.getEvidenceElementAccess().getEndTimeParserRuleCall_13()); pushFollow(FollowSets000.FOLLOW_2); this_EndTime_13=ruleEndTime(); state._fsp--; current = this_EndTime_13; afterParserOrEnumRuleCall(); } break; case 15 : // InternalSacmDsl.g:1558:5: this_Assertion_14= ruleAssertion { newCompositeNode(grammarAccess.getEvidenceElementAccess().getAssertionParserRuleCall_14()); pushFollow(FollowSets000.FOLLOW_2); this_Assertion_14=ruleAssertion(); state._fsp--; current = this_Assertion_14; afterParserOrEnumRuleCall(); } break; case 16 : // InternalSacmDsl.g:1568:5: this_Object_15= ruleObject { newCompositeNode(grammarAccess.getEvidenceElementAccess().getObjectParserRuleCall_15()); pushFollow(FollowSets000.FOLLOW_2); this_Object_15=ruleObject(); state._fsp--; current = this_Object_15; afterParserOrEnumRuleCall(); } break; case 17 : // InternalSacmDsl.g:1578:5: this_CompositeObject_16= ruleCompositeObject { newCompositeNode(grammarAccess.getEvidenceElementAccess().getCompositeObjectParserRuleCall_16()); pushFollow(FollowSets000.FOLLOW_2); this_CompositeObject_16=ruleCompositeObject(); state._fsp--; current = this_CompositeObject_16; afterParserOrEnumRuleCall(); } break; case 18 : // InternalSacmDsl.g:1588:5: this_StartTime_17= ruleStartTime { newCompositeNode(grammarAccess.getEvidenceElementAccess().getStartTimeParserRuleCall_17()); pushFollow(FollowSets000.FOLLOW_2); this_StartTime_17=ruleStartTime(); state._fsp--; current = this_StartTime_17; afterParserOrEnumRuleCall(); } break; case 19 : // InternalSacmDsl.g:1598:5: this_Relevance_18= ruleRelevance { newCompositeNode(grammarAccess.getEvidenceElementAccess().getRelevanceParserRuleCall_18()); pushFollow(FollowSets000.FOLLOW_2); this_Relevance_18=ruleRelevance(); state._fsp--; current = this_Relevance_18; afterParserOrEnumRuleCall(); } break; case 20 : // InternalSacmDsl.g:1608:5: this_Significance_19= ruleSignificance { newCompositeNode(grammarAccess.getEvidenceElementAccess().getSignificanceParserRuleCall_19()); pushFollow(FollowSets000.FOLLOW_2); this_Significance_19=ruleSignificance(); state._fsp--; current = this_Significance_19; afterParserOrEnumRuleCall(); } break; case 21 : // InternalSacmDsl.g:1618:5: this_Accuracy_20= ruleAccuracy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getAccuracyParserRuleCall_20()); pushFollow(FollowSets000.FOLLOW_2); this_Accuracy_20=ruleAccuracy(); state._fsp--; current = this_Accuracy_20; afterParserOrEnumRuleCall(); } break; case 22 : // InternalSacmDsl.g:1628:5: this_HasRoleIn_21= ruleHasRoleIn { newCompositeNode(grammarAccess.getEvidenceElementAccess().getHasRoleInParserRuleCall_21()); pushFollow(FollowSets000.FOLLOW_2); this_HasRoleIn_21=ruleHasRoleIn(); state._fsp--; current = this_HasRoleIn_21; afterParserOrEnumRuleCall(); } break; case 23 : // InternalSacmDsl.g:1638:5: this_IsScopedBy_22= ruleIsScopedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsScopedByParserRuleCall_22()); pushFollow(FollowSets000.FOLLOW_2); this_IsScopedBy_22=ruleIsScopedBy(); state._fsp--; current = this_IsScopedBy_22; afterParserOrEnumRuleCall(); } break; case 24 : // InternalSacmDsl.g:1648:5: this_AtTime_23= ruleAtTime { newCompositeNode(grammarAccess.getEvidenceElementAccess().getAtTimeParserRuleCall_23()); pushFollow(FollowSets000.FOLLOW_2); this_AtTime_23=ruleAtTime(); state._fsp--; current = this_AtTime_23; afterParserOrEnumRuleCall(); } break; case 25 : // InternalSacmDsl.g:1658:5: this_Originality_24= ruleOriginality { newCompositeNode(grammarAccess.getEvidenceElementAccess().getOriginalityParserRuleCall_24()); pushFollow(FollowSets000.FOLLOW_2); this_Originality_24=ruleOriginality(); state._fsp--; current = this_Originality_24; afterParserOrEnumRuleCall(); } break; case 26 : // InternalSacmDsl.g:1668:5: this_Reporting_25= ruleReporting { newCompositeNode(grammarAccess.getEvidenceElementAccess().getReportingParserRuleCall_25()); pushFollow(FollowSets000.FOLLOW_2); this_Reporting_25=ruleReporting(); state._fsp--; current = this_Reporting_25; afterParserOrEnumRuleCall(); } break; case 27 : // InternalSacmDsl.g:1678:5: this_Reliability_26= ruleReliability { newCompositeNode(grammarAccess.getEvidenceElementAccess().getReliabilityParserRuleCall_26()); pushFollow(FollowSets000.FOLLOW_2); this_Reliability_26=ruleReliability(); state._fsp--; current = this_Reliability_26; afterParserOrEnumRuleCall(); } break; case 28 : // InternalSacmDsl.g:1688:5: this_Supports_27= ruleSupports { newCompositeNode(grammarAccess.getEvidenceElementAccess().getSupportsParserRuleCall_27()); pushFollow(FollowSets000.FOLLOW_2); this_Supports_27=ruleSupports(); state._fsp--; current = this_Supports_27; afterParserOrEnumRuleCall(); } break; case 29 : // InternalSacmDsl.g:1698:5: this_IsGeneratedAt_28= ruleIsGeneratedAt { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsGeneratedAtParserRuleCall_28()); pushFollow(FollowSets000.FOLLOW_2); this_IsGeneratedAt_28=ruleIsGeneratedAt(); state._fsp--; current = this_IsGeneratedAt_28; afterParserOrEnumRuleCall(); } break; case 30 : // InternalSacmDsl.g:1708:5: this_Support_29= ruleSupport { newCompositeNode(grammarAccess.getEvidenceElementAccess().getSupportParserRuleCall_29()); pushFollow(FollowSets000.FOLLOW_2); this_Support_29=ruleSupport(); state._fsp--; current = this_Support_29; afterParserOrEnumRuleCall(); } break; case 31 : // InternalSacmDsl.g:1718:5: this_Conflicts_30= ruleConflicts { newCompositeNode(grammarAccess.getEvidenceElementAccess().getConflictsParserRuleCall_30()); pushFollow(FollowSets000.FOLLOW_2); this_Conflicts_30=ruleConflicts(); state._fsp--; current = this_Conflicts_30; afterParserOrEnumRuleCall(); } break; case 32 : // InternalSacmDsl.g:1728:5: this_Refutes_31= ruleRefutes { newCompositeNode(grammarAccess.getEvidenceElementAccess().getRefutesParserRuleCall_31()); pushFollow(FollowSets000.FOLLOW_2); this_Refutes_31=ruleRefutes(); state._fsp--; current = this_Refutes_31; afterParserOrEnumRuleCall(); } break; case 33 : // InternalSacmDsl.g:1738:5: this_Negates_32= ruleNegates { newCompositeNode(grammarAccess.getEvidenceElementAccess().getNegatesParserRuleCall_32()); pushFollow(FollowSets000.FOLLOW_2); this_Negates_32=ruleNegates(); state._fsp--; current = this_Negates_32; afterParserOrEnumRuleCall(); } break; case 34 : // InternalSacmDsl.g:1748:5: this_UnknownObject_33= ruleUnknownObject { newCompositeNode(grammarAccess.getEvidenceElementAccess().getUnknownObjectParserRuleCall_33()); pushFollow(FollowSets000.FOLLOW_2); this_UnknownObject_33=ruleUnknownObject(); state._fsp--; current = this_UnknownObject_33; afterParserOrEnumRuleCall(); } break; case 35 : // InternalSacmDsl.g:1758:5: this_Resolves_34= ruleResolves { newCompositeNode(grammarAccess.getEvidenceElementAccess().getResolvesParserRuleCall_34()); pushFollow(FollowSets000.FOLLOW_2); this_Resolves_34=ruleResolves(); state._fsp--; current = this_Resolves_34; afterParserOrEnumRuleCall(); } break; case 36 : // InternalSacmDsl.g:1768:5: this_EvidenceRequest_35= ruleEvidenceRequest { newCompositeNode(grammarAccess.getEvidenceElementAccess().getEvidenceRequestParserRuleCall_35()); pushFollow(FollowSets000.FOLLOW_2); this_EvidenceRequest_35=ruleEvidenceRequest(); state._fsp--; current = this_EvidenceRequest_35; afterParserOrEnumRuleCall(); } break; case 37 : // InternalSacmDsl.g:1778:5: this_ProjectObjective_36= ruleProjectObjective { newCompositeNode(grammarAccess.getEvidenceElementAccess().getProjectObjectiveParserRuleCall_36()); pushFollow(FollowSets000.FOLLOW_2); this_ProjectObjective_36=ruleProjectObjective(); state._fsp--; current = this_ProjectObjective_36; afterParserOrEnumRuleCall(); } break; case 38 : // InternalSacmDsl.g:1788:5: this_Activity_37= ruleActivity { newCompositeNode(grammarAccess.getEvidenceElementAccess().getActivityParserRuleCall_37()); pushFollow(FollowSets000.FOLLOW_2); this_Activity_37=ruleActivity(); state._fsp--; current = this_Activity_37; afterParserOrEnumRuleCall(); } break; case 39 : // InternalSacmDsl.g:1798:5: this_DependsOn_38= ruleDependsOn { newCompositeNode(grammarAccess.getEvidenceElementAccess().getDependsOnParserRuleCall_38()); pushFollow(FollowSets000.FOLLOW_2); this_DependsOn_38=ruleDependsOn(); state._fsp--; current = this_DependsOn_38; afterParserOrEnumRuleCall(); } break; case 40 : // InternalSacmDsl.g:1808:5: this_Satisfies_39= ruleSatisfies { newCompositeNode(grammarAccess.getEvidenceElementAccess().getSatisfiesParserRuleCall_39()); pushFollow(FollowSets000.FOLLOW_2); this_Satisfies_39=ruleSatisfies(); state._fsp--; current = this_Satisfies_39; afterParserOrEnumRuleCall(); } break; case 41 : // InternalSacmDsl.g:1818:5: this_ReferencedClaim_40= ruleReferencedClaim { newCompositeNode(grammarAccess.getEvidenceElementAccess().getReferencedClaimParserRuleCall_40()); pushFollow(FollowSets000.FOLLOW_2); this_ReferencedClaim_40=ruleReferencedClaim(); state._fsp--; current = this_ReferencedClaim_40; afterParserOrEnumRuleCall(); } break; case 42 : // InternalSacmDsl.g:1828:5: this_Weakens_41= ruleWeakens { newCompositeNode(grammarAccess.getEvidenceElementAccess().getWeakensParserRuleCall_41()); pushFollow(FollowSets000.FOLLOW_2); this_Weakens_41=ruleWeakens(); state._fsp--; current = this_Weakens_41; afterParserOrEnumRuleCall(); } break; case 43 : // InternalSacmDsl.g:1838:5: this_Amplifies_42= ruleAmplifies { newCompositeNode(grammarAccess.getEvidenceElementAccess().getAmplifiesParserRuleCall_42()); pushFollow(FollowSets000.FOLLOW_2); this_Amplifies_42=ruleAmplifies(); state._fsp--; current = this_Amplifies_42; afterParserOrEnumRuleCall(); } break; case 44 : // InternalSacmDsl.g:1848:5: this_Challenges_43= ruleChallenges { newCompositeNode(grammarAccess.getEvidenceElementAccess().getChallengesParserRuleCall_43()); pushFollow(FollowSets000.FOLLOW_2); this_Challenges_43=ruleChallenges(); state._fsp--; current = this_Challenges_43; afterParserOrEnumRuleCall(); } break; case 45 : // InternalSacmDsl.g:1858:5: this_Strength_44= ruleStrength { newCompositeNode(grammarAccess.getEvidenceElementAccess().getStrengthParserRuleCall_44()); pushFollow(FollowSets000.FOLLOW_2); this_Strength_44=ruleStrength(); state._fsp--; current = this_Strength_44; afterParserOrEnumRuleCall(); } break; case 46 : // InternalSacmDsl.g:1868:5: this_IsAcquiredAt_45= ruleIsAcquiredAt { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsAcquiredAtParserRuleCall_45()); pushFollow(FollowSets000.FOLLOW_2); this_IsAcquiredAt_45=ruleIsAcquiredAt(); state._fsp--; current = this_IsAcquiredAt_45; afterParserOrEnumRuleCall(); } break; case 47 : // InternalSacmDsl.g:1878:5: this_IsTransferredTo_46= ruleIsTransferredTo { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsTransferredToParserRuleCall_46()); pushFollow(FollowSets000.FOLLOW_2); this_IsTransferredTo_46=ruleIsTransferredTo(); state._fsp--; current = this_IsTransferredTo_46; afterParserOrEnumRuleCall(); } break; case 48 : // InternalSacmDsl.g:1888:5: this_OwnedBy_47= ruleOwnedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getOwnedByParserRuleCall_47()); pushFollow(FollowSets000.FOLLOW_2); this_OwnedBy_47=ruleOwnedBy(); state._fsp--; current = this_OwnedBy_47; afterParserOrEnumRuleCall(); } break; case 49 : // InternalSacmDsl.g:1898:5: this_IsPartOf_48= ruleIsPartOf { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsPartOfParserRuleCall_48()); pushFollow(FollowSets000.FOLLOW_2); this_IsPartOf_48=ruleIsPartOf(); state._fsp--; current = this_IsPartOf_48; afterParserOrEnumRuleCall(); } break; case 50 : // InternalSacmDsl.g:1908:5: this_IsRevokedAt_49= ruleIsRevokedAt { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsRevokedAtParserRuleCall_49()); pushFollow(FollowSets000.FOLLOW_2); this_IsRevokedAt_49=ruleIsRevokedAt(); state._fsp--; current = this_IsRevokedAt_49; afterParserOrEnumRuleCall(); } break; case 51 : // InternalSacmDsl.g:1918:5: this_ProvidesContext_50= ruleProvidesContext { newCompositeNode(grammarAccess.getEvidenceElementAccess().getProvidesContextParserRuleCall_50()); pushFollow(FollowSets000.FOLLOW_2); this_ProvidesContext_50=ruleProvidesContext(); state._fsp--; current = this_ProvidesContext_50; afterParserOrEnumRuleCall(); } break; case 52 : // InternalSacmDsl.g:1928:5: this_MeansThat_51= ruleMeansThat { newCompositeNode(grammarAccess.getEvidenceElementAccess().getMeansThatParserRuleCall_51()); pushFollow(FollowSets000.FOLLOW_2); this_MeansThat_51=ruleMeansThat(); state._fsp--; current = this_MeansThat_51; afterParserOrEnumRuleCall(); } break; case 53 : // InternalSacmDsl.g:1938:5: this_CareOf_52= ruleCareOf { newCompositeNode(grammarAccess.getEvidenceElementAccess().getCareOfParserRuleCall_52()); pushFollow(FollowSets000.FOLLOW_2); this_CareOf_52=ruleCareOf(); state._fsp--; current = this_CareOf_52; afterParserOrEnumRuleCall(); } break; case 54 : // InternalSacmDsl.g:1948:5: this_AtLocation_53= ruleAtLocation { newCompositeNode(grammarAccess.getEvidenceElementAccess().getAtLocationParserRuleCall_53()); pushFollow(FollowSets000.FOLLOW_2); this_AtLocation_53=ruleAtLocation(); state._fsp--; current = this_AtLocation_53; afterParserOrEnumRuleCall(); } break; case 55 : // InternalSacmDsl.g:1958:5: this_IsCreatedAt_54= ruleIsCreatedAt { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsCreatedAtParserRuleCall_54()); pushFollow(FollowSets000.FOLLOW_2); this_IsCreatedAt_54=ruleIsCreatedAt(); state._fsp--; current = this_IsCreatedAt_54; afterParserOrEnumRuleCall(); } break; case 56 : // InternalSacmDsl.g:1968:5: this_RequiresContainer_55= ruleRequiresContainer { newCompositeNode(grammarAccess.getEvidenceElementAccess().getRequiresContainerParserRuleCall_55()); pushFollow(FollowSets000.FOLLOW_2); this_RequiresContainer_55=ruleRequiresContainer(); state._fsp--; current = this_RequiresContainer_55; afterParserOrEnumRuleCall(); } break; case 57 : // InternalSacmDsl.g:1978:5: this_Service_56= ruleService { newCompositeNode(grammarAccess.getEvidenceElementAccess().getServiceParserRuleCall_56()); pushFollow(FollowSets000.FOLLOW_2); this_Service_56=ruleService(); state._fsp--; current = this_Service_56; afterParserOrEnumRuleCall(); } break; case 58 : // InternalSacmDsl.g:1988:5: this_HasElectronicSource_57= ruleHasElectronicSource { newCompositeNode(grammarAccess.getEvidenceElementAccess().getHasElectronicSourceParserRuleCall_57()); pushFollow(FollowSets000.FOLLOW_2); this_HasElectronicSource_57=ruleHasElectronicSource(); state._fsp--; current = this_HasElectronicSource_57; afterParserOrEnumRuleCall(); } break; case 59 : // InternalSacmDsl.g:1998:5: this_IsExpressedInLanguage_58= ruleIsExpressedInLanguage { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsExpressedInLanguageParserRuleCall_58()); pushFollow(FollowSets000.FOLLOW_2); this_IsExpressedInLanguage_58=ruleIsExpressedInLanguage(); state._fsp--; current = this_IsExpressedInLanguage_58; afterParserOrEnumRuleCall(); } break; case 60 : // InternalSacmDsl.g:2008:5: this_UsingProcess_59= ruleUsingProcess { newCompositeNode(grammarAccess.getEvidenceElementAccess().getUsingProcessParserRuleCall_59()); pushFollow(FollowSets000.FOLLOW_2); this_UsingProcess_59=ruleUsingProcess(); state._fsp--; current = this_UsingProcess_59; afterParserOrEnumRuleCall(); } break; case 61 : // InternalSacmDsl.g:2018:5: this_HasSecurityClassification_60= ruleHasSecurityClassification { newCompositeNode(grammarAccess.getEvidenceElementAccess().getHasSecurityClassificationParserRuleCall_60()); pushFollow(FollowSets000.FOLLOW_2); this_HasSecurityClassification_60=ruleHasSecurityClassification(); state._fsp--; current = this_HasSecurityClassification_60; afterParserOrEnumRuleCall(); } break; case 62 : // InternalSacmDsl.g:2028:5: this_IsReleaseableTo_61= ruleIsReleaseableTo { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsReleaseableToParserRuleCall_61()); pushFollow(FollowSets000.FOLLOW_2); this_IsReleaseableTo_61=ruleIsReleaseableTo(); state._fsp--; current = this_IsReleaseableTo_61; afterParserOrEnumRuleCall(); } break; case 63 : // InternalSacmDsl.g:2038:5: this_EvidenceGroup_62= ruleEvidenceGroup { newCompositeNode(grammarAccess.getEvidenceElementAccess().getEvidenceGroupParserRuleCall_62()); pushFollow(FollowSets000.FOLLOW_2); this_EvidenceGroup_62=ruleEvidenceGroup(); state._fsp--; current = this_EvidenceGroup_62; afterParserOrEnumRuleCall(); } break; case 64 : // InternalSacmDsl.g:2048:5: this_HasVersion_63= ruleHasVersion { newCompositeNode(grammarAccess.getEvidenceElementAccess().getHasVersionParserRuleCall_63()); pushFollow(FollowSets000.FOLLOW_2); this_HasVersion_63=ruleHasVersion(); state._fsp--; current = this_HasVersion_63; afterParserOrEnumRuleCall(); } break; case 65 : // InternalSacmDsl.g:2058:5: this_HasMedia_64= ruleHasMedia { newCompositeNode(grammarAccess.getEvidenceElementAccess().getHasMediaParserRuleCall_64()); pushFollow(FollowSets000.FOLLOW_2); this_HasMedia_64=ruleHasMedia(); state._fsp--; current = this_HasMedia_64; afterParserOrEnumRuleCall(); } break; case 66 : // InternalSacmDsl.g:2068:5: this_Exhibit_Impl_65= ruleExhibit_Impl { newCompositeNode(grammarAccess.getEvidenceElementAccess().getExhibit_ImplParserRuleCall_65()); pushFollow(FollowSets000.FOLLOW_2); this_Exhibit_Impl_65=ruleExhibit_Impl(); state._fsp--; current = this_Exhibit_Impl_65; afterParserOrEnumRuleCall(); } break; case 67 : // InternalSacmDsl.g:2078:5: this_ExtendedEvidenceAttribute_66= ruleExtendedEvidenceAttribute { newCompositeNode(grammarAccess.getEvidenceElementAccess().getExtendedEvidenceAttributeParserRuleCall_66()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedEvidenceAttribute_66=ruleExtendedEvidenceAttribute(); state._fsp--; current = this_ExtendedEvidenceAttribute_66; afterParserOrEnumRuleCall(); } break; case 68 : // InternalSacmDsl.g:2088:5: this_ExtendedDocumentProperty_67= ruleExtendedDocumentProperty { newCompositeNode(grammarAccess.getEvidenceElementAccess().getExtendedDocumentPropertyParserRuleCall_67()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedDocumentProperty_67=ruleExtendedDocumentProperty(); state._fsp--; current = this_ExtendedDocumentProperty_67; afterParserOrEnumRuleCall(); } break; case 69 : // InternalSacmDsl.g:2098:5: this_Record_68= ruleRecord { newCompositeNode(grammarAccess.getEvidenceElementAccess().getRecordParserRuleCall_68()); pushFollow(FollowSets000.FOLLOW_2); this_Record_68=ruleRecord(); state._fsp--; current = this_Record_68; afterParserOrEnumRuleCall(); } break; case 70 : // InternalSacmDsl.g:2108:5: this_ObjectifiedAssertion_69= ruleObjectifiedAssertion { newCompositeNode(grammarAccess.getEvidenceElementAccess().getObjectifiedAssertionParserRuleCall_69()); pushFollow(FollowSets000.FOLLOW_2); this_ObjectifiedAssertion_69=ruleObjectifiedAssertion(); state._fsp--; current = this_ObjectifiedAssertion_69; afterParserOrEnumRuleCall(); } break; case 71 : // InternalSacmDsl.g:2118:5: this_IsModifiedBy_70= ruleIsModifiedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getIsModifiedByParserRuleCall_70()); pushFollow(FollowSets000.FOLLOW_2); this_IsModifiedBy_70=ruleIsModifiedBy(); state._fsp--; current = this_IsModifiedBy_70; afterParserOrEnumRuleCall(); } break; case 72 : // InternalSacmDsl.g:2128:5: this_PerformedBy_71= rulePerformedBy { newCompositeNode(grammarAccess.getEvidenceElementAccess().getPerformedByParserRuleCall_71()); pushFollow(FollowSets000.FOLLOW_2); this_PerformedBy_71=rulePerformedBy(); state._fsp--; current = this_PerformedBy_71; afterParserOrEnumRuleCall(); } break; case 73 : // InternalSacmDsl.g:2138:5: this_ContainerConsistency_72= ruleContainerConsistency { newCompositeNode(grammarAccess.getEvidenceElementAccess().getContainerConsistencyParserRuleCall_72()); pushFollow(FollowSets000.FOLLOW_2); this_ContainerConsistency_72=ruleContainerConsistency(); state._fsp--; current = this_ContainerConsistency_72; afterParserOrEnumRuleCall(); } break; case 74 : // InternalSacmDsl.g:2148:5: this_ContainerCompleteness_73= ruleContainerCompleteness { newCompositeNode(grammarAccess.getEvidenceElementAccess().getContainerCompletenessParserRuleCall_73()); pushFollow(FollowSets000.FOLLOW_2); this_ContainerCompleteness_73=ruleContainerCompleteness(); state._fsp--; current = this_ContainerCompleteness_73; afterParserOrEnumRuleCall(); } break; case 75 : // InternalSacmDsl.g:2158:5: this_CompliesTo_74= ruleCompliesTo { newCompositeNode(grammarAccess.getEvidenceElementAccess().getCompliesToParserRuleCall_74()); pushFollow(FollowSets000.FOLLOW_2); this_CompliesTo_74=ruleCompliesTo(); state._fsp--; current = this_CompliesTo_74; afterParserOrEnumRuleCall(); } break; case 76 : // InternalSacmDsl.g:2168:5: this_ExtendedProjectProperty_75= ruleExtendedProjectProperty { newCompositeNode(grammarAccess.getEvidenceElementAccess().getExtendedProjectPropertyParserRuleCall_75()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedProjectProperty_75=ruleExtendedProjectProperty(); state._fsp--; current = this_ExtendedProjectProperty_75; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceElement" // $ANTLR start "entryRuleEvidenceAttribute" // InternalSacmDsl.g:2192:1: entryRuleEvidenceAttribute returns [EObject current=null] : iv_ruleEvidenceAttribute= ruleEvidenceAttribute EOF ; public final EObject entryRuleEvidenceAttribute() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceAttribute = null; try { // InternalSacmDsl.g:2193:2: (iv_ruleEvidenceAttribute= ruleEvidenceAttribute EOF ) // InternalSacmDsl.g:2194:2: iv_ruleEvidenceAttribute= ruleEvidenceAttribute EOF { newCompositeNode(grammarAccess.getEvidenceAttributeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceAttribute=ruleEvidenceAttribute(); state._fsp--; current =iv_ruleEvidenceAttribute; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceAttribute" // $ANTLR start "ruleEvidenceAttribute" // InternalSacmDsl.g:2201:1: ruleEvidenceAttribute returns [EObject current=null] : (this_Confidence_0= ruleConfidence | this_Relevance_1= ruleRelevance | this_Significance_2= ruleSignificance | this_Accuracy_3= ruleAccuracy | this_Reporting_4= ruleReporting | this_Support_5= ruleSupport | this_Strength_6= ruleStrength | this_ExtendedEvidenceAttribute_7= ruleExtendedEvidenceAttribute ) ; public final EObject ruleEvidenceAttribute() throws RecognitionException { EObject current = null; EObject this_Confidence_0 = null; EObject this_Relevance_1 = null; EObject this_Significance_2 = null; EObject this_Accuracy_3 = null; EObject this_Reporting_4 = null; EObject this_Support_5 = null; EObject this_Strength_6 = null; EObject this_ExtendedEvidenceAttribute_7 = null; enterRule(); try { // InternalSacmDsl.g:2204:28: ( (this_Confidence_0= ruleConfidence | this_Relevance_1= ruleRelevance | this_Significance_2= ruleSignificance | this_Accuracy_3= ruleAccuracy | this_Reporting_4= ruleReporting | this_Support_5= ruleSupport | this_Strength_6= ruleStrength | this_ExtendedEvidenceAttribute_7= ruleExtendedEvidenceAttribute ) ) // InternalSacmDsl.g:2205:1: (this_Confidence_0= ruleConfidence | this_Relevance_1= ruleRelevance | this_Significance_2= ruleSignificance | this_Accuracy_3= ruleAccuracy | this_Reporting_4= ruleReporting | this_Support_5= ruleSupport | this_Strength_6= ruleStrength | this_ExtendedEvidenceAttribute_7= ruleExtendedEvidenceAttribute ) { // InternalSacmDsl.g:2205:1: (this_Confidence_0= ruleConfidence | this_Relevance_1= ruleRelevance | this_Significance_2= ruleSignificance | this_Accuracy_3= ruleAccuracy | this_Reporting_4= ruleReporting | this_Support_5= ruleSupport | this_Strength_6= ruleStrength | this_ExtendedEvidenceAttribute_7= ruleExtendedEvidenceAttribute ) int alt21=8; switch ( input.LA(1) ) { case 155: { alt21=1; } break; case 159: { alt21=2; } break; case 160: { alt21=3; } break; case 161: { alt21=4; } break; case 164: { alt21=5; } break; case 166: { alt21=6; } break; case 175: { alt21=7; } break; case 180: { alt21=8; } break; default: NoViableAltException nvae = new NoViableAltException("", 21, 0, input); throw nvae; } switch (alt21) { case 1 : // InternalSacmDsl.g:2206:5: this_Confidence_0= ruleConfidence { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getConfidenceParserRuleCall_0()); pushFollow(FollowSets000.FOLLOW_2); this_Confidence_0=ruleConfidence(); state._fsp--; current = this_Confidence_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalSacmDsl.g:2216:5: this_Relevance_1= ruleRelevance { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getRelevanceParserRuleCall_1()); pushFollow(FollowSets000.FOLLOW_2); this_Relevance_1=ruleRelevance(); state._fsp--; current = this_Relevance_1; afterParserOrEnumRuleCall(); } break; case 3 : // InternalSacmDsl.g:2226:5: this_Significance_2= ruleSignificance { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getSignificanceParserRuleCall_2()); pushFollow(FollowSets000.FOLLOW_2); this_Significance_2=ruleSignificance(); state._fsp--; current = this_Significance_2; afterParserOrEnumRuleCall(); } break; case 4 : // InternalSacmDsl.g:2236:5: this_Accuracy_3= ruleAccuracy { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getAccuracyParserRuleCall_3()); pushFollow(FollowSets000.FOLLOW_2); this_Accuracy_3=ruleAccuracy(); state._fsp--; current = this_Accuracy_3; afterParserOrEnumRuleCall(); } break; case 5 : // InternalSacmDsl.g:2246:5: this_Reporting_4= ruleReporting { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getReportingParserRuleCall_4()); pushFollow(FollowSets000.FOLLOW_2); this_Reporting_4=ruleReporting(); state._fsp--; current = this_Reporting_4; afterParserOrEnumRuleCall(); } break; case 6 : // InternalSacmDsl.g:2256:5: this_Support_5= ruleSupport { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getSupportParserRuleCall_5()); pushFollow(FollowSets000.FOLLOW_2); this_Support_5=ruleSupport(); state._fsp--; current = this_Support_5; afterParserOrEnumRuleCall(); } break; case 7 : // InternalSacmDsl.g:2266:5: this_Strength_6= ruleStrength { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getStrengthParserRuleCall_6()); pushFollow(FollowSets000.FOLLOW_2); this_Strength_6=ruleStrength(); state._fsp--; current = this_Strength_6; afterParserOrEnumRuleCall(); } break; case 8 : // InternalSacmDsl.g:2276:5: this_ExtendedEvidenceAttribute_7= ruleExtendedEvidenceAttribute { newCompositeNode(grammarAccess.getEvidenceAttributeAccess().getExtendedEvidenceAttributeParserRuleCall_7()); pushFollow(FollowSets000.FOLLOW_2); this_ExtendedEvidenceAttribute_7=ruleExtendedEvidenceAttribute(); state._fsp--; current = this_ExtendedEvidenceAttribute_7; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceAttribute" // $ANTLR start "entryRuleTaggedValue" // InternalSacmDsl.g:2298:1: entryRuleTaggedValue returns [EObject current=null] : iv_ruleTaggedValue= ruleTaggedValue EOF ; public final EObject entryRuleTaggedValue() throws RecognitionException { EObject current = null; EObject iv_ruleTaggedValue = null; try { // InternalSacmDsl.g:2299:2: (iv_ruleTaggedValue= ruleTaggedValue EOF ) // InternalSacmDsl.g:2300:2: iv_ruleTaggedValue= ruleTaggedValue EOF { newCompositeNode(grammarAccess.getTaggedValueRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleTaggedValue=ruleTaggedValue(); state._fsp--; current =iv_ruleTaggedValue; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTaggedValue" // $ANTLR start "ruleTaggedValue" // InternalSacmDsl.g:2307:1: ruleTaggedValue returns [EObject current=null] : (otherlv_0= 'TaggedValue' otherlv_1= '{' otherlv_2= 'key' ( (lv_key_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleString0 ) ) otherlv_6= '}' ) ; public final EObject ruleTaggedValue() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; AntlrDatatypeRuleToken lv_key_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; enterRule(); try { // InternalSacmDsl.g:2310:28: ( (otherlv_0= 'TaggedValue' otherlv_1= '{' otherlv_2= 'key' ( (lv_key_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleString0 ) ) otherlv_6= '}' ) ) // InternalSacmDsl.g:2311:1: (otherlv_0= 'TaggedValue' otherlv_1= '{' otherlv_2= 'key' ( (lv_key_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleString0 ) ) otherlv_6= '}' ) { // InternalSacmDsl.g:2311:1: (otherlv_0= 'TaggedValue' otherlv_1= '{' otherlv_2= 'key' ( (lv_key_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleString0 ) ) otherlv_6= '}' ) // InternalSacmDsl.g:2311:3: otherlv_0= 'TaggedValue' otherlv_1= '{' otherlv_2= 'key' ( (lv_key_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleString0 ) ) otherlv_6= '}' { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getTaggedValueAccess().getTaggedValueKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_18); newLeafNode(otherlv_1, grammarAccess.getTaggedValueAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getTaggedValueAccess().getKeyKeyword_2()); // InternalSacmDsl.g:2323:1: ( (lv_key_3_0= ruleString0 ) ) // InternalSacmDsl.g:2324:1: (lv_key_3_0= ruleString0 ) { // InternalSacmDsl.g:2324:1: (lv_key_3_0= ruleString0 ) // InternalSacmDsl.g:2325:3: lv_key_3_0= ruleString0 { newCompositeNode(grammarAccess.getTaggedValueAccess().getKeyString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_key_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getTaggedValueRule()); } set( current, "key", lv_key_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getTaggedValueAccess().getValueKeyword_4()); // InternalSacmDsl.g:2345:1: ( (lv_value_5_0= ruleString0 ) ) // InternalSacmDsl.g:2346:1: (lv_value_5_0= ruleString0 ) { // InternalSacmDsl.g:2346:1: (lv_value_5_0= ruleString0 ) // InternalSacmDsl.g:2347:3: lv_value_5_0= ruleString0 { newCompositeNode(grammarAccess.getTaggedValueAccess().getValueString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_17); lv_value_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getTaggedValueRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getTaggedValueAccess().getRightCurlyBracketKeyword_6()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTaggedValue" // $ANTLR start "entryRuleAnnotation" // InternalSacmDsl.g:2375:1: entryRuleAnnotation returns [EObject current=null] : iv_ruleAnnotation= ruleAnnotation EOF ; public final EObject entryRuleAnnotation() throws RecognitionException { EObject current = null; EObject iv_ruleAnnotation = null; try { // InternalSacmDsl.g:2376:2: (iv_ruleAnnotation= ruleAnnotation EOF ) // InternalSacmDsl.g:2377:2: iv_ruleAnnotation= ruleAnnotation EOF { newCompositeNode(grammarAccess.getAnnotationRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAnnotation=ruleAnnotation(); state._fsp--; current =iv_ruleAnnotation; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAnnotation" // $ANTLR start "ruleAnnotation" // InternalSacmDsl.g:2384:1: ruleAnnotation returns [EObject current=null] : (otherlv_0= 'Annotation' otherlv_1= '{' otherlv_2= 'content' ( (lv_content_3_0= ruleString0 ) ) otherlv_4= '}' ) ; public final EObject ruleAnnotation() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; AntlrDatatypeRuleToken lv_content_3_0 = null; enterRule(); try { // InternalSacmDsl.g:2387:28: ( (otherlv_0= 'Annotation' otherlv_1= '{' otherlv_2= 'content' ( (lv_content_3_0= ruleString0 ) ) otherlv_4= '}' ) ) // InternalSacmDsl.g:2388:1: (otherlv_0= 'Annotation' otherlv_1= '{' otherlv_2= 'content' ( (lv_content_3_0= ruleString0 ) ) otherlv_4= '}' ) { // InternalSacmDsl.g:2388:1: (otherlv_0= 'Annotation' otherlv_1= '{' otherlv_2= 'content' ( (lv_content_3_0= ruleString0 ) ) otherlv_4= '}' ) // InternalSacmDsl.g:2388:3: otherlv_0= 'Annotation' otherlv_1= '{' otherlv_2= 'content' ( (lv_content_3_0= ruleString0 ) ) otherlv_4= '}' { otherlv_0=(Token)match(input,25,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAnnotationAccess().getAnnotationKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_20); newLeafNode(otherlv_1, grammarAccess.getAnnotationAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAnnotationAccess().getContentKeyword_2()); // InternalSacmDsl.g:2400:1: ( (lv_content_3_0= ruleString0 ) ) // InternalSacmDsl.g:2401:1: (lv_content_3_0= ruleString0 ) { // InternalSacmDsl.g:2401:1: (lv_content_3_0= ruleString0 ) // InternalSacmDsl.g:2402:3: lv_content_3_0= ruleString0 { newCompositeNode(grammarAccess.getAnnotationAccess().getContentString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_17); lv_content_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAnnotationRule()); } set( current, "content", lv_content_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getAnnotationAccess().getRightCurlyBracketKeyword_4()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAnnotation" // $ANTLR start "entryRuleEString" // InternalSacmDsl.g:2430:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ; public final String entryRuleEString() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleEString = null; try { // InternalSacmDsl.g:2431:2: (iv_ruleEString= ruleEString EOF ) // InternalSacmDsl.g:2432:2: iv_ruleEString= ruleEString EOF { newCompositeNode(grammarAccess.getEStringRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEString=ruleEString(); state._fsp--; current =iv_ruleEString.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEString" // $ANTLR start "ruleEString" // InternalSacmDsl.g:2439:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_STRING_0=null; enterRule(); try { // InternalSacmDsl.g:2442:28: (this_STRING_0= RULE_STRING ) // InternalSacmDsl.g:2443:5: this_STRING_0= RULE_STRING { this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_2); current.merge(this_STRING_0); newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEString" // $ANTLR start "entryRuleString0" // InternalSacmDsl.g:2458:1: entryRuleString0 returns [String current=null] : iv_ruleString0= ruleString0 EOF ; public final String entryRuleString0() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleString0 = null; try { // InternalSacmDsl.g:2459:2: (iv_ruleString0= ruleString0 EOF ) // InternalSacmDsl.g:2460:2: iv_ruleString0= ruleString0 EOF { newCompositeNode(grammarAccess.getString0Rule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleString0=ruleString0(); state._fsp--; current =iv_ruleString0.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleString0" // $ANTLR start "ruleString0" // InternalSacmDsl.g:2467:1: ruleString0 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; public final AntlrDatatypeRuleToken ruleString0() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_STRING_0=null; enterRule(); try { // InternalSacmDsl.g:2470:28: (this_STRING_0= RULE_STRING ) // InternalSacmDsl.g:2471:5: this_STRING_0= RULE_STRING { this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_2); current.merge(this_STRING_0); newLeafNode(this_STRING_0, grammarAccess.getString0Access().getSTRINGTerminalRuleCall()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleString0" // $ANTLR start "entryRuleArgumentation0" // InternalSacmDsl.g:2486:1: entryRuleArgumentation0 returns [EObject current=null] : iv_ruleArgumentation0= ruleArgumentation0 EOF ; public final EObject entryRuleArgumentation0() throws RecognitionException { EObject current = null; EObject iv_ruleArgumentation0 = null; try { // InternalSacmDsl.g:2487:2: (iv_ruleArgumentation0= ruleArgumentation0 EOF ) // InternalSacmDsl.g:2488:2: iv_ruleArgumentation0= ruleArgumentation0 EOF { newCompositeNode(grammarAccess.getArgumentation0Rule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleArgumentation0=ruleArgumentation0(); state._fsp--; current =iv_ruleArgumentation0; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleArgumentation0" // $ANTLR start "ruleArgumentation0" // InternalSacmDsl.g:2495:1: ruleArgumentation0 returns [EObject current=null] : (otherlv_0= 'Argumentation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleArgumentation0() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_argumentation_22_0 = null; EObject lv_argumentation_24_0 = null; EObject lv_argumentElement_28_0 = null; EObject lv_argumentElement_30_0 = null; enterRule(); try { // InternalSacmDsl.g:2498:28: ( (otherlv_0= 'Argumentation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:2499:1: (otherlv_0= 'Argumentation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:2499:1: (otherlv_0= 'Argumentation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:2499:3: otherlv_0= 'Argumentation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getArgumentation0Access().getArgumentationKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getArgumentation0Access().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getArgumentation0Access().getIdKeyword_2()); // InternalSacmDsl.g:2511:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:2512:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:2512:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:2513:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentation0Access().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getArgumentation0Access().getDescriptionKeyword_4()); // InternalSacmDsl.g:2533:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:2534:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:2534:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:2535:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentation0Access().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getArgumentation0Access().getContentKeyword_6()); // InternalSacmDsl.g:2555:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:2556:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:2556:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:2557:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentation0Access().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_22); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2573:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==16) ) { alt23=1; } switch (alt23) { case 1 : // InternalSacmDsl.g:2573:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getArgumentation0Access().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getArgumentation0Access().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:2581:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:2582:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:2582:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:2583:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getArgumentation0Access().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2599:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop22: do { int alt22=2; int LA22_0 = input.LA(1); if ( (LA22_0==17) ) { alt22=1; } switch (alt22) { case 1 : // InternalSacmDsl.g:2599:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getArgumentation0Access().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:2603:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:2604:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:2604:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:2605:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getArgumentation0Access().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop22; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_23); newLeafNode(otherlv_13, grammarAccess.getArgumentation0Access().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:2625:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt25=2; int LA25_0 = input.LA(1); if ( (LA25_0==19) ) { alt25=1; } switch (alt25) { case 1 : // InternalSacmDsl.g:2625:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getArgumentation0Access().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getArgumentation0Access().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:2633:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:2634:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:2634:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:2635:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getArgumentation0Access().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2651:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop24: do { int alt24=2; int LA24_0 = input.LA(1); if ( (LA24_0==17) ) { alt24=1; } switch (alt24) { case 1 : // InternalSacmDsl.g:2651:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getArgumentation0Access().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:2655:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:2656:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:2656:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:2657:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getArgumentation0Access().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop24; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_24); newLeafNode(otherlv_19, grammarAccess.getArgumentation0Access().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:2677:3: (otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' )? int alt27=2; int LA27_0 = input.LA(1); if ( (LA27_0==29) ) { alt27=1; } switch (alt27) { case 1 : // InternalSacmDsl.g:2677:5: otherlv_20= 'argumentation' otherlv_21= '{' ( (lv_argumentation_22_0= ruleArgumentation0 ) ) (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,29,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getArgumentation0Access().getArgumentationKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_14); newLeafNode(otherlv_21, grammarAccess.getArgumentation0Access().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:2685:1: ( (lv_argumentation_22_0= ruleArgumentation0 ) ) // InternalSacmDsl.g:2686:1: (lv_argumentation_22_0= ruleArgumentation0 ) { // InternalSacmDsl.g:2686:1: (lv_argumentation_22_0= ruleArgumentation0 ) // InternalSacmDsl.g:2687:3: lv_argumentation_22_0= ruleArgumentation0 { newCompositeNode(grammarAccess.getArgumentation0Access().getArgumentationArgumentation0ParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argumentation_22_0=ruleArgumentation0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "argumentation", lv_argumentation_22_0, "net.certware.sacm.dsl.SacmDsl.Argumentation0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2703:2: (otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) )* loop26: do { int alt26=2; int LA26_0 = input.LA(1); if ( (LA26_0==17) ) { alt26=1; } switch (alt26) { case 1 : // InternalSacmDsl.g:2703:4: otherlv_23= ',' ( (lv_argumentation_24_0= ruleArgumentation0 ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_14); newLeafNode(otherlv_23, grammarAccess.getArgumentation0Access().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:2707:1: ( (lv_argumentation_24_0= ruleArgumentation0 ) ) // InternalSacmDsl.g:2708:1: (lv_argumentation_24_0= ruleArgumentation0 ) { // InternalSacmDsl.g:2708:1: (lv_argumentation_24_0= ruleArgumentation0 ) // InternalSacmDsl.g:2709:3: lv_argumentation_24_0= ruleArgumentation0 { newCompositeNode(grammarAccess.getArgumentation0Access().getArgumentationArgumentation0ParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argumentation_24_0=ruleArgumentation0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "argumentation", lv_argumentation_24_0, "net.certware.sacm.dsl.SacmDsl.Argumentation0"); afterParserOrEnumRuleCall(); } } } break; default : break loop26; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_25); newLeafNode(otherlv_25, grammarAccess.getArgumentation0Access().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:2729:3: (otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' )? int alt29=2; int LA29_0 = input.LA(1); if ( (LA29_0==30) ) { alt29=1; } switch (alt29) { case 1 : // InternalSacmDsl.g:2729:5: otherlv_26= 'argumentElement' otherlv_27= '{' ( (lv_argumentElement_28_0= ruleArgumentElement ) ) (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,30,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getArgumentation0Access().getArgumentElementKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_26); newLeafNode(otherlv_27, grammarAccess.getArgumentation0Access().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:2737:1: ( (lv_argumentElement_28_0= ruleArgumentElement ) ) // InternalSacmDsl.g:2738:1: (lv_argumentElement_28_0= ruleArgumentElement ) { // InternalSacmDsl.g:2738:1: (lv_argumentElement_28_0= ruleArgumentElement ) // InternalSacmDsl.g:2739:3: lv_argumentElement_28_0= ruleArgumentElement { newCompositeNode(grammarAccess.getArgumentation0Access().getArgumentElementArgumentElementParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argumentElement_28_0=ruleArgumentElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "argumentElement", lv_argumentElement_28_0, "net.certware.sacm.dsl.SacmDsl.ArgumentElement"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2755:2: (otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) )* loop28: do { int alt28=2; int LA28_0 = input.LA(1); if ( (LA28_0==17) ) { alt28=1; } switch (alt28) { case 1 : // InternalSacmDsl.g:2755:4: otherlv_29= ',' ( (lv_argumentElement_30_0= ruleArgumentElement ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_26); newLeafNode(otherlv_29, grammarAccess.getArgumentation0Access().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:2759:1: ( (lv_argumentElement_30_0= ruleArgumentElement ) ) // InternalSacmDsl.g:2760:1: (lv_argumentElement_30_0= ruleArgumentElement ) { // InternalSacmDsl.g:2760:1: (lv_argumentElement_30_0= ruleArgumentElement ) // InternalSacmDsl.g:2761:3: lv_argumentElement_30_0= ruleArgumentElement { newCompositeNode(grammarAccess.getArgumentation0Access().getArgumentElementArgumentElementParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_argumentElement_30_0=ruleArgumentElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentation0Rule()); } add( current, "argumentElement", lv_argumentElement_30_0, "net.certware.sacm.dsl.SacmDsl.ArgumentElement"); afterParserOrEnumRuleCall(); } } } break; default : break loop28; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getArgumentation0Access().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getArgumentation0Access().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleArgumentation0" // $ANTLR start "entryRuleEvidenceContainer" // InternalSacmDsl.g:2793:1: entryRuleEvidenceContainer returns [EObject current=null] : iv_ruleEvidenceContainer= ruleEvidenceContainer EOF ; public final EObject entryRuleEvidenceContainer() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceContainer = null; try { // InternalSacmDsl.g:2794:2: (iv_ruleEvidenceContainer= ruleEvidenceContainer EOF ) // InternalSacmDsl.g:2795:2: iv_ruleEvidenceContainer= ruleEvidenceContainer EOF { newCompositeNode(grammarAccess.getEvidenceContainerRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceContainer=ruleEvidenceContainer(); state._fsp--; current =iv_ruleEvidenceContainer; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceContainer" // $ANTLR start "ruleEvidenceContainer" // InternalSacmDsl.g:2802:1: ruleEvidenceContainer returns [EObject current=null] : (otherlv_0= 'EvidenceContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ; public final EObject ruleEvidenceContainer() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_gid_7_0 = null; AntlrDatatypeRuleToken lv_version_9_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_evaluation_24_0 = null; EObject lv_evaluation_26_0 = null; EObject lv_item_30_0 = null; EObject lv_item_32_0 = null; EObject lv_property_36_0 = null; EObject lv_property_38_0 = null; EObject lv_element_42_0 = null; EObject lv_element_44_0 = null; enterRule(); try { // InternalSacmDsl.g:2805:28: ( (otherlv_0= 'EvidenceContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ) // InternalSacmDsl.g:2806:1: (otherlv_0= 'EvidenceContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) { // InternalSacmDsl.g:2806:1: (otherlv_0= 'EvidenceContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) // InternalSacmDsl.g:2806:3: otherlv_0= 'EvidenceContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'gid' ( (lv_gid_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? otherlv_46= '}' { otherlv_0=(Token)match(input,31,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getEvidenceContainerAccess().getEvidenceContainerKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getEvidenceContainerAccess().getIdKeyword_2()); // InternalSacmDsl.g:2818:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:2819:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:2819:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:2820:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getEvidenceContainerAccess().getNameKeyword_4()); // InternalSacmDsl.g:2840:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:2841:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:2841:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:2842:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_7); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,15,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getEvidenceContainerAccess().getGidKeyword_6()); // InternalSacmDsl.g:2862:1: ( (lv_gid_7_0= ruleString0 ) ) // InternalSacmDsl.g:2863:1: (lv_gid_7_0= ruleString0 ) { // InternalSacmDsl.g:2863:1: (lv_gid_7_0= ruleString0 ) // InternalSacmDsl.g:2864:3: lv_gid_7_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getGidString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_27); lv_gid_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } set( current, "gid", lv_gid_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,32,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getEvidenceContainerAccess().getVersionKeyword_8()); // InternalSacmDsl.g:2884:1: ( (lv_version_9_0= ruleString0 ) ) // InternalSacmDsl.g:2885:1: (lv_version_9_0= ruleString0 ) { // InternalSacmDsl.g:2885:1: (lv_version_9_0= ruleString0 ) // InternalSacmDsl.g:2886:3: lv_version_9_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getVersionString0ParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_28); lv_version_9_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } set( current, "version", lv_version_9_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2902:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt31=2; int LA31_0 = input.LA(1); if ( (LA31_0==16) ) { alt31=1; } switch (alt31) { case 1 : // InternalSacmDsl.g:2902:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getEvidenceContainerAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:2910:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:2911:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:2911:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:2912:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2928:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop30: do { int alt30=2; int LA30_0 = input.LA(1); if ( (LA30_0==17) ) { alt30=1; } switch (alt30) { case 1 : // InternalSacmDsl.g:2928:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:2932:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:2933:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:2933:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:2934:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop30; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_29); newLeafNode(otherlv_15, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:2954:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt33=2; int LA33_0 = input.LA(1); if ( (LA33_0==19) ) { alt33=1; } switch (alt33) { case 1 : // InternalSacmDsl.g:2954:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getEvidenceContainerAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:2962:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:2963:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:2963:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:2964:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:2980:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop32: do { int alt32=2; int LA32_0 = input.LA(1); if ( (LA32_0==17) ) { alt32=1; } switch (alt32) { case 1 : // InternalSacmDsl.g:2980:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:2984:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:2985:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:2985:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:2986:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop32; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_30); newLeafNode(otherlv_21, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:3006:3: (otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' )? int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==33) ) { alt35=1; } switch (alt35) { case 1 : // InternalSacmDsl.g:3006:5: otherlv_22= 'evaluation' otherlv_23= '{' ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,33,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getEvidenceContainerAccess().getEvaluationKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_31); newLeafNode(otherlv_23, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:3014:1: ( (lv_evaluation_24_0= ruleEvidenceEvaluation ) ) // InternalSacmDsl.g:3015:1: (lv_evaluation_24_0= ruleEvidenceEvaluation ) { // InternalSacmDsl.g:3015:1: (lv_evaluation_24_0= ruleEvidenceEvaluation ) // InternalSacmDsl.g:3016:3: lv_evaluation_24_0= ruleEvidenceEvaluation { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getEvaluationEvidenceEvaluationParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_evaluation_24_0=ruleEvidenceEvaluation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "evaluation", lv_evaluation_24_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvaluation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3032:2: (otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) )* loop34: do { int alt34=2; int LA34_0 = input.LA(1); if ( (LA34_0==17) ) { alt34=1; } switch (alt34) { case 1 : // InternalSacmDsl.g:3032:4: otherlv_25= ',' ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_31); newLeafNode(otherlv_25, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:3036:1: ( (lv_evaluation_26_0= ruleEvidenceEvaluation ) ) // InternalSacmDsl.g:3037:1: (lv_evaluation_26_0= ruleEvidenceEvaluation ) { // InternalSacmDsl.g:3037:1: (lv_evaluation_26_0= ruleEvidenceEvaluation ) // InternalSacmDsl.g:3038:3: lv_evaluation_26_0= ruleEvidenceEvaluation { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getEvaluationEvidenceEvaluationParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_evaluation_26_0=ruleEvidenceEvaluation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "evaluation", lv_evaluation_26_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvaluation"); afterParserOrEnumRuleCall(); } } } break; default : break loop34; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_32); newLeafNode(otherlv_27, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:3058:3: (otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' )? int alt37=2; int LA37_0 = input.LA(1); if ( (LA37_0==34) ) { alt37=1; } switch (alt37) { case 1 : // InternalSacmDsl.g:3058:5: otherlv_28= 'item' otherlv_29= '{' ( (lv_item_30_0= ruleEvidenceItem ) ) (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,34,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getEvidenceContainerAccess().getItemKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_33); newLeafNode(otherlv_29, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:3066:1: ( (lv_item_30_0= ruleEvidenceItem ) ) // InternalSacmDsl.g:3067:1: (lv_item_30_0= ruleEvidenceItem ) { // InternalSacmDsl.g:3067:1: (lv_item_30_0= ruleEvidenceItem ) // InternalSacmDsl.g:3068:3: lv_item_30_0= ruleEvidenceItem { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getItemEvidenceItemParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_item_30_0=ruleEvidenceItem(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "item", lv_item_30_0, "net.certware.sacm.dsl.SacmDsl.EvidenceItem"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3084:2: (otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) )* loop36: do { int alt36=2; int LA36_0 = input.LA(1); if ( (LA36_0==17) ) { alt36=1; } switch (alt36) { case 1 : // InternalSacmDsl.g:3084:4: otherlv_31= ',' ( (lv_item_32_0= ruleEvidenceItem ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_33); newLeafNode(otherlv_31, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:3088:1: ( (lv_item_32_0= ruleEvidenceItem ) ) // InternalSacmDsl.g:3089:1: (lv_item_32_0= ruleEvidenceItem ) { // InternalSacmDsl.g:3089:1: (lv_item_32_0= ruleEvidenceItem ) // InternalSacmDsl.g:3090:3: lv_item_32_0= ruleEvidenceItem { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getItemEvidenceItemParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_item_32_0=ruleEvidenceItem(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "item", lv_item_32_0, "net.certware.sacm.dsl.SacmDsl.EvidenceItem"); afterParserOrEnumRuleCall(); } } } break; default : break loop36; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_34); newLeafNode(otherlv_33, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:3110:3: (otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' )? int alt39=2; int LA39_0 = input.LA(1); if ( (LA39_0==35) ) { alt39=1; } switch (alt39) { case 1 : // InternalSacmDsl.g:3110:5: otherlv_34= 'property' otherlv_35= '{' ( (lv_property_36_0= ruleProjectProperty ) ) (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getEvidenceContainerAccess().getPropertyKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_35, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:3118:1: ( (lv_property_36_0= ruleProjectProperty ) ) // InternalSacmDsl.g:3119:1: (lv_property_36_0= ruleProjectProperty ) { // InternalSacmDsl.g:3119:1: (lv_property_36_0= ruleProjectProperty ) // InternalSacmDsl.g:3120:3: lv_property_36_0= ruleProjectProperty { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_36_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "property", lv_property_36_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3136:2: (otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) )* loop38: do { int alt38=2; int LA38_0 = input.LA(1); if ( (LA38_0==17) ) { alt38=1; } switch (alt38) { case 1 : // InternalSacmDsl.g:3136:4: otherlv_37= ',' ( (lv_property_38_0= ruleProjectProperty ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_37, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:3140:1: ( (lv_property_38_0= ruleProjectProperty ) ) // InternalSacmDsl.g:3141:1: (lv_property_38_0= ruleProjectProperty ) { // InternalSacmDsl.g:3141:1: (lv_property_38_0= ruleProjectProperty ) // InternalSacmDsl.g:3142:3: lv_property_38_0= ruleProjectProperty { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_38_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "property", lv_property_38_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop38; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_36); newLeafNode(otherlv_39, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:3162:3: (otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' )? int alt41=2; int LA41_0 = input.LA(1); if ( (LA41_0==36) ) { alt41=1; } switch (alt41) { case 1 : // InternalSacmDsl.g:3162:5: otherlv_40= 'element' otherlv_41= '{' ( (lv_element_42_0= ruleProjectElement ) ) (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,36,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getEvidenceContainerAccess().getElementKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_37); newLeafNode(otherlv_41, grammarAccess.getEvidenceContainerAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:3170:1: ( (lv_element_42_0= ruleProjectElement ) ) // InternalSacmDsl.g:3171:1: (lv_element_42_0= ruleProjectElement ) { // InternalSacmDsl.g:3171:1: (lv_element_42_0= ruleProjectElement ) // InternalSacmDsl.g:3172:3: lv_element_42_0= ruleProjectElement { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getElementProjectElementParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_element_42_0=ruleProjectElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "element", lv_element_42_0, "net.certware.sacm.dsl.SacmDsl.ProjectElement"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3188:2: (otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0==17) ) { alt40=1; } switch (alt40) { case 1 : // InternalSacmDsl.g:3188:4: otherlv_43= ',' ( (lv_element_44_0= ruleProjectElement ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_37); newLeafNode(otherlv_43, grammarAccess.getEvidenceContainerAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:3192:1: ( (lv_element_44_0= ruleProjectElement ) ) // InternalSacmDsl.g:3193:1: (lv_element_44_0= ruleProjectElement ) { // InternalSacmDsl.g:3193:1: (lv_element_44_0= ruleProjectElement ) // InternalSacmDsl.g:3194:3: lv_element_44_0= ruleProjectElement { newCompositeNode(grammarAccess.getEvidenceContainerAccess().getElementProjectElementParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_element_44_0=ruleProjectElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceContainerRule()); } add( current, "element", lv_element_44_0, "net.certware.sacm.dsl.SacmDsl.ProjectElement"); afterParserOrEnumRuleCall(); } } } break; default : break loop40; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_45, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_15_4()); } break; } otherlv_46=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_46, grammarAccess.getEvidenceContainerAccess().getRightCurlyBracketKeyword_16()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceContainer" // $ANTLR start "entryRuleCitationElement" // InternalSacmDsl.g:3226:1: entryRuleCitationElement returns [EObject current=null] : iv_ruleCitationElement= ruleCitationElement EOF ; public final EObject entryRuleCitationElement() throws RecognitionException { EObject current = null; EObject iv_ruleCitationElement = null; try { // InternalSacmDsl.g:3227:2: (iv_ruleCitationElement= ruleCitationElement EOF ) // InternalSacmDsl.g:3228:2: iv_ruleCitationElement= ruleCitationElement EOF { newCompositeNode(grammarAccess.getCitationElementRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCitationElement=ruleCitationElement(); state._fsp--; current =iv_ruleCitationElement; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCitationElement" // $ANTLR start "ruleCitationElement" // InternalSacmDsl.g:3235:1: ruleCitationElement returns [EObject current=null] : (otherlv_0= 'CitationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleCitationElement() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:3238:28: ( (otherlv_0= 'CitationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:3239:1: (otherlv_0= 'CitationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:3239:1: (otherlv_0= 'CitationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:3239:3: otherlv_0= 'CitationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,37,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCitationElementAccess().getCitationElementKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCitationElementAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCitationElementAccess().getIdKeyword_2()); // InternalSacmDsl.g:3251:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:3252:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:3252:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:3253:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCitationElementAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getCitationElementAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:3273:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:3274:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:3274:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:3275:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getCitationElementAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getCitationElementAccess().getContentKeyword_6()); // InternalSacmDsl.g:3295:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:3296:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:3296:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:3297:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getCitationElementAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_38); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3313:2: (otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt43=2; int LA43_0 = input.LA(1); if ( (LA43_0==38) ) { alt43=1; } switch (alt43) { case 1 : // InternalSacmDsl.g:3313:4: otherlv_8= 'argumentElementReference' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,38,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getCitationElementAccess().getArgumentElementReferenceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getCitationElementAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:3321:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3322:1: ( ruleEString ) { // InternalSacmDsl.g:3322:1: ( ruleEString ) // InternalSacmDsl.g:3323:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCitationElementRule()); } newCompositeNode(grammarAccess.getCitationElementAccess().getArgumentElementReferenceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3336:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop42: do { int alt42=2; int LA42_0 = input.LA(1); if ( (LA42_0==17) ) { alt42=1; } switch (alt42) { case 1 : // InternalSacmDsl.g:3336:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getCitationElementAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:3340:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3341:1: ( ruleEString ) { // InternalSacmDsl.g:3341:1: ( ruleEString ) // InternalSacmDsl.g:3342:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCitationElementRule()); } newCompositeNode(grammarAccess.getCitationElementAccess().getArgumentElementReferenceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop42; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_41); newLeafNode(otherlv_13, grammarAccess.getCitationElementAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:3359:3: (otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt45=2; int LA45_0 = input.LA(1); if ( (LA45_0==41) ) { alt45=1; } switch (alt45) { case 1 : // InternalSacmDsl.g:3359:5: otherlv_14= 'argumentationReference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,41,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getCitationElementAccess().getArgumentationReferenceKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getCitationElementAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:3367:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3368:1: ( ruleEString ) { // InternalSacmDsl.g:3368:1: ( ruleEString ) // InternalSacmDsl.g:3369:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCitationElementRule()); } newCompositeNode(grammarAccess.getCitationElementAccess().getArgumentationReferenceArgumentationCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3382:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop44: do { int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==17) ) { alt44=1; } switch (alt44) { case 1 : // InternalSacmDsl.g:3382:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getCitationElementAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:3386:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3387:1: ( ruleEString ) { // InternalSacmDsl.g:3387:1: ( ruleEString ) // InternalSacmDsl.g:3388:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCitationElementRule()); } newCompositeNode(grammarAccess.getCitationElementAccess().getArgumentationReferenceArgumentationCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop44; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getCitationElementAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:3405:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==16) ) { alt47=1; } switch (alt47) { case 1 : // InternalSacmDsl.g:3405:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getCitationElementAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getCitationElementAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:3413:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:3414:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:3414:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:3415:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCitationElementAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3431:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop46: do { int alt46=2; int LA46_0 = input.LA(1); if ( (LA46_0==17) ) { alt46=1; } switch (alt46) { case 1 : // InternalSacmDsl.g:3431:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getCitationElementAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:3435:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:3436:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:3436:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:3437:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCitationElementAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop46; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getCitationElementAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:3457:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt49=2; int LA49_0 = input.LA(1); if ( (LA49_0==19) ) { alt49=1; } switch (alt49) { case 1 : // InternalSacmDsl.g:3457:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getCitationElementAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getCitationElementAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:3465:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:3466:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:3466:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:3467:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getCitationElementAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3483:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop48: do { int alt48=2; int LA48_0 = input.LA(1); if ( (LA48_0==17) ) { alt48=1; } switch (alt48) { case 1 : // InternalSacmDsl.g:3483:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getCitationElementAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:3487:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:3488:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:3488:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:3489:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getCitationElementAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCitationElementRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop48; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getCitationElementAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getCitationElementAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCitationElement" // $ANTLR start "entryRuleInformationElement" // InternalSacmDsl.g:3521:1: entryRuleInformationElement returns [EObject current=null] : iv_ruleInformationElement= ruleInformationElement EOF ; public final EObject entryRuleInformationElement() throws RecognitionException { EObject current = null; EObject iv_ruleInformationElement = null; try { // InternalSacmDsl.g:3522:2: (iv_ruleInformationElement= ruleInformationElement EOF ) // InternalSacmDsl.g:3523:2: iv_ruleInformationElement= ruleInformationElement EOF { newCompositeNode(grammarAccess.getInformationElementRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleInformationElement=ruleInformationElement(); state._fsp--; current =iv_ruleInformationElement; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleInformationElement" // $ANTLR start "ruleInformationElement" // InternalSacmDsl.g:3530:1: ruleInformationElement returns [EObject current=null] : (otherlv_0= 'InformationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'url' ( (lv_url_9_0= ruleString0 ) ) (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) ; public final EObject ruleInformationElement() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; AntlrDatatypeRuleToken lv_url_9_0 = null; EObject lv_taggedValue_18_0 = null; EObject lv_taggedValue_20_0 = null; EObject lv_annotation_24_0 = null; EObject lv_annotation_26_0 = null; enterRule(); try { // InternalSacmDsl.g:3533:28: ( (otherlv_0= 'InformationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'url' ( (lv_url_9_0= ruleString0 ) ) (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) ) // InternalSacmDsl.g:3534:1: (otherlv_0= 'InformationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'url' ( (lv_url_9_0= ruleString0 ) ) (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) { // InternalSacmDsl.g:3534:1: (otherlv_0= 'InformationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'url' ( (lv_url_9_0= ruleString0 ) ) (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? otherlv_28= '}' ) // InternalSacmDsl.g:3534:3: otherlv_0= 'InformationElement' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'url' ( (lv_url_9_0= ruleString0 ) ) (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? otherlv_28= '}' { otherlv_0=(Token)match(input,42,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getInformationElementAccess().getInformationElementKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getInformationElementAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getInformationElementAccess().getIdKeyword_2()); // InternalSacmDsl.g:3546:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:3547:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:3547:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:3548:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getInformationElementAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getInformationElementAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:3568:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:3569:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:3569:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:3570:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getInformationElementAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getInformationElementAccess().getContentKeyword_6()); // InternalSacmDsl.g:3590:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:3591:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:3591:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:3592:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getInformationElementAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_44); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,43,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getInformationElementAccess().getUrlKeyword_8()); // InternalSacmDsl.g:3612:1: ( (lv_url_9_0= ruleString0 ) ) // InternalSacmDsl.g:3613:1: (lv_url_9_0= ruleString0 ) { // InternalSacmDsl.g:3613:1: (lv_url_9_0= ruleString0 ) // InternalSacmDsl.g:3614:3: lv_url_9_0= ruleString0 { newCompositeNode(grammarAccess.getInformationElementAccess().getUrlString0ParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_45); lv_url_9_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } set( current, "url", lv_url_9_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3630:2: (otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' )? int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0==21) ) { alt51=1; } switch (alt51) { case 1 : // InternalSacmDsl.g:3630:4: otherlv_10= 'evidence' otherlv_11= '(' ( ( ruleEString ) ) (otherlv_13= ',' ( ( ruleEString ) ) )* otherlv_15= ')' { otherlv_10=(Token)match(input,21,FollowSets000.FOLLOW_39); newLeafNode(otherlv_10, grammarAccess.getInformationElementAccess().getEvidenceKeyword_10_0()); otherlv_11=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getInformationElementAccess().getLeftParenthesisKeyword_10_1()); // InternalSacmDsl.g:3638:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3639:1: ( ruleEString ) { // InternalSacmDsl.g:3639:1: ( ruleEString ) // InternalSacmDsl.g:3640:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getInformationElementRule()); } newCompositeNode(grammarAccess.getInformationElementAccess().getEvidenceEvidenceItemCrossReference_10_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3653:2: (otherlv_13= ',' ( ( ruleEString ) ) )* loop50: do { int alt50=2; int LA50_0 = input.LA(1); if ( (LA50_0==17) ) { alt50=1; } switch (alt50) { case 1 : // InternalSacmDsl.g:3653:4: otherlv_13= ',' ( ( ruleEString ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_13, grammarAccess.getInformationElementAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:3657:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3658:1: ( ruleEString ) { // InternalSacmDsl.g:3658:1: ( ruleEString ) // InternalSacmDsl.g:3659:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getInformationElementRule()); } newCompositeNode(grammarAccess.getInformationElementAccess().getEvidenceEvidenceItemCrossReference_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop50; } } while (true); otherlv_15=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_15, grammarAccess.getInformationElementAccess().getRightParenthesisKeyword_10_4()); } break; } // InternalSacmDsl.g:3676:3: (otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' )? int alt53=2; int LA53_0 = input.LA(1); if ( (LA53_0==16) ) { alt53=1; } switch (alt53) { case 1 : // InternalSacmDsl.g:3676:5: otherlv_16= 'taggedValue' otherlv_17= '{' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getInformationElementAccess().getTaggedValueKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_17, grammarAccess.getInformationElementAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:3684:1: ( (lv_taggedValue_18_0= ruleTaggedValue ) ) // InternalSacmDsl.g:3685:1: (lv_taggedValue_18_0= ruleTaggedValue ) { // InternalSacmDsl.g:3685:1: (lv_taggedValue_18_0= ruleTaggedValue ) // InternalSacmDsl.g:3686:3: lv_taggedValue_18_0= ruleTaggedValue { newCompositeNode(grammarAccess.getInformationElementAccess().getTaggedValueTaggedValueParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_18_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } add( current, "taggedValue", lv_taggedValue_18_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3702:2: (otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) )* loop52: do { int alt52=2; int LA52_0 = input.LA(1); if ( (LA52_0==17) ) { alt52=1; } switch (alt52) { case 1 : // InternalSacmDsl.g:3702:4: otherlv_19= ',' ( (lv_taggedValue_20_0= ruleTaggedValue ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_19, grammarAccess.getInformationElementAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:3706:1: ( (lv_taggedValue_20_0= ruleTaggedValue ) ) // InternalSacmDsl.g:3707:1: (lv_taggedValue_20_0= ruleTaggedValue ) { // InternalSacmDsl.g:3707:1: (lv_taggedValue_20_0= ruleTaggedValue ) // InternalSacmDsl.g:3708:3: lv_taggedValue_20_0= ruleTaggedValue { newCompositeNode(grammarAccess.getInformationElementAccess().getTaggedValueTaggedValueParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_20_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } add( current, "taggedValue", lv_taggedValue_20_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop52; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_21, grammarAccess.getInformationElementAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:3728:3: (otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' )? int alt55=2; int LA55_0 = input.LA(1); if ( (LA55_0==19) ) { alt55=1; } switch (alt55) { case 1 : // InternalSacmDsl.g:3728:5: otherlv_22= 'annotation' otherlv_23= '{' ( (lv_annotation_24_0= ruleAnnotation ) ) (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getInformationElementAccess().getAnnotationKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_23, grammarAccess.getInformationElementAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:3736:1: ( (lv_annotation_24_0= ruleAnnotation ) ) // InternalSacmDsl.g:3737:1: (lv_annotation_24_0= ruleAnnotation ) { // InternalSacmDsl.g:3737:1: (lv_annotation_24_0= ruleAnnotation ) // InternalSacmDsl.g:3738:3: lv_annotation_24_0= ruleAnnotation { newCompositeNode(grammarAccess.getInformationElementAccess().getAnnotationAnnotationParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_24_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } add( current, "annotation", lv_annotation_24_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3754:2: (otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) )* loop54: do { int alt54=2; int LA54_0 = input.LA(1); if ( (LA54_0==17) ) { alt54=1; } switch (alt54) { case 1 : // InternalSacmDsl.g:3754:4: otherlv_25= ',' ( (lv_annotation_26_0= ruleAnnotation ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_25, grammarAccess.getInformationElementAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:3758:1: ( (lv_annotation_26_0= ruleAnnotation ) ) // InternalSacmDsl.g:3759:1: (lv_annotation_26_0= ruleAnnotation ) { // InternalSacmDsl.g:3759:1: (lv_annotation_26_0= ruleAnnotation ) // InternalSacmDsl.g:3760:3: lv_annotation_26_0= ruleAnnotation { newCompositeNode(grammarAccess.getInformationElementAccess().getAnnotationAnnotationParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_26_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getInformationElementRule()); } add( current, "annotation", lv_annotation_26_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop54; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_27, grammarAccess.getInformationElementAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_28=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_28, grammarAccess.getInformationElementAccess().getRightCurlyBracketKeyword_13()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleInformationElement" // $ANTLR start "entryRuleArgumentReasoning" // InternalSacmDsl.g:3792:1: entryRuleArgumentReasoning returns [EObject current=null] : iv_ruleArgumentReasoning= ruleArgumentReasoning EOF ; public final EObject entryRuleArgumentReasoning() throws RecognitionException { EObject current = null; EObject iv_ruleArgumentReasoning = null; try { // InternalSacmDsl.g:3793:2: (iv_ruleArgumentReasoning= ruleArgumentReasoning EOF ) // InternalSacmDsl.g:3794:2: iv_ruleArgumentReasoning= ruleArgumentReasoning EOF { newCompositeNode(grammarAccess.getArgumentReasoningRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleArgumentReasoning=ruleArgumentReasoning(); state._fsp--; current =iv_ruleArgumentReasoning; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleArgumentReasoning" // $ANTLR start "ruleArgumentReasoning" // InternalSacmDsl.g:3801:1: ruleArgumentReasoning returns [EObject current=null] : (otherlv_0= 'ArgumentReasoning' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? otherlv_38= '}' ) ; public final EObject ruleArgumentReasoning() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_28_0 = null; EObject lv_taggedValue_30_0 = null; EObject lv_annotation_34_0 = null; EObject lv_annotation_36_0 = null; enterRule(); try { // InternalSacmDsl.g:3804:28: ( (otherlv_0= 'ArgumentReasoning' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? otherlv_38= '}' ) ) // InternalSacmDsl.g:3805:1: (otherlv_0= 'ArgumentReasoning' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? otherlv_38= '}' ) { // InternalSacmDsl.g:3805:1: (otherlv_0= 'ArgumentReasoning' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? otherlv_38= '}' ) // InternalSacmDsl.g:3805:3: otherlv_0= 'ArgumentReasoning' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? otherlv_38= '}' { otherlv_0=(Token)match(input,44,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getArgumentReasoningAccess().getArgumentReasoningKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getArgumentReasoningAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getArgumentReasoningAccess().getIdKeyword_2()); // InternalSacmDsl.g:3817:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:3818:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:3818:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:3819:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getArgumentReasoningAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:3839:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:3840:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:3840:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:3841:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getArgumentReasoningAccess().getContentKeyword_6()); // InternalSacmDsl.g:3861:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:3862:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:3862:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:3863:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_46); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3879:2: (otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt57=2; int LA57_0 = input.LA(1); if ( (LA57_0==45) ) { alt57=1; } switch (alt57) { case 1 : // InternalSacmDsl.g:3879:4: otherlv_8= 'structure' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,45,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getArgumentReasoningAccess().getStructureKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getArgumentReasoningAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:3887:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3888:1: ( ruleEString ) { // InternalSacmDsl.g:3888:1: ( ruleEString ) // InternalSacmDsl.g:3889:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getStructureArgumentationCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3902:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop56: do { int alt56=2; int LA56_0 = input.LA(1); if ( (LA56_0==17) ) { alt56=1; } switch (alt56) { case 1 : // InternalSacmDsl.g:3902:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getArgumentReasoningAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:3906:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3907:1: ( ruleEString ) { // InternalSacmDsl.g:3907:1: ( ruleEString ) // InternalSacmDsl.g:3908:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getStructureArgumentationCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop56; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_47); newLeafNode(otherlv_13, grammarAccess.getArgumentReasoningAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:3925:3: (otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0==46) ) { alt59=1; } switch (alt59) { case 1 : // InternalSacmDsl.g:3925:5: otherlv_14= 'describedInference' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,46,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getArgumentReasoningAccess().getDescribedInferenceKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getArgumentReasoningAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:3933:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3934:1: ( ruleEString ) { // InternalSacmDsl.g:3934:1: ( ruleEString ) // InternalSacmDsl.g:3935:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getDescribedInferenceAssertedInferenceCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3948:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop58: do { int alt58=2; int LA58_0 = input.LA(1); if ( (LA58_0==17) ) { alt58=1; } switch (alt58) { case 1 : // InternalSacmDsl.g:3948:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getArgumentReasoningAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:3952:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3953:1: ( ruleEString ) { // InternalSacmDsl.g:3953:1: ( ruleEString ) // InternalSacmDsl.g:3954:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getDescribedInferenceAssertedInferenceCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop58; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_48); newLeafNode(otherlv_19, grammarAccess.getArgumentReasoningAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:3971:3: (otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' )? int alt61=2; int LA61_0 = input.LA(1); if ( (LA61_0==47) ) { alt61=1; } switch (alt61) { case 1 : // InternalSacmDsl.g:3971:5: otherlv_20= 'describedChallenge' otherlv_21= '(' ( ( ruleEString ) ) (otherlv_23= ',' ( ( ruleEString ) ) )* otherlv_25= ')' { otherlv_20=(Token)match(input,47,FollowSets000.FOLLOW_39); newLeafNode(otherlv_20, grammarAccess.getArgumentReasoningAccess().getDescribedChallengeKeyword_10_0()); otherlv_21=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_21, grammarAccess.getArgumentReasoningAccess().getLeftParenthesisKeyword_10_1()); // InternalSacmDsl.g:3979:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3980:1: ( ruleEString ) { // InternalSacmDsl.g:3980:1: ( ruleEString ) // InternalSacmDsl.g:3981:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getDescribedChallengeAssertedChallengeCrossReference_10_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:3994:2: (otherlv_23= ',' ( ( ruleEString ) ) )* loop60: do { int alt60=2; int LA60_0 = input.LA(1); if ( (LA60_0==17) ) { alt60=1; } switch (alt60) { case 1 : // InternalSacmDsl.g:3994:4: otherlv_23= ',' ( ( ruleEString ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_23, grammarAccess.getArgumentReasoningAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:3998:1: ( ( ruleEString ) ) // InternalSacmDsl.g:3999:1: ( ruleEString ) { // InternalSacmDsl.g:3999:1: ( ruleEString ) // InternalSacmDsl.g:4000:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getArgumentReasoningRule()); } newCompositeNode(grammarAccess.getArgumentReasoningAccess().getDescribedChallengeAssertedChallengeCrossReference_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop60; } } while (true); otherlv_25=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_25, grammarAccess.getArgumentReasoningAccess().getRightParenthesisKeyword_10_4()); } break; } // InternalSacmDsl.g:4017:3: (otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' )? int alt63=2; int LA63_0 = input.LA(1); if ( (LA63_0==16) ) { alt63=1; } switch (alt63) { case 1 : // InternalSacmDsl.g:4017:5: otherlv_26= 'taggedValue' otherlv_27= '{' ( (lv_taggedValue_28_0= ruleTaggedValue ) ) (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getArgumentReasoningAccess().getTaggedValueKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_27, grammarAccess.getArgumentReasoningAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:4025:1: ( (lv_taggedValue_28_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4026:1: (lv_taggedValue_28_0= ruleTaggedValue ) { // InternalSacmDsl.g:4026:1: (lv_taggedValue_28_0= ruleTaggedValue ) // InternalSacmDsl.g:4027:3: lv_taggedValue_28_0= ruleTaggedValue { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getTaggedValueTaggedValueParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_28_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } add( current, "taggedValue", lv_taggedValue_28_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4043:2: (otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) )* loop62: do { int alt62=2; int LA62_0 = input.LA(1); if ( (LA62_0==17) ) { alt62=1; } switch (alt62) { case 1 : // InternalSacmDsl.g:4043:4: otherlv_29= ',' ( (lv_taggedValue_30_0= ruleTaggedValue ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_29, grammarAccess.getArgumentReasoningAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:4047:1: ( (lv_taggedValue_30_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4048:1: (lv_taggedValue_30_0= ruleTaggedValue ) { // InternalSacmDsl.g:4048:1: (lv_taggedValue_30_0= ruleTaggedValue ) // InternalSacmDsl.g:4049:3: lv_taggedValue_30_0= ruleTaggedValue { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getTaggedValueTaggedValueParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_30_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } add( current, "taggedValue", lv_taggedValue_30_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop62; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_31, grammarAccess.getArgumentReasoningAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:4069:3: (otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' )? int alt65=2; int LA65_0 = input.LA(1); if ( (LA65_0==19) ) { alt65=1; } switch (alt65) { case 1 : // InternalSacmDsl.g:4069:5: otherlv_32= 'annotation' otherlv_33= '{' ( (lv_annotation_34_0= ruleAnnotation ) ) (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getArgumentReasoningAccess().getAnnotationKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_33, grammarAccess.getArgumentReasoningAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:4077:1: ( (lv_annotation_34_0= ruleAnnotation ) ) // InternalSacmDsl.g:4078:1: (lv_annotation_34_0= ruleAnnotation ) { // InternalSacmDsl.g:4078:1: (lv_annotation_34_0= ruleAnnotation ) // InternalSacmDsl.g:4079:3: lv_annotation_34_0= ruleAnnotation { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getAnnotationAnnotationParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_34_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } add( current, "annotation", lv_annotation_34_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4095:2: (otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) )* loop64: do { int alt64=2; int LA64_0 = input.LA(1); if ( (LA64_0==17) ) { alt64=1; } switch (alt64) { case 1 : // InternalSacmDsl.g:4095:4: otherlv_35= ',' ( (lv_annotation_36_0= ruleAnnotation ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_35, grammarAccess.getArgumentReasoningAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:4099:1: ( (lv_annotation_36_0= ruleAnnotation ) ) // InternalSacmDsl.g:4100:1: (lv_annotation_36_0= ruleAnnotation ) { // InternalSacmDsl.g:4100:1: (lv_annotation_36_0= ruleAnnotation ) // InternalSacmDsl.g:4101:3: lv_annotation_36_0= ruleAnnotation { newCompositeNode(grammarAccess.getArgumentReasoningAccess().getAnnotationAnnotationParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_36_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getArgumentReasoningRule()); } add( current, "annotation", lv_annotation_36_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop64; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_37, grammarAccess.getArgumentReasoningAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_38=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_38, grammarAccess.getArgumentReasoningAccess().getRightCurlyBracketKeyword_13()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleArgumentReasoning" // $ANTLR start "entryRuleClaim" // InternalSacmDsl.g:4133:1: entryRuleClaim returns [EObject current=null] : iv_ruleClaim= ruleClaim EOF ; public final EObject entryRuleClaim() throws RecognitionException { EObject current = null; EObject iv_ruleClaim = null; try { // InternalSacmDsl.g:4134:2: (iv_ruleClaim= ruleClaim EOF ) // InternalSacmDsl.g:4135:2: iv_ruleClaim= ruleClaim EOF { newCompositeNode(grammarAccess.getClaimRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleClaim=ruleClaim(); state._fsp--; current =iv_ruleClaim; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleClaim" // $ANTLR start "ruleClaim" // InternalSacmDsl.g:4142:1: ruleClaim returns [EObject current=null] : (otherlv_0= 'Claim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'assumed' ( (lv_assumed_9_0= ruleBoolean ) ) otherlv_10= 'toBeSupported' ( (lv_toBeSupported_11_0= ruleBoolean ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) ; public final EObject ruleClaim() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; AntlrDatatypeRuleToken lv_assumed_9_0 = null; AntlrDatatypeRuleToken lv_toBeSupported_11_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_taggedValue_16_0 = null; EObject lv_annotation_20_0 = null; EObject lv_annotation_22_0 = null; enterRule(); try { // InternalSacmDsl.g:4145:28: ( (otherlv_0= 'Claim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'assumed' ( (lv_assumed_9_0= ruleBoolean ) ) otherlv_10= 'toBeSupported' ( (lv_toBeSupported_11_0= ruleBoolean ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) ) // InternalSacmDsl.g:4146:1: (otherlv_0= 'Claim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'assumed' ( (lv_assumed_9_0= ruleBoolean ) ) otherlv_10= 'toBeSupported' ( (lv_toBeSupported_11_0= ruleBoolean ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) { // InternalSacmDsl.g:4146:1: (otherlv_0= 'Claim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'assumed' ( (lv_assumed_9_0= ruleBoolean ) ) otherlv_10= 'toBeSupported' ( (lv_toBeSupported_11_0= ruleBoolean ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? otherlv_24= '}' ) // InternalSacmDsl.g:4146:3: otherlv_0= 'Claim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'assumed' ( (lv_assumed_9_0= ruleBoolean ) ) otherlv_10= 'toBeSupported' ( (lv_toBeSupported_11_0= ruleBoolean ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? otherlv_24= '}' { otherlv_0=(Token)match(input,48,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getClaimAccess().getClaimKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getClaimAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getClaimAccess().getIdKeyword_2()); // InternalSacmDsl.g:4158:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:4159:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:4159:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:4160:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getClaimAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getClaimAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:4180:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:4181:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:4181:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:4182:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getClaimAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getClaimAccess().getContentKeyword_6()); // InternalSacmDsl.g:4202:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:4203:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:4203:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:4204:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getClaimAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_49); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,49,FollowSets000.FOLLOW_50); newLeafNode(otherlv_8, grammarAccess.getClaimAccess().getAssumedKeyword_8()); // InternalSacmDsl.g:4224:1: ( (lv_assumed_9_0= ruleBoolean ) ) // InternalSacmDsl.g:4225:1: (lv_assumed_9_0= ruleBoolean ) { // InternalSacmDsl.g:4225:1: (lv_assumed_9_0= ruleBoolean ) // InternalSacmDsl.g:4226:3: lv_assumed_9_0= ruleBoolean { newCompositeNode(grammarAccess.getClaimAccess().getAssumedBooleanParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_51); lv_assumed_9_0=ruleBoolean(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } set( current, "assumed", lv_assumed_9_0, "net.certware.sacm.dsl.SacmDsl.Boolean"); afterParserOrEnumRuleCall(); } } otherlv_10=(Token)match(input,50,FollowSets000.FOLLOW_50); newLeafNode(otherlv_10, grammarAccess.getClaimAccess().getToBeSupportedKeyword_10()); // InternalSacmDsl.g:4246:1: ( (lv_toBeSupported_11_0= ruleBoolean ) ) // InternalSacmDsl.g:4247:1: (lv_toBeSupported_11_0= ruleBoolean ) { // InternalSacmDsl.g:4247:1: (lv_toBeSupported_11_0= ruleBoolean ) // InternalSacmDsl.g:4248:3: lv_toBeSupported_11_0= ruleBoolean { newCompositeNode(grammarAccess.getClaimAccess().getToBeSupportedBooleanParserRuleCall_11_0()); pushFollow(FollowSets000.FOLLOW_42); lv_toBeSupported_11_0=ruleBoolean(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } set( current, "toBeSupported", lv_toBeSupported_11_0, "net.certware.sacm.dsl.SacmDsl.Boolean"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4264:2: (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? int alt67=2; int LA67_0 = input.LA(1); if ( (LA67_0==16) ) { alt67=1; } switch (alt67) { case 1 : // InternalSacmDsl.g:4264:4: otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getClaimAccess().getTaggedValueKeyword_12_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getClaimAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:4272:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4273:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:4273:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:4274:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getClaimAccess().getTaggedValueTaggedValueParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4290:2: (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* loop66: do { int alt66=2; int LA66_0 = input.LA(1); if ( (LA66_0==17) ) { alt66=1; } switch (alt66) { case 1 : // InternalSacmDsl.g:4290:4: otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_15, grammarAccess.getClaimAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:4294:1: ( (lv_taggedValue_16_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4295:1: (lv_taggedValue_16_0= ruleTaggedValue ) { // InternalSacmDsl.g:4295:1: (lv_taggedValue_16_0= ruleTaggedValue ) // InternalSacmDsl.g:4296:3: lv_taggedValue_16_0= ruleTaggedValue { newCompositeNode(grammarAccess.getClaimAccess().getTaggedValueTaggedValueParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_16_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } add( current, "taggedValue", lv_taggedValue_16_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop66; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_17, grammarAccess.getClaimAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:4316:3: (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? int alt69=2; int LA69_0 = input.LA(1); if ( (LA69_0==19) ) { alt69=1; } switch (alt69) { case 1 : // InternalSacmDsl.g:4316:5: otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getClaimAccess().getAnnotationKeyword_13_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getClaimAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:4324:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:4325:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:4325:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:4326:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getClaimAccess().getAnnotationAnnotationParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4342:2: (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* loop68: do { int alt68=2; int LA68_0 = input.LA(1); if ( (LA68_0==17) ) { alt68=1; } switch (alt68) { case 1 : // InternalSacmDsl.g:4342:4: otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_21, grammarAccess.getClaimAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:4346:1: ( (lv_annotation_22_0= ruleAnnotation ) ) // InternalSacmDsl.g:4347:1: (lv_annotation_22_0= ruleAnnotation ) { // InternalSacmDsl.g:4347:1: (lv_annotation_22_0= ruleAnnotation ) // InternalSacmDsl.g:4348:3: lv_annotation_22_0= ruleAnnotation { newCompositeNode(grammarAccess.getClaimAccess().getAnnotationAnnotationParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_22_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getClaimRule()); } add( current, "annotation", lv_annotation_22_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop68; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_23, grammarAccess.getClaimAccess().getRightCurlyBracketKeyword_13_4()); } break; } otherlv_24=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_24, grammarAccess.getClaimAccess().getRightCurlyBracketKeyword_14()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleClaim" // $ANTLR start "entryRuleAssertedInference" // InternalSacmDsl.g:4380:1: entryRuleAssertedInference returns [EObject current=null] : iv_ruleAssertedInference= ruleAssertedInference EOF ; public final EObject entryRuleAssertedInference() throws RecognitionException { EObject current = null; EObject iv_ruleAssertedInference = null; try { // InternalSacmDsl.g:4381:2: (iv_ruleAssertedInference= ruleAssertedInference EOF ) // InternalSacmDsl.g:4382:2: iv_ruleAssertedInference= ruleAssertedInference EOF { newCompositeNode(grammarAccess.getAssertedInferenceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertedInference=ruleAssertedInference(); state._fsp--; current =iv_ruleAssertedInference; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertedInference" // $ANTLR start "ruleAssertedInference" // InternalSacmDsl.g:4389:1: ruleAssertedInference returns [EObject current=null] : (otherlv_0= 'AssertedInference' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssertedInference() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:4392:28: ( (otherlv_0= 'AssertedInference' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:4393:1: (otherlv_0= 'AssertedInference' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:4393:1: (otherlv_0= 'AssertedInference' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:4393:3: otherlv_0= 'AssertedInference' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,51,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertedInferenceAccess().getAssertedInferenceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertedInferenceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertedInferenceAccess().getIdKeyword_2()); // InternalSacmDsl.g:4405:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:4406:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:4406:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:4407:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertedInferenceAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:4427:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:4428:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:4428:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:4429:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertedInferenceAccess().getContentKeyword_6()); // InternalSacmDsl.g:4449:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:4450:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:4450:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:4451:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_52); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4467:2: (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt71=2; int LA71_0 = input.LA(1); if ( (LA71_0==52) ) { alt71=1; } switch (alt71) { case 1 : // InternalSacmDsl.g:4467:4: otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,52,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getAssertedInferenceAccess().getSourceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getAssertedInferenceAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:4475:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4476:1: ( ruleEString ) { // InternalSacmDsl.g:4476:1: ( ruleEString ) // InternalSacmDsl.g:4477:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedInferenceRule()); } newCompositeNode(grammarAccess.getAssertedInferenceAccess().getSourceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4490:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop70: do { int alt70=2; int LA70_0 = input.LA(1); if ( (LA70_0==17) ) { alt70=1; } switch (alt70) { case 1 : // InternalSacmDsl.g:4490:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getAssertedInferenceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:4494:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4495:1: ( ruleEString ) { // InternalSacmDsl.g:4495:1: ( ruleEString ) // InternalSacmDsl.g:4496:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedInferenceRule()); } newCompositeNode(grammarAccess.getAssertedInferenceAccess().getSourceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop70; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_53); newLeafNode(otherlv_13, grammarAccess.getAssertedInferenceAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:4513:3: (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt73=2; int LA73_0 = input.LA(1); if ( (LA73_0==53) ) { alt73=1; } switch (alt73) { case 1 : // InternalSacmDsl.g:4513:5: otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,53,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getAssertedInferenceAccess().getTargetKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getAssertedInferenceAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:4521:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4522:1: ( ruleEString ) { // InternalSacmDsl.g:4522:1: ( ruleEString ) // InternalSacmDsl.g:4523:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedInferenceRule()); } newCompositeNode(grammarAccess.getAssertedInferenceAccess().getTargetArgumentElementCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4536:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop72: do { int alt72=2; int LA72_0 = input.LA(1); if ( (LA72_0==17) ) { alt72=1; } switch (alt72) { case 1 : // InternalSacmDsl.g:4536:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getAssertedInferenceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:4540:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4541:1: ( ruleEString ) { // InternalSacmDsl.g:4541:1: ( ruleEString ) // InternalSacmDsl.g:4542:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedInferenceRule()); } newCompositeNode(grammarAccess.getAssertedInferenceAccess().getTargetArgumentElementCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop72; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getAssertedInferenceAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:4559:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt75=2; int LA75_0 = input.LA(1); if ( (LA75_0==16) ) { alt75=1; } switch (alt75) { case 1 : // InternalSacmDsl.g:4559:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssertedInferenceAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getAssertedInferenceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:4567:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4568:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:4568:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:4569:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4585:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop74: do { int alt74=2; int LA74_0 = input.LA(1); if ( (LA74_0==17) ) { alt74=1; } switch (alt74) { case 1 : // InternalSacmDsl.g:4585:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getAssertedInferenceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:4589:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4590:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:4590:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:4591:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop74; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getAssertedInferenceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:4611:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt77=2; int LA77_0 = input.LA(1); if ( (LA77_0==19) ) { alt77=1; } switch (alt77) { case 1 : // InternalSacmDsl.g:4611:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssertedInferenceAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getAssertedInferenceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:4619:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:4620:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:4620:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:4621:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4637:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop76: do { int alt76=2; int LA76_0 = input.LA(1); if ( (LA76_0==17) ) { alt76=1; } switch (alt76) { case 1 : // InternalSacmDsl.g:4637:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getAssertedInferenceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:4641:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:4642:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:4642:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:4643:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedInferenceAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedInferenceRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop76; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssertedInferenceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssertedInferenceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertedInference" // $ANTLR start "entryRuleAssertedEvidence" // InternalSacmDsl.g:4675:1: entryRuleAssertedEvidence returns [EObject current=null] : iv_ruleAssertedEvidence= ruleAssertedEvidence EOF ; public final EObject entryRuleAssertedEvidence() throws RecognitionException { EObject current = null; EObject iv_ruleAssertedEvidence = null; try { // InternalSacmDsl.g:4676:2: (iv_ruleAssertedEvidence= ruleAssertedEvidence EOF ) // InternalSacmDsl.g:4677:2: iv_ruleAssertedEvidence= ruleAssertedEvidence EOF { newCompositeNode(grammarAccess.getAssertedEvidenceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertedEvidence=ruleAssertedEvidence(); state._fsp--; current =iv_ruleAssertedEvidence; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertedEvidence" // $ANTLR start "ruleAssertedEvidence" // InternalSacmDsl.g:4684:1: ruleAssertedEvidence returns [EObject current=null] : (otherlv_0= 'AssertedEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssertedEvidence() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:4687:28: ( (otherlv_0= 'AssertedEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:4688:1: (otherlv_0= 'AssertedEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:4688:1: (otherlv_0= 'AssertedEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:4688:3: otherlv_0= 'AssertedEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,54,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertedEvidenceAccess().getAssertedEvidenceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertedEvidenceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertedEvidenceAccess().getIdKeyword_2()); // InternalSacmDsl.g:4700:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:4701:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:4701:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:4702:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertedEvidenceAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:4722:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:4723:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:4723:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:4724:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertedEvidenceAccess().getContentKeyword_6()); // InternalSacmDsl.g:4744:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:4745:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:4745:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:4746:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_52); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4762:2: (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt79=2; int LA79_0 = input.LA(1); if ( (LA79_0==52) ) { alt79=1; } switch (alt79) { case 1 : // InternalSacmDsl.g:4762:4: otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,52,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getAssertedEvidenceAccess().getSourceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getAssertedEvidenceAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:4770:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4771:1: ( ruleEString ) { // InternalSacmDsl.g:4771:1: ( ruleEString ) // InternalSacmDsl.g:4772:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getSourceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4785:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop78: do { int alt78=2; int LA78_0 = input.LA(1); if ( (LA78_0==17) ) { alt78=1; } switch (alt78) { case 1 : // InternalSacmDsl.g:4785:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getAssertedEvidenceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:4789:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4790:1: ( ruleEString ) { // InternalSacmDsl.g:4790:1: ( ruleEString ) // InternalSacmDsl.g:4791:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getSourceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop78; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_53); newLeafNode(otherlv_13, grammarAccess.getAssertedEvidenceAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:4808:3: (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt81=2; int LA81_0 = input.LA(1); if ( (LA81_0==53) ) { alt81=1; } switch (alt81) { case 1 : // InternalSacmDsl.g:4808:5: otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,53,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getAssertedEvidenceAccess().getTargetKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getAssertedEvidenceAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:4816:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4817:1: ( ruleEString ) { // InternalSacmDsl.g:4817:1: ( ruleEString ) // InternalSacmDsl.g:4818:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getTargetArgumentElementCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4831:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop80: do { int alt80=2; int LA80_0 = input.LA(1); if ( (LA80_0==17) ) { alt80=1; } switch (alt80) { case 1 : // InternalSacmDsl.g:4831:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getAssertedEvidenceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:4835:1: ( ( ruleEString ) ) // InternalSacmDsl.g:4836:1: ( ruleEString ) { // InternalSacmDsl.g:4836:1: ( ruleEString ) // InternalSacmDsl.g:4837:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getTargetArgumentElementCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop80; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getAssertedEvidenceAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:4854:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt83=2; int LA83_0 = input.LA(1); if ( (LA83_0==16) ) { alt83=1; } switch (alt83) { case 1 : // InternalSacmDsl.g:4854:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssertedEvidenceAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getAssertedEvidenceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:4862:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4863:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:4863:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:4864:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4880:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop82: do { int alt82=2; int LA82_0 = input.LA(1); if ( (LA82_0==17) ) { alt82=1; } switch (alt82) { case 1 : // InternalSacmDsl.g:4880:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getAssertedEvidenceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:4884:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:4885:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:4885:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:4886:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop82; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getAssertedEvidenceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:4906:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt85=2; int LA85_0 = input.LA(1); if ( (LA85_0==19) ) { alt85=1; } switch (alt85) { case 1 : // InternalSacmDsl.g:4906:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssertedEvidenceAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getAssertedEvidenceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:4914:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:4915:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:4915:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:4916:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:4932:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop84: do { int alt84=2; int LA84_0 = input.LA(1); if ( (LA84_0==17) ) { alt84=1; } switch (alt84) { case 1 : // InternalSacmDsl.g:4932:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getAssertedEvidenceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:4936:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:4937:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:4937:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:4938:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedEvidenceAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedEvidenceRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop84; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssertedEvidenceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssertedEvidenceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertedEvidence" // $ANTLR start "entryRuleAssertedContext" // InternalSacmDsl.g:4970:1: entryRuleAssertedContext returns [EObject current=null] : iv_ruleAssertedContext= ruleAssertedContext EOF ; public final EObject entryRuleAssertedContext() throws RecognitionException { EObject current = null; EObject iv_ruleAssertedContext = null; try { // InternalSacmDsl.g:4971:2: (iv_ruleAssertedContext= ruleAssertedContext EOF ) // InternalSacmDsl.g:4972:2: iv_ruleAssertedContext= ruleAssertedContext EOF { newCompositeNode(grammarAccess.getAssertedContextRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertedContext=ruleAssertedContext(); state._fsp--; current =iv_ruleAssertedContext; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertedContext" // $ANTLR start "ruleAssertedContext" // InternalSacmDsl.g:4979:1: ruleAssertedContext returns [EObject current=null] : (otherlv_0= 'AssertedContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssertedContext() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:4982:28: ( (otherlv_0= 'AssertedContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:4983:1: (otherlv_0= 'AssertedContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:4983:1: (otherlv_0= 'AssertedContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:4983:3: otherlv_0= 'AssertedContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,55,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertedContextAccess().getAssertedContextKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertedContextAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertedContextAccess().getIdKeyword_2()); // InternalSacmDsl.g:4995:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:4996:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:4996:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:4997:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedContextAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertedContextAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:5017:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:5018:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:5018:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:5019:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedContextAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertedContextAccess().getContentKeyword_6()); // InternalSacmDsl.g:5039:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:5040:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:5040:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:5041:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedContextAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_52); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5057:2: (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt87=2; int LA87_0 = input.LA(1); if ( (LA87_0==52) ) { alt87=1; } switch (alt87) { case 1 : // InternalSacmDsl.g:5057:4: otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,52,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getAssertedContextAccess().getSourceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getAssertedContextAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:5065:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5066:1: ( ruleEString ) { // InternalSacmDsl.g:5066:1: ( ruleEString ) // InternalSacmDsl.g:5067:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedContextRule()); } newCompositeNode(grammarAccess.getAssertedContextAccess().getSourceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5080:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop86: do { int alt86=2; int LA86_0 = input.LA(1); if ( (LA86_0==17) ) { alt86=1; } switch (alt86) { case 1 : // InternalSacmDsl.g:5080:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getAssertedContextAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:5084:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5085:1: ( ruleEString ) { // InternalSacmDsl.g:5085:1: ( ruleEString ) // InternalSacmDsl.g:5086:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedContextRule()); } newCompositeNode(grammarAccess.getAssertedContextAccess().getSourceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop86; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_53); newLeafNode(otherlv_13, grammarAccess.getAssertedContextAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:5103:3: (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt89=2; int LA89_0 = input.LA(1); if ( (LA89_0==53) ) { alt89=1; } switch (alt89) { case 1 : // InternalSacmDsl.g:5103:5: otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,53,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getAssertedContextAccess().getTargetKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getAssertedContextAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:5111:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5112:1: ( ruleEString ) { // InternalSacmDsl.g:5112:1: ( ruleEString ) // InternalSacmDsl.g:5113:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedContextRule()); } newCompositeNode(grammarAccess.getAssertedContextAccess().getTargetArgumentElementCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5126:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop88: do { int alt88=2; int LA88_0 = input.LA(1); if ( (LA88_0==17) ) { alt88=1; } switch (alt88) { case 1 : // InternalSacmDsl.g:5126:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getAssertedContextAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:5130:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5131:1: ( ruleEString ) { // InternalSacmDsl.g:5131:1: ( ruleEString ) // InternalSacmDsl.g:5132:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedContextRule()); } newCompositeNode(grammarAccess.getAssertedContextAccess().getTargetArgumentElementCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop88; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getAssertedContextAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:5149:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt91=2; int LA91_0 = input.LA(1); if ( (LA91_0==16) ) { alt91=1; } switch (alt91) { case 1 : // InternalSacmDsl.g:5149:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssertedContextAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getAssertedContextAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:5157:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5158:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:5158:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:5159:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedContextAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5175:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop90: do { int alt90=2; int LA90_0 = input.LA(1); if ( (LA90_0==17) ) { alt90=1; } switch (alt90) { case 1 : // InternalSacmDsl.g:5175:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getAssertedContextAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:5179:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5180:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:5180:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:5181:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedContextAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop90; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getAssertedContextAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:5201:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt93=2; int LA93_0 = input.LA(1); if ( (LA93_0==19) ) { alt93=1; } switch (alt93) { case 1 : // InternalSacmDsl.g:5201:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssertedContextAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getAssertedContextAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:5209:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:5210:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:5210:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:5211:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedContextAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5227:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop92: do { int alt92=2; int LA92_0 = input.LA(1); if ( (LA92_0==17) ) { alt92=1; } switch (alt92) { case 1 : // InternalSacmDsl.g:5227:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getAssertedContextAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:5231:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:5232:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:5232:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:5233:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedContextAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedContextRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop92; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssertedContextAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssertedContextAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertedContext" // $ANTLR start "entryRuleAssertedChallenge" // InternalSacmDsl.g:5265:1: entryRuleAssertedChallenge returns [EObject current=null] : iv_ruleAssertedChallenge= ruleAssertedChallenge EOF ; public final EObject entryRuleAssertedChallenge() throws RecognitionException { EObject current = null; EObject iv_ruleAssertedChallenge = null; try { // InternalSacmDsl.g:5266:2: (iv_ruleAssertedChallenge= ruleAssertedChallenge EOF ) // InternalSacmDsl.g:5267:2: iv_ruleAssertedChallenge= ruleAssertedChallenge EOF { newCompositeNode(grammarAccess.getAssertedChallengeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertedChallenge=ruleAssertedChallenge(); state._fsp--; current =iv_ruleAssertedChallenge; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertedChallenge" // $ANTLR start "ruleAssertedChallenge" // InternalSacmDsl.g:5274:1: ruleAssertedChallenge returns [EObject current=null] : (otherlv_0= 'AssertedChallenge' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssertedChallenge() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:5277:28: ( (otherlv_0= 'AssertedChallenge' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:5278:1: (otherlv_0= 'AssertedChallenge' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:5278:1: (otherlv_0= 'AssertedChallenge' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:5278:3: otherlv_0= 'AssertedChallenge' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,56,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertedChallengeAccess().getAssertedChallengeKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertedChallengeAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertedChallengeAccess().getIdKeyword_2()); // InternalSacmDsl.g:5290:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:5291:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:5291:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:5292:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertedChallengeAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:5312:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:5313:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:5313:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:5314:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertedChallengeAccess().getContentKeyword_6()); // InternalSacmDsl.g:5334:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:5335:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:5335:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:5336:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_52); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5352:2: (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt95=2; int LA95_0 = input.LA(1); if ( (LA95_0==52) ) { alt95=1; } switch (alt95) { case 1 : // InternalSacmDsl.g:5352:4: otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,52,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getAssertedChallengeAccess().getSourceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getAssertedChallengeAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:5360:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5361:1: ( ruleEString ) { // InternalSacmDsl.g:5361:1: ( ruleEString ) // InternalSacmDsl.g:5362:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedChallengeRule()); } newCompositeNode(grammarAccess.getAssertedChallengeAccess().getSourceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5375:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop94: do { int alt94=2; int LA94_0 = input.LA(1); if ( (LA94_0==17) ) { alt94=1; } switch (alt94) { case 1 : // InternalSacmDsl.g:5375:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getAssertedChallengeAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:5379:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5380:1: ( ruleEString ) { // InternalSacmDsl.g:5380:1: ( ruleEString ) // InternalSacmDsl.g:5381:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedChallengeRule()); } newCompositeNode(grammarAccess.getAssertedChallengeAccess().getSourceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop94; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_53); newLeafNode(otherlv_13, grammarAccess.getAssertedChallengeAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:5398:3: (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt97=2; int LA97_0 = input.LA(1); if ( (LA97_0==53) ) { alt97=1; } switch (alt97) { case 1 : // InternalSacmDsl.g:5398:5: otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,53,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getAssertedChallengeAccess().getTargetKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getAssertedChallengeAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:5406:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5407:1: ( ruleEString ) { // InternalSacmDsl.g:5407:1: ( ruleEString ) // InternalSacmDsl.g:5408:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedChallengeRule()); } newCompositeNode(grammarAccess.getAssertedChallengeAccess().getTargetArgumentElementCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5421:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop96: do { int alt96=2; int LA96_0 = input.LA(1); if ( (LA96_0==17) ) { alt96=1; } switch (alt96) { case 1 : // InternalSacmDsl.g:5421:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getAssertedChallengeAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:5425:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5426:1: ( ruleEString ) { // InternalSacmDsl.g:5426:1: ( ruleEString ) // InternalSacmDsl.g:5427:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedChallengeRule()); } newCompositeNode(grammarAccess.getAssertedChallengeAccess().getTargetArgumentElementCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop96; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getAssertedChallengeAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:5444:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt99=2; int LA99_0 = input.LA(1); if ( (LA99_0==16) ) { alt99=1; } switch (alt99) { case 1 : // InternalSacmDsl.g:5444:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssertedChallengeAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getAssertedChallengeAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:5452:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5453:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:5453:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:5454:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5470:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop98: do { int alt98=2; int LA98_0 = input.LA(1); if ( (LA98_0==17) ) { alt98=1; } switch (alt98) { case 1 : // InternalSacmDsl.g:5470:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getAssertedChallengeAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:5474:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5475:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:5475:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:5476:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop98; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getAssertedChallengeAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:5496:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt101=2; int LA101_0 = input.LA(1); if ( (LA101_0==19) ) { alt101=1; } switch (alt101) { case 1 : // InternalSacmDsl.g:5496:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssertedChallengeAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getAssertedChallengeAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:5504:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:5505:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:5505:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:5506:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5522:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop100: do { int alt100=2; int LA100_0 = input.LA(1); if ( (LA100_0==17) ) { alt100=1; } switch (alt100) { case 1 : // InternalSacmDsl.g:5522:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getAssertedChallengeAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:5526:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:5527:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:5527:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:5528:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedChallengeAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedChallengeRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop100; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssertedChallengeAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssertedChallengeAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertedChallenge" // $ANTLR start "entryRuleAssertedCounterEvidence" // InternalSacmDsl.g:5560:1: entryRuleAssertedCounterEvidence returns [EObject current=null] : iv_ruleAssertedCounterEvidence= ruleAssertedCounterEvidence EOF ; public final EObject entryRuleAssertedCounterEvidence() throws RecognitionException { EObject current = null; EObject iv_ruleAssertedCounterEvidence = null; try { // InternalSacmDsl.g:5561:2: (iv_ruleAssertedCounterEvidence= ruleAssertedCounterEvidence EOF ) // InternalSacmDsl.g:5562:2: iv_ruleAssertedCounterEvidence= ruleAssertedCounterEvidence EOF { newCompositeNode(grammarAccess.getAssertedCounterEvidenceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertedCounterEvidence=ruleAssertedCounterEvidence(); state._fsp--; current =iv_ruleAssertedCounterEvidence; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertedCounterEvidence" // $ANTLR start "ruleAssertedCounterEvidence" // InternalSacmDsl.g:5569:1: ruleAssertedCounterEvidence returns [EObject current=null] : (otherlv_0= 'AssertedCounterEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ; public final EObject ruleAssertedCounterEvidence() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_description_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_22_0 = null; EObject lv_taggedValue_24_0 = null; EObject lv_annotation_28_0 = null; EObject lv_annotation_30_0 = null; enterRule(); try { // InternalSacmDsl.g:5572:28: ( (otherlv_0= 'AssertedCounterEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) ) // InternalSacmDsl.g:5573:1: (otherlv_0= 'AssertedCounterEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) { // InternalSacmDsl.g:5573:1: (otherlv_0= 'AssertedCounterEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' ) // InternalSacmDsl.g:5573:3: otherlv_0= 'AssertedCounterEvidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'description' ( (lv_description_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? otherlv_32= '}' { otherlv_0=(Token)match(input,57,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertedCounterEvidenceAccess().getAssertedCounterEvidenceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertedCounterEvidenceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertedCounterEvidenceAccess().getIdKeyword_2()); // InternalSacmDsl.g:5585:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:5586:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:5586:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:5587:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_21); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,28,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertedCounterEvidenceAccess().getDescriptionKeyword_4()); // InternalSacmDsl.g:5607:1: ( (lv_description_5_0= ruleString0 ) ) // InternalSacmDsl.g:5608:1: (lv_description_5_0= ruleString0 ) { // InternalSacmDsl.g:5608:1: (lv_description_5_0= ruleString0 ) // InternalSacmDsl.g:5609:3: lv_description_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getDescriptionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_description_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } set( current, "description", lv_description_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertedCounterEvidenceAccess().getContentKeyword_6()); // InternalSacmDsl.g:5629:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:5630:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:5630:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:5631:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_52); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5647:2: (otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt103=2; int LA103_0 = input.LA(1); if ( (LA103_0==52) ) { alt103=1; } switch (alt103) { case 1 : // InternalSacmDsl.g:5647:4: otherlv_8= 'source' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,52,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getAssertedCounterEvidenceAccess().getSourceKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getAssertedCounterEvidenceAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:5655:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5656:1: ( ruleEString ) { // InternalSacmDsl.g:5656:1: ( ruleEString ) // InternalSacmDsl.g:5657:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedCounterEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getSourceArgumentElementCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5670:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop102: do { int alt102=2; int LA102_0 = input.LA(1); if ( (LA102_0==17) ) { alt102=1; } switch (alt102) { case 1 : // InternalSacmDsl.g:5670:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getAssertedCounterEvidenceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:5674:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5675:1: ( ruleEString ) { // InternalSacmDsl.g:5675:1: ( ruleEString ) // InternalSacmDsl.g:5676:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedCounterEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getSourceArgumentElementCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop102; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_53); newLeafNode(otherlv_13, grammarAccess.getAssertedCounterEvidenceAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:5693:3: (otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' )? int alt105=2; int LA105_0 = input.LA(1); if ( (LA105_0==53) ) { alt105=1; } switch (alt105) { case 1 : // InternalSacmDsl.g:5693:5: otherlv_14= 'target' otherlv_15= '(' ( ( ruleEString ) ) (otherlv_17= ',' ( ( ruleEString ) ) )* otherlv_19= ')' { otherlv_14=(Token)match(input,53,FollowSets000.FOLLOW_39); newLeafNode(otherlv_14, grammarAccess.getAssertedCounterEvidenceAccess().getTargetKeyword_9_0()); otherlv_15=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getAssertedCounterEvidenceAccess().getLeftParenthesisKeyword_9_1()); // InternalSacmDsl.g:5701:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5702:1: ( ruleEString ) { // InternalSacmDsl.g:5702:1: ( ruleEString ) // InternalSacmDsl.g:5703:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedCounterEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getTargetArgumentElementCrossReference_9_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5716:2: (otherlv_17= ',' ( ( ruleEString ) ) )* loop104: do { int alt104=2; int LA104_0 = input.LA(1); if ( (LA104_0==17) ) { alt104=1; } switch (alt104) { case 1 : // InternalSacmDsl.g:5716:4: otherlv_17= ',' ( ( ruleEString ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_17, grammarAccess.getAssertedCounterEvidenceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:5720:1: ( ( ruleEString ) ) // InternalSacmDsl.g:5721:1: ( ruleEString ) { // InternalSacmDsl.g:5721:1: ( ruleEString ) // InternalSacmDsl.g:5722:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertedCounterEvidenceRule()); } newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getTargetArgumentElementCrossReference_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop104; } } while (true); otherlv_19=(Token)match(input,40,FollowSets000.FOLLOW_42); newLeafNode(otherlv_19, grammarAccess.getAssertedCounterEvidenceAccess().getRightParenthesisKeyword_9_4()); } break; } // InternalSacmDsl.g:5739:3: (otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' )? int alt107=2; int LA107_0 = input.LA(1); if ( (LA107_0==16) ) { alt107=1; } switch (alt107) { case 1 : // InternalSacmDsl.g:5739:5: otherlv_20= 'taggedValue' otherlv_21= '{' ( (lv_taggedValue_22_0= ruleTaggedValue ) ) (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAssertedCounterEvidenceAccess().getTaggedValueKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_21, grammarAccess.getAssertedCounterEvidenceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:5747:1: ( (lv_taggedValue_22_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5748:1: (lv_taggedValue_22_0= ruleTaggedValue ) { // InternalSacmDsl.g:5748:1: (lv_taggedValue_22_0= ruleTaggedValue ) // InternalSacmDsl.g:5749:3: lv_taggedValue_22_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_22_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } add( current, "taggedValue", lv_taggedValue_22_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5765:2: (otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) )* loop106: do { int alt106=2; int LA106_0 = input.LA(1); if ( (LA106_0==17) ) { alt106=1; } switch (alt106) { case 1 : // InternalSacmDsl.g:5765:4: otherlv_23= ',' ( (lv_taggedValue_24_0= ruleTaggedValue ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_23, grammarAccess.getAssertedCounterEvidenceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:5769:1: ( (lv_taggedValue_24_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5770:1: (lv_taggedValue_24_0= ruleTaggedValue ) { // InternalSacmDsl.g:5770:1: (lv_taggedValue_24_0= ruleTaggedValue ) // InternalSacmDsl.g:5771:3: lv_taggedValue_24_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_24_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } add( current, "taggedValue", lv_taggedValue_24_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop106; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_43); newLeafNode(otherlv_25, grammarAccess.getAssertedCounterEvidenceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:5791:3: (otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' )? int alt109=2; int LA109_0 = input.LA(1); if ( (LA109_0==19) ) { alt109=1; } switch (alt109) { case 1 : // InternalSacmDsl.g:5791:5: otherlv_26= 'annotation' otherlv_27= '{' ( (lv_annotation_28_0= ruleAnnotation ) ) (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAssertedCounterEvidenceAccess().getAnnotationKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_27, grammarAccess.getAssertedCounterEvidenceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:5799:1: ( (lv_annotation_28_0= ruleAnnotation ) ) // InternalSacmDsl.g:5800:1: (lv_annotation_28_0= ruleAnnotation ) { // InternalSacmDsl.g:5800:1: (lv_annotation_28_0= ruleAnnotation ) // InternalSacmDsl.g:5801:3: lv_annotation_28_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_28_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } add( current, "annotation", lv_annotation_28_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5817:2: (otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) )* loop108: do { int alt108=2; int LA108_0 = input.LA(1); if ( (LA108_0==17) ) { alt108=1; } switch (alt108) { case 1 : // InternalSacmDsl.g:5817:4: otherlv_29= ',' ( (lv_annotation_30_0= ruleAnnotation ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_29, grammarAccess.getAssertedCounterEvidenceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:5821:1: ( (lv_annotation_30_0= ruleAnnotation ) ) // InternalSacmDsl.g:5822:1: (lv_annotation_30_0= ruleAnnotation ) { // InternalSacmDsl.g:5822:1: (lv_annotation_30_0= ruleAnnotation ) // InternalSacmDsl.g:5823:3: lv_annotation_30_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertedCounterEvidenceAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_30_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertedCounterEvidenceRule()); } add( current, "annotation", lv_annotation_30_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop108; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_31, grammarAccess.getAssertedCounterEvidenceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_32=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_32, grammarAccess.getAssertedCounterEvidenceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertedCounterEvidence" // $ANTLR start "entryRuleDocument" // InternalSacmDsl.g:5855:1: entryRuleDocument returns [EObject current=null] : iv_ruleDocument= ruleDocument EOF ; public final EObject entryRuleDocument() throws RecognitionException { EObject current = null; EObject iv_ruleDocument = null; try { // InternalSacmDsl.g:5856:2: (iv_ruleDocument= ruleDocument EOF ) // InternalSacmDsl.g:5857:2: iv_ruleDocument= ruleDocument EOF { newCompositeNode(grammarAccess.getDocumentRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleDocument=ruleDocument(); state._fsp--; current =iv_ruleDocument; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDocument" // $ANTLR start "ruleDocument" // InternalSacmDsl.g:5864:1: ruleDocument returns [EObject current=null] : (otherlv_0= 'Document' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) otherlv_8= 'title' ( (lv_title_9_0= ruleString0 ) ) otherlv_10= 'citation' ( (lv_citation_11_0= ruleString0 ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? otherlv_54= '}' ) ; public final EObject ruleDocument() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; Token otherlv_49=null; Token otherlv_51=null; Token otherlv_53=null; Token otherlv_54=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_url_7_0 = null; AntlrDatatypeRuleToken lv_title_9_0 = null; AntlrDatatypeRuleToken lv_citation_11_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_taggedValue_16_0 = null; EObject lv_annotation_20_0 = null; EObject lv_annotation_22_0 = null; EObject lv_timing_26_0 = null; EObject lv_timing_28_0 = null; EObject lv_custody_32_0 = null; EObject lv_custody_34_0 = null; EObject lv_provenance_38_0 = null; EObject lv_provenance_40_0 = null; EObject lv_event_44_0 = null; EObject lv_event_46_0 = null; EObject lv_property_50_0 = null; EObject lv_property_52_0 = null; enterRule(); try { // InternalSacmDsl.g:5867:28: ( (otherlv_0= 'Document' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) otherlv_8= 'title' ( (lv_title_9_0= ruleString0 ) ) otherlv_10= 'citation' ( (lv_citation_11_0= ruleString0 ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? otherlv_54= '}' ) ) // InternalSacmDsl.g:5868:1: (otherlv_0= 'Document' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) otherlv_8= 'title' ( (lv_title_9_0= ruleString0 ) ) otherlv_10= 'citation' ( (lv_citation_11_0= ruleString0 ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? otherlv_54= '}' ) { // InternalSacmDsl.g:5868:1: (otherlv_0= 'Document' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) otherlv_8= 'title' ( (lv_title_9_0= ruleString0 ) ) otherlv_10= 'citation' ( (lv_citation_11_0= ruleString0 ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? otherlv_54= '}' ) // InternalSacmDsl.g:5868:3: otherlv_0= 'Document' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) otherlv_8= 'title' ( (lv_title_9_0= ruleString0 ) ) otherlv_10= 'citation' ( (lv_citation_11_0= ruleString0 ) ) (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? otherlv_54= '}' { otherlv_0=(Token)match(input,58,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getDocumentAccess().getDocumentKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getDocumentAccess().getIdKeyword_2()); // InternalSacmDsl.g:5880:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:5881:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:5881:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:5882:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getDocumentAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getDocumentAccess().getNameKeyword_4()); // InternalSacmDsl.g:5902:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:5903:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:5903:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:5904:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getDocumentAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_44); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,43,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getDocumentAccess().getUrlKeyword_6()); // InternalSacmDsl.g:5924:1: ( (lv_url_7_0= ruleString0 ) ) // InternalSacmDsl.g:5925:1: (lv_url_7_0= ruleString0 ) { // InternalSacmDsl.g:5925:1: (lv_url_7_0= ruleString0 ) // InternalSacmDsl.g:5926:3: lv_url_7_0= ruleString0 { newCompositeNode(grammarAccess.getDocumentAccess().getUrlString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_54); lv_url_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } set( current, "url", lv_url_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,59,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getDocumentAccess().getTitleKeyword_8()); // InternalSacmDsl.g:5946:1: ( (lv_title_9_0= ruleString0 ) ) // InternalSacmDsl.g:5947:1: (lv_title_9_0= ruleString0 ) { // InternalSacmDsl.g:5947:1: (lv_title_9_0= ruleString0 ) // InternalSacmDsl.g:5948:3: lv_title_9_0= ruleString0 { newCompositeNode(grammarAccess.getDocumentAccess().getTitleString0ParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_55); lv_title_9_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } set( current, "title", lv_title_9_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_10=(Token)match(input,60,FollowSets000.FOLLOW_5); newLeafNode(otherlv_10, grammarAccess.getDocumentAccess().getCitationKeyword_10()); // InternalSacmDsl.g:5968:1: ( (lv_citation_11_0= ruleString0 ) ) // InternalSacmDsl.g:5969:1: (lv_citation_11_0= ruleString0 ) { // InternalSacmDsl.g:5969:1: (lv_citation_11_0= ruleString0 ) // InternalSacmDsl.g:5970:3: lv_citation_11_0= ruleString0 { newCompositeNode(grammarAccess.getDocumentAccess().getCitationString0ParserRuleCall_11_0()); pushFollow(FollowSets000.FOLLOW_56); lv_citation_11_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } set( current, "citation", lv_citation_11_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:5986:2: (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? int alt111=2; int LA111_0 = input.LA(1); if ( (LA111_0==16) ) { alt111=1; } switch (alt111) { case 1 : // InternalSacmDsl.g:5986:4: otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getDocumentAccess().getTaggedValueKeyword_12_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:5994:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:5995:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:5995:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:5996:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getDocumentAccess().getTaggedValueTaggedValueParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6012:2: (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* loop110: do { int alt110=2; int LA110_0 = input.LA(1); if ( (LA110_0==17) ) { alt110=1; } switch (alt110) { case 1 : // InternalSacmDsl.g:6012:4: otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_15, grammarAccess.getDocumentAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:6016:1: ( (lv_taggedValue_16_0= ruleTaggedValue ) ) // InternalSacmDsl.g:6017:1: (lv_taggedValue_16_0= ruleTaggedValue ) { // InternalSacmDsl.g:6017:1: (lv_taggedValue_16_0= ruleTaggedValue ) // InternalSacmDsl.g:6018:3: lv_taggedValue_16_0= ruleTaggedValue { newCompositeNode(grammarAccess.getDocumentAccess().getTaggedValueTaggedValueParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_16_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "taggedValue", lv_taggedValue_16_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop110; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_17, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:6038:3: (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? int alt113=2; int LA113_0 = input.LA(1); if ( (LA113_0==19) ) { alt113=1; } switch (alt113) { case 1 : // InternalSacmDsl.g:6038:5: otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getDocumentAccess().getAnnotationKeyword_13_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:6046:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:6047:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:6047:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:6048:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getDocumentAccess().getAnnotationAnnotationParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6064:2: (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* loop112: do { int alt112=2; int LA112_0 = input.LA(1); if ( (LA112_0==17) ) { alt112=1; } switch (alt112) { case 1 : // InternalSacmDsl.g:6064:4: otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_21, grammarAccess.getDocumentAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:6068:1: ( (lv_annotation_22_0= ruleAnnotation ) ) // InternalSacmDsl.g:6069:1: (lv_annotation_22_0= ruleAnnotation ) { // InternalSacmDsl.g:6069:1: (lv_annotation_22_0= ruleAnnotation ) // InternalSacmDsl.g:6070:3: lv_annotation_22_0= ruleAnnotation { newCompositeNode(grammarAccess.getDocumentAccess().getAnnotationAnnotationParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_22_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "annotation", lv_annotation_22_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop112; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_23, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:6090:3: (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? int alt115=2; int LA115_0 = input.LA(1); if ( (LA115_0==61) ) { alt115=1; } switch (alt115) { case 1 : // InternalSacmDsl.g:6090:5: otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getDocumentAccess().getTimingKeyword_14_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:6098:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:6099:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:6099:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:6100:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getDocumentAccess().getTimingTimingPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6116:2: (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* loop114: do { int alt114=2; int LA114_0 = input.LA(1); if ( (LA114_0==17) ) { alt114=1; } switch (alt114) { case 1 : // InternalSacmDsl.g:6116:4: otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_27, grammarAccess.getDocumentAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:6120:1: ( (lv_timing_28_0= ruleTimingProperty ) ) // InternalSacmDsl.g:6121:1: (lv_timing_28_0= ruleTimingProperty ) { // InternalSacmDsl.g:6121:1: (lv_timing_28_0= ruleTimingProperty ) // InternalSacmDsl.g:6122:3: lv_timing_28_0= ruleTimingProperty { newCompositeNode(grammarAccess.getDocumentAccess().getTimingTimingPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_28_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "timing", lv_timing_28_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop114; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_29, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:6142:3: (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? int alt117=2; int LA117_0 = input.LA(1); if ( (LA117_0==62) ) { alt117=1; } switch (alt117) { case 1 : // InternalSacmDsl.g:6142:5: otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getDocumentAccess().getCustodyKeyword_15_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:6150:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:6151:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:6151:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:6152:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getDocumentAccess().getCustodyCustodyPropertyParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6168:2: (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* loop116: do { int alt116=2; int LA116_0 = input.LA(1); if ( (LA116_0==17) ) { alt116=1; } switch (alt116) { case 1 : // InternalSacmDsl.g:6168:4: otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_33, grammarAccess.getDocumentAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:6172:1: ( (lv_custody_34_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:6173:1: (lv_custody_34_0= ruleCustodyProperty ) { // InternalSacmDsl.g:6173:1: (lv_custody_34_0= ruleCustodyProperty ) // InternalSacmDsl.g:6174:3: lv_custody_34_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getDocumentAccess().getCustodyCustodyPropertyParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_34_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "custody", lv_custody_34_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop116; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_35, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_15_4()); } break; } // InternalSacmDsl.g:6194:3: (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? int alt119=2; int LA119_0 = input.LA(1); if ( (LA119_0==63) ) { alt119=1; } switch (alt119) { case 1 : // InternalSacmDsl.g:6194:5: otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getDocumentAccess().getProvenanceKeyword_16_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_16_1()); // InternalSacmDsl.g:6202:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:6203:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:6203:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:6204:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getDocumentAccess().getProvenanceProvenanceParserRuleCall_16_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6220:2: (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* loop118: do { int alt118=2; int LA118_0 = input.LA(1); if ( (LA118_0==17) ) { alt118=1; } switch (alt118) { case 1 : // InternalSacmDsl.g:6220:4: otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_39, grammarAccess.getDocumentAccess().getCommaKeyword_16_3_0()); // InternalSacmDsl.g:6224:1: ( (lv_provenance_40_0= ruleProvenance ) ) // InternalSacmDsl.g:6225:1: (lv_provenance_40_0= ruleProvenance ) { // InternalSacmDsl.g:6225:1: (lv_provenance_40_0= ruleProvenance ) // InternalSacmDsl.g:6226:3: lv_provenance_40_0= ruleProvenance { newCompositeNode(grammarAccess.getDocumentAccess().getProvenanceProvenanceParserRuleCall_16_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_40_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "provenance", lv_provenance_40_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop118; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_41, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_16_4()); } break; } // InternalSacmDsl.g:6246:3: (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? int alt121=2; int LA121_0 = input.LA(1); if ( (LA121_0==64) ) { alt121=1; } switch (alt121) { case 1 : // InternalSacmDsl.g:6246:5: otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getDocumentAccess().getEventKeyword_17_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_17_1()); // InternalSacmDsl.g:6254:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:6255:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:6255:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:6256:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getDocumentAccess().getEventEvidenceEventParserRuleCall_17_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6272:2: (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* loop120: do { int alt120=2; int LA120_0 = input.LA(1); if ( (LA120_0==17) ) { alt120=1; } switch (alt120) { case 1 : // InternalSacmDsl.g:6272:4: otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_45, grammarAccess.getDocumentAccess().getCommaKeyword_17_3_0()); // InternalSacmDsl.g:6276:1: ( (lv_event_46_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:6277:1: (lv_event_46_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:6277:1: (lv_event_46_0= ruleEvidenceEvent ) // InternalSacmDsl.g:6278:3: lv_event_46_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getDocumentAccess().getEventEvidenceEventParserRuleCall_17_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_46_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "event", lv_event_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop120; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_47, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_17_4()); } break; } // InternalSacmDsl.g:6298:3: (otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' )? int alt123=2; int LA123_0 = input.LA(1); if ( (LA123_0==35) ) { alt123=1; } switch (alt123) { case 1 : // InternalSacmDsl.g:6298:5: otherlv_48= 'property' otherlv_49= '{' ( (lv_property_50_0= ruleExhibitProperty ) ) (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* otherlv_53= '}' { otherlv_48=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_48, grammarAccess.getDocumentAccess().getPropertyKeyword_18_0()); otherlv_49=(Token)match(input,12,FollowSets000.FOLLOW_67); newLeafNode(otherlv_49, grammarAccess.getDocumentAccess().getLeftCurlyBracketKeyword_18_1()); // InternalSacmDsl.g:6306:1: ( (lv_property_50_0= ruleExhibitProperty ) ) // InternalSacmDsl.g:6307:1: (lv_property_50_0= ruleExhibitProperty ) { // InternalSacmDsl.g:6307:1: (lv_property_50_0= ruleExhibitProperty ) // InternalSacmDsl.g:6308:3: lv_property_50_0= ruleExhibitProperty { newCompositeNode(grammarAccess.getDocumentAccess().getPropertyExhibitPropertyParserRuleCall_18_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_50_0=ruleExhibitProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "property", lv_property_50_0, "net.certware.sacm.dsl.SacmDsl.ExhibitProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6324:2: (otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) )* loop122: do { int alt122=2; int LA122_0 = input.LA(1); if ( (LA122_0==17) ) { alt122=1; } switch (alt122) { case 1 : // InternalSacmDsl.g:6324:4: otherlv_51= ',' ( (lv_property_52_0= ruleExhibitProperty ) ) { otherlv_51=(Token)match(input,17,FollowSets000.FOLLOW_67); newLeafNode(otherlv_51, grammarAccess.getDocumentAccess().getCommaKeyword_18_3_0()); // InternalSacmDsl.g:6328:1: ( (lv_property_52_0= ruleExhibitProperty ) ) // InternalSacmDsl.g:6329:1: (lv_property_52_0= ruleExhibitProperty ) { // InternalSacmDsl.g:6329:1: (lv_property_52_0= ruleExhibitProperty ) // InternalSacmDsl.g:6330:3: lv_property_52_0= ruleExhibitProperty { newCompositeNode(grammarAccess.getDocumentAccess().getPropertyExhibitPropertyParserRuleCall_18_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_52_0=ruleExhibitProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentRule()); } add( current, "property", lv_property_52_0, "net.certware.sacm.dsl.SacmDsl.ExhibitProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop122; } } while (true); otherlv_53=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_53, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_18_4()); } break; } otherlv_54=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_54, grammarAccess.getDocumentAccess().getRightCurlyBracketKeyword_19()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDocument" // $ANTLR start "entryRuleAssertion" // InternalSacmDsl.g:6362:1: entryRuleAssertion returns [EObject current=null] : iv_ruleAssertion= ruleAssertion EOF ; public final EObject entryRuleAssertion() throws RecognitionException { EObject current = null; EObject iv_ruleAssertion = null; try { // InternalSacmDsl.g:6363:2: (iv_ruleAssertion= ruleAssertion EOF ) // InternalSacmDsl.g:6364:2: iv_ruleAssertion= ruleAssertion EOF { newCompositeNode(grammarAccess.getAssertionRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAssertion=ruleAssertion(); state._fsp--; current =iv_ruleAssertion; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssertion" // $ANTLR start "ruleAssertion" // InternalSacmDsl.g:6371:1: ruleAssertion returns [EObject current=null] : (otherlv_0= 'Assertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) otherlv_6= 'facttype' ( (lv_facttype_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ; public final EObject ruleAssertion() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_51=null; Token otherlv_52=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_content_5_0 = null; AntlrDatatypeRuleToken lv_facttype_7_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_timing_24_0 = null; EObject lv_timing_26_0 = null; EObject lv_custody_30_0 = null; EObject lv_custody_32_0 = null; EObject lv_provenance_36_0 = null; EObject lv_provenance_38_0 = null; EObject lv_event_42_0 = null; EObject lv_event_44_0 = null; EObject lv_role_48_0 = null; EObject lv_role_50_0 = null; enterRule(); try { // InternalSacmDsl.g:6374:28: ( (otherlv_0= 'Assertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) otherlv_6= 'facttype' ( (lv_facttype_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ) // InternalSacmDsl.g:6375:1: (otherlv_0= 'Assertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) otherlv_6= 'facttype' ( (lv_facttype_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) { // InternalSacmDsl.g:6375:1: (otherlv_0= 'Assertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) otherlv_6= 'facttype' ( (lv_facttype_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) // InternalSacmDsl.g:6375:3: otherlv_0= 'Assertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) otherlv_6= 'facttype' ( (lv_facttype_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? otherlv_52= '}' { otherlv_0=(Token)match(input,65,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAssertionAccess().getAssertionKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAssertionAccess().getIdKeyword_2()); // InternalSacmDsl.g:6387:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:6388:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:6388:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:6389:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAssertionAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_20); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAssertionAccess().getContentKeyword_4()); // InternalSacmDsl.g:6409:1: ( (lv_content_5_0= ruleString0 ) ) // InternalSacmDsl.g:6410:1: (lv_content_5_0= ruleString0 ) { // InternalSacmDsl.g:6410:1: (lv_content_5_0= ruleString0 ) // InternalSacmDsl.g:6411:3: lv_content_5_0= ruleString0 { newCompositeNode(grammarAccess.getAssertionAccess().getContentString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_68); lv_content_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } set( current, "content", lv_content_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,66,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAssertionAccess().getFacttypeKeyword_6()); // InternalSacmDsl.g:6431:1: ( (lv_facttype_7_0= ruleString0 ) ) // InternalSacmDsl.g:6432:1: (lv_facttype_7_0= ruleString0 ) { // InternalSacmDsl.g:6432:1: (lv_facttype_7_0= ruleString0 ) // InternalSacmDsl.g:6433:3: lv_facttype_7_0= ruleString0 { newCompositeNode(grammarAccess.getAssertionAccess().getFacttypeString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_69); lv_facttype_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } set( current, "facttype", lv_facttype_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,67,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getAssertionAccess().getDefinitionKeyword_8()); // InternalSacmDsl.g:6453:1: ( ( ruleEString ) ) // InternalSacmDsl.g:6454:1: ( ruleEString ) { // InternalSacmDsl.g:6454:1: ( ruleEString ) // InternalSacmDsl.g:6455:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAssertionRule()); } newCompositeNode(grammarAccess.getAssertionAccess().getDefinitionEObjectCrossReference_9_0()); pushFollow(FollowSets000.FOLLOW_70); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6468:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt125=2; int LA125_0 = input.LA(1); if ( (LA125_0==16) ) { alt125=1; } switch (alt125) { case 1 : // InternalSacmDsl.g:6468:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getAssertionAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:6476:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:6477:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:6477:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:6478:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertionAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6494:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop124: do { int alt124=2; int LA124_0 = input.LA(1); if ( (LA124_0==17) ) { alt124=1; } switch (alt124) { case 1 : // InternalSacmDsl.g:6494:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getAssertionAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:6498:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:6499:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:6499:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:6500:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAssertionAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop124; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_71); newLeafNode(otherlv_15, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:6520:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt127=2; int LA127_0 = input.LA(1); if ( (LA127_0==19) ) { alt127=1; } switch (alt127) { case 1 : // InternalSacmDsl.g:6520:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getAssertionAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:6528:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:6529:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:6529:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:6530:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertionAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6546:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop126: do { int alt126=2; int LA126_0 = input.LA(1); if ( (LA126_0==17) ) { alt126=1; } switch (alt126) { case 1 : // InternalSacmDsl.g:6546:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getAssertionAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:6550:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:6551:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:6551:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:6552:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getAssertionAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop126; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_72); newLeafNode(otherlv_21, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:6572:3: (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? int alt129=2; int LA129_0 = input.LA(1); if ( (LA129_0==61) ) { alt129=1; } switch (alt129) { case 1 : // InternalSacmDsl.g:6572:5: otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getAssertionAccess().getTimingKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:6580:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:6581:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:6581:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:6582:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAssertionAccess().getTimingTimingPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6598:2: (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* loop128: do { int alt128=2; int LA128_0 = input.LA(1); if ( (LA128_0==17) ) { alt128=1; } switch (alt128) { case 1 : // InternalSacmDsl.g:6598:4: otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getAssertionAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:6602:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:6603:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:6603:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:6604:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAssertionAccess().getTimingTimingPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop128; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_73); newLeafNode(otherlv_27, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:6624:3: (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? int alt131=2; int LA131_0 = input.LA(1); if ( (LA131_0==62) ) { alt131=1; } switch (alt131) { case 1 : // InternalSacmDsl.g:6624:5: otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getAssertionAccess().getCustodyKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:6632:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:6633:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:6633:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:6634:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAssertionAccess().getCustodyCustodyPropertyParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6650:2: (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* loop130: do { int alt130=2; int LA130_0 = input.LA(1); if ( (LA130_0==17) ) { alt130=1; } switch (alt130) { case 1 : // InternalSacmDsl.g:6650:4: otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getAssertionAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:6654:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:6655:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:6655:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:6656:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAssertionAccess().getCustodyCustodyPropertyParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop130; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_74); newLeafNode(otherlv_33, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:6676:3: (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? int alt133=2; int LA133_0 = input.LA(1); if ( (LA133_0==63) ) { alt133=1; } switch (alt133) { case 1 : // InternalSacmDsl.g:6676:5: otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getAssertionAccess().getProvenanceKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:6684:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:6685:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:6685:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:6686:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getAssertionAccess().getProvenanceProvenanceParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6702:2: (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* loop132: do { int alt132=2; int LA132_0 = input.LA(1); if ( (LA132_0==17) ) { alt132=1; } switch (alt132) { case 1 : // InternalSacmDsl.g:6702:4: otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getAssertionAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:6706:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:6707:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:6707:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:6708:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getAssertionAccess().getProvenanceProvenanceParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop132; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_75); newLeafNode(otherlv_39, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:6728:3: (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? int alt135=2; int LA135_0 = input.LA(1); if ( (LA135_0==64) ) { alt135=1; } switch (alt135) { case 1 : // InternalSacmDsl.g:6728:5: otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getAssertionAccess().getEventKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:6736:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:6737:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:6737:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:6738:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAssertionAccess().getEventEvidenceEventParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6754:2: (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* loop134: do { int alt134=2; int LA134_0 = input.LA(1); if ( (LA134_0==17) ) { alt134=1; } switch (alt134) { case 1 : // InternalSacmDsl.g:6754:4: otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getAssertionAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:6758:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:6759:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:6759:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:6760:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAssertionAccess().getEventEvidenceEventParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop134; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_76); newLeafNode(otherlv_45, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_15_4()); } break; } // InternalSacmDsl.g:6780:3: (otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' )? int alt137=2; int LA137_0 = input.LA(1); if ( (LA137_0==68) ) { alt137=1; } switch (alt137) { case 1 : // InternalSacmDsl.g:6780:5: otherlv_46= 'role' otherlv_47= '{' ( (lv_role_48_0= ruleRoleBinding ) ) (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* otherlv_51= '}' { otherlv_46=(Token)match(input,68,FollowSets000.FOLLOW_3); newLeafNode(otherlv_46, grammarAccess.getAssertionAccess().getRoleKeyword_16_0()); otherlv_47=(Token)match(input,12,FollowSets000.FOLLOW_77); newLeafNode(otherlv_47, grammarAccess.getAssertionAccess().getLeftCurlyBracketKeyword_16_1()); // InternalSacmDsl.g:6788:1: ( (lv_role_48_0= ruleRoleBinding ) ) // InternalSacmDsl.g:6789:1: (lv_role_48_0= ruleRoleBinding ) { // InternalSacmDsl.g:6789:1: (lv_role_48_0= ruleRoleBinding ) // InternalSacmDsl.g:6790:3: lv_role_48_0= ruleRoleBinding { newCompositeNode(grammarAccess.getAssertionAccess().getRoleRoleBindingParserRuleCall_16_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_role_48_0=ruleRoleBinding(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "role", lv_role_48_0, "net.certware.sacm.dsl.SacmDsl.RoleBinding"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6806:2: (otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) )* loop136: do { int alt136=2; int LA136_0 = input.LA(1); if ( (LA136_0==17) ) { alt136=1; } switch (alt136) { case 1 : // InternalSacmDsl.g:6806:4: otherlv_49= ',' ( (lv_role_50_0= ruleRoleBinding ) ) { otherlv_49=(Token)match(input,17,FollowSets000.FOLLOW_77); newLeafNode(otherlv_49, grammarAccess.getAssertionAccess().getCommaKeyword_16_3_0()); // InternalSacmDsl.g:6810:1: ( (lv_role_50_0= ruleRoleBinding ) ) // InternalSacmDsl.g:6811:1: (lv_role_50_0= ruleRoleBinding ) { // InternalSacmDsl.g:6811:1: (lv_role_50_0= ruleRoleBinding ) // InternalSacmDsl.g:6812:3: lv_role_50_0= ruleRoleBinding { newCompositeNode(grammarAccess.getAssertionAccess().getRoleRoleBindingParserRuleCall_16_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_role_50_0=ruleRoleBinding(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssertionRule()); } add( current, "role", lv_role_50_0, "net.certware.sacm.dsl.SacmDsl.RoleBinding"); afterParserOrEnumRuleCall(); } } } break; default : break loop136; } } while (true); otherlv_51=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_51, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_16_4()); } break; } otherlv_52=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_52, grammarAccess.getAssertionAccess().getRightCurlyBracketKeyword_17()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssertion" // $ANTLR start "entryRuleObject" // InternalSacmDsl.g:6844:1: entryRuleObject returns [EObject current=null] : iv_ruleObject= ruleObject EOF ; public final EObject entryRuleObject() throws RecognitionException { EObject current = null; EObject iv_ruleObject = null; try { // InternalSacmDsl.g:6845:2: (iv_ruleObject= ruleObject EOF ) // InternalSacmDsl.g:6846:2: iv_ruleObject= ruleObject EOF { newCompositeNode(grammarAccess.getObjectRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleObject=ruleObject(); state._fsp--; current =iv_ruleObject; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObject" // $ANTLR start "ruleObject" // InternalSacmDsl.g:6853:1: ruleObject returns [EObject current=null] : (otherlv_0= 'Object' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'concept' ( (lv_concept_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ; public final EObject ruleObject() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_concept_7_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_timing_24_0 = null; EObject lv_timing_26_0 = null; EObject lv_custody_30_0 = null; EObject lv_custody_32_0 = null; EObject lv_provenance_36_0 = null; EObject lv_provenance_38_0 = null; EObject lv_event_42_0 = null; EObject lv_event_44_0 = null; enterRule(); try { // InternalSacmDsl.g:6856:28: ( (otherlv_0= 'Object' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'concept' ( (lv_concept_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ) // InternalSacmDsl.g:6857:1: (otherlv_0= 'Object' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'concept' ( (lv_concept_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) { // InternalSacmDsl.g:6857:1: (otherlv_0= 'Object' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'concept' ( (lv_concept_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) // InternalSacmDsl.g:6857:3: otherlv_0= 'Object' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'concept' ( (lv_concept_7_0= ruleString0 ) ) otherlv_8= 'definition' ( ( ruleEString ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' { otherlv_0=(Token)match(input,69,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getObjectAccess().getObjectKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getObjectAccess().getIdKeyword_2()); // InternalSacmDsl.g:6869:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:6870:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:6870:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:6871:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getObjectAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getObjectAccess().getNameKeyword_4()); // InternalSacmDsl.g:6891:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:6892:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:6892:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:6893:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getObjectAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_78); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,70,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getObjectAccess().getConceptKeyword_6()); // InternalSacmDsl.g:6913:1: ( (lv_concept_7_0= ruleString0 ) ) // InternalSacmDsl.g:6914:1: (lv_concept_7_0= ruleString0 ) { // InternalSacmDsl.g:6914:1: (lv_concept_7_0= ruleString0 ) // InternalSacmDsl.g:6915:3: lv_concept_7_0= ruleString0 { newCompositeNode(grammarAccess.getObjectAccess().getConceptString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_69); lv_concept_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } set( current, "concept", lv_concept_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,67,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getObjectAccess().getDefinitionKeyword_8()); // InternalSacmDsl.g:6935:1: ( ( ruleEString ) ) // InternalSacmDsl.g:6936:1: ( ruleEString ) { // InternalSacmDsl.g:6936:1: ( ruleEString ) // InternalSacmDsl.g:6937:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getObjectRule()); } newCompositeNode(grammarAccess.getObjectAccess().getDefinitionEObjectCrossReference_9_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6950:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt139=2; int LA139_0 = input.LA(1); if ( (LA139_0==16) ) { alt139=1; } switch (alt139) { case 1 : // InternalSacmDsl.g:6950:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getObjectAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:6958:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:6959:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:6959:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:6960:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getObjectAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:6976:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop138: do { int alt138=2; int LA138_0 = input.LA(1); if ( (LA138_0==17) ) { alt138=1; } switch (alt138) { case 1 : // InternalSacmDsl.g:6976:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getObjectAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:6980:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:6981:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:6981:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:6982:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getObjectAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop138; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_15, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:7002:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt141=2; int LA141_0 = input.LA(1); if ( (LA141_0==19) ) { alt141=1; } switch (alt141) { case 1 : // InternalSacmDsl.g:7002:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getObjectAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:7010:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:7011:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:7011:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:7012:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getObjectAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7028:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop140: do { int alt140=2; int LA140_0 = input.LA(1); if ( (LA140_0==17) ) { alt140=1; } switch (alt140) { case 1 : // InternalSacmDsl.g:7028:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getObjectAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:7032:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:7033:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:7033:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:7034:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getObjectAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop140; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_21, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:7054:3: (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? int alt143=2; int LA143_0 = input.LA(1); if ( (LA143_0==61) ) { alt143=1; } switch (alt143) { case 1 : // InternalSacmDsl.g:7054:5: otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getObjectAccess().getTimingKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:7062:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7063:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:7063:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:7064:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getObjectAccess().getTimingTimingPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7080:2: (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* loop142: do { int alt142=2; int LA142_0 = input.LA(1); if ( (LA142_0==17) ) { alt142=1; } switch (alt142) { case 1 : // InternalSacmDsl.g:7080:4: otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getObjectAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:7084:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7085:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:7085:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:7086:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getObjectAccess().getTimingTimingPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop142; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_27, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:7106:3: (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? int alt145=2; int LA145_0 = input.LA(1); if ( (LA145_0==62) ) { alt145=1; } switch (alt145) { case 1 : // InternalSacmDsl.g:7106:5: otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getObjectAccess().getCustodyKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:7114:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7115:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7115:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:7116:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getObjectAccess().getCustodyCustodyPropertyParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7132:2: (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* loop144: do { int alt144=2; int LA144_0 = input.LA(1); if ( (LA144_0==17) ) { alt144=1; } switch (alt144) { case 1 : // InternalSacmDsl.g:7132:4: otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getObjectAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:7136:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7137:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7137:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:7138:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getObjectAccess().getCustodyCustodyPropertyParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop144; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_33, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:7158:3: (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? int alt147=2; int LA147_0 = input.LA(1); if ( (LA147_0==63) ) { alt147=1; } switch (alt147) { case 1 : // InternalSacmDsl.g:7158:5: otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getObjectAccess().getProvenanceKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:7166:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:7167:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:7167:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:7168:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getObjectAccess().getProvenanceProvenanceParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7184:2: (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* loop146: do { int alt146=2; int LA146_0 = input.LA(1); if ( (LA146_0==17) ) { alt146=1; } switch (alt146) { case 1 : // InternalSacmDsl.g:7184:4: otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getObjectAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:7188:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:7189:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:7189:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:7190:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getObjectAccess().getProvenanceProvenanceParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop146; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_39, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:7210:3: (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? int alt149=2; int LA149_0 = input.LA(1); if ( (LA149_0==64) ) { alt149=1; } switch (alt149) { case 1 : // InternalSacmDsl.g:7210:5: otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getObjectAccess().getEventKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getObjectAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:7218:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:7219:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:7219:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:7220:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getObjectAccess().getEventEvidenceEventParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7236:2: (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* loop148: do { int alt148=2; int LA148_0 = input.LA(1); if ( (LA148_0==17) ) { alt148=1; } switch (alt148) { case 1 : // InternalSacmDsl.g:7236:4: otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getObjectAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:7240:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:7241:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:7241:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:7242:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getObjectAccess().getEventEvidenceEventParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop148; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_45, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_15_4()); } break; } otherlv_46=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_46, grammarAccess.getObjectAccess().getRightCurlyBracketKeyword_16()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObject" // $ANTLR start "entryRuleCompositeObject" // InternalSacmDsl.g:7274:1: entryRuleCompositeObject returns [EObject current=null] : iv_ruleCompositeObject= ruleCompositeObject EOF ; public final EObject entryRuleCompositeObject() throws RecognitionException { EObject current = null; EObject iv_ruleCompositeObject = null; try { // InternalSacmDsl.g:7275:2: (iv_ruleCompositeObject= ruleCompositeObject EOF ) // InternalSacmDsl.g:7276:2: iv_ruleCompositeObject= ruleCompositeObject EOF { newCompositeNode(grammarAccess.getCompositeObjectRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCompositeObject=ruleCompositeObject(); state._fsp--; current =iv_ruleCompositeObject; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCompositeObject" // $ANTLR start "ruleCompositeObject" // InternalSacmDsl.g:7283:1: ruleCompositeObject returns [EObject current=null] : (otherlv_0= 'CompositeObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) ; public final EObject ruleCompositeObject() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; EObject lv_element_44_0 = null; EObject lv_element_46_0 = null; enterRule(); try { // InternalSacmDsl.g:7286:28: ( (otherlv_0= 'CompositeObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) ) // InternalSacmDsl.g:7287:1: (otherlv_0= 'CompositeObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) { // InternalSacmDsl.g:7287:1: (otherlv_0= 'CompositeObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) // InternalSacmDsl.g:7287:3: otherlv_0= 'CompositeObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? otherlv_48= '}' { otherlv_0=(Token)match(input,71,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCompositeObjectAccess().getCompositeObjectKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCompositeObjectAccess().getIdKeyword_2()); // InternalSacmDsl.g:7299:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:7300:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:7300:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:7301:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCompositeObjectAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getCompositeObjectAccess().getNameKeyword_4()); // InternalSacmDsl.g:7321:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:7322:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:7322:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:7323:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getCompositeObjectAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_85); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7339:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt151=2; int LA151_0 = input.LA(1); if ( (LA151_0==16) ) { alt151=1; } switch (alt151) { case 1 : // InternalSacmDsl.g:7339:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getCompositeObjectAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:7347:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:7348:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:7348:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:7349:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompositeObjectAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7365:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop150: do { int alt150=2; int LA150_0 = input.LA(1); if ( (LA150_0==17) ) { alt150=1; } switch (alt150) { case 1 : // InternalSacmDsl.g:7365:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getCompositeObjectAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:7369:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:7370:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:7370:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:7371:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompositeObjectAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop150; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_86); newLeafNode(otherlv_11, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:7391:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt153=2; int LA153_0 = input.LA(1); if ( (LA153_0==19) ) { alt153=1; } switch (alt153) { case 1 : // InternalSacmDsl.g:7391:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getCompositeObjectAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:7399:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:7400:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:7400:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:7401:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompositeObjectAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7417:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop152: do { int alt152=2; int LA152_0 = input.LA(1); if ( (LA152_0==17) ) { alt152=1; } switch (alt152) { case 1 : // InternalSacmDsl.g:7417:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getCompositeObjectAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:7421:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:7422:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:7422:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:7423:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompositeObjectAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop152; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_87); newLeafNode(otherlv_17, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:7443:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt155=2; int LA155_0 = input.LA(1); if ( (LA155_0==61) ) { alt155=1; } switch (alt155) { case 1 : // InternalSacmDsl.g:7443:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getCompositeObjectAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:7451:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7452:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:7452:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:7453:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompositeObjectAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7469:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop154: do { int alt154=2; int LA154_0 = input.LA(1); if ( (LA154_0==17) ) { alt154=1; } switch (alt154) { case 1 : // InternalSacmDsl.g:7469:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getCompositeObjectAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:7473:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7474:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:7474:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:7475:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompositeObjectAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop154; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_88); newLeafNode(otherlv_23, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:7495:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt157=2; int LA157_0 = input.LA(1); if ( (LA157_0==62) ) { alt157=1; } switch (alt157) { case 1 : // InternalSacmDsl.g:7495:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getCompositeObjectAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:7503:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7504:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7504:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:7505:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompositeObjectAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7521:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop156: do { int alt156=2; int LA156_0 = input.LA(1); if ( (LA156_0==17) ) { alt156=1; } switch (alt156) { case 1 : // InternalSacmDsl.g:7521:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getCompositeObjectAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:7525:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7526:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7526:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:7527:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompositeObjectAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop156; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_89); newLeafNode(otherlv_29, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:7547:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt159=2; int LA159_0 = input.LA(1); if ( (LA159_0==63) ) { alt159=1; } switch (alt159) { case 1 : // InternalSacmDsl.g:7547:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getCompositeObjectAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:7555:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:7556:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:7556:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:7557:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getCompositeObjectAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7573:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop158: do { int alt158=2; int LA158_0 = input.LA(1); if ( (LA158_0==17) ) { alt158=1; } switch (alt158) { case 1 : // InternalSacmDsl.g:7573:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getCompositeObjectAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:7577:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:7578:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:7578:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:7579:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getCompositeObjectAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop158; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_90); newLeafNode(otherlv_35, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:7599:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt161=2; int LA161_0 = input.LA(1); if ( (LA161_0==64) ) { alt161=1; } switch (alt161) { case 1 : // InternalSacmDsl.g:7599:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getCompositeObjectAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:7607:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:7608:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:7608:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:7609:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompositeObjectAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7625:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop160: do { int alt160=2; int LA160_0 = input.LA(1); if ( (LA160_0==17) ) { alt160=1; } switch (alt160) { case 1 : // InternalSacmDsl.g:7625:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getCompositeObjectAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:7629:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:7630:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:7630:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:7631:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompositeObjectAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop160; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_36); newLeafNode(otherlv_41, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:7651:3: (otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' )? int alt163=2; int LA163_0 = input.LA(1); if ( (LA163_0==36) ) { alt163=1; } switch (alt163) { case 1 : // InternalSacmDsl.g:7651:5: otherlv_42= 'element' otherlv_43= '{' ( (lv_element_44_0= ruleFormalObject ) ) (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,36,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getCompositeObjectAccess().getElementKeyword_12_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_33); newLeafNode(otherlv_43, grammarAccess.getCompositeObjectAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:7659:1: ( (lv_element_44_0= ruleFormalObject ) ) // InternalSacmDsl.g:7660:1: (lv_element_44_0= ruleFormalObject ) { // InternalSacmDsl.g:7660:1: (lv_element_44_0= ruleFormalObject ) // InternalSacmDsl.g:7661:3: lv_element_44_0= ruleFormalObject { newCompositeNode(grammarAccess.getCompositeObjectAccess().getElementFormalObjectParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_element_44_0=ruleFormalObject(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "element", lv_element_44_0, "net.certware.sacm.dsl.SacmDsl.FormalObject"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7677:2: (otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) )* loop162: do { int alt162=2; int LA162_0 = input.LA(1); if ( (LA162_0==17) ) { alt162=1; } switch (alt162) { case 1 : // InternalSacmDsl.g:7677:4: otherlv_45= ',' ( (lv_element_46_0= ruleFormalObject ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_33); newLeafNode(otherlv_45, grammarAccess.getCompositeObjectAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:7681:1: ( (lv_element_46_0= ruleFormalObject ) ) // InternalSacmDsl.g:7682:1: (lv_element_46_0= ruleFormalObject ) { // InternalSacmDsl.g:7682:1: (lv_element_46_0= ruleFormalObject ) // InternalSacmDsl.g:7683:3: lv_element_46_0= ruleFormalObject { newCompositeNode(grammarAccess.getCompositeObjectAccess().getElementFormalObjectParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_element_46_0=ruleFormalObject(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompositeObjectRule()); } add( current, "element", lv_element_46_0, "net.certware.sacm.dsl.SacmDsl.FormalObject"); afterParserOrEnumRuleCall(); } } } break; default : break loop162; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_47, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_48=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_48, grammarAccess.getCompositeObjectAccess().getRightCurlyBracketKeyword_13()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCompositeObject" // $ANTLR start "entryRuleUnknownObject" // InternalSacmDsl.g:7715:1: entryRuleUnknownObject returns [EObject current=null] : iv_ruleUnknownObject= ruleUnknownObject EOF ; public final EObject entryRuleUnknownObject() throws RecognitionException { EObject current = null; EObject iv_ruleUnknownObject = null; try { // InternalSacmDsl.g:7716:2: (iv_ruleUnknownObject= ruleUnknownObject EOF ) // InternalSacmDsl.g:7717:2: iv_ruleUnknownObject= ruleUnknownObject EOF { newCompositeNode(grammarAccess.getUnknownObjectRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleUnknownObject=ruleUnknownObject(); state._fsp--; current =iv_ruleUnknownObject; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleUnknownObject" // $ANTLR start "ruleUnknownObject" // InternalSacmDsl.g:7724:1: ruleUnknownObject returns [EObject current=null] : (otherlv_0= 'UnknownObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleUnknownObject() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:7727:28: ( (otherlv_0= 'UnknownObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:7728:1: (otherlv_0= 'UnknownObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:7728:1: (otherlv_0= 'UnknownObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:7728:3: otherlv_0= 'UnknownObject' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,72,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getUnknownObjectAccess().getUnknownObjectKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getUnknownObjectAccess().getIdKeyword_2()); // InternalSacmDsl.g:7740:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:7741:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:7741:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:7742:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getUnknownObjectAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getUnknownObjectAccess().getNameKeyword_4()); // InternalSacmDsl.g:7762:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:7763:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:7763:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:7764:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getUnknownObjectAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7780:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt165=2; int LA165_0 = input.LA(1); if ( (LA165_0==16) ) { alt165=1; } switch (alt165) { case 1 : // InternalSacmDsl.g:7780:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getUnknownObjectAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:7788:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:7789:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:7789:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:7790:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getUnknownObjectAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7806:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop164: do { int alt164=2; int LA164_0 = input.LA(1); if ( (LA164_0==17) ) { alt164=1; } switch (alt164) { case 1 : // InternalSacmDsl.g:7806:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getUnknownObjectAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:7810:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:7811:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:7811:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:7812:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getUnknownObjectAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop164; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:7832:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt167=2; int LA167_0 = input.LA(1); if ( (LA167_0==19) ) { alt167=1; } switch (alt167) { case 1 : // InternalSacmDsl.g:7832:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getUnknownObjectAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:7840:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:7841:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:7841:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:7842:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getUnknownObjectAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7858:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop166: do { int alt166=2; int LA166_0 = input.LA(1); if ( (LA166_0==17) ) { alt166=1; } switch (alt166) { case 1 : // InternalSacmDsl.g:7858:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getUnknownObjectAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:7862:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:7863:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:7863:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:7864:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getUnknownObjectAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop166; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:7884:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt169=2; int LA169_0 = input.LA(1); if ( (LA169_0==61) ) { alt169=1; } switch (alt169) { case 1 : // InternalSacmDsl.g:7884:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getUnknownObjectAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:7892:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7893:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:7893:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:7894:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getUnknownObjectAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7910:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop168: do { int alt168=2; int LA168_0 = input.LA(1); if ( (LA168_0==17) ) { alt168=1; } switch (alt168) { case 1 : // InternalSacmDsl.g:7910:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getUnknownObjectAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:7914:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:7915:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:7915:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:7916:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getUnknownObjectAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop168; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:7936:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt171=2; int LA171_0 = input.LA(1); if ( (LA171_0==62) ) { alt171=1; } switch (alt171) { case 1 : // InternalSacmDsl.g:7936:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getUnknownObjectAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:7944:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7945:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7945:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:7946:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getUnknownObjectAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:7962:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop170: do { int alt170=2; int LA170_0 = input.LA(1); if ( (LA170_0==17) ) { alt170=1; } switch (alt170) { case 1 : // InternalSacmDsl.g:7962:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getUnknownObjectAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:7966:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:7967:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:7967:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:7968:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getUnknownObjectAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop170; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:7988:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt173=2; int LA173_0 = input.LA(1); if ( (LA173_0==63) ) { alt173=1; } switch (alt173) { case 1 : // InternalSacmDsl.g:7988:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getUnknownObjectAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:7996:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:7997:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:7997:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:7998:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getUnknownObjectAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8014:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop172: do { int alt172=2; int LA172_0 = input.LA(1); if ( (LA172_0==17) ) { alt172=1; } switch (alt172) { case 1 : // InternalSacmDsl.g:8014:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getUnknownObjectAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:8018:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:8019:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:8019:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:8020:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getUnknownObjectAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop172; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:8040:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt175=2; int LA175_0 = input.LA(1); if ( (LA175_0==64) ) { alt175=1; } switch (alt175) { case 1 : // InternalSacmDsl.g:8040:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getUnknownObjectAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getUnknownObjectAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:8048:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8049:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8049:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8050:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getUnknownObjectAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8066:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop174: do { int alt174=2; int LA174_0 = input.LA(1); if ( (LA174_0==17) ) { alt174=1; } switch (alt174) { case 1 : // InternalSacmDsl.g:8066:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getUnknownObjectAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:8070:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8071:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8071:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8072:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getUnknownObjectAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUnknownObjectRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop174; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getUnknownObjectAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleUnknownObject" // $ANTLR start "entryRuleReferencedClaim" // InternalSacmDsl.g:8104:1: entryRuleReferencedClaim returns [EObject current=null] : iv_ruleReferencedClaim= ruleReferencedClaim EOF ; public final EObject entryRuleReferencedClaim() throws RecognitionException { EObject current = null; EObject iv_ruleReferencedClaim = null; try { // InternalSacmDsl.g:8105:2: (iv_ruleReferencedClaim= ruleReferencedClaim EOF ) // InternalSacmDsl.g:8106:2: iv_ruleReferencedClaim= ruleReferencedClaim EOF { newCompositeNode(grammarAccess.getReferencedClaimRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleReferencedClaim=ruleReferencedClaim(); state._fsp--; current =iv_ruleReferencedClaim; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReferencedClaim" // $ANTLR start "ruleReferencedClaim" // InternalSacmDsl.g:8113:1: ruleReferencedClaim returns [EObject current=null] : (otherlv_0= 'ReferencedClaim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) (otherlv_6= 'claim' ( ( ruleEString ) ) )? (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ; public final EObject ruleReferencedClaim() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_content_5_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; enterRule(); try { // InternalSacmDsl.g:8116:28: ( (otherlv_0= 'ReferencedClaim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) (otherlv_6= 'claim' ( ( ruleEString ) ) )? (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ) // InternalSacmDsl.g:8117:1: (otherlv_0= 'ReferencedClaim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) (otherlv_6= 'claim' ( ( ruleEString ) ) )? (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) { // InternalSacmDsl.g:8117:1: (otherlv_0= 'ReferencedClaim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) (otherlv_6= 'claim' ( ( ruleEString ) ) )? (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) // InternalSacmDsl.g:8117:3: otherlv_0= 'ReferencedClaim' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'content' ( (lv_content_5_0= ruleString0 ) ) (otherlv_6= 'claim' ( ( ruleEString ) ) )? (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' { otherlv_0=(Token)match(input,73,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getReferencedClaimAccess().getReferencedClaimKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getReferencedClaimAccess().getIdKeyword_2()); // InternalSacmDsl.g:8129:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:8130:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:8130:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:8131:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getReferencedClaimAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_20); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getReferencedClaimAccess().getContentKeyword_4()); // InternalSacmDsl.g:8151:1: ( (lv_content_5_0= ruleString0 ) ) // InternalSacmDsl.g:8152:1: (lv_content_5_0= ruleString0 ) { // InternalSacmDsl.g:8152:1: (lv_content_5_0= ruleString0 ) // InternalSacmDsl.g:8153:3: lv_content_5_0= ruleString0 { newCompositeNode(grammarAccess.getReferencedClaimAccess().getContentString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_91); lv_content_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } set( current, "content", lv_content_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8169:2: (otherlv_6= 'claim' ( ( ruleEString ) ) )? int alt176=2; int LA176_0 = input.LA(1); if ( (LA176_0==74) ) { alt176=1; } switch (alt176) { case 1 : // InternalSacmDsl.g:8169:4: otherlv_6= 'claim' ( ( ruleEString ) ) { otherlv_6=(Token)match(input,74,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getReferencedClaimAccess().getClaimKeyword_6_0()); // InternalSacmDsl.g:8173:1: ( ( ruleEString ) ) // InternalSacmDsl.g:8174:1: ( ruleEString ) { // InternalSacmDsl.g:8174:1: ( ruleEString ) // InternalSacmDsl.g:8175:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getReferencedClaimRule()); } newCompositeNode(grammarAccess.getReferencedClaimAccess().getClaimClaimCrossReference_6_1_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; } // InternalSacmDsl.g:8188:4: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt178=2; int LA178_0 = input.LA(1); if ( (LA178_0==16) ) { alt178=1; } switch (alt178) { case 1 : // InternalSacmDsl.g:8188:6: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getReferencedClaimAccess().getTaggedValueKeyword_7_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:8196:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:8197:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:8197:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:8198:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReferencedClaimAccess().getTaggedValueTaggedValueParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8214:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop177: do { int alt177=2; int LA177_0 = input.LA(1); if ( (LA177_0==17) ) { alt177=1; } switch (alt177) { case 1 : // InternalSacmDsl.g:8214:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getReferencedClaimAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:8218:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:8219:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:8219:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:8220:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReferencedClaimAccess().getTaggedValueTaggedValueParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop177; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_13, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:8240:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt180=2; int LA180_0 = input.LA(1); if ( (LA180_0==19) ) { alt180=1; } switch (alt180) { case 1 : // InternalSacmDsl.g:8240:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getReferencedClaimAccess().getAnnotationKeyword_8_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:8248:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:8249:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:8249:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:8250:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getReferencedClaimAccess().getAnnotationAnnotationParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8266:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop179: do { int alt179=2; int LA179_0 = input.LA(1); if ( (LA179_0==17) ) { alt179=1; } switch (alt179) { case 1 : // InternalSacmDsl.g:8266:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getReferencedClaimAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:8270:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:8271:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:8271:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:8272:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getReferencedClaimAccess().getAnnotationAnnotationParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop179; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_19, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:8292:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt182=2; int LA182_0 = input.LA(1); if ( (LA182_0==61) ) { alt182=1; } switch (alt182) { case 1 : // InternalSacmDsl.g:8292:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getReferencedClaimAccess().getTimingKeyword_9_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:8300:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:8301:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:8301:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:8302:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReferencedClaimAccess().getTimingTimingPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8318:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop181: do { int alt181=2; int LA181_0 = input.LA(1); if ( (LA181_0==17) ) { alt181=1; } switch (alt181) { case 1 : // InternalSacmDsl.g:8318:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getReferencedClaimAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:8322:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:8323:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:8323:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:8324:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReferencedClaimAccess().getTimingTimingPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop181; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_25, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:8344:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt184=2; int LA184_0 = input.LA(1); if ( (LA184_0==62) ) { alt184=1; } switch (alt184) { case 1 : // InternalSacmDsl.g:8344:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getReferencedClaimAccess().getCustodyKeyword_10_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:8352:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:8353:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:8353:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:8354:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReferencedClaimAccess().getCustodyCustodyPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8370:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop183: do { int alt183=2; int LA183_0 = input.LA(1); if ( (LA183_0==17) ) { alt183=1; } switch (alt183) { case 1 : // InternalSacmDsl.g:8370:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getReferencedClaimAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:8374:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:8375:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:8375:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:8376:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReferencedClaimAccess().getCustodyCustodyPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop183; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_31, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:8396:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt186=2; int LA186_0 = input.LA(1); if ( (LA186_0==63) ) { alt186=1; } switch (alt186) { case 1 : // InternalSacmDsl.g:8396:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getReferencedClaimAccess().getProvenanceKeyword_11_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:8404:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:8405:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:8405:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:8406:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getReferencedClaimAccess().getProvenanceProvenanceParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8422:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop185: do { int alt185=2; int LA185_0 = input.LA(1); if ( (LA185_0==17) ) { alt185=1; } switch (alt185) { case 1 : // InternalSacmDsl.g:8422:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getReferencedClaimAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:8426:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:8427:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:8427:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:8428:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getReferencedClaimAccess().getProvenanceProvenanceParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop185; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_37, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:8448:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt188=2; int LA188_0 = input.LA(1); if ( (LA188_0==64) ) { alt188=1; } switch (alt188) { case 1 : // InternalSacmDsl.g:8448:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getReferencedClaimAccess().getEventKeyword_12_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getReferencedClaimAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:8456:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8457:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8457:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8458:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReferencedClaimAccess().getEventEvidenceEventParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8474:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop187: do { int alt187=2; int LA187_0 = input.LA(1); if ( (LA187_0==17) ) { alt187=1; } switch (alt187) { case 1 : // InternalSacmDsl.g:8474:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getReferencedClaimAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:8478:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8479:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8479:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8480:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReferencedClaimAccess().getEventEvidenceEventParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReferencedClaimRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop187; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_43, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_44=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_44, grammarAccess.getReferencedClaimAccess().getRightCurlyBracketKeyword_13()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReferencedClaim" // $ANTLR start "entryRuleEvidenceGroup" // InternalSacmDsl.g:8512:1: entryRuleEvidenceGroup returns [EObject current=null] : iv_ruleEvidenceGroup= ruleEvidenceGroup EOF ; public final EObject entryRuleEvidenceGroup() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceGroup = null; try { // InternalSacmDsl.g:8513:2: (iv_ruleEvidenceGroup= ruleEvidenceGroup EOF ) // InternalSacmDsl.g:8514:2: iv_ruleEvidenceGroup= ruleEvidenceGroup EOF { newCompositeNode(grammarAccess.getEvidenceGroupRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceGroup=ruleEvidenceGroup(); state._fsp--; current =iv_ruleEvidenceGroup; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceGroup" // $ANTLR start "ruleEvidenceGroup" // InternalSacmDsl.g:8521:1: ruleEvidenceGroup returns [EObject current=null] : (otherlv_0= 'EvidenceGroup' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) ; public final EObject ruleEvidenceGroup() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_taggedValue_16_0 = null; EObject lv_annotation_20_0 = null; EObject lv_annotation_22_0 = null; EObject lv_timing_26_0 = null; EObject lv_timing_28_0 = null; EObject lv_custody_32_0 = null; EObject lv_custody_34_0 = null; EObject lv_provenance_38_0 = null; EObject lv_provenance_40_0 = null; EObject lv_event_44_0 = null; EObject lv_event_46_0 = null; enterRule(); try { // InternalSacmDsl.g:8524:28: ( (otherlv_0= 'EvidenceGroup' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) ) // InternalSacmDsl.g:8525:1: (otherlv_0= 'EvidenceGroup' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) { // InternalSacmDsl.g:8525:1: (otherlv_0= 'EvidenceGroup' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? otherlv_48= '}' ) // InternalSacmDsl.g:8525:3: otherlv_0= 'EvidenceGroup' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? otherlv_48= '}' { otherlv_0=(Token)match(input,75,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getEvidenceGroupAccess().getEvidenceGroupKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getEvidenceGroupAccess().getIdKeyword_2()); // InternalSacmDsl.g:8537:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:8538:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:8538:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:8539:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getEvidenceGroupAccess().getNameKeyword_4()); // InternalSacmDsl.g:8559:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:8560:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:8560:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:8561:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_85); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8577:2: (otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' )? int alt190=2; int LA190_0 = input.LA(1); if ( (LA190_0==36) ) { alt190=1; } switch (alt190) { case 1 : // InternalSacmDsl.g:8577:4: otherlv_6= 'element' otherlv_7= '(' ( ( ruleEString ) ) (otherlv_9= ',' ( ( ruleEString ) ) )* otherlv_11= ')' { otherlv_6=(Token)match(input,36,FollowSets000.FOLLOW_39); newLeafNode(otherlv_6, grammarAccess.getEvidenceGroupAccess().getElementKeyword_6_0()); otherlv_7=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_7, grammarAccess.getEvidenceGroupAccess().getLeftParenthesisKeyword_6_1()); // InternalSacmDsl.g:8585:1: ( ( ruleEString ) ) // InternalSacmDsl.g:8586:1: ( ruleEString ) { // InternalSacmDsl.g:8586:1: ( ruleEString ) // InternalSacmDsl.g:8587:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getEvidenceGroupRule()); } newCompositeNode(grammarAccess.getEvidenceGroupAccess().getElementEvidenceElementCrossReference_6_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8600:2: (otherlv_9= ',' ( ( ruleEString ) ) )* loop189: do { int alt189=2; int LA189_0 = input.LA(1); if ( (LA189_0==17) ) { alt189=1; } switch (alt189) { case 1 : // InternalSacmDsl.g:8600:4: otherlv_9= ',' ( ( ruleEString ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:8604:1: ( ( ruleEString ) ) // InternalSacmDsl.g:8605:1: ( ruleEString ) { // InternalSacmDsl.g:8605:1: ( ruleEString ) // InternalSacmDsl.g:8606:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getEvidenceGroupRule()); } newCompositeNode(grammarAccess.getEvidenceGroupAccess().getElementEvidenceElementCrossReference_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop189; } } while (true); otherlv_11=(Token)match(input,40,FollowSets000.FOLLOW_79); newLeafNode(otherlv_11, grammarAccess.getEvidenceGroupAccess().getRightParenthesisKeyword_6_4()); } break; } // InternalSacmDsl.g:8623:3: (otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' )? int alt192=2; int LA192_0 = input.LA(1); if ( (LA192_0==16) ) { alt192=1; } switch (alt192) { case 1 : // InternalSacmDsl.g:8623:5: otherlv_12= 'taggedValue' otherlv_13= '{' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getEvidenceGroupAccess().getTaggedValueKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:8631:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:8632:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:8632:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:8633:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getTaggedValueTaggedValueParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8649:2: (otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) )* loop191: do { int alt191=2; int LA191_0 = input.LA(1); if ( (LA191_0==17) ) { alt191=1; } switch (alt191) { case 1 : // InternalSacmDsl.g:8649:4: otherlv_15= ',' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_15, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:8653:1: ( (lv_taggedValue_16_0= ruleTaggedValue ) ) // InternalSacmDsl.g:8654:1: (lv_taggedValue_16_0= ruleTaggedValue ) { // InternalSacmDsl.g:8654:1: (lv_taggedValue_16_0= ruleTaggedValue ) // InternalSacmDsl.g:8655:3: lv_taggedValue_16_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getTaggedValueTaggedValueParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_16_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "taggedValue", lv_taggedValue_16_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop191; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_17, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:8675:3: (otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' )? int alt194=2; int LA194_0 = input.LA(1); if ( (LA194_0==19) ) { alt194=1; } switch (alt194) { case 1 : // InternalSacmDsl.g:8675:5: otherlv_18= 'annotation' otherlv_19= '{' ( (lv_annotation_20_0= ruleAnnotation ) ) (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getEvidenceGroupAccess().getAnnotationKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:8683:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:8684:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:8684:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:8685:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getAnnotationAnnotationParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8701:2: (otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) )* loop193: do { int alt193=2; int LA193_0 = input.LA(1); if ( (LA193_0==17) ) { alt193=1; } switch (alt193) { case 1 : // InternalSacmDsl.g:8701:4: otherlv_21= ',' ( (lv_annotation_22_0= ruleAnnotation ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_21, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:8705:1: ( (lv_annotation_22_0= ruleAnnotation ) ) // InternalSacmDsl.g:8706:1: (lv_annotation_22_0= ruleAnnotation ) { // InternalSacmDsl.g:8706:1: (lv_annotation_22_0= ruleAnnotation ) // InternalSacmDsl.g:8707:3: lv_annotation_22_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getAnnotationAnnotationParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_22_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "annotation", lv_annotation_22_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop193; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_23, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:8727:3: (otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' )? int alt196=2; int LA196_0 = input.LA(1); if ( (LA196_0==61) ) { alt196=1; } switch (alt196) { case 1 : // InternalSacmDsl.g:8727:5: otherlv_24= 'timing' otherlv_25= '{' ( (lv_timing_26_0= ruleTimingProperty ) ) (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getEvidenceGroupAccess().getTimingKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:8735:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:8736:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:8736:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:8737:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getTimingTimingPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8753:2: (otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) )* loop195: do { int alt195=2; int LA195_0 = input.LA(1); if ( (LA195_0==17) ) { alt195=1; } switch (alt195) { case 1 : // InternalSacmDsl.g:8753:4: otherlv_27= ',' ( (lv_timing_28_0= ruleTimingProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_27, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:8757:1: ( (lv_timing_28_0= ruleTimingProperty ) ) // InternalSacmDsl.g:8758:1: (lv_timing_28_0= ruleTimingProperty ) { // InternalSacmDsl.g:8758:1: (lv_timing_28_0= ruleTimingProperty ) // InternalSacmDsl.g:8759:3: lv_timing_28_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getTimingTimingPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_28_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "timing", lv_timing_28_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop195; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_29, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:8779:3: (otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' )? int alt198=2; int LA198_0 = input.LA(1); if ( (LA198_0==62) ) { alt198=1; } switch (alt198) { case 1 : // InternalSacmDsl.g:8779:5: otherlv_30= 'custody' otherlv_31= '{' ( (lv_custody_32_0= ruleCustodyProperty ) ) (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getEvidenceGroupAccess().getCustodyKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:8787:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:8788:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:8788:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:8789:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getCustodyCustodyPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8805:2: (otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) )* loop197: do { int alt197=2; int LA197_0 = input.LA(1); if ( (LA197_0==17) ) { alt197=1; } switch (alt197) { case 1 : // InternalSacmDsl.g:8805:4: otherlv_33= ',' ( (lv_custody_34_0= ruleCustodyProperty ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_33, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:8809:1: ( (lv_custody_34_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:8810:1: (lv_custody_34_0= ruleCustodyProperty ) { // InternalSacmDsl.g:8810:1: (lv_custody_34_0= ruleCustodyProperty ) // InternalSacmDsl.g:8811:3: lv_custody_34_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getCustodyCustodyPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_34_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "custody", lv_custody_34_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop197; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_35, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:8831:3: (otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' )? int alt200=2; int LA200_0 = input.LA(1); if ( (LA200_0==63) ) { alt200=1; } switch (alt200) { case 1 : // InternalSacmDsl.g:8831:5: otherlv_36= 'provenance' otherlv_37= '{' ( (lv_provenance_38_0= ruleProvenance ) ) (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getEvidenceGroupAccess().getProvenanceKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:8839:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:8840:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:8840:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:8841:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getProvenanceProvenanceParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8857:2: (otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) )* loop199: do { int alt199=2; int LA199_0 = input.LA(1); if ( (LA199_0==17) ) { alt199=1; } switch (alt199) { case 1 : // InternalSacmDsl.g:8857:4: otherlv_39= ',' ( (lv_provenance_40_0= ruleProvenance ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_39, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:8861:1: ( (lv_provenance_40_0= ruleProvenance ) ) // InternalSacmDsl.g:8862:1: (lv_provenance_40_0= ruleProvenance ) { // InternalSacmDsl.g:8862:1: (lv_provenance_40_0= ruleProvenance ) // InternalSacmDsl.g:8863:3: lv_provenance_40_0= ruleProvenance { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getProvenanceProvenanceParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_40_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "provenance", lv_provenance_40_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop199; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_41, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:8883:3: (otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' )? int alt202=2; int LA202_0 = input.LA(1); if ( (LA202_0==64) ) { alt202=1; } switch (alt202) { case 1 : // InternalSacmDsl.g:8883:5: otherlv_42= 'event' otherlv_43= '{' ( (lv_event_44_0= ruleEvidenceEvent ) ) (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getEvidenceGroupAccess().getEventKeyword_12_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getEvidenceGroupAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:8891:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8892:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8892:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8893:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getEventEvidenceEventParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:8909:2: (otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) )* loop201: do { int alt201=2; int LA201_0 = input.LA(1); if ( (LA201_0==17) ) { alt201=1; } switch (alt201) { case 1 : // InternalSacmDsl.g:8909:4: otherlv_45= ',' ( (lv_event_46_0= ruleEvidenceEvent ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_45, grammarAccess.getEvidenceGroupAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:8913:1: ( (lv_event_46_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:8914:1: (lv_event_46_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:8914:1: (lv_event_46_0= ruleEvidenceEvent ) // InternalSacmDsl.g:8915:3: lv_event_46_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEvidenceGroupAccess().getEventEvidenceEventParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_46_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceGroupRule()); } add( current, "event", lv_event_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop201; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_47, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_48=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_48, grammarAccess.getEvidenceGroupAccess().getRightCurlyBracketKeyword_13()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceGroup" // $ANTLR start "entryRuleExhibit_Impl" // InternalSacmDsl.g:8947:1: entryRuleExhibit_Impl returns [EObject current=null] : iv_ruleExhibit_Impl= ruleExhibit_Impl EOF ; public final EObject entryRuleExhibit_Impl() throws RecognitionException { EObject current = null; EObject iv_ruleExhibit_Impl = null; try { // InternalSacmDsl.g:8948:2: (iv_ruleExhibit_Impl= ruleExhibit_Impl EOF ) // InternalSacmDsl.g:8949:2: iv_ruleExhibit_Impl= ruleExhibit_Impl EOF { newCompositeNode(grammarAccess.getExhibit_ImplRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleExhibit_Impl=ruleExhibit_Impl(); state._fsp--; current =iv_ruleExhibit_Impl; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExhibit_Impl" // $ANTLR start "ruleExhibit_Impl" // InternalSacmDsl.g:8956:1: ruleExhibit_Impl returns [EObject current=null] : (otherlv_0= 'Exhibit' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleExhibit_Impl() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_url_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:8959:28: ( (otherlv_0= 'Exhibit' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:8960:1: (otherlv_0= 'Exhibit' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:8960:1: (otherlv_0= 'Exhibit' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:8960:3: otherlv_0= 'Exhibit' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'url' ( (lv_url_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,76,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getExhibit_ImplAccess().getExhibitKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getExhibit_ImplAccess().getIdKeyword_2()); // InternalSacmDsl.g:8972:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:8973:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:8973:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:8974:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getExhibit_ImplAccess().getNameKeyword_4()); // InternalSacmDsl.g:8994:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:8995:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:8995:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:8996:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_44); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,43,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getExhibit_ImplAccess().getUrlKeyword_6()); // InternalSacmDsl.g:9016:1: ( (lv_url_7_0= ruleString0 ) ) // InternalSacmDsl.g:9017:1: (lv_url_7_0= ruleString0 ) { // InternalSacmDsl.g:9017:1: (lv_url_7_0= ruleString0 ) // InternalSacmDsl.g:9018:3: lv_url_7_0= ruleString0 { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getUrlString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_url_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } set( current, "url", lv_url_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9034:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt204=2; int LA204_0 = input.LA(1); if ( (LA204_0==16) ) { alt204=1; } switch (alt204) { case 1 : // InternalSacmDsl.g:9034:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getExhibit_ImplAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:9042:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9043:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:9043:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:9044:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9060:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop203: do { int alt203=2; int LA203_0 = input.LA(1); if ( (LA203_0==17) ) { alt203=1; } switch (alt203) { case 1 : // InternalSacmDsl.g:9060:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:9064:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9065:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:9065:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:9066:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop203; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:9086:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt206=2; int LA206_0 = input.LA(1); if ( (LA206_0==19) ) { alt206=1; } switch (alt206) { case 1 : // InternalSacmDsl.g:9086:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getExhibit_ImplAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:9094:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:9095:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:9095:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:9096:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9112:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop205: do { int alt205=2; int LA205_0 = input.LA(1); if ( (LA205_0==17) ) { alt205=1; } switch (alt205) { case 1 : // InternalSacmDsl.g:9112:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:9116:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:9117:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:9117:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:9118:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop205; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:9138:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt208=2; int LA208_0 = input.LA(1); if ( (LA208_0==61) ) { alt208=1; } switch (alt208) { case 1 : // InternalSacmDsl.g:9138:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getExhibit_ImplAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:9146:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:9147:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:9147:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:9148:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9164:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop207: do { int alt207=2; int LA207_0 = input.LA(1); if ( (LA207_0==17) ) { alt207=1; } switch (alt207) { case 1 : // InternalSacmDsl.g:9164:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:9168:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:9169:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:9169:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:9170:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop207; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:9190:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt210=2; int LA210_0 = input.LA(1); if ( (LA210_0==62) ) { alt210=1; } switch (alt210) { case 1 : // InternalSacmDsl.g:9190:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getExhibit_ImplAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:9198:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:9199:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:9199:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:9200:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9216:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop209: do { int alt209=2; int LA209_0 = input.LA(1); if ( (LA209_0==17) ) { alt209=1; } switch (alt209) { case 1 : // InternalSacmDsl.g:9216:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:9220:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:9221:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:9221:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:9222:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop209; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:9242:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt212=2; int LA212_0 = input.LA(1); if ( (LA212_0==63) ) { alt212=1; } switch (alt212) { case 1 : // InternalSacmDsl.g:9242:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getExhibit_ImplAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:9250:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:9251:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:9251:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:9252:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9268:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop211: do { int alt211=2; int LA211_0 = input.LA(1); if ( (LA211_0==17) ) { alt211=1; } switch (alt211) { case 1 : // InternalSacmDsl.g:9268:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:9272:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:9273:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:9273:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:9274:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop211; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:9294:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt214=2; int LA214_0 = input.LA(1); if ( (LA214_0==64) ) { alt214=1; } switch (alt214) { case 1 : // InternalSacmDsl.g:9294:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getExhibit_ImplAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:9302:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:9303:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:9303:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:9304:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9320:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop213: do { int alt213=2; int LA213_0 = input.LA(1); if ( (LA213_0==17) ) { alt213=1; } switch (alt213) { case 1 : // InternalSacmDsl.g:9320:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:9324:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:9325:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:9325:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:9326:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop213; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:9346:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' )? int alt216=2; int LA216_0 = input.LA(1); if ( (LA216_0==35) ) { alt216=1; } switch (alt216) { case 1 : // InternalSacmDsl.g:9346:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleExhibitProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getExhibit_ImplAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_67); newLeafNode(otherlv_45, grammarAccess.getExhibit_ImplAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:9354:1: ( (lv_property_46_0= ruleExhibitProperty ) ) // InternalSacmDsl.g:9355:1: (lv_property_46_0= ruleExhibitProperty ) { // InternalSacmDsl.g:9355:1: (lv_property_46_0= ruleExhibitProperty ) // InternalSacmDsl.g:9356:3: lv_property_46_0= ruleExhibitProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getPropertyExhibitPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleExhibitProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ExhibitProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9372:2: (otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) )* loop215: do { int alt215=2; int LA215_0 = input.LA(1); if ( (LA215_0==17) ) { alt215=1; } switch (alt215) { case 1 : // InternalSacmDsl.g:9372:4: otherlv_47= ',' ( (lv_property_48_0= ruleExhibitProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_67); newLeafNode(otherlv_47, grammarAccess.getExhibit_ImplAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:9376:1: ( (lv_property_48_0= ruleExhibitProperty ) ) // InternalSacmDsl.g:9377:1: (lv_property_48_0= ruleExhibitProperty ) { // InternalSacmDsl.g:9377:1: (lv_property_48_0= ruleExhibitProperty ) // InternalSacmDsl.g:9378:3: lv_property_48_0= ruleExhibitProperty { newCompositeNode(grammarAccess.getExhibit_ImplAccess().getPropertyExhibitPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleExhibitProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExhibit_ImplRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ExhibitProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop215; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getExhibit_ImplAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExhibit_Impl" // $ANTLR start "entryRuleRecord" // InternalSacmDsl.g:9410:1: entryRuleRecord returns [EObject current=null] : iv_ruleRecord= ruleRecord EOF ; public final EObject entryRuleRecord() throws RecognitionException { EObject current = null; EObject iv_ruleRecord = null; try { // InternalSacmDsl.g:9411:2: (iv_ruleRecord= ruleRecord EOF ) // InternalSacmDsl.g:9412:2: iv_ruleRecord= ruleRecord EOF { newCompositeNode(grammarAccess.getRecordRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleRecord=ruleRecord(); state._fsp--; current =iv_ruleRecord; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRecord" // $ANTLR start "ruleRecord" // InternalSacmDsl.g:9419:1: ruleRecord returns [EObject current=null] : (otherlv_0= 'Record' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ; public final EObject ruleRecord() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; enterRule(); try { // InternalSacmDsl.g:9422:28: ( (otherlv_0= 'Record' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ) // InternalSacmDsl.g:9423:1: (otherlv_0= 'Record' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) { // InternalSacmDsl.g:9423:1: (otherlv_0= 'Record' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) // InternalSacmDsl.g:9423:3: otherlv_0= 'Record' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' { otherlv_0=(Token)match(input,77,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getRecordAccess().getRecordKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getRecordAccess().getIdKeyword_2()); // InternalSacmDsl.g:9435:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:9436:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:9436:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:9437:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getRecordAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getRecordAccess().getNameKeyword_4()); // InternalSacmDsl.g:9457:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:9458:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:9458:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:9459:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getRecordAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getRecordAccess().getContentKeyword_6()); // InternalSacmDsl.g:9479:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:9480:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:9480:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:9481:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getRecordAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_79); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9497:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt218=2; int LA218_0 = input.LA(1); if ( (LA218_0==16) ) { alt218=1; } switch (alt218) { case 1 : // InternalSacmDsl.g:9497:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getRecordAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:9505:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9506:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:9506:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:9507:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRecordAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9523:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop217: do { int alt217=2; int LA217_0 = input.LA(1); if ( (LA217_0==17) ) { alt217=1; } switch (alt217) { case 1 : // InternalSacmDsl.g:9523:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getRecordAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:9527:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9528:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:9528:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:9529:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRecordAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop217; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_13, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:9549:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt220=2; int LA220_0 = input.LA(1); if ( (LA220_0==19) ) { alt220=1; } switch (alt220) { case 1 : // InternalSacmDsl.g:9549:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getRecordAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:9557:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:9558:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:9558:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:9559:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getRecordAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9575:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop219: do { int alt219=2; int LA219_0 = input.LA(1); if ( (LA219_0==17) ) { alt219=1; } switch (alt219) { case 1 : // InternalSacmDsl.g:9575:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getRecordAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:9579:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:9580:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:9580:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:9581:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getRecordAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop219; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_19, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:9601:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt222=2; int LA222_0 = input.LA(1); if ( (LA222_0==61) ) { alt222=1; } switch (alt222) { case 1 : // InternalSacmDsl.g:9601:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getRecordAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:9609:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:9610:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:9610:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:9611:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRecordAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9627:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop221: do { int alt221=2; int LA221_0 = input.LA(1); if ( (LA221_0==17) ) { alt221=1; } switch (alt221) { case 1 : // InternalSacmDsl.g:9627:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getRecordAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:9631:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:9632:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:9632:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:9633:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRecordAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop221; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_25, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:9653:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt224=2; int LA224_0 = input.LA(1); if ( (LA224_0==62) ) { alt224=1; } switch (alt224) { case 1 : // InternalSacmDsl.g:9653:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getRecordAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:9661:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:9662:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:9662:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:9663:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRecordAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9679:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop223: do { int alt223=2; int LA223_0 = input.LA(1); if ( (LA223_0==17) ) { alt223=1; } switch (alt223) { case 1 : // InternalSacmDsl.g:9679:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getRecordAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:9683:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:9684:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:9684:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:9685:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRecordAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop223; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_31, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:9705:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt226=2; int LA226_0 = input.LA(1); if ( (LA226_0==63) ) { alt226=1; } switch (alt226) { case 1 : // InternalSacmDsl.g:9705:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getRecordAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:9713:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:9714:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:9714:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:9715:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getRecordAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9731:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop225: do { int alt225=2; int LA225_0 = input.LA(1); if ( (LA225_0==17) ) { alt225=1; } switch (alt225) { case 1 : // InternalSacmDsl.g:9731:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getRecordAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:9735:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:9736:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:9736:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:9737:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getRecordAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop225; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_37, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:9757:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt228=2; int LA228_0 = input.LA(1); if ( (LA228_0==64) ) { alt228=1; } switch (alt228) { case 1 : // InternalSacmDsl.g:9757:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getRecordAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getRecordAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:9765:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:9766:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:9766:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:9767:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRecordAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9783:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop227: do { int alt227=2; int LA227_0 = input.LA(1); if ( (LA227_0==17) ) { alt227=1; } switch (alt227) { case 1 : // InternalSacmDsl.g:9783:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getRecordAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:9787:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:9788:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:9788:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:9789:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRecordAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRecordRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop227; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_43, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_13_4()); } break; } otherlv_44=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_44, grammarAccess.getRecordAccess().getRightCurlyBracketKeyword_14()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRecord" // $ANTLR start "entryRuleObjectifiedAssertion" // InternalSacmDsl.g:9821:1: entryRuleObjectifiedAssertion returns [EObject current=null] : iv_ruleObjectifiedAssertion= ruleObjectifiedAssertion EOF ; public final EObject entryRuleObjectifiedAssertion() throws RecognitionException { EObject current = null; EObject iv_ruleObjectifiedAssertion = null; try { // InternalSacmDsl.g:9822:2: (iv_ruleObjectifiedAssertion= ruleObjectifiedAssertion EOF ) // InternalSacmDsl.g:9823:2: iv_ruleObjectifiedAssertion= ruleObjectifiedAssertion EOF { newCompositeNode(grammarAccess.getObjectifiedAssertionRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleObjectifiedAssertion=ruleObjectifiedAssertion(); state._fsp--; current =iv_ruleObjectifiedAssertion; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleObjectifiedAssertion" // $ANTLR start "ruleObjectifiedAssertion" // InternalSacmDsl.g:9830:1: ruleObjectifiedAssertion returns [EObject current=null] : (otherlv_0= 'ObjectifiedAssertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ; public final EObject ruleObjectifiedAssertion() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; enterRule(); try { // InternalSacmDsl.g:9833:28: ( (otherlv_0= 'ObjectifiedAssertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ) // InternalSacmDsl.g:9834:1: (otherlv_0= 'ObjectifiedAssertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) { // InternalSacmDsl.g:9834:1: (otherlv_0= 'ObjectifiedAssertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) // InternalSacmDsl.g:9834:3: otherlv_0= 'ObjectifiedAssertion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' { otherlv_0=(Token)match(input,78,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getObjectifiedAssertionAccess().getObjectifiedAssertionKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getObjectifiedAssertionAccess().getIdKeyword_2()); // InternalSacmDsl.g:9846:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:9847:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:9847:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:9848:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getObjectifiedAssertionAccess().getNameKeyword_4()); // InternalSacmDsl.g:9868:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:9869:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:9869:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:9870:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_92); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,79,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getObjectifiedAssertionAccess().getAssertionKeyword_6()); // InternalSacmDsl.g:9890:1: ( ( ruleEString ) ) // InternalSacmDsl.g:9891:1: ( ruleEString ) { // InternalSacmDsl.g:9891:1: ( ruleEString ) // InternalSacmDsl.g:9892:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getObjectifiedAssertionRule()); } newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getAssertionFormalAssertionCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9905:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt230=2; int LA230_0 = input.LA(1); if ( (LA230_0==16) ) { alt230=1; } switch (alt230) { case 1 : // InternalSacmDsl.g:9905:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getObjectifiedAssertionAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:9913:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9914:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:9914:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:9915:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9931:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop229: do { int alt229=2; int LA229_0 = input.LA(1); if ( (LA229_0==17) ) { alt229=1; } switch (alt229) { case 1 : // InternalSacmDsl.g:9931:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:9935:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:9936:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:9936:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:9937:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop229; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_13, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:9957:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt232=2; int LA232_0 = input.LA(1); if ( (LA232_0==19) ) { alt232=1; } switch (alt232) { case 1 : // InternalSacmDsl.g:9957:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getObjectifiedAssertionAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:9965:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:9966:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:9966:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:9967:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:9983:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop231: do { int alt231=2; int LA231_0 = input.LA(1); if ( (LA231_0==17) ) { alt231=1; } switch (alt231) { case 1 : // InternalSacmDsl.g:9983:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:9987:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:9988:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:9988:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:9989:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop231; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_19, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:10009:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt234=2; int LA234_0 = input.LA(1); if ( (LA234_0==61) ) { alt234=1; } switch (alt234) { case 1 : // InternalSacmDsl.g:10009:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getObjectifiedAssertionAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:10017:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10018:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:10018:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:10019:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10035:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop233: do { int alt233=2; int LA233_0 = input.LA(1); if ( (LA233_0==17) ) { alt233=1; } switch (alt233) { case 1 : // InternalSacmDsl.g:10035:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:10039:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10040:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:10040:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:10041:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop233; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_25, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:10061:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt236=2; int LA236_0 = input.LA(1); if ( (LA236_0==62) ) { alt236=1; } switch (alt236) { case 1 : // InternalSacmDsl.g:10061:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getObjectifiedAssertionAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:10069:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10070:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10070:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:10071:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10087:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop235: do { int alt235=2; int LA235_0 = input.LA(1); if ( (LA235_0==17) ) { alt235=1; } switch (alt235) { case 1 : // InternalSacmDsl.g:10087:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:10091:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10092:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10092:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:10093:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop235; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_31, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:10113:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt238=2; int LA238_0 = input.LA(1); if ( (LA238_0==63) ) { alt238=1; } switch (alt238) { case 1 : // InternalSacmDsl.g:10113:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getObjectifiedAssertionAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:10121:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:10122:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:10122:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:10123:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10139:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop237: do { int alt237=2; int LA237_0 = input.LA(1); if ( (LA237_0==17) ) { alt237=1; } switch (alt237) { case 1 : // InternalSacmDsl.g:10139:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:10143:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:10144:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:10144:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:10145:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop237; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_37, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:10165:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt240=2; int LA240_0 = input.LA(1); if ( (LA240_0==64) ) { alt240=1; } switch (alt240) { case 1 : // InternalSacmDsl.g:10165:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getObjectifiedAssertionAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getObjectifiedAssertionAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:10173:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10174:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10174:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10175:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10191:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop239: do { int alt239=2; int LA239_0 = input.LA(1); if ( (LA239_0==17) ) { alt239=1; } switch (alt239) { case 1 : // InternalSacmDsl.g:10191:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getObjectifiedAssertionAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:10195:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10196:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10196:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10197:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getObjectifiedAssertionAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getObjectifiedAssertionRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop239; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_43, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_13_4()); } break; } otherlv_44=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_44, grammarAccess.getObjectifiedAssertionAccess().getRightCurlyBracketKeyword_14()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleObjectifiedAssertion" // $ANTLR start "entryRuleEndTime" // InternalSacmDsl.g:10229:1: entryRuleEndTime returns [EObject current=null] : iv_ruleEndTime= ruleEndTime EOF ; public final EObject entryRuleEndTime() throws RecognitionException { EObject current = null; EObject iv_ruleEndTime = null; try { // InternalSacmDsl.g:10230:2: (iv_ruleEndTime= ruleEndTime EOF ) // InternalSacmDsl.g:10231:2: iv_ruleEndTime= ruleEndTime EOF { newCompositeNode(grammarAccess.getEndTimeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEndTime=ruleEndTime(); state._fsp--; current =iv_ruleEndTime; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEndTime" // $ANTLR start "ruleEndTime" // InternalSacmDsl.g:10238:1: ruleEndTime returns [EObject current=null] : (otherlv_0= 'EndTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleEndTime() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:10241:28: ( (otherlv_0= 'EndTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:10242:1: (otherlv_0= 'EndTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:10242:1: (otherlv_0= 'EndTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:10242:3: otherlv_0= 'EndTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,80,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getEndTimeAccess().getEndTimeKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getEndTimeAccess().getIdKeyword_2()); // InternalSacmDsl.g:10254:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:10255:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:10255:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:10256:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getEndTimeAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_93); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,81,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getEndTimeAccess().getDatetimeKeyword_4()); // InternalSacmDsl.g:10276:1: ( ( ruleEString ) ) // InternalSacmDsl.g:10277:1: ( ruleEString ) { // InternalSacmDsl.g:10277:1: ( ruleEString ) // InternalSacmDsl.g:10278:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getEndTimeRule()); } newCompositeNode(grammarAccess.getEndTimeAccess().getDatetimeDatetimeCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10291:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt242=2; int LA242_0 = input.LA(1); if ( (LA242_0==16) ) { alt242=1; } switch (alt242) { case 1 : // InternalSacmDsl.g:10291:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getEndTimeAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:10299:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:10300:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:10300:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:10301:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEndTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10317:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop241: do { int alt241=2; int LA241_0 = input.LA(1); if ( (LA241_0==17) ) { alt241=1; } switch (alt241) { case 1 : // InternalSacmDsl.g:10317:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getEndTimeAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:10321:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:10322:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:10322:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:10323:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEndTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop241; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:10343:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt244=2; int LA244_0 = input.LA(1); if ( (LA244_0==19) ) { alt244=1; } switch (alt244) { case 1 : // InternalSacmDsl.g:10343:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getEndTimeAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:10351:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:10352:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:10352:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:10353:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getEndTimeAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10369:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop243: do { int alt243=2; int LA243_0 = input.LA(1); if ( (LA243_0==17) ) { alt243=1; } switch (alt243) { case 1 : // InternalSacmDsl.g:10369:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getEndTimeAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:10373:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:10374:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:10374:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:10375:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getEndTimeAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop243; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:10395:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt246=2; int LA246_0 = input.LA(1); if ( (LA246_0==61) ) { alt246=1; } switch (alt246) { case 1 : // InternalSacmDsl.g:10395:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getEndTimeAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:10403:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10404:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:10404:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:10405:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEndTimeAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10421:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop245: do { int alt245=2; int LA245_0 = input.LA(1); if ( (LA245_0==17) ) { alt245=1; } switch (alt245) { case 1 : // InternalSacmDsl.g:10421:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getEndTimeAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:10425:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10426:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:10426:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:10427:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEndTimeAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop245; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:10447:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt248=2; int LA248_0 = input.LA(1); if ( (LA248_0==62) ) { alt248=1; } switch (alt248) { case 1 : // InternalSacmDsl.g:10447:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getEndTimeAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:10455:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10456:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10456:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:10457:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEndTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10473:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop247: do { int alt247=2; int LA247_0 = input.LA(1); if ( (LA247_0==17) ) { alt247=1; } switch (alt247) { case 1 : // InternalSacmDsl.g:10473:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getEndTimeAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:10477:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10478:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10478:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:10479:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEndTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop247; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:10499:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt250=2; int LA250_0 = input.LA(1); if ( (LA250_0==63) ) { alt250=1; } switch (alt250) { case 1 : // InternalSacmDsl.g:10499:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getEndTimeAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:10507:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:10508:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:10508:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:10509:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getEndTimeAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10525:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop249: do { int alt249=2; int LA249_0 = input.LA(1); if ( (LA249_0==17) ) { alt249=1; } switch (alt249) { case 1 : // InternalSacmDsl.g:10525:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getEndTimeAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:10529:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:10530:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:10530:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:10531:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getEndTimeAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop249; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:10551:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt252=2; int LA252_0 = input.LA(1); if ( (LA252_0==64) ) { alt252=1; } switch (alt252) { case 1 : // InternalSacmDsl.g:10551:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getEndTimeAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getEndTimeAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:10559:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10560:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10560:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10561:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEndTimeAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10577:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop251: do { int alt251=2; int LA251_0 = input.LA(1); if ( (LA251_0==17) ) { alt251=1; } switch (alt251) { case 1 : // InternalSacmDsl.g:10577:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getEndTimeAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:10581:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10582:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10582:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10583:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEndTimeAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEndTimeRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop251; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getEndTimeAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEndTime" // $ANTLR start "entryRuleStartTime" // InternalSacmDsl.g:10615:1: entryRuleStartTime returns [EObject current=null] : iv_ruleStartTime= ruleStartTime EOF ; public final EObject entryRuleStartTime() throws RecognitionException { EObject current = null; EObject iv_ruleStartTime = null; try { // InternalSacmDsl.g:10616:2: (iv_ruleStartTime= ruleStartTime EOF ) // InternalSacmDsl.g:10617:2: iv_ruleStartTime= ruleStartTime EOF { newCompositeNode(grammarAccess.getStartTimeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleStartTime=ruleStartTime(); state._fsp--; current =iv_ruleStartTime; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStartTime" // $ANTLR start "ruleStartTime" // InternalSacmDsl.g:10624:1: ruleStartTime returns [EObject current=null] : (otherlv_0= 'StartTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleStartTime() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:10627:28: ( (otherlv_0= 'StartTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:10628:1: (otherlv_0= 'StartTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:10628:1: (otherlv_0= 'StartTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:10628:3: otherlv_0= 'StartTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'datetime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,82,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getStartTimeAccess().getStartTimeKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getStartTimeAccess().getIdKeyword_2()); // InternalSacmDsl.g:10640:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:10641:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:10641:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:10642:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getStartTimeAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_93); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,81,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getStartTimeAccess().getDatetimeKeyword_4()); // InternalSacmDsl.g:10662:1: ( ( ruleEString ) ) // InternalSacmDsl.g:10663:1: ( ruleEString ) { // InternalSacmDsl.g:10663:1: ( ruleEString ) // InternalSacmDsl.g:10664:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getStartTimeRule()); } newCompositeNode(grammarAccess.getStartTimeAccess().getDatetimeDatetimeCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10677:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt254=2; int LA254_0 = input.LA(1); if ( (LA254_0==16) ) { alt254=1; } switch (alt254) { case 1 : // InternalSacmDsl.g:10677:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getStartTimeAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:10685:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:10686:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:10686:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:10687:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getStartTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10703:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop253: do { int alt253=2; int LA253_0 = input.LA(1); if ( (LA253_0==17) ) { alt253=1; } switch (alt253) { case 1 : // InternalSacmDsl.g:10703:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getStartTimeAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:10707:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:10708:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:10708:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:10709:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getStartTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop253; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:10729:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt256=2; int LA256_0 = input.LA(1); if ( (LA256_0==19) ) { alt256=1; } switch (alt256) { case 1 : // InternalSacmDsl.g:10729:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getStartTimeAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:10737:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:10738:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:10738:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:10739:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getStartTimeAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10755:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop255: do { int alt255=2; int LA255_0 = input.LA(1); if ( (LA255_0==17) ) { alt255=1; } switch (alt255) { case 1 : // InternalSacmDsl.g:10755:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getStartTimeAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:10759:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:10760:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:10760:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:10761:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getStartTimeAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop255; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:10781:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt258=2; int LA258_0 = input.LA(1); if ( (LA258_0==61) ) { alt258=1; } switch (alt258) { case 1 : // InternalSacmDsl.g:10781:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getStartTimeAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:10789:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10790:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:10790:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:10791:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getStartTimeAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10807:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop257: do { int alt257=2; int LA257_0 = input.LA(1); if ( (LA257_0==17) ) { alt257=1; } switch (alt257) { case 1 : // InternalSacmDsl.g:10807:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getStartTimeAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:10811:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:10812:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:10812:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:10813:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getStartTimeAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop257; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:10833:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt260=2; int LA260_0 = input.LA(1); if ( (LA260_0==62) ) { alt260=1; } switch (alt260) { case 1 : // InternalSacmDsl.g:10833:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getStartTimeAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:10841:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10842:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10842:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:10843:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getStartTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10859:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop259: do { int alt259=2; int LA259_0 = input.LA(1); if ( (LA259_0==17) ) { alt259=1; } switch (alt259) { case 1 : // InternalSacmDsl.g:10859:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getStartTimeAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:10863:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:10864:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:10864:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:10865:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getStartTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop259; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:10885:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt262=2; int LA262_0 = input.LA(1); if ( (LA262_0==63) ) { alt262=1; } switch (alt262) { case 1 : // InternalSacmDsl.g:10885:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getStartTimeAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:10893:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:10894:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:10894:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:10895:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getStartTimeAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10911:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop261: do { int alt261=2; int LA261_0 = input.LA(1); if ( (LA261_0==17) ) { alt261=1; } switch (alt261) { case 1 : // InternalSacmDsl.g:10911:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getStartTimeAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:10915:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:10916:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:10916:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:10917:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getStartTimeAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop261; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:10937:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt264=2; int LA264_0 = input.LA(1); if ( (LA264_0==64) ) { alt264=1; } switch (alt264) { case 1 : // InternalSacmDsl.g:10937:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getStartTimeAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getStartTimeAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:10945:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10946:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10946:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10947:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getStartTimeAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:10963:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop263: do { int alt263=2; int LA263_0 = input.LA(1); if ( (LA263_0==17) ) { alt263=1; } switch (alt263) { case 1 : // InternalSacmDsl.g:10963:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getStartTimeAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:10967:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:10968:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:10968:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:10969:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getStartTimeAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStartTimeRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop263; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getStartTimeAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStartTime" // $ANTLR start "entryRuleAtTime" // InternalSacmDsl.g:11001:1: entryRuleAtTime returns [EObject current=null] : iv_ruleAtTime= ruleAtTime EOF ; public final EObject entryRuleAtTime() throws RecognitionException { EObject current = null; EObject iv_ruleAtTime = null; try { // InternalSacmDsl.g:11002:2: (iv_ruleAtTime= ruleAtTime EOF ) // InternalSacmDsl.g:11003:2: iv_ruleAtTime= ruleAtTime EOF { newCompositeNode(grammarAccess.getAtTimeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAtTime=ruleAtTime(); state._fsp--; current =iv_ruleAtTime; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAtTime" // $ANTLR start "ruleAtTime" // InternalSacmDsl.g:11010:1: ruleAtTime returns [EObject current=null] : (otherlv_0= 'AtTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'dateTtime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleAtTime() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:11013:28: ( (otherlv_0= 'AtTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'dateTtime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:11014:1: (otherlv_0= 'AtTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'dateTtime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:11014:1: (otherlv_0= 'AtTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'dateTtime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:11014:3: otherlv_0= 'AtTime' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'dateTtime' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,83,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAtTimeAccess().getAtTimeKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAtTimeAccess().getIdKeyword_2()); // InternalSacmDsl.g:11026:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:11027:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:11027:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:11028:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAtTimeAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_94); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,84,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAtTimeAccess().getDateTtimeKeyword_4()); // InternalSacmDsl.g:11048:1: ( ( ruleEString ) ) // InternalSacmDsl.g:11049:1: ( ruleEString ) { // InternalSacmDsl.g:11049:1: ( ruleEString ) // InternalSacmDsl.g:11050:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAtTimeRule()); } newCompositeNode(grammarAccess.getAtTimeAccess().getDateTtimeDatetimeCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11063:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt266=2; int LA266_0 = input.LA(1); if ( (LA266_0==16) ) { alt266=1; } switch (alt266) { case 1 : // InternalSacmDsl.g:11063:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getAtTimeAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:11071:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11072:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:11072:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:11073:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAtTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11089:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop265: do { int alt265=2; int LA265_0 = input.LA(1); if ( (LA265_0==17) ) { alt265=1; } switch (alt265) { case 1 : // InternalSacmDsl.g:11089:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getAtTimeAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:11093:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11094:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:11094:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:11095:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAtTimeAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop265; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:11115:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt268=2; int LA268_0 = input.LA(1); if ( (LA268_0==19) ) { alt268=1; } switch (alt268) { case 1 : // InternalSacmDsl.g:11115:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getAtTimeAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:11123:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:11124:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:11124:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:11125:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getAtTimeAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11141:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop267: do { int alt267=2; int LA267_0 = input.LA(1); if ( (LA267_0==17) ) { alt267=1; } switch (alt267) { case 1 : // InternalSacmDsl.g:11141:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getAtTimeAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:11145:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:11146:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:11146:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:11147:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getAtTimeAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop267; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:11167:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt270=2; int LA270_0 = input.LA(1); if ( (LA270_0==61) ) { alt270=1; } switch (alt270) { case 1 : // InternalSacmDsl.g:11167:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getAtTimeAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:11175:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11176:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:11176:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:11177:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAtTimeAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11193:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop269: do { int alt269=2; int LA269_0 = input.LA(1); if ( (LA269_0==17) ) { alt269=1; } switch (alt269) { case 1 : // InternalSacmDsl.g:11193:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getAtTimeAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:11197:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11198:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:11198:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:11199:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAtTimeAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop269; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:11219:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt272=2; int LA272_0 = input.LA(1); if ( (LA272_0==62) ) { alt272=1; } switch (alt272) { case 1 : // InternalSacmDsl.g:11219:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getAtTimeAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:11227:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:11228:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:11228:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:11229:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAtTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11245:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop271: do { int alt271=2; int LA271_0 = input.LA(1); if ( (LA271_0==17) ) { alt271=1; } switch (alt271) { case 1 : // InternalSacmDsl.g:11245:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getAtTimeAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:11249:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:11250:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:11250:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:11251:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAtTimeAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop271; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:11271:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt274=2; int LA274_0 = input.LA(1); if ( (LA274_0==63) ) { alt274=1; } switch (alt274) { case 1 : // InternalSacmDsl.g:11271:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getAtTimeAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:11279:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:11280:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:11280:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:11281:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getAtTimeAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11297:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop273: do { int alt273=2; int LA273_0 = input.LA(1); if ( (LA273_0==17) ) { alt273=1; } switch (alt273) { case 1 : // InternalSacmDsl.g:11297:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getAtTimeAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:11301:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:11302:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:11302:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:11303:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getAtTimeAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop273; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:11323:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt276=2; int LA276_0 = input.LA(1); if ( (LA276_0==64) ) { alt276=1; } switch (alt276) { case 1 : // InternalSacmDsl.g:11323:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getAtTimeAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getAtTimeAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:11331:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:11332:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:11332:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:11333:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAtTimeAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11349:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop275: do { int alt275=2; int LA275_0 = input.LA(1); if ( (LA275_0==17) ) { alt275=1; } switch (alt275) { case 1 : // InternalSacmDsl.g:11349:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getAtTimeAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:11353:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:11354:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:11354:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:11355:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAtTimeAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtTimeRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop275; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getAtTimeAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAtTime" // $ANTLR start "entryRuleCareOf" // InternalSacmDsl.g:11389:1: entryRuleCareOf returns [EObject current=null] : iv_ruleCareOf= ruleCareOf EOF ; public final EObject entryRuleCareOf() throws RecognitionException { EObject current = null; EObject iv_ruleCareOf = null; try { // InternalSacmDsl.g:11390:2: (iv_ruleCareOf= ruleCareOf EOF ) // InternalSacmDsl.g:11391:2: iv_ruleCareOf= ruleCareOf EOF { newCompositeNode(grammarAccess.getCareOfRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCareOf=ruleCareOf(); state._fsp--; current =iv_ruleCareOf; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCareOf" // $ANTLR start "ruleCareOf" // InternalSacmDsl.g:11398:1: ruleCareOf returns [EObject current=null] : (otherlv_0= 'CareOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'custodian' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleCareOf() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:11401:28: ( (otherlv_0= 'CareOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'custodian' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:11402:1: (otherlv_0= 'CareOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'custodian' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:11402:1: (otherlv_0= 'CareOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'custodian' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:11402:3: otherlv_0= 'CareOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'custodian' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,85,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCareOfAccess().getCareOfKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCareOfAccess().getIdKeyword_2()); // InternalSacmDsl.g:11414:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:11415:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:11415:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:11416:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCareOfAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_95); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,86,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getCareOfAccess().getCustodianKeyword_4()); // InternalSacmDsl.g:11436:1: ( ( ruleEString ) ) // InternalSacmDsl.g:11437:1: ( ruleEString ) { // InternalSacmDsl.g:11437:1: ( ruleEString ) // InternalSacmDsl.g:11438:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCareOfRule()); } newCompositeNode(grammarAccess.getCareOfAccess().getCustodianPersonCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11451:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt278=2; int LA278_0 = input.LA(1); if ( (LA278_0==16) ) { alt278=1; } switch (alt278) { case 1 : // InternalSacmDsl.g:11451:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getCareOfAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:11459:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11460:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:11460:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:11461:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCareOfAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11477:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop277: do { int alt277=2; int LA277_0 = input.LA(1); if ( (LA277_0==17) ) { alt277=1; } switch (alt277) { case 1 : // InternalSacmDsl.g:11477:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getCareOfAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:11481:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11482:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:11482:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:11483:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCareOfAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop277; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:11503:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt280=2; int LA280_0 = input.LA(1); if ( (LA280_0==19) ) { alt280=1; } switch (alt280) { case 1 : // InternalSacmDsl.g:11503:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getCareOfAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:11511:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:11512:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:11512:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:11513:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getCareOfAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11529:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop279: do { int alt279=2; int LA279_0 = input.LA(1); if ( (LA279_0==17) ) { alt279=1; } switch (alt279) { case 1 : // InternalSacmDsl.g:11529:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getCareOfAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:11533:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:11534:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:11534:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:11535:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getCareOfAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop279; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:11555:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt282=2; int LA282_0 = input.LA(1); if ( (LA282_0==61) ) { alt282=1; } switch (alt282) { case 1 : // InternalSacmDsl.g:11555:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getCareOfAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:11563:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11564:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:11564:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:11565:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCareOfAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11581:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop281: do { int alt281=2; int LA281_0 = input.LA(1); if ( (LA281_0==17) ) { alt281=1; } switch (alt281) { case 1 : // InternalSacmDsl.g:11581:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getCareOfAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:11585:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11586:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:11586:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:11587:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCareOfAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop281; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:11607:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt284=2; int LA284_0 = input.LA(1); if ( (LA284_0==62) ) { alt284=1; } switch (alt284) { case 1 : // InternalSacmDsl.g:11607:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getCareOfAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:11615:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:11616:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:11616:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:11617:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCareOfAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11633:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop283: do { int alt283=2; int LA283_0 = input.LA(1); if ( (LA283_0==17) ) { alt283=1; } switch (alt283) { case 1 : // InternalSacmDsl.g:11633:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getCareOfAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:11637:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:11638:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:11638:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:11639:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCareOfAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop283; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:11659:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt286=2; int LA286_0 = input.LA(1); if ( (LA286_0==63) ) { alt286=1; } switch (alt286) { case 1 : // InternalSacmDsl.g:11659:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getCareOfAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:11667:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:11668:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:11668:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:11669:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getCareOfAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11685:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop285: do { int alt285=2; int LA285_0 = input.LA(1); if ( (LA285_0==17) ) { alt285=1; } switch (alt285) { case 1 : // InternalSacmDsl.g:11685:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getCareOfAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:11689:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:11690:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:11690:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:11691:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getCareOfAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop285; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:11711:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt288=2; int LA288_0 = input.LA(1); if ( (LA288_0==64) ) { alt288=1; } switch (alt288) { case 1 : // InternalSacmDsl.g:11711:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getCareOfAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getCareOfAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:11719:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:11720:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:11720:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:11721:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCareOfAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11737:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop287: do { int alt287=2; int LA287_0 = input.LA(1); if ( (LA287_0==17) ) { alt287=1; } switch (alt287) { case 1 : // InternalSacmDsl.g:11737:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getCareOfAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:11741:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:11742:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:11742:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:11743:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCareOfAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCareOfRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop287; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getCareOfAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCareOf" // $ANTLR start "entryRuleAtLocation" // InternalSacmDsl.g:11775:1: entryRuleAtLocation returns [EObject current=null] : iv_ruleAtLocation= ruleAtLocation EOF ; public final EObject entryRuleAtLocation() throws RecognitionException { EObject current = null; EObject iv_ruleAtLocation = null; try { // InternalSacmDsl.g:11776:2: (iv_ruleAtLocation= ruleAtLocation EOF ) // InternalSacmDsl.g:11777:2: iv_ruleAtLocation= ruleAtLocation EOF { newCompositeNode(grammarAccess.getAtLocationRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAtLocation=ruleAtLocation(); state._fsp--; current =iv_ruleAtLocation; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAtLocation" // $ANTLR start "ruleAtLocation" // InternalSacmDsl.g:11784:1: ruleAtLocation returns [EObject current=null] : (otherlv_0= 'AtLocation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'location' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleAtLocation() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:11787:28: ( (otherlv_0= 'AtLocation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'location' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:11788:1: (otherlv_0= 'AtLocation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'location' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:11788:1: (otherlv_0= 'AtLocation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'location' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:11788:3: otherlv_0= 'AtLocation' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'location' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,87,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAtLocationAccess().getAtLocationKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAtLocationAccess().getIdKeyword_2()); // InternalSacmDsl.g:11800:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:11801:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:11801:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:11802:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAtLocationAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_96); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,88,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAtLocationAccess().getLocationKeyword_4()); // InternalSacmDsl.g:11822:1: ( ( ruleEString ) ) // InternalSacmDsl.g:11823:1: ( ruleEString ) { // InternalSacmDsl.g:11823:1: ( ruleEString ) // InternalSacmDsl.g:11824:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAtLocationRule()); } newCompositeNode(grammarAccess.getAtLocationAccess().getLocationOrganizationCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11837:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt290=2; int LA290_0 = input.LA(1); if ( (LA290_0==16) ) { alt290=1; } switch (alt290) { case 1 : // InternalSacmDsl.g:11837:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getAtLocationAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:11845:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11846:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:11846:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:11847:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAtLocationAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11863:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop289: do { int alt289=2; int LA289_0 = input.LA(1); if ( (LA289_0==17) ) { alt289=1; } switch (alt289) { case 1 : // InternalSacmDsl.g:11863:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getAtLocationAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:11867:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:11868:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:11868:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:11869:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAtLocationAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop289; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:11889:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt292=2; int LA292_0 = input.LA(1); if ( (LA292_0==19) ) { alt292=1; } switch (alt292) { case 1 : // InternalSacmDsl.g:11889:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getAtLocationAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:11897:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:11898:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:11898:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:11899:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getAtLocationAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11915:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop291: do { int alt291=2; int LA291_0 = input.LA(1); if ( (LA291_0==17) ) { alt291=1; } switch (alt291) { case 1 : // InternalSacmDsl.g:11915:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getAtLocationAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:11919:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:11920:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:11920:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:11921:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getAtLocationAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop291; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:11941:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt294=2; int LA294_0 = input.LA(1); if ( (LA294_0==61) ) { alt294=1; } switch (alt294) { case 1 : // InternalSacmDsl.g:11941:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getAtLocationAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:11949:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11950:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:11950:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:11951:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAtLocationAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:11967:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop293: do { int alt293=2; int LA293_0 = input.LA(1); if ( (LA293_0==17) ) { alt293=1; } switch (alt293) { case 1 : // InternalSacmDsl.g:11967:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getAtLocationAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:11971:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:11972:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:11972:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:11973:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAtLocationAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop293; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:11993:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt296=2; int LA296_0 = input.LA(1); if ( (LA296_0==62) ) { alt296=1; } switch (alt296) { case 1 : // InternalSacmDsl.g:11993:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getAtLocationAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:12001:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12002:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12002:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:12003:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAtLocationAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12019:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop295: do { int alt295=2; int LA295_0 = input.LA(1); if ( (LA295_0==17) ) { alt295=1; } switch (alt295) { case 1 : // InternalSacmDsl.g:12019:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getAtLocationAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:12023:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12024:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12024:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:12025:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAtLocationAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop295; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:12045:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt298=2; int LA298_0 = input.LA(1); if ( (LA298_0==63) ) { alt298=1; } switch (alt298) { case 1 : // InternalSacmDsl.g:12045:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getAtLocationAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:12053:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:12054:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:12054:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:12055:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getAtLocationAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12071:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop297: do { int alt297=2; int LA297_0 = input.LA(1); if ( (LA297_0==17) ) { alt297=1; } switch (alt297) { case 1 : // InternalSacmDsl.g:12071:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getAtLocationAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:12075:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:12076:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:12076:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:12077:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getAtLocationAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop297; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:12097:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt300=2; int LA300_0 = input.LA(1); if ( (LA300_0==64) ) { alt300=1; } switch (alt300) { case 1 : // InternalSacmDsl.g:12097:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getAtLocationAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getAtLocationAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:12105:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12106:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12106:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12107:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAtLocationAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12123:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop299: do { int alt299=2; int LA299_0 = input.LA(1); if ( (LA299_0==17) ) { alt299=1; } switch (alt299) { case 1 : // InternalSacmDsl.g:12123:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getAtLocationAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:12127:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12128:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12128:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12129:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAtLocationAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAtLocationRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop299; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getAtLocationAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAtLocation" // $ANTLR start "entryRuleUsingProcess" // InternalSacmDsl.g:12161:1: entryRuleUsingProcess returns [EObject current=null] : iv_ruleUsingProcess= ruleUsingProcess EOF ; public final EObject entryRuleUsingProcess() throws RecognitionException { EObject current = null; EObject iv_ruleUsingProcess = null; try { // InternalSacmDsl.g:12162:2: (iv_ruleUsingProcess= ruleUsingProcess EOF ) // InternalSacmDsl.g:12163:2: iv_ruleUsingProcess= ruleUsingProcess EOF { newCompositeNode(grammarAccess.getUsingProcessRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleUsingProcess=ruleUsingProcess(); state._fsp--; current =iv_ruleUsingProcess; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleUsingProcess" // $ANTLR start "ruleUsingProcess" // InternalSacmDsl.g:12170:1: ruleUsingProcess returns [EObject current=null] : (otherlv_0= 'UsingProcess' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'method' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleUsingProcess() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:12173:28: ( (otherlv_0= 'UsingProcess' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'method' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:12174:1: (otherlv_0= 'UsingProcess' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'method' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:12174:1: (otherlv_0= 'UsingProcess' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'method' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:12174:3: otherlv_0= 'UsingProcess' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'method' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,89,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getUsingProcessAccess().getUsingProcessKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getUsingProcessAccess().getIdKeyword_2()); // InternalSacmDsl.g:12186:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:12187:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:12187:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:12188:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getUsingProcessAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_97); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,90,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getUsingProcessAccess().getMethodKeyword_4()); // InternalSacmDsl.g:12208:1: ( ( ruleEString ) ) // InternalSacmDsl.g:12209:1: ( ruleEString ) { // InternalSacmDsl.g:12209:1: ( ruleEString ) // InternalSacmDsl.g:12210:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getUsingProcessRule()); } newCompositeNode(grammarAccess.getUsingProcessAccess().getMethodCollectionMethodCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12223:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt302=2; int LA302_0 = input.LA(1); if ( (LA302_0==16) ) { alt302=1; } switch (alt302) { case 1 : // InternalSacmDsl.g:12223:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getUsingProcessAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:12231:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:12232:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:12232:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:12233:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getUsingProcessAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12249:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop301: do { int alt301=2; int LA301_0 = input.LA(1); if ( (LA301_0==17) ) { alt301=1; } switch (alt301) { case 1 : // InternalSacmDsl.g:12249:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getUsingProcessAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:12253:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:12254:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:12254:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:12255:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getUsingProcessAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop301; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:12275:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt304=2; int LA304_0 = input.LA(1); if ( (LA304_0==19) ) { alt304=1; } switch (alt304) { case 1 : // InternalSacmDsl.g:12275:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getUsingProcessAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:12283:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:12284:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:12284:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:12285:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getUsingProcessAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12301:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop303: do { int alt303=2; int LA303_0 = input.LA(1); if ( (LA303_0==17) ) { alt303=1; } switch (alt303) { case 1 : // InternalSacmDsl.g:12301:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getUsingProcessAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:12305:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:12306:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:12306:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:12307:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getUsingProcessAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop303; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:12327:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt306=2; int LA306_0 = input.LA(1); if ( (LA306_0==61) ) { alt306=1; } switch (alt306) { case 1 : // InternalSacmDsl.g:12327:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getUsingProcessAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:12335:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:12336:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:12336:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:12337:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getUsingProcessAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12353:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop305: do { int alt305=2; int LA305_0 = input.LA(1); if ( (LA305_0==17) ) { alt305=1; } switch (alt305) { case 1 : // InternalSacmDsl.g:12353:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getUsingProcessAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:12357:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:12358:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:12358:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:12359:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getUsingProcessAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop305; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:12379:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt308=2; int LA308_0 = input.LA(1); if ( (LA308_0==62) ) { alt308=1; } switch (alt308) { case 1 : // InternalSacmDsl.g:12379:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getUsingProcessAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:12387:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12388:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12388:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:12389:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getUsingProcessAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12405:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop307: do { int alt307=2; int LA307_0 = input.LA(1); if ( (LA307_0==17) ) { alt307=1; } switch (alt307) { case 1 : // InternalSacmDsl.g:12405:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getUsingProcessAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:12409:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12410:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12410:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:12411:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getUsingProcessAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop307; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:12431:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt310=2; int LA310_0 = input.LA(1); if ( (LA310_0==63) ) { alt310=1; } switch (alt310) { case 1 : // InternalSacmDsl.g:12431:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getUsingProcessAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:12439:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:12440:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:12440:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:12441:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getUsingProcessAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12457:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop309: do { int alt309=2; int LA309_0 = input.LA(1); if ( (LA309_0==17) ) { alt309=1; } switch (alt309) { case 1 : // InternalSacmDsl.g:12457:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getUsingProcessAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:12461:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:12462:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:12462:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:12463:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getUsingProcessAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop309; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:12483:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt312=2; int LA312_0 = input.LA(1); if ( (LA312_0==64) ) { alt312=1; } switch (alt312) { case 1 : // InternalSacmDsl.g:12483:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getUsingProcessAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getUsingProcessAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:12491:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12492:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12492:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12493:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getUsingProcessAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12509:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop311: do { int alt311=2; int LA311_0 = input.LA(1); if ( (LA311_0==17) ) { alt311=1; } switch (alt311) { case 1 : // InternalSacmDsl.g:12509:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getUsingProcessAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:12513:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12514:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12514:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12515:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getUsingProcessAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getUsingProcessRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop311; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getUsingProcessAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleUsingProcess" // $ANTLR start "entryRulePerson" // InternalSacmDsl.g:12547:1: entryRulePerson returns [EObject current=null] : iv_rulePerson= rulePerson EOF ; public final EObject entryRulePerson() throws RecognitionException { EObject current = null; EObject iv_rulePerson = null; try { // InternalSacmDsl.g:12548:2: (iv_rulePerson= rulePerson EOF ) // InternalSacmDsl.g:12549:2: iv_rulePerson= rulePerson EOF { newCompositeNode(grammarAccess.getPersonRule()); pushFollow(FollowSets000.FOLLOW_1); iv_rulePerson=rulePerson(); state._fsp--; current =iv_rulePerson; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePerson" // $ANTLR start "rulePerson" // InternalSacmDsl.g:12556:1: rulePerson returns [EObject current=null] : (otherlv_0= 'Person' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject rulePerson() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:12559:28: ( (otherlv_0= 'Person' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:12560:1: (otherlv_0= 'Person' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:12560:1: (otherlv_0= 'Person' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:12560:3: otherlv_0= 'Person' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,91,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getPersonAccess().getPersonKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getPersonAccess().getIdKeyword_2()); // InternalSacmDsl.g:12572:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:12573:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:12573:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:12574:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getPersonAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getPersonAccess().getNameKeyword_4()); // InternalSacmDsl.g:12594:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:12595:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:12595:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:12596:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getPersonAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getPersonAccess().getContentKeyword_6()); // InternalSacmDsl.g:12616:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:12617:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:12617:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:12618:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getPersonAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12634:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt314=2; int LA314_0 = input.LA(1); if ( (LA314_0==16) ) { alt314=1; } switch (alt314) { case 1 : // InternalSacmDsl.g:12634:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getPersonAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:12642:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:12643:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:12643:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:12644:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getPersonAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12660:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop313: do { int alt313=2; int LA313_0 = input.LA(1); if ( (LA313_0==17) ) { alt313=1; } switch (alt313) { case 1 : // InternalSacmDsl.g:12660:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getPersonAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:12664:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:12665:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:12665:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:12666:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getPersonAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop313; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:12686:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt316=2; int LA316_0 = input.LA(1); if ( (LA316_0==19) ) { alt316=1; } switch (alt316) { case 1 : // InternalSacmDsl.g:12686:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getPersonAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:12694:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:12695:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:12695:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:12696:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getPersonAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12712:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop315: do { int alt315=2; int LA315_0 = input.LA(1); if ( (LA315_0==17) ) { alt315=1; } switch (alt315) { case 1 : // InternalSacmDsl.g:12712:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getPersonAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:12716:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:12717:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:12717:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:12718:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getPersonAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop315; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:12738:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt318=2; int LA318_0 = input.LA(1); if ( (LA318_0==61) ) { alt318=1; } switch (alt318) { case 1 : // InternalSacmDsl.g:12738:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getPersonAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:12746:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:12747:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:12747:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:12748:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getPersonAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12764:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop317: do { int alt317=2; int LA317_0 = input.LA(1); if ( (LA317_0==17) ) { alt317=1; } switch (alt317) { case 1 : // InternalSacmDsl.g:12764:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getPersonAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:12768:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:12769:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:12769:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:12770:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getPersonAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop317; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:12790:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt320=2; int LA320_0 = input.LA(1); if ( (LA320_0==62) ) { alt320=1; } switch (alt320) { case 1 : // InternalSacmDsl.g:12790:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getPersonAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:12798:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12799:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12799:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:12800:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getPersonAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12816:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop319: do { int alt319=2; int LA319_0 = input.LA(1); if ( (LA319_0==17) ) { alt319=1; } switch (alt319) { case 1 : // InternalSacmDsl.g:12816:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getPersonAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:12820:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:12821:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:12821:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:12822:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getPersonAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop319; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:12842:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt322=2; int LA322_0 = input.LA(1); if ( (LA322_0==63) ) { alt322=1; } switch (alt322) { case 1 : // InternalSacmDsl.g:12842:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getPersonAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:12850:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:12851:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:12851:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:12852:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getPersonAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12868:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop321: do { int alt321=2; int LA321_0 = input.LA(1); if ( (LA321_0==17) ) { alt321=1; } switch (alt321) { case 1 : // InternalSacmDsl.g:12868:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getPersonAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:12872:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:12873:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:12873:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:12874:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getPersonAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop321; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:12894:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt324=2; int LA324_0 = input.LA(1); if ( (LA324_0==64) ) { alt324=1; } switch (alt324) { case 1 : // InternalSacmDsl.g:12894:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getPersonAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:12902:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12903:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12903:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12904:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getPersonAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12920:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop323: do { int alt323=2; int LA323_0 = input.LA(1); if ( (LA323_0==17) ) { alt323=1; } switch (alt323) { case 1 : // InternalSacmDsl.g:12920:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getPersonAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:12924:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:12925:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:12925:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:12926:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getPersonAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop323; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:12946:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? int alt326=2; int LA326_0 = input.LA(1); if ( (LA326_0==35) ) { alt326=1; } switch (alt326) { case 1 : // InternalSacmDsl.g:12946:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getPersonAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_45, grammarAccess.getPersonAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:12954:1: ( (lv_property_46_0= ruleProjectProperty ) ) // InternalSacmDsl.g:12955:1: (lv_property_46_0= ruleProjectProperty ) { // InternalSacmDsl.g:12955:1: (lv_property_46_0= ruleProjectProperty ) // InternalSacmDsl.g:12956:3: lv_property_46_0= ruleProjectProperty { newCompositeNode(grammarAccess.getPersonAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:12972:2: (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* loop325: do { int alt325=2; int LA325_0 = input.LA(1); if ( (LA325_0==17) ) { alt325=1; } switch (alt325) { case 1 : // InternalSacmDsl.g:12972:4: otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getPersonAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:12976:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:12977:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:12977:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:12978:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getPersonAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPersonRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop325; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getPersonAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePerson" // $ANTLR start "entryRuleHasRoleIn" // InternalSacmDsl.g:13010:1: entryRuleHasRoleIn returns [EObject current=null] : iv_ruleHasRoleIn= ruleHasRoleIn EOF ; public final EObject entryRuleHasRoleIn() throws RecognitionException { EObject current = null; EObject iv_ruleHasRoleIn = null; try { // InternalSacmDsl.g:13011:2: (iv_ruleHasRoleIn= ruleHasRoleIn EOF ) // InternalSacmDsl.g:13012:2: iv_ruleHasRoleIn= ruleHasRoleIn EOF { newCompositeNode(grammarAccess.getHasRoleInRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleHasRoleIn=ruleHasRoleIn(); state._fsp--; current =iv_ruleHasRoleIn; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleHasRoleIn" // $ANTLR start "ruleHasRoleIn" // InternalSacmDsl.g:13019:1: ruleHasRoleIn returns [EObject current=null] : (otherlv_0= 'HasRoleIn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'role' ( (lv_role_5_0= ruleString0 ) ) otherlv_6= 'organization' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ; public final EObject ruleHasRoleIn() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_role_5_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; enterRule(); try { // InternalSacmDsl.g:13022:28: ( (otherlv_0= 'HasRoleIn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'role' ( (lv_role_5_0= ruleString0 ) ) otherlv_6= 'organization' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ) // InternalSacmDsl.g:13023:1: (otherlv_0= 'HasRoleIn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'role' ( (lv_role_5_0= ruleString0 ) ) otherlv_6= 'organization' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) { // InternalSacmDsl.g:13023:1: (otherlv_0= 'HasRoleIn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'role' ( (lv_role_5_0= ruleString0 ) ) otherlv_6= 'organization' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) // InternalSacmDsl.g:13023:3: otherlv_0= 'HasRoleIn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'role' ( (lv_role_5_0= ruleString0 ) ) otherlv_6= 'organization' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' { otherlv_0=(Token)match(input,92,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getHasRoleInAccess().getHasRoleInKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getHasRoleInAccess().getIdKeyword_2()); // InternalSacmDsl.g:13035:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:13036:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:13036:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:13037:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getHasRoleInAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_98); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,68,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getHasRoleInAccess().getRoleKeyword_4()); // InternalSacmDsl.g:13057:1: ( (lv_role_5_0= ruleString0 ) ) // InternalSacmDsl.g:13058:1: (lv_role_5_0= ruleString0 ) { // InternalSacmDsl.g:13058:1: (lv_role_5_0= ruleString0 ) // InternalSacmDsl.g:13059:3: lv_role_5_0= ruleString0 { newCompositeNode(grammarAccess.getHasRoleInAccess().getRoleString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_99); lv_role_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } set( current, "role", lv_role_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,93,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getHasRoleInAccess().getOrganizationKeyword_6()); // InternalSacmDsl.g:13079:1: ( ( ruleEString ) ) // InternalSacmDsl.g:13080:1: ( ruleEString ) { // InternalSacmDsl.g:13080:1: ( ruleEString ) // InternalSacmDsl.g:13081:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getHasRoleInRule()); } newCompositeNode(grammarAccess.getHasRoleInAccess().getOrganizationOrganizationCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13094:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt328=2; int LA328_0 = input.LA(1); if ( (LA328_0==16) ) { alt328=1; } switch (alt328) { case 1 : // InternalSacmDsl.g:13094:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getHasRoleInAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:13102:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13103:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:13103:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:13104:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasRoleInAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13120:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop327: do { int alt327=2; int LA327_0 = input.LA(1); if ( (LA327_0==17) ) { alt327=1; } switch (alt327) { case 1 : // InternalSacmDsl.g:13120:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getHasRoleInAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:13124:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13125:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:13125:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:13126:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasRoleInAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop327; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_13, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:13146:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt330=2; int LA330_0 = input.LA(1); if ( (LA330_0==19) ) { alt330=1; } switch (alt330) { case 1 : // InternalSacmDsl.g:13146:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getHasRoleInAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:13154:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:13155:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:13155:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:13156:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasRoleInAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13172:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop329: do { int alt329=2; int LA329_0 = input.LA(1); if ( (LA329_0==17) ) { alt329=1; } switch (alt329) { case 1 : // InternalSacmDsl.g:13172:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getHasRoleInAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:13176:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:13177:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:13177:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:13178:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasRoleInAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop329; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_19, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:13198:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt332=2; int LA332_0 = input.LA(1); if ( (LA332_0==61) ) { alt332=1; } switch (alt332) { case 1 : // InternalSacmDsl.g:13198:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getHasRoleInAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:13206:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:13207:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:13207:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:13208:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasRoleInAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13224:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop331: do { int alt331=2; int LA331_0 = input.LA(1); if ( (LA331_0==17) ) { alt331=1; } switch (alt331) { case 1 : // InternalSacmDsl.g:13224:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getHasRoleInAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:13228:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:13229:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:13229:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:13230:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasRoleInAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop331; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_25, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:13250:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt334=2; int LA334_0 = input.LA(1); if ( (LA334_0==62) ) { alt334=1; } switch (alt334) { case 1 : // InternalSacmDsl.g:13250:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getHasRoleInAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:13258:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:13259:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:13259:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:13260:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasRoleInAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13276:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop333: do { int alt333=2; int LA333_0 = input.LA(1); if ( (LA333_0==17) ) { alt333=1; } switch (alt333) { case 1 : // InternalSacmDsl.g:13276:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getHasRoleInAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:13280:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:13281:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:13281:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:13282:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasRoleInAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop333; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_31, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:13302:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt336=2; int LA336_0 = input.LA(1); if ( (LA336_0==63) ) { alt336=1; } switch (alt336) { case 1 : // InternalSacmDsl.g:13302:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getHasRoleInAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:13310:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:13311:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:13311:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:13312:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getHasRoleInAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13328:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop335: do { int alt335=2; int LA335_0 = input.LA(1); if ( (LA335_0==17) ) { alt335=1; } switch (alt335) { case 1 : // InternalSacmDsl.g:13328:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getHasRoleInAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:13332:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:13333:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:13333:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:13334:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getHasRoleInAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop335; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_37, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:13354:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt338=2; int LA338_0 = input.LA(1); if ( (LA338_0==64) ) { alt338=1; } switch (alt338) { case 1 : // InternalSacmDsl.g:13354:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getHasRoleInAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getHasRoleInAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:13362:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:13363:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:13363:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:13364:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasRoleInAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13380:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop337: do { int alt337=2; int LA337_0 = input.LA(1); if ( (LA337_0==17) ) { alt337=1; } switch (alt337) { case 1 : // InternalSacmDsl.g:13380:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getHasRoleInAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:13384:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:13385:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:13385:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:13386:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasRoleInAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasRoleInRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop337; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_43, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_13_4()); } break; } otherlv_44=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_44, grammarAccess.getHasRoleInAccess().getRightCurlyBracketKeyword_14()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleHasRoleIn" // $ANTLR start "entryRuleDependsOn" // InternalSacmDsl.g:13418:1: entryRuleDependsOn returns [EObject current=null] : iv_ruleDependsOn= ruleDependsOn EOF ; public final EObject entryRuleDependsOn() throws RecognitionException { EObject current = null; EObject iv_ruleDependsOn = null; try { // InternalSacmDsl.g:13419:2: (iv_ruleDependsOn= ruleDependsOn EOF ) // InternalSacmDsl.g:13420:2: iv_ruleDependsOn= ruleDependsOn EOF { newCompositeNode(grammarAccess.getDependsOnRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleDependsOn=ruleDependsOn(); state._fsp--; current =iv_ruleDependsOn; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDependsOn" // $ANTLR start "ruleDependsOn" // InternalSacmDsl.g:13427:1: ruleDependsOn returns [EObject current=null] : (otherlv_0= 'DependsOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleDependsOn() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:13430:28: ( (otherlv_0= 'DependsOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:13431:1: (otherlv_0= 'DependsOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:13431:1: (otherlv_0= 'DependsOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:13431:3: otherlv_0= 'DependsOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,94,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getDependsOnAccess().getDependsOnKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getDependsOnAccess().getIdKeyword_2()); // InternalSacmDsl.g:13443:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:13444:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:13444:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:13445:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getDependsOnAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_100); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,36,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getDependsOnAccess().getElementKeyword_4()); // InternalSacmDsl.g:13465:1: ( ( ruleEString ) ) // InternalSacmDsl.g:13466:1: ( ruleEString ) { // InternalSacmDsl.g:13466:1: ( ruleEString ) // InternalSacmDsl.g:13467:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getDependsOnRule()); } newCompositeNode(grammarAccess.getDependsOnAccess().getElementProjectElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13480:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt340=2; int LA340_0 = input.LA(1); if ( (LA340_0==16) ) { alt340=1; } switch (alt340) { case 1 : // InternalSacmDsl.g:13480:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getDependsOnAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:13488:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13489:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:13489:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:13490:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getDependsOnAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13506:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop339: do { int alt339=2; int LA339_0 = input.LA(1); if ( (LA339_0==17) ) { alt339=1; } switch (alt339) { case 1 : // InternalSacmDsl.g:13506:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getDependsOnAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:13510:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13511:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:13511:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:13512:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getDependsOnAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop339; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:13532:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt342=2; int LA342_0 = input.LA(1); if ( (LA342_0==19) ) { alt342=1; } switch (alt342) { case 1 : // InternalSacmDsl.g:13532:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getDependsOnAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:13540:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:13541:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:13541:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:13542:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getDependsOnAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13558:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop341: do { int alt341=2; int LA341_0 = input.LA(1); if ( (LA341_0==17) ) { alt341=1; } switch (alt341) { case 1 : // InternalSacmDsl.g:13558:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getDependsOnAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:13562:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:13563:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:13563:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:13564:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getDependsOnAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop341; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:13584:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt344=2; int LA344_0 = input.LA(1); if ( (LA344_0==61) ) { alt344=1; } switch (alt344) { case 1 : // InternalSacmDsl.g:13584:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getDependsOnAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:13592:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:13593:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:13593:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:13594:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getDependsOnAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13610:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop343: do { int alt343=2; int LA343_0 = input.LA(1); if ( (LA343_0==17) ) { alt343=1; } switch (alt343) { case 1 : // InternalSacmDsl.g:13610:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getDependsOnAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:13614:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:13615:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:13615:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:13616:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getDependsOnAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop343; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:13636:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt346=2; int LA346_0 = input.LA(1); if ( (LA346_0==62) ) { alt346=1; } switch (alt346) { case 1 : // InternalSacmDsl.g:13636:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getDependsOnAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:13644:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:13645:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:13645:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:13646:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getDependsOnAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13662:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop345: do { int alt345=2; int LA345_0 = input.LA(1); if ( (LA345_0==17) ) { alt345=1; } switch (alt345) { case 1 : // InternalSacmDsl.g:13662:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getDependsOnAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:13666:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:13667:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:13667:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:13668:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getDependsOnAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop345; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:13688:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt348=2; int LA348_0 = input.LA(1); if ( (LA348_0==63) ) { alt348=1; } switch (alt348) { case 1 : // InternalSacmDsl.g:13688:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getDependsOnAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:13696:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:13697:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:13697:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:13698:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getDependsOnAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13714:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop347: do { int alt347=2; int LA347_0 = input.LA(1); if ( (LA347_0==17) ) { alt347=1; } switch (alt347) { case 1 : // InternalSacmDsl.g:13714:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getDependsOnAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:13718:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:13719:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:13719:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:13720:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getDependsOnAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop347; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:13740:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt350=2; int LA350_0 = input.LA(1); if ( (LA350_0==64) ) { alt350=1; } switch (alt350) { case 1 : // InternalSacmDsl.g:13740:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getDependsOnAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getDependsOnAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:13748:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:13749:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:13749:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:13750:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getDependsOnAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13766:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop349: do { int alt349=2; int LA349_0 = input.LA(1); if ( (LA349_0==17) ) { alt349=1; } switch (alt349) { case 1 : // InternalSacmDsl.g:13766:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getDependsOnAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:13770:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:13771:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:13771:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:13772:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getDependsOnAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDependsOnRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop349; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getDependsOnAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDependsOn" // $ANTLR start "entryRuleSatisfies" // InternalSacmDsl.g:13804:1: entryRuleSatisfies returns [EObject current=null] : iv_ruleSatisfies= ruleSatisfies EOF ; public final EObject entryRuleSatisfies() throws RecognitionException { EObject current = null; EObject iv_ruleSatisfies = null; try { // InternalSacmDsl.g:13805:2: (iv_ruleSatisfies= ruleSatisfies EOF ) // InternalSacmDsl.g:13806:2: iv_ruleSatisfies= ruleSatisfies EOF { newCompositeNode(grammarAccess.getSatisfiesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleSatisfies=ruleSatisfies(); state._fsp--; current =iv_ruleSatisfies; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSatisfies" // $ANTLR start "ruleSatisfies" // InternalSacmDsl.g:13813:1: ruleSatisfies returns [EObject current=null] : (otherlv_0= 'Satisfies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleSatisfies() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:13816:28: ( (otherlv_0= 'Satisfies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:13817:1: (otherlv_0= 'Satisfies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:13817:1: (otherlv_0= 'Satisfies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:13817:3: otherlv_0= 'Satisfies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,95,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getSatisfiesAccess().getSatisfiesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getSatisfiesAccess().getIdKeyword_2()); // InternalSacmDsl.g:13829:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:13830:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:13830:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:13831:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getSatisfiesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_100); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,36,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getSatisfiesAccess().getElementKeyword_4()); // InternalSacmDsl.g:13851:1: ( ( ruleEString ) ) // InternalSacmDsl.g:13852:1: ( ruleEString ) { // InternalSacmDsl.g:13852:1: ( ruleEString ) // InternalSacmDsl.g:13853:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getSatisfiesRule()); } newCompositeNode(grammarAccess.getSatisfiesAccess().getElementProjectElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13866:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt352=2; int LA352_0 = input.LA(1); if ( (LA352_0==16) ) { alt352=1; } switch (alt352) { case 1 : // InternalSacmDsl.g:13866:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getSatisfiesAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:13874:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13875:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:13875:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:13876:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSatisfiesAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13892:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop351: do { int alt351=2; int LA351_0 = input.LA(1); if ( (LA351_0==17) ) { alt351=1; } switch (alt351) { case 1 : // InternalSacmDsl.g:13892:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getSatisfiesAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:13896:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:13897:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:13897:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:13898:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSatisfiesAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop351; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:13918:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt354=2; int LA354_0 = input.LA(1); if ( (LA354_0==19) ) { alt354=1; } switch (alt354) { case 1 : // InternalSacmDsl.g:13918:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getSatisfiesAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:13926:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:13927:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:13927:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:13928:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getSatisfiesAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13944:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop353: do { int alt353=2; int LA353_0 = input.LA(1); if ( (LA353_0==17) ) { alt353=1; } switch (alt353) { case 1 : // InternalSacmDsl.g:13944:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getSatisfiesAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:13948:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:13949:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:13949:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:13950:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getSatisfiesAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop353; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:13970:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt356=2; int LA356_0 = input.LA(1); if ( (LA356_0==61) ) { alt356=1; } switch (alt356) { case 1 : // InternalSacmDsl.g:13970:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getSatisfiesAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:13978:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:13979:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:13979:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:13980:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSatisfiesAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:13996:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop355: do { int alt355=2; int LA355_0 = input.LA(1); if ( (LA355_0==17) ) { alt355=1; } switch (alt355) { case 1 : // InternalSacmDsl.g:13996:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getSatisfiesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:14000:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:14001:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:14001:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:14002:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSatisfiesAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop355; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:14022:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt358=2; int LA358_0 = input.LA(1); if ( (LA358_0==62) ) { alt358=1; } switch (alt358) { case 1 : // InternalSacmDsl.g:14022:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getSatisfiesAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:14030:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14031:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14031:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:14032:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSatisfiesAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14048:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop357: do { int alt357=2; int LA357_0 = input.LA(1); if ( (LA357_0==17) ) { alt357=1; } switch (alt357) { case 1 : // InternalSacmDsl.g:14048:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getSatisfiesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:14052:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14053:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14053:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:14054:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSatisfiesAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop357; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:14074:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt360=2; int LA360_0 = input.LA(1); if ( (LA360_0==63) ) { alt360=1; } switch (alt360) { case 1 : // InternalSacmDsl.g:14074:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getSatisfiesAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:14082:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:14083:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:14083:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:14084:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getSatisfiesAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14100:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop359: do { int alt359=2; int LA359_0 = input.LA(1); if ( (LA359_0==17) ) { alt359=1; } switch (alt359) { case 1 : // InternalSacmDsl.g:14100:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getSatisfiesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:14104:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:14105:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:14105:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:14106:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getSatisfiesAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop359; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:14126:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt362=2; int LA362_0 = input.LA(1); if ( (LA362_0==64) ) { alt362=1; } switch (alt362) { case 1 : // InternalSacmDsl.g:14126:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getSatisfiesAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getSatisfiesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:14134:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14135:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14135:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14136:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSatisfiesAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14152:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop361: do { int alt361=2; int LA361_0 = input.LA(1); if ( (LA361_0==17) ) { alt361=1; } switch (alt361) { case 1 : // InternalSacmDsl.g:14152:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getSatisfiesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:14156:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14157:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14157:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14158:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSatisfiesAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSatisfiesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop361; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getSatisfiesAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSatisfies" // $ANTLR start "entryRuleRequiresContainer" // InternalSacmDsl.g:14190:1: entryRuleRequiresContainer returns [EObject current=null] : iv_ruleRequiresContainer= ruleRequiresContainer EOF ; public final EObject entryRuleRequiresContainer() throws RecognitionException { EObject current = null; EObject iv_ruleRequiresContainer = null; try { // InternalSacmDsl.g:14191:2: (iv_ruleRequiresContainer= ruleRequiresContainer EOF ) // InternalSacmDsl.g:14192:2: iv_ruleRequiresContainer= ruleRequiresContainer EOF { newCompositeNode(grammarAccess.getRequiresContainerRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleRequiresContainer=ruleRequiresContainer(); state._fsp--; current =iv_ruleRequiresContainer; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRequiresContainer" // $ANTLR start "ruleRequiresContainer" // InternalSacmDsl.g:14199:1: ruleRequiresContainer returns [EObject current=null] : (otherlv_0= 'RequiresContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'container' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleRequiresContainer() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:14202:28: ( (otherlv_0= 'RequiresContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'container' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:14203:1: (otherlv_0= 'RequiresContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'container' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:14203:1: (otherlv_0= 'RequiresContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'container' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:14203:3: otherlv_0= 'RequiresContainer' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'container' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,96,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getRequiresContainerAccess().getRequiresContainerKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getRequiresContainerAccess().getIdKeyword_2()); // InternalSacmDsl.g:14215:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:14216:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:14216:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:14217:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getRequiresContainerAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_101); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,97,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getRequiresContainerAccess().getContainerKeyword_4()); // InternalSacmDsl.g:14237:1: ( ( ruleEString ) ) // InternalSacmDsl.g:14238:1: ( ruleEString ) { // InternalSacmDsl.g:14238:1: ( ruleEString ) // InternalSacmDsl.g:14239:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getRequiresContainerRule()); } newCompositeNode(grammarAccess.getRequiresContainerAccess().getContainerEvidenceContainerCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14252:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt364=2; int LA364_0 = input.LA(1); if ( (LA364_0==16) ) { alt364=1; } switch (alt364) { case 1 : // InternalSacmDsl.g:14252:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getRequiresContainerAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:14260:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:14261:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:14261:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:14262:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRequiresContainerAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14278:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop363: do { int alt363=2; int LA363_0 = input.LA(1); if ( (LA363_0==17) ) { alt363=1; } switch (alt363) { case 1 : // InternalSacmDsl.g:14278:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getRequiresContainerAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:14282:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:14283:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:14283:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:14284:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRequiresContainerAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop363; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:14304:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt366=2; int LA366_0 = input.LA(1); if ( (LA366_0==19) ) { alt366=1; } switch (alt366) { case 1 : // InternalSacmDsl.g:14304:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getRequiresContainerAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:14312:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:14313:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:14313:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:14314:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getRequiresContainerAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14330:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop365: do { int alt365=2; int LA365_0 = input.LA(1); if ( (LA365_0==17) ) { alt365=1; } switch (alt365) { case 1 : // InternalSacmDsl.g:14330:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getRequiresContainerAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:14334:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:14335:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:14335:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:14336:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getRequiresContainerAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop365; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:14356:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt368=2; int LA368_0 = input.LA(1); if ( (LA368_0==61) ) { alt368=1; } switch (alt368) { case 1 : // InternalSacmDsl.g:14356:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getRequiresContainerAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:14364:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:14365:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:14365:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:14366:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRequiresContainerAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14382:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop367: do { int alt367=2; int LA367_0 = input.LA(1); if ( (LA367_0==17) ) { alt367=1; } switch (alt367) { case 1 : // InternalSacmDsl.g:14382:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getRequiresContainerAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:14386:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:14387:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:14387:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:14388:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRequiresContainerAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop367; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:14408:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt370=2; int LA370_0 = input.LA(1); if ( (LA370_0==62) ) { alt370=1; } switch (alt370) { case 1 : // InternalSacmDsl.g:14408:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getRequiresContainerAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:14416:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14417:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14417:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:14418:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRequiresContainerAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14434:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop369: do { int alt369=2; int LA369_0 = input.LA(1); if ( (LA369_0==17) ) { alt369=1; } switch (alt369) { case 1 : // InternalSacmDsl.g:14434:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getRequiresContainerAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:14438:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14439:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14439:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:14440:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRequiresContainerAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop369; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:14460:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt372=2; int LA372_0 = input.LA(1); if ( (LA372_0==63) ) { alt372=1; } switch (alt372) { case 1 : // InternalSacmDsl.g:14460:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getRequiresContainerAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:14468:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:14469:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:14469:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:14470:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getRequiresContainerAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14486:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop371: do { int alt371=2; int LA371_0 = input.LA(1); if ( (LA371_0==17) ) { alt371=1; } switch (alt371) { case 1 : // InternalSacmDsl.g:14486:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getRequiresContainerAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:14490:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:14491:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:14491:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:14492:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getRequiresContainerAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop371; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:14512:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt374=2; int LA374_0 = input.LA(1); if ( (LA374_0==64) ) { alt374=1; } switch (alt374) { case 1 : // InternalSacmDsl.g:14512:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getRequiresContainerAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getRequiresContainerAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:14520:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14521:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14521:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14522:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRequiresContainerAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14538:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop373: do { int alt373=2; int LA373_0 = input.LA(1); if ( (LA373_0==17) ) { alt373=1; } switch (alt373) { case 1 : // InternalSacmDsl.g:14538:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getRequiresContainerAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:14542:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14543:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14543:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14544:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRequiresContainerAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRequiresContainerRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop373; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getRequiresContainerAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRequiresContainer" // $ANTLR start "entryRuleContainerConsistency" // InternalSacmDsl.g:14576:1: entryRuleContainerConsistency returns [EObject current=null] : iv_ruleContainerConsistency= ruleContainerConsistency EOF ; public final EObject entryRuleContainerConsistency() throws RecognitionException { EObject current = null; EObject iv_ruleContainerConsistency = null; try { // InternalSacmDsl.g:14577:2: (iv_ruleContainerConsistency= ruleContainerConsistency EOF ) // InternalSacmDsl.g:14578:2: iv_ruleContainerConsistency= ruleContainerConsistency EOF { newCompositeNode(grammarAccess.getContainerConsistencyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleContainerConsistency=ruleContainerConsistency(); state._fsp--; current =iv_ruleContainerConsistency; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleContainerConsistency" // $ANTLR start "ruleContainerConsistency" // InternalSacmDsl.g:14585:1: ruleContainerConsistency returns [EObject current=null] : (otherlv_0= 'ContainerConsistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleContainerConsistency() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:14588:28: ( (otherlv_0= 'ContainerConsistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:14589:1: (otherlv_0= 'ContainerConsistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:14589:1: (otherlv_0= 'ContainerConsistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:14589:3: otherlv_0= 'ContainerConsistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,98,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getContainerConsistencyAccess().getContainerConsistencyKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getContainerConsistencyAccess().getIdKeyword_2()); // InternalSacmDsl.g:14601:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:14602:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:14602:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:14603:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_102); newLeafNode(otherlv_4, grammarAccess.getContainerConsistencyAccess().getValueKeyword_4()); // InternalSacmDsl.g:14623:1: ( (lv_value_5_0= ruleConsistencyLevel ) ) // InternalSacmDsl.g:14624:1: (lv_value_5_0= ruleConsistencyLevel ) { // InternalSacmDsl.g:14624:1: (lv_value_5_0= ruleConsistencyLevel ) // InternalSacmDsl.g:14625:3: lv_value_5_0= ruleConsistencyLevel { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getValueConsistencyLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleConsistencyLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.ConsistencyLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14641:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt376=2; int LA376_0 = input.LA(1); if ( (LA376_0==16) ) { alt376=1; } switch (alt376) { case 1 : // InternalSacmDsl.g:14641:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getContainerConsistencyAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:14649:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:14650:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:14650:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:14651:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14667:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop375: do { int alt375=2; int LA375_0 = input.LA(1); if ( (LA375_0==17) ) { alt375=1; } switch (alt375) { case 1 : // InternalSacmDsl.g:14667:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:14671:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:14672:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:14672:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:14673:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop375; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:14693:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt378=2; int LA378_0 = input.LA(1); if ( (LA378_0==19) ) { alt378=1; } switch (alt378) { case 1 : // InternalSacmDsl.g:14693:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getContainerConsistencyAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:14701:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:14702:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:14702:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:14703:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14719:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop377: do { int alt377=2; int LA377_0 = input.LA(1); if ( (LA377_0==17) ) { alt377=1; } switch (alt377) { case 1 : // InternalSacmDsl.g:14719:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:14723:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:14724:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:14724:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:14725:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop377; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:14745:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt380=2; int LA380_0 = input.LA(1); if ( (LA380_0==61) ) { alt380=1; } switch (alt380) { case 1 : // InternalSacmDsl.g:14745:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getContainerConsistencyAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:14753:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:14754:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:14754:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:14755:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14771:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop379: do { int alt379=2; int LA379_0 = input.LA(1); if ( (LA379_0==17) ) { alt379=1; } switch (alt379) { case 1 : // InternalSacmDsl.g:14771:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:14775:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:14776:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:14776:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:14777:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop379; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:14797:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt382=2; int LA382_0 = input.LA(1); if ( (LA382_0==62) ) { alt382=1; } switch (alt382) { case 1 : // InternalSacmDsl.g:14797:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getContainerConsistencyAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:14805:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14806:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14806:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:14807:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14823:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop381: do { int alt381=2; int LA381_0 = input.LA(1); if ( (LA381_0==17) ) { alt381=1; } switch (alt381) { case 1 : // InternalSacmDsl.g:14823:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:14827:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:14828:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:14828:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:14829:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop381; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:14849:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt384=2; int LA384_0 = input.LA(1); if ( (LA384_0==63) ) { alt384=1; } switch (alt384) { case 1 : // InternalSacmDsl.g:14849:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getContainerConsistencyAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:14857:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:14858:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:14858:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:14859:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14875:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop383: do { int alt383=2; int LA383_0 = input.LA(1); if ( (LA383_0==17) ) { alt383=1; } switch (alt383) { case 1 : // InternalSacmDsl.g:14875:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:14879:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:14880:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:14880:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:14881:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop383; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:14901:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt386=2; int LA386_0 = input.LA(1); if ( (LA386_0==64) ) { alt386=1; } switch (alt386) { case 1 : // InternalSacmDsl.g:14901:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getContainerConsistencyAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getContainerConsistencyAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:14909:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14910:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14910:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14911:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:14927:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop385: do { int alt385=2; int LA385_0 = input.LA(1); if ( (LA385_0==17) ) { alt385=1; } switch (alt385) { case 1 : // InternalSacmDsl.g:14927:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getContainerConsistencyAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:14931:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:14932:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:14932:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:14933:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getContainerConsistencyAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerConsistencyRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop385; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getContainerConsistencyAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleContainerConsistency" // $ANTLR start "entryRuleContainerCompleteness" // InternalSacmDsl.g:14965:1: entryRuleContainerCompleteness returns [EObject current=null] : iv_ruleContainerCompleteness= ruleContainerCompleteness EOF ; public final EObject entryRuleContainerCompleteness() throws RecognitionException { EObject current = null; EObject iv_ruleContainerCompleteness = null; try { // InternalSacmDsl.g:14966:2: (iv_ruleContainerCompleteness= ruleContainerCompleteness EOF ) // InternalSacmDsl.g:14967:2: iv_ruleContainerCompleteness= ruleContainerCompleteness EOF { newCompositeNode(grammarAccess.getContainerCompletenessRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleContainerCompleteness=ruleContainerCompleteness(); state._fsp--; current =iv_ruleContainerCompleteness; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleContainerCompleteness" // $ANTLR start "ruleContainerCompleteness" // InternalSacmDsl.g:14974:1: ruleContainerCompleteness returns [EObject current=null] : (otherlv_0= 'ContainerCompleteness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleContainerCompleteness() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:14977:28: ( (otherlv_0= 'ContainerCompleteness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:14978:1: (otherlv_0= 'ContainerCompleteness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:14978:1: (otherlv_0= 'ContainerCompleteness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:14978:3: otherlv_0= 'ContainerCompleteness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,99,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getContainerCompletenessAccess().getContainerCompletenessKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getContainerCompletenessAccess().getIdKeyword_2()); // InternalSacmDsl.g:14990:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:14991:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:14991:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:14992:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_103); newLeafNode(otherlv_4, grammarAccess.getContainerCompletenessAccess().getValueKeyword_4()); // InternalSacmDsl.g:15012:1: ( (lv_value_5_0= ruleCompletenessLevel ) ) // InternalSacmDsl.g:15013:1: (lv_value_5_0= ruleCompletenessLevel ) { // InternalSacmDsl.g:15013:1: (lv_value_5_0= ruleCompletenessLevel ) // InternalSacmDsl.g:15014:3: lv_value_5_0= ruleCompletenessLevel { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getValueCompletenessLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleCompletenessLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.CompletenessLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15030:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt388=2; int LA388_0 = input.LA(1); if ( (LA388_0==16) ) { alt388=1; } switch (alt388) { case 1 : // InternalSacmDsl.g:15030:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getContainerCompletenessAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:15038:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15039:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:15039:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:15040:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15056:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop387: do { int alt387=2; int LA387_0 = input.LA(1); if ( (LA387_0==17) ) { alt387=1; } switch (alt387) { case 1 : // InternalSacmDsl.g:15056:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:15060:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15061:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:15061:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:15062:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop387; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:15082:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt390=2; int LA390_0 = input.LA(1); if ( (LA390_0==19) ) { alt390=1; } switch (alt390) { case 1 : // InternalSacmDsl.g:15082:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getContainerCompletenessAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:15090:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:15091:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:15091:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:15092:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15108:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop389: do { int alt389=2; int LA389_0 = input.LA(1); if ( (LA389_0==17) ) { alt389=1; } switch (alt389) { case 1 : // InternalSacmDsl.g:15108:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:15112:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:15113:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:15113:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:15114:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop389; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:15134:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt392=2; int LA392_0 = input.LA(1); if ( (LA392_0==61) ) { alt392=1; } switch (alt392) { case 1 : // InternalSacmDsl.g:15134:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getContainerCompletenessAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:15142:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15143:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:15143:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:15144:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15160:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop391: do { int alt391=2; int LA391_0 = input.LA(1); if ( (LA391_0==17) ) { alt391=1; } switch (alt391) { case 1 : // InternalSacmDsl.g:15160:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:15164:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15165:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:15165:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:15166:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop391; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:15186:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt394=2; int LA394_0 = input.LA(1); if ( (LA394_0==62) ) { alt394=1; } switch (alt394) { case 1 : // InternalSacmDsl.g:15186:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getContainerCompletenessAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:15194:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15195:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15195:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:15196:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15212:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop393: do { int alt393=2; int LA393_0 = input.LA(1); if ( (LA393_0==17) ) { alt393=1; } switch (alt393) { case 1 : // InternalSacmDsl.g:15212:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:15216:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15217:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15217:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:15218:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop393; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:15238:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt396=2; int LA396_0 = input.LA(1); if ( (LA396_0==63) ) { alt396=1; } switch (alt396) { case 1 : // InternalSacmDsl.g:15238:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getContainerCompletenessAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:15246:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:15247:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:15247:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:15248:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15264:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop395: do { int alt395=2; int LA395_0 = input.LA(1); if ( (LA395_0==17) ) { alt395=1; } switch (alt395) { case 1 : // InternalSacmDsl.g:15264:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:15268:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:15269:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:15269:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:15270:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop395; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:15290:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt398=2; int LA398_0 = input.LA(1); if ( (LA398_0==64) ) { alt398=1; } switch (alt398) { case 1 : // InternalSacmDsl.g:15290:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getContainerCompletenessAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getContainerCompletenessAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:15298:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:15299:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:15299:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:15300:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15316:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop397: do { int alt397=2; int LA397_0 = input.LA(1); if ( (LA397_0==17) ) { alt397=1; } switch (alt397) { case 1 : // InternalSacmDsl.g:15316:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getContainerCompletenessAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:15320:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:15321:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:15321:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:15322:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getContainerCompletenessAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getContainerCompletenessRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop397; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getContainerCompletenessAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleContainerCompleteness" // $ANTLR start "entryRuleCompliesTo" // InternalSacmDsl.g:15354:1: entryRuleCompliesTo returns [EObject current=null] : iv_ruleCompliesTo= ruleCompliesTo EOF ; public final EObject entryRuleCompliesTo() throws RecognitionException { EObject current = null; EObject iv_ruleCompliesTo = null; try { // InternalSacmDsl.g:15355:2: (iv_ruleCompliesTo= ruleCompliesTo EOF ) // InternalSacmDsl.g:15356:2: iv_ruleCompliesTo= ruleCompliesTo EOF { newCompositeNode(grammarAccess.getCompliesToRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCompliesTo=ruleCompliesTo(); state._fsp--; current =iv_ruleCompliesTo; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCompliesTo" // $ANTLR start "ruleCompliesTo" // InternalSacmDsl.g:15363:1: ruleCompliesTo returns [EObject current=null] : (otherlv_0= 'CompliesTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'criteria' ( (lv_criteria_5_0= ruleStandardOfProof ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleCompliesTo() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_criteria_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:15366:28: ( (otherlv_0= 'CompliesTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'criteria' ( (lv_criteria_5_0= ruleStandardOfProof ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:15367:1: (otherlv_0= 'CompliesTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'criteria' ( (lv_criteria_5_0= ruleStandardOfProof ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:15367:1: (otherlv_0= 'CompliesTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'criteria' ( (lv_criteria_5_0= ruleStandardOfProof ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:15367:3: otherlv_0= 'CompliesTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'criteria' ( (lv_criteria_5_0= ruleStandardOfProof ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,100,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCompliesToAccess().getCompliesToKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCompliesToAccess().getIdKeyword_2()); // InternalSacmDsl.g:15379:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:15380:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:15380:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:15381:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCompliesToAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_104); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,101,FollowSets000.FOLLOW_105); newLeafNode(otherlv_4, grammarAccess.getCompliesToAccess().getCriteriaKeyword_4()); // InternalSacmDsl.g:15401:1: ( (lv_criteria_5_0= ruleStandardOfProof ) ) // InternalSacmDsl.g:15402:1: (lv_criteria_5_0= ruleStandardOfProof ) { // InternalSacmDsl.g:15402:1: (lv_criteria_5_0= ruleStandardOfProof ) // InternalSacmDsl.g:15403:3: lv_criteria_5_0= ruleStandardOfProof { newCompositeNode(grammarAccess.getCompliesToAccess().getCriteriaStandardOfProofParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_criteria_5_0=ruleStandardOfProof(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } set( current, "criteria", lv_criteria_5_0, "net.certware.sacm.dsl.SacmDsl.StandardOfProof"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15419:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt400=2; int LA400_0 = input.LA(1); if ( (LA400_0==16) ) { alt400=1; } switch (alt400) { case 1 : // InternalSacmDsl.g:15419:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getCompliesToAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:15427:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15428:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:15428:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:15429:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompliesToAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15445:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop399: do { int alt399=2; int LA399_0 = input.LA(1); if ( (LA399_0==17) ) { alt399=1; } switch (alt399) { case 1 : // InternalSacmDsl.g:15445:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getCompliesToAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:15449:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15450:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:15450:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:15451:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompliesToAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop399; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:15471:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt402=2; int LA402_0 = input.LA(1); if ( (LA402_0==19) ) { alt402=1; } switch (alt402) { case 1 : // InternalSacmDsl.g:15471:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getCompliesToAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:15479:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:15480:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:15480:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:15481:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompliesToAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15497:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop401: do { int alt401=2; int LA401_0 = input.LA(1); if ( (LA401_0==17) ) { alt401=1; } switch (alt401) { case 1 : // InternalSacmDsl.g:15497:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getCompliesToAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:15501:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:15502:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:15502:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:15503:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompliesToAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop401; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:15523:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt404=2; int LA404_0 = input.LA(1); if ( (LA404_0==61) ) { alt404=1; } switch (alt404) { case 1 : // InternalSacmDsl.g:15523:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getCompliesToAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:15531:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15532:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:15532:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:15533:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompliesToAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15549:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop403: do { int alt403=2; int LA403_0 = input.LA(1); if ( (LA403_0==17) ) { alt403=1; } switch (alt403) { case 1 : // InternalSacmDsl.g:15549:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getCompliesToAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:15553:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15554:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:15554:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:15555:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompliesToAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop403; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:15575:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt406=2; int LA406_0 = input.LA(1); if ( (LA406_0==62) ) { alt406=1; } switch (alt406) { case 1 : // InternalSacmDsl.g:15575:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getCompliesToAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:15583:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15584:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15584:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:15585:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompliesToAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15601:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop405: do { int alt405=2; int LA405_0 = input.LA(1); if ( (LA405_0==17) ) { alt405=1; } switch (alt405) { case 1 : // InternalSacmDsl.g:15601:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getCompliesToAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:15605:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15606:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15606:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:15607:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompliesToAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop405; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:15627:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt408=2; int LA408_0 = input.LA(1); if ( (LA408_0==63) ) { alt408=1; } switch (alt408) { case 1 : // InternalSacmDsl.g:15627:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getCompliesToAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:15635:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:15636:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:15636:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:15637:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getCompliesToAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15653:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop407: do { int alt407=2; int LA407_0 = input.LA(1); if ( (LA407_0==17) ) { alt407=1; } switch (alt407) { case 1 : // InternalSacmDsl.g:15653:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getCompliesToAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:15657:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:15658:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:15658:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:15659:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getCompliesToAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop407; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:15679:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt410=2; int LA410_0 = input.LA(1); if ( (LA410_0==64) ) { alt410=1; } switch (alt410) { case 1 : // InternalSacmDsl.g:15679:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getCompliesToAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getCompliesToAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:15687:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:15688:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:15688:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:15689:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompliesToAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15705:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop409: do { int alt409=2; int LA409_0 = input.LA(1); if ( (LA409_0==17) ) { alt409=1; } switch (alt409) { case 1 : // InternalSacmDsl.g:15705:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getCompliesToAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:15709:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:15710:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:15710:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:15711:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompliesToAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompliesToRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop409; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getCompliesToAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCompliesTo" // $ANTLR start "entryRuleExtendedProjectProperty" // InternalSacmDsl.g:15743:1: entryRuleExtendedProjectProperty returns [EObject current=null] : iv_ruleExtendedProjectProperty= ruleExtendedProjectProperty EOF ; public final EObject entryRuleExtendedProjectProperty() throws RecognitionException { EObject current = null; EObject iv_ruleExtendedProjectProperty = null; try { // InternalSacmDsl.g:15744:2: (iv_ruleExtendedProjectProperty= ruleExtendedProjectProperty EOF ) // InternalSacmDsl.g:15745:2: iv_ruleExtendedProjectProperty= ruleExtendedProjectProperty EOF { newCompositeNode(grammarAccess.getExtendedProjectPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleExtendedProjectProperty=ruleExtendedProjectProperty(); state._fsp--; current =iv_ruleExtendedProjectProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExtendedProjectProperty" // $ANTLR start "ruleExtendedProjectProperty" // InternalSacmDsl.g:15752:1: ruleExtendedProjectProperty returns [EObject current=null] : (otherlv_0= 'ExtendedProjectProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleExtendedProjectProperty() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:15755:28: ( (otherlv_0= 'ExtendedProjectProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:15756:1: (otherlv_0= 'ExtendedProjectProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:15756:1: (otherlv_0= 'ExtendedProjectProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:15756:3: otherlv_0= 'ExtendedProjectProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,102,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getExtendedProjectPropertyAccess().getExtendedProjectPropertyKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getExtendedProjectPropertyAccess().getIdKeyword_2()); // InternalSacmDsl.g:15768:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:15769:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:15769:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:15770:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15786:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt412=2; int LA412_0 = input.LA(1); if ( (LA412_0==16) ) { alt412=1; } switch (alt412) { case 1 : // InternalSacmDsl.g:15786:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getExtendedProjectPropertyAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:15794:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15795:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:15795:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:15796:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15812:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop411: do { int alt411=2; int LA411_0 = input.LA(1); if ( (LA411_0==17) ) { alt411=1; } switch (alt411) { case 1 : // InternalSacmDsl.g:15812:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:15816:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:15817:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:15817:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:15818:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop411; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:15838:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt414=2; int LA414_0 = input.LA(1); if ( (LA414_0==19) ) { alt414=1; } switch (alt414) { case 1 : // InternalSacmDsl.g:15838:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getExtendedProjectPropertyAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:15846:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:15847:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:15847:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:15848:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15864:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop413: do { int alt413=2; int LA413_0 = input.LA(1); if ( (LA413_0==17) ) { alt413=1; } switch (alt413) { case 1 : // InternalSacmDsl.g:15864:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:15868:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:15869:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:15869:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:15870:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop413; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:15890:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt416=2; int LA416_0 = input.LA(1); if ( (LA416_0==61) ) { alt416=1; } switch (alt416) { case 1 : // InternalSacmDsl.g:15890:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getExtendedProjectPropertyAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:15898:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15899:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:15899:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:15900:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15916:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop415: do { int alt415=2; int LA415_0 = input.LA(1); if ( (LA415_0==17) ) { alt415=1; } switch (alt415) { case 1 : // InternalSacmDsl.g:15916:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:15920:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:15921:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:15921:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:15922:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop415; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:15942:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt418=2; int LA418_0 = input.LA(1); if ( (LA418_0==62) ) { alt418=1; } switch (alt418) { case 1 : // InternalSacmDsl.g:15942:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getExtendedProjectPropertyAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:15950:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15951:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15951:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:15952:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:15968:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop417: do { int alt417=2; int LA417_0 = input.LA(1); if ( (LA417_0==17) ) { alt417=1; } switch (alt417) { case 1 : // InternalSacmDsl.g:15968:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:15972:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:15973:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:15973:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:15974:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop417; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:15994:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt420=2; int LA420_0 = input.LA(1); if ( (LA420_0==63) ) { alt420=1; } switch (alt420) { case 1 : // InternalSacmDsl.g:15994:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getExtendedProjectPropertyAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:16002:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:16003:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:16003:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:16004:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16020:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop419: do { int alt419=2; int LA419_0 = input.LA(1); if ( (LA419_0==17) ) { alt419=1; } switch (alt419) { case 1 : // InternalSacmDsl.g:16020:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:16024:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:16025:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:16025:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:16026:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop419; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:16046:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt422=2; int LA422_0 = input.LA(1); if ( (LA422_0==64) ) { alt422=1; } switch (alt422) { case 1 : // InternalSacmDsl.g:16046:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getExtendedProjectPropertyAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getExtendedProjectPropertyAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:16054:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16055:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16055:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16056:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16072:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop421: do { int alt421=2; int LA421_0 = input.LA(1); if ( (LA421_0==17) ) { alt421=1; } switch (alt421) { case 1 : // InternalSacmDsl.g:16072:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getExtendedProjectPropertyAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:16076:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16077:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16077:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16078:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedProjectPropertyAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedProjectPropertyRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop421; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getExtendedProjectPropertyAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExtendedProjectProperty" // $ANTLR start "entryRuleOrganization" // InternalSacmDsl.g:16110:1: entryRuleOrganization returns [EObject current=null] : iv_ruleOrganization= ruleOrganization EOF ; public final EObject entryRuleOrganization() throws RecognitionException { EObject current = null; EObject iv_ruleOrganization = null; try { // InternalSacmDsl.g:16111:2: (iv_ruleOrganization= ruleOrganization EOF ) // InternalSacmDsl.g:16112:2: iv_ruleOrganization= ruleOrganization EOF { newCompositeNode(grammarAccess.getOrganizationRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleOrganization=ruleOrganization(); state._fsp--; current =iv_ruleOrganization; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOrganization" // $ANTLR start "ruleOrganization" // InternalSacmDsl.g:16119:1: ruleOrganization returns [EObject current=null] : (otherlv_0= 'Organization' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'address' ( (lv_address_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ; public final EObject ruleOrganization() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_51=null; Token otherlv_52=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; AntlrDatatypeRuleToken lv_address_9_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_timing_24_0 = null; EObject lv_timing_26_0 = null; EObject lv_custody_30_0 = null; EObject lv_custody_32_0 = null; EObject lv_provenance_36_0 = null; EObject lv_provenance_38_0 = null; EObject lv_event_42_0 = null; EObject lv_event_44_0 = null; EObject lv_property_48_0 = null; EObject lv_property_50_0 = null; enterRule(); try { // InternalSacmDsl.g:16122:28: ( (otherlv_0= 'Organization' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'address' ( (lv_address_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ) // InternalSacmDsl.g:16123:1: (otherlv_0= 'Organization' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'address' ( (lv_address_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) { // InternalSacmDsl.g:16123:1: (otherlv_0= 'Organization' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'address' ( (lv_address_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) // InternalSacmDsl.g:16123:3: otherlv_0= 'Organization' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'address' ( (lv_address_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' { otherlv_0=(Token)match(input,103,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getOrganizationAccess().getOrganizationKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getOrganizationAccess().getIdKeyword_2()); // InternalSacmDsl.g:16135:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:16136:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:16136:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:16137:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getOrganizationAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getOrganizationAccess().getNameKeyword_4()); // InternalSacmDsl.g:16157:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:16158:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:16158:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:16159:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getOrganizationAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getOrganizationAccess().getContentKeyword_6()); // InternalSacmDsl.g:16179:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:16180:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:16180:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:16181:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getOrganizationAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_106); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,104,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getOrganizationAccess().getAddressKeyword_8()); // InternalSacmDsl.g:16201:1: ( (lv_address_9_0= ruleString0 ) ) // InternalSacmDsl.g:16202:1: (lv_address_9_0= ruleString0 ) { // InternalSacmDsl.g:16202:1: (lv_address_9_0= ruleString0 ) // InternalSacmDsl.g:16203:3: lv_address_9_0= ruleString0 { newCompositeNode(grammarAccess.getOrganizationAccess().getAddressString0ParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_56); lv_address_9_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } set( current, "address", lv_address_9_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16219:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt424=2; int LA424_0 = input.LA(1); if ( (LA424_0==16) ) { alt424=1; } switch (alt424) { case 1 : // InternalSacmDsl.g:16219:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getOrganizationAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:16227:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:16228:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:16228:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:16229:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOrganizationAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16245:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop423: do { int alt423=2; int LA423_0 = input.LA(1); if ( (LA423_0==17) ) { alt423=1; } switch (alt423) { case 1 : // InternalSacmDsl.g:16245:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getOrganizationAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:16249:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:16250:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:16250:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:16251:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOrganizationAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop423; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_15, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:16271:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt426=2; int LA426_0 = input.LA(1); if ( (LA426_0==19) ) { alt426=1; } switch (alt426) { case 1 : // InternalSacmDsl.g:16271:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getOrganizationAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:16279:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:16280:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:16280:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:16281:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getOrganizationAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16297:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop425: do { int alt425=2; int LA425_0 = input.LA(1); if ( (LA425_0==17) ) { alt425=1; } switch (alt425) { case 1 : // InternalSacmDsl.g:16297:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getOrganizationAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:16301:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:16302:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:16302:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:16303:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getOrganizationAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop425; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_21, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:16323:3: (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? int alt428=2; int LA428_0 = input.LA(1); if ( (LA428_0==61) ) { alt428=1; } switch (alt428) { case 1 : // InternalSacmDsl.g:16323:5: otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getOrganizationAccess().getTimingKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:16331:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:16332:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:16332:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:16333:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getTimingTimingPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16349:2: (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* loop427: do { int alt427=2; int LA427_0 = input.LA(1); if ( (LA427_0==17) ) { alt427=1; } switch (alt427) { case 1 : // InternalSacmDsl.g:16349:4: otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getOrganizationAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:16353:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:16354:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:16354:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:16355:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getTimingTimingPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop427; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_27, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:16375:3: (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? int alt430=2; int LA430_0 = input.LA(1); if ( (LA430_0==62) ) { alt430=1; } switch (alt430) { case 1 : // InternalSacmDsl.g:16375:5: otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getOrganizationAccess().getCustodyKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:16383:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:16384:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:16384:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:16385:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getCustodyCustodyPropertyParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16401:2: (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* loop429: do { int alt429=2; int LA429_0 = input.LA(1); if ( (LA429_0==17) ) { alt429=1; } switch (alt429) { case 1 : // InternalSacmDsl.g:16401:4: otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getOrganizationAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:16405:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:16406:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:16406:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:16407:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getCustodyCustodyPropertyParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop429; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_33, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:16427:3: (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? int alt432=2; int LA432_0 = input.LA(1); if ( (LA432_0==63) ) { alt432=1; } switch (alt432) { case 1 : // InternalSacmDsl.g:16427:5: otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getOrganizationAccess().getProvenanceKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:16435:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:16436:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:16436:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:16437:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getOrganizationAccess().getProvenanceProvenanceParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16453:2: (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* loop431: do { int alt431=2; int LA431_0 = input.LA(1); if ( (LA431_0==17) ) { alt431=1; } switch (alt431) { case 1 : // InternalSacmDsl.g:16453:4: otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getOrganizationAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:16457:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:16458:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:16458:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:16459:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getOrganizationAccess().getProvenanceProvenanceParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop431; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_39, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:16479:3: (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? int alt434=2; int LA434_0 = input.LA(1); if ( (LA434_0==64) ) { alt434=1; } switch (alt434) { case 1 : // InternalSacmDsl.g:16479:5: otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getOrganizationAccess().getEventKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:16487:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16488:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16488:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16489:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOrganizationAccess().getEventEvidenceEventParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16505:2: (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* loop433: do { int alt433=2; int LA433_0 = input.LA(1); if ( (LA433_0==17) ) { alt433=1; } switch (alt433) { case 1 : // InternalSacmDsl.g:16505:4: otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getOrganizationAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:16509:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16510:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16510:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16511:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOrganizationAccess().getEventEvidenceEventParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop433; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_45, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_15_4()); } break; } // InternalSacmDsl.g:16531:3: (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? int alt436=2; int LA436_0 = input.LA(1); if ( (LA436_0==35) ) { alt436=1; } switch (alt436) { case 1 : // InternalSacmDsl.g:16531:5: otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' { otherlv_46=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_46, grammarAccess.getOrganizationAccess().getPropertyKeyword_16_0()); otherlv_47=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getOrganizationAccess().getLeftCurlyBracketKeyword_16_1()); // InternalSacmDsl.g:16539:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:16540:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:16540:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:16541:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getPropertyProjectPropertyParserRuleCall_16_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16557:2: (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* loop435: do { int alt435=2; int LA435_0 = input.LA(1); if ( (LA435_0==17) ) { alt435=1; } switch (alt435) { case 1 : // InternalSacmDsl.g:16557:4: otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) { otherlv_49=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_49, grammarAccess.getOrganizationAccess().getCommaKeyword_16_3_0()); // InternalSacmDsl.g:16561:1: ( (lv_property_50_0= ruleProjectProperty ) ) // InternalSacmDsl.g:16562:1: (lv_property_50_0= ruleProjectProperty ) { // InternalSacmDsl.g:16562:1: (lv_property_50_0= ruleProjectProperty ) // InternalSacmDsl.g:16563:3: lv_property_50_0= ruleProjectProperty { newCompositeNode(grammarAccess.getOrganizationAccess().getPropertyProjectPropertyParserRuleCall_16_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_50_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrganizationRule()); } add( current, "property", lv_property_50_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop435; } } while (true); otherlv_51=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_51, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_16_4()); } break; } otherlv_52=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_52, grammarAccess.getOrganizationAccess().getRightCurlyBracketKeyword_17()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOrganization" // $ANTLR start "entryRuleTool" // InternalSacmDsl.g:16595:1: entryRuleTool returns [EObject current=null] : iv_ruleTool= ruleTool EOF ; public final EObject entryRuleTool() throws RecognitionException { EObject current = null; EObject iv_ruleTool = null; try { // InternalSacmDsl.g:16596:2: (iv_ruleTool= ruleTool EOF ) // InternalSacmDsl.g:16597:2: iv_ruleTool= ruleTool EOF { newCompositeNode(grammarAccess.getToolRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleTool=ruleTool(); state._fsp--; current =iv_ruleTool; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTool" // $ANTLR start "ruleTool" // InternalSacmDsl.g:16604:1: ruleTool returns [EObject current=null] : (otherlv_0= 'Tool' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ; public final EObject ruleTool() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_51=null; Token otherlv_52=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; AntlrDatatypeRuleToken lv_version_9_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_timing_24_0 = null; EObject lv_timing_26_0 = null; EObject lv_custody_30_0 = null; EObject lv_custody_32_0 = null; EObject lv_provenance_36_0 = null; EObject lv_provenance_38_0 = null; EObject lv_event_42_0 = null; EObject lv_event_44_0 = null; EObject lv_property_48_0 = null; EObject lv_property_50_0 = null; enterRule(); try { // InternalSacmDsl.g:16607:28: ( (otherlv_0= 'Tool' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) ) // InternalSacmDsl.g:16608:1: (otherlv_0= 'Tool' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) { // InternalSacmDsl.g:16608:1: (otherlv_0= 'Tool' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' ) // InternalSacmDsl.g:16608:3: otherlv_0= 'Tool' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) otherlv_8= 'version' ( (lv_version_9_0= ruleString0 ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? otherlv_52= '}' { otherlv_0=(Token)match(input,105,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getToolAccess().getToolKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getToolAccess().getIdKeyword_2()); // InternalSacmDsl.g:16620:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:16621:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:16621:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:16622:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getToolAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getToolAccess().getNameKeyword_4()); // InternalSacmDsl.g:16642:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:16643:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:16643:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:16644:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getToolAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getToolAccess().getContentKeyword_6()); // InternalSacmDsl.g:16664:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:16665:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:16665:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:16666:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getToolAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_27); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,32,FollowSets000.FOLLOW_5); newLeafNode(otherlv_8, grammarAccess.getToolAccess().getVersionKeyword_8()); // InternalSacmDsl.g:16686:1: ( (lv_version_9_0= ruleString0 ) ) // InternalSacmDsl.g:16687:1: (lv_version_9_0= ruleString0 ) { // InternalSacmDsl.g:16687:1: (lv_version_9_0= ruleString0 ) // InternalSacmDsl.g:16688:3: lv_version_9_0= ruleString0 { newCompositeNode(grammarAccess.getToolAccess().getVersionString0ParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_56); lv_version_9_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } set( current, "version", lv_version_9_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16704:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt438=2; int LA438_0 = input.LA(1); if ( (LA438_0==16) ) { alt438=1; } switch (alt438) { case 1 : // InternalSacmDsl.g:16704:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getToolAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:16712:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:16713:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:16713:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:16714:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getToolAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16730:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop437: do { int alt437=2; int LA437_0 = input.LA(1); if ( (LA437_0==17) ) { alt437=1; } switch (alt437) { case 1 : // InternalSacmDsl.g:16730:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getToolAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:16734:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:16735:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:16735:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:16736:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getToolAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop437; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_15, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:16756:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt440=2; int LA440_0 = input.LA(1); if ( (LA440_0==19) ) { alt440=1; } switch (alt440) { case 1 : // InternalSacmDsl.g:16756:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getToolAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:16764:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:16765:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:16765:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:16766:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getToolAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16782:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop439: do { int alt439=2; int LA439_0 = input.LA(1); if ( (LA439_0==17) ) { alt439=1; } switch (alt439) { case 1 : // InternalSacmDsl.g:16782:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getToolAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:16786:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:16787:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:16787:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:16788:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getToolAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop439; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_21, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:16808:3: (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? int alt442=2; int LA442_0 = input.LA(1); if ( (LA442_0==61) ) { alt442=1; } switch (alt442) { case 1 : // InternalSacmDsl.g:16808:5: otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getToolAccess().getTimingKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:16816:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:16817:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:16817:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:16818:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getToolAccess().getTimingTimingPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16834:2: (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* loop441: do { int alt441=2; int LA441_0 = input.LA(1); if ( (LA441_0==17) ) { alt441=1; } switch (alt441) { case 1 : // InternalSacmDsl.g:16834:4: otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getToolAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:16838:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:16839:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:16839:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:16840:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getToolAccess().getTimingTimingPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop441; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_27, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:16860:3: (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? int alt444=2; int LA444_0 = input.LA(1); if ( (LA444_0==62) ) { alt444=1; } switch (alt444) { case 1 : // InternalSacmDsl.g:16860:5: otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getToolAccess().getCustodyKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:16868:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:16869:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:16869:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:16870:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getToolAccess().getCustodyCustodyPropertyParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16886:2: (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* loop443: do { int alt443=2; int LA443_0 = input.LA(1); if ( (LA443_0==17) ) { alt443=1; } switch (alt443) { case 1 : // InternalSacmDsl.g:16886:4: otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getToolAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:16890:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:16891:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:16891:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:16892:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getToolAccess().getCustodyCustodyPropertyParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop443; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_33, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:16912:3: (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? int alt446=2; int LA446_0 = input.LA(1); if ( (LA446_0==63) ) { alt446=1; } switch (alt446) { case 1 : // InternalSacmDsl.g:16912:5: otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getToolAccess().getProvenanceKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:16920:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:16921:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:16921:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:16922:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getToolAccess().getProvenanceProvenanceParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16938:2: (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* loop445: do { int alt445=2; int LA445_0 = input.LA(1); if ( (LA445_0==17) ) { alt445=1; } switch (alt445) { case 1 : // InternalSacmDsl.g:16938:4: otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getToolAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:16942:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:16943:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:16943:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:16944:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getToolAccess().getProvenanceProvenanceParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop445; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_39, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:16964:3: (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? int alt448=2; int LA448_0 = input.LA(1); if ( (LA448_0==64) ) { alt448=1; } switch (alt448) { case 1 : // InternalSacmDsl.g:16964:5: otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getToolAccess().getEventKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:16972:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16973:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16973:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16974:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getToolAccess().getEventEvidenceEventParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:16990:2: (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* loop447: do { int alt447=2; int LA447_0 = input.LA(1); if ( (LA447_0==17) ) { alt447=1; } switch (alt447) { case 1 : // InternalSacmDsl.g:16990:4: otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getToolAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:16994:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:16995:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:16995:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:16996:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getToolAccess().getEventEvidenceEventParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop447; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_45, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_15_4()); } break; } // InternalSacmDsl.g:17016:3: (otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' )? int alt450=2; int LA450_0 = input.LA(1); if ( (LA450_0==35) ) { alt450=1; } switch (alt450) { case 1 : // InternalSacmDsl.g:17016:5: otherlv_46= 'property' otherlv_47= '{' ( (lv_property_48_0= ruleProjectProperty ) ) (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* otherlv_51= '}' { otherlv_46=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_46, grammarAccess.getToolAccess().getPropertyKeyword_16_0()); otherlv_47=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getToolAccess().getLeftCurlyBracketKeyword_16_1()); // InternalSacmDsl.g:17024:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:17025:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:17025:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:17026:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getToolAccess().getPropertyProjectPropertyParserRuleCall_16_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17042:2: (otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) )* loop449: do { int alt449=2; int LA449_0 = input.LA(1); if ( (LA449_0==17) ) { alt449=1; } switch (alt449) { case 1 : // InternalSacmDsl.g:17042:4: otherlv_49= ',' ( (lv_property_50_0= ruleProjectProperty ) ) { otherlv_49=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_49, grammarAccess.getToolAccess().getCommaKeyword_16_3_0()); // InternalSacmDsl.g:17046:1: ( (lv_property_50_0= ruleProjectProperty ) ) // InternalSacmDsl.g:17047:1: (lv_property_50_0= ruleProjectProperty ) { // InternalSacmDsl.g:17047:1: (lv_property_50_0= ruleProjectProperty ) // InternalSacmDsl.g:17048:3: lv_property_50_0= ruleProjectProperty { newCompositeNode(grammarAccess.getToolAccess().getPropertyProjectPropertyParserRuleCall_16_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_50_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getToolRule()); } add( current, "property", lv_property_50_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop449; } } while (true); otherlv_51=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_51, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_16_4()); } break; } otherlv_52=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_52, grammarAccess.getToolAccess().getRightCurlyBracketKeyword_17()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTool" // $ANTLR start "entryRuleMethod" // InternalSacmDsl.g:17080:1: entryRuleMethod returns [EObject current=null] : iv_ruleMethod= ruleMethod EOF ; public final EObject entryRuleMethod() throws RecognitionException { EObject current = null; EObject iv_ruleMethod = null; try { // InternalSacmDsl.g:17081:2: (iv_ruleMethod= ruleMethod EOF ) // InternalSacmDsl.g:17082:2: iv_ruleMethod= ruleMethod EOF { newCompositeNode(grammarAccess.getMethodRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleMethod=ruleMethod(); state._fsp--; current =iv_ruleMethod; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMethod" // $ANTLR start "ruleMethod" // InternalSacmDsl.g:17089:1: ruleMethod returns [EObject current=null] : (otherlv_0= 'Method' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleMethod() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:17092:28: ( (otherlv_0= 'Method' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:17093:1: (otherlv_0= 'Method' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:17093:1: (otherlv_0= 'Method' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:17093:3: otherlv_0= 'Method' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,106,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getMethodAccess().getMethodKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getMethodAccess().getIdKeyword_2()); // InternalSacmDsl.g:17105:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:17106:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:17106:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:17107:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getMethodAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getMethodAccess().getNameKeyword_4()); // InternalSacmDsl.g:17127:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:17128:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:17128:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:17129:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getMethodAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getMethodAccess().getContentKeyword_6()); // InternalSacmDsl.g:17149:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:17150:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:17150:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:17151:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getMethodAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17167:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt452=2; int LA452_0 = input.LA(1); if ( (LA452_0==16) ) { alt452=1; } switch (alt452) { case 1 : // InternalSacmDsl.g:17167:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getMethodAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:17175:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:17176:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:17176:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:17177:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getMethodAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17193:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop451: do { int alt451=2; int LA451_0 = input.LA(1); if ( (LA451_0==17) ) { alt451=1; } switch (alt451) { case 1 : // InternalSacmDsl.g:17193:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getMethodAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:17197:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:17198:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:17198:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:17199:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getMethodAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop451; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:17219:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt454=2; int LA454_0 = input.LA(1); if ( (LA454_0==19) ) { alt454=1; } switch (alt454) { case 1 : // InternalSacmDsl.g:17219:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getMethodAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:17227:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:17228:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:17228:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:17229:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getMethodAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17245:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop453: do { int alt453=2; int LA453_0 = input.LA(1); if ( (LA453_0==17) ) { alt453=1; } switch (alt453) { case 1 : // InternalSacmDsl.g:17245:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getMethodAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:17249:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:17250:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:17250:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:17251:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getMethodAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop453; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:17271:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt456=2; int LA456_0 = input.LA(1); if ( (LA456_0==61) ) { alt456=1; } switch (alt456) { case 1 : // InternalSacmDsl.g:17271:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getMethodAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:17279:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:17280:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:17280:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:17281:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getMethodAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17297:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop455: do { int alt455=2; int LA455_0 = input.LA(1); if ( (LA455_0==17) ) { alt455=1; } switch (alt455) { case 1 : // InternalSacmDsl.g:17297:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getMethodAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:17301:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:17302:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:17302:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:17303:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getMethodAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop455; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:17323:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt458=2; int LA458_0 = input.LA(1); if ( (LA458_0==62) ) { alt458=1; } switch (alt458) { case 1 : // InternalSacmDsl.g:17323:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getMethodAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:17331:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:17332:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:17332:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:17333:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getMethodAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17349:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop457: do { int alt457=2; int LA457_0 = input.LA(1); if ( (LA457_0==17) ) { alt457=1; } switch (alt457) { case 1 : // InternalSacmDsl.g:17349:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getMethodAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:17353:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:17354:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:17354:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:17355:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getMethodAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop457; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:17375:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt460=2; int LA460_0 = input.LA(1); if ( (LA460_0==63) ) { alt460=1; } switch (alt460) { case 1 : // InternalSacmDsl.g:17375:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getMethodAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:17383:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:17384:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:17384:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:17385:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getMethodAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17401:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop459: do { int alt459=2; int LA459_0 = input.LA(1); if ( (LA459_0==17) ) { alt459=1; } switch (alt459) { case 1 : // InternalSacmDsl.g:17401:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getMethodAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:17405:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:17406:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:17406:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:17407:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getMethodAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop459; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:17427:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt462=2; int LA462_0 = input.LA(1); if ( (LA462_0==64) ) { alt462=1; } switch (alt462) { case 1 : // InternalSacmDsl.g:17427:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getMethodAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:17435:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:17436:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:17436:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:17437:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getMethodAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17453:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop461: do { int alt461=2; int LA461_0 = input.LA(1); if ( (LA461_0==17) ) { alt461=1; } switch (alt461) { case 1 : // InternalSacmDsl.g:17453:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getMethodAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:17457:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:17458:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:17458:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:17459:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getMethodAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop461; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:17479:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? int alt464=2; int LA464_0 = input.LA(1); if ( (LA464_0==35) ) { alt464=1; } switch (alt464) { case 1 : // InternalSacmDsl.g:17479:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getMethodAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_45, grammarAccess.getMethodAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:17487:1: ( (lv_property_46_0= ruleProjectProperty ) ) // InternalSacmDsl.g:17488:1: (lv_property_46_0= ruleProjectProperty ) { // InternalSacmDsl.g:17488:1: (lv_property_46_0= ruleProjectProperty ) // InternalSacmDsl.g:17489:3: lv_property_46_0= ruleProjectProperty { newCompositeNode(grammarAccess.getMethodAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17505:2: (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* loop463: do { int alt463=2; int LA463_0 = input.LA(1); if ( (LA463_0==17) ) { alt463=1; } switch (alt463) { case 1 : // InternalSacmDsl.g:17505:4: otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getMethodAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:17509:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:17510:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:17510:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:17511:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getMethodAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMethodRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop463; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getMethodAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMethod" // $ANTLR start "entryRuleEvidenceRequest" // InternalSacmDsl.g:17543:1: entryRuleEvidenceRequest returns [EObject current=null] : iv_ruleEvidenceRequest= ruleEvidenceRequest EOF ; public final EObject entryRuleEvidenceRequest() throws RecognitionException { EObject current = null; EObject iv_ruleEvidenceRequest = null; try { // InternalSacmDsl.g:17544:2: (iv_ruleEvidenceRequest= ruleEvidenceRequest EOF ) // InternalSacmDsl.g:17545:2: iv_ruleEvidenceRequest= ruleEvidenceRequest EOF { newCompositeNode(grammarAccess.getEvidenceRequestRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleEvidenceRequest=ruleEvidenceRequest(); state._fsp--; current =iv_ruleEvidenceRequest; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEvidenceRequest" // $ANTLR start "ruleEvidenceRequest" // InternalSacmDsl.g:17552:1: ruleEvidenceRequest returns [EObject current=null] : (otherlv_0= 'EvidenceRequest' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? otherlv_56= '}' ) ; public final EObject ruleEvidenceRequest() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; Token otherlv_51=null; Token otherlv_53=null; Token otherlv_55=null; Token otherlv_56=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_16_0 = null; EObject lv_taggedValue_18_0 = null; EObject lv_annotation_22_0 = null; EObject lv_annotation_24_0 = null; EObject lv_timing_28_0 = null; EObject lv_timing_30_0 = null; EObject lv_custody_34_0 = null; EObject lv_custody_36_0 = null; EObject lv_provenance_40_0 = null; EObject lv_provenance_42_0 = null; EObject lv_event_46_0 = null; EObject lv_event_48_0 = null; EObject lv_property_52_0 = null; EObject lv_property_54_0 = null; enterRule(); try { // InternalSacmDsl.g:17555:28: ( (otherlv_0= 'EvidenceRequest' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? otherlv_56= '}' ) ) // InternalSacmDsl.g:17556:1: (otherlv_0= 'EvidenceRequest' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? otherlv_56= '}' ) { // InternalSacmDsl.g:17556:1: (otherlv_0= 'EvidenceRequest' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? otherlv_56= '}' ) // InternalSacmDsl.g:17556:3: otherlv_0= 'EvidenceRequest' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? otherlv_56= '}' { otherlv_0=(Token)match(input,107,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getEvidenceRequestAccess().getEvidenceRequestKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getEvidenceRequestAccess().getIdKeyword_2()); // InternalSacmDsl.g:17568:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:17569:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:17569:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:17570:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getEvidenceRequestAccess().getNameKeyword_4()); // InternalSacmDsl.g:17590:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:17591:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:17591:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:17592:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getEvidenceRequestAccess().getContentKeyword_6()); // InternalSacmDsl.g:17612:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:17613:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:17613:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:17614:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_107); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17630:2: (otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' )? int alt466=2; int LA466_0 = input.LA(1); if ( (LA466_0==34) ) { alt466=1; } switch (alt466) { case 1 : // InternalSacmDsl.g:17630:4: otherlv_8= 'item' otherlv_9= '(' ( ( ruleEString ) ) (otherlv_11= ',' ( ( ruleEString ) ) )* otherlv_13= ')' { otherlv_8=(Token)match(input,34,FollowSets000.FOLLOW_39); newLeafNode(otherlv_8, grammarAccess.getEvidenceRequestAccess().getItemKeyword_8_0()); otherlv_9=(Token)match(input,39,FollowSets000.FOLLOW_5); newLeafNode(otherlv_9, grammarAccess.getEvidenceRequestAccess().getLeftParenthesisKeyword_8_1()); // InternalSacmDsl.g:17638:1: ( ( ruleEString ) ) // InternalSacmDsl.g:17639:1: ( ruleEString ) { // InternalSacmDsl.g:17639:1: ( ruleEString ) // InternalSacmDsl.g:17640:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getEvidenceRequestRule()); } newCompositeNode(grammarAccess.getEvidenceRequestAccess().getItemEvidenceItemCrossReference_8_2_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17653:2: (otherlv_11= ',' ( ( ruleEString ) ) )* loop465: do { int alt465=2; int LA465_0 = input.LA(1); if ( (LA465_0==17) ) { alt465=1; } switch (alt465) { case 1 : // InternalSacmDsl.g:17653:4: otherlv_11= ',' ( ( ruleEString ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:17657:1: ( ( ruleEString ) ) // InternalSacmDsl.g:17658:1: ( ruleEString ) { // InternalSacmDsl.g:17658:1: ( ruleEString ) // InternalSacmDsl.g:17659:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getEvidenceRequestRule()); } newCompositeNode(grammarAccess.getEvidenceRequestAccess().getItemEvidenceItemCrossReference_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_40); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; default : break loop465; } } while (true); otherlv_13=(Token)match(input,40,FollowSets000.FOLLOW_56); newLeafNode(otherlv_13, grammarAccess.getEvidenceRequestAccess().getRightParenthesisKeyword_8_4()); } break; } // InternalSacmDsl.g:17676:3: (otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' )? int alt468=2; int LA468_0 = input.LA(1); if ( (LA468_0==16) ) { alt468=1; } switch (alt468) { case 1 : // InternalSacmDsl.g:17676:5: otherlv_14= 'taggedValue' otherlv_15= '{' ( (lv_taggedValue_16_0= ruleTaggedValue ) ) (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getEvidenceRequestAccess().getTaggedValueKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_15, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:17684:1: ( (lv_taggedValue_16_0= ruleTaggedValue ) ) // InternalSacmDsl.g:17685:1: (lv_taggedValue_16_0= ruleTaggedValue ) { // InternalSacmDsl.g:17685:1: (lv_taggedValue_16_0= ruleTaggedValue ) // InternalSacmDsl.g:17686:3: lv_taggedValue_16_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getTaggedValueTaggedValueParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_16_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "taggedValue", lv_taggedValue_16_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17702:2: (otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) )* loop467: do { int alt467=2; int LA467_0 = input.LA(1); if ( (LA467_0==17) ) { alt467=1; } switch (alt467) { case 1 : // InternalSacmDsl.g:17702:4: otherlv_17= ',' ( (lv_taggedValue_18_0= ruleTaggedValue ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_17, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:17706:1: ( (lv_taggedValue_18_0= ruleTaggedValue ) ) // InternalSacmDsl.g:17707:1: (lv_taggedValue_18_0= ruleTaggedValue ) { // InternalSacmDsl.g:17707:1: (lv_taggedValue_18_0= ruleTaggedValue ) // InternalSacmDsl.g:17708:3: lv_taggedValue_18_0= ruleTaggedValue { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getTaggedValueTaggedValueParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_18_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "taggedValue", lv_taggedValue_18_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop467; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_19, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:17728:3: (otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' )? int alt470=2; int LA470_0 = input.LA(1); if ( (LA470_0==19) ) { alt470=1; } switch (alt470) { case 1 : // InternalSacmDsl.g:17728:5: otherlv_20= 'annotation' otherlv_21= '{' ( (lv_annotation_22_0= ruleAnnotation ) ) (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getEvidenceRequestAccess().getAnnotationKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_21, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:17736:1: ( (lv_annotation_22_0= ruleAnnotation ) ) // InternalSacmDsl.g:17737:1: (lv_annotation_22_0= ruleAnnotation ) { // InternalSacmDsl.g:17737:1: (lv_annotation_22_0= ruleAnnotation ) // InternalSacmDsl.g:17738:3: lv_annotation_22_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getAnnotationAnnotationParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_22_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "annotation", lv_annotation_22_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17754:2: (otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) )* loop469: do { int alt469=2; int LA469_0 = input.LA(1); if ( (LA469_0==17) ) { alt469=1; } switch (alt469) { case 1 : // InternalSacmDsl.g:17754:4: otherlv_23= ',' ( (lv_annotation_24_0= ruleAnnotation ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_23, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:17758:1: ( (lv_annotation_24_0= ruleAnnotation ) ) // InternalSacmDsl.g:17759:1: (lv_annotation_24_0= ruleAnnotation ) { // InternalSacmDsl.g:17759:1: (lv_annotation_24_0= ruleAnnotation ) // InternalSacmDsl.g:17760:3: lv_annotation_24_0= ruleAnnotation { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getAnnotationAnnotationParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_24_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "annotation", lv_annotation_24_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop469; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_25, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:17780:3: (otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' )? int alt472=2; int LA472_0 = input.LA(1); if ( (LA472_0==61) ) { alt472=1; } switch (alt472) { case 1 : // InternalSacmDsl.g:17780:5: otherlv_26= 'timing' otherlv_27= '{' ( (lv_timing_28_0= ruleTimingProperty ) ) (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getEvidenceRequestAccess().getTimingKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_27, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:17788:1: ( (lv_timing_28_0= ruleTimingProperty ) ) // InternalSacmDsl.g:17789:1: (lv_timing_28_0= ruleTimingProperty ) { // InternalSacmDsl.g:17789:1: (lv_timing_28_0= ruleTimingProperty ) // InternalSacmDsl.g:17790:3: lv_timing_28_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getTimingTimingPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_28_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "timing", lv_timing_28_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17806:2: (otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) )* loop471: do { int alt471=2; int LA471_0 = input.LA(1); if ( (LA471_0==17) ) { alt471=1; } switch (alt471) { case 1 : // InternalSacmDsl.g:17806:4: otherlv_29= ',' ( (lv_timing_30_0= ruleTimingProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_29, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:17810:1: ( (lv_timing_30_0= ruleTimingProperty ) ) // InternalSacmDsl.g:17811:1: (lv_timing_30_0= ruleTimingProperty ) { // InternalSacmDsl.g:17811:1: (lv_timing_30_0= ruleTimingProperty ) // InternalSacmDsl.g:17812:3: lv_timing_30_0= ruleTimingProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getTimingTimingPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_30_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "timing", lv_timing_30_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop471; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_31, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:17832:3: (otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' )? int alt474=2; int LA474_0 = input.LA(1); if ( (LA474_0==62) ) { alt474=1; } switch (alt474) { case 1 : // InternalSacmDsl.g:17832:5: otherlv_32= 'custody' otherlv_33= '{' ( (lv_custody_34_0= ruleCustodyProperty ) ) (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getEvidenceRequestAccess().getCustodyKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_33, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:17840:1: ( (lv_custody_34_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:17841:1: (lv_custody_34_0= ruleCustodyProperty ) { // InternalSacmDsl.g:17841:1: (lv_custody_34_0= ruleCustodyProperty ) // InternalSacmDsl.g:17842:3: lv_custody_34_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getCustodyCustodyPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_34_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "custody", lv_custody_34_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17858:2: (otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) )* loop473: do { int alt473=2; int LA473_0 = input.LA(1); if ( (LA473_0==17) ) { alt473=1; } switch (alt473) { case 1 : // InternalSacmDsl.g:17858:4: otherlv_35= ',' ( (lv_custody_36_0= ruleCustodyProperty ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_35, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:17862:1: ( (lv_custody_36_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:17863:1: (lv_custody_36_0= ruleCustodyProperty ) { // InternalSacmDsl.g:17863:1: (lv_custody_36_0= ruleCustodyProperty ) // InternalSacmDsl.g:17864:3: lv_custody_36_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getCustodyCustodyPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_36_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "custody", lv_custody_36_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop473; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_37, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:17884:3: (otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' )? int alt476=2; int LA476_0 = input.LA(1); if ( (LA476_0==63) ) { alt476=1; } switch (alt476) { case 1 : // InternalSacmDsl.g:17884:5: otherlv_38= 'provenance' otherlv_39= '{' ( (lv_provenance_40_0= ruleProvenance ) ) (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getEvidenceRequestAccess().getProvenanceKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_39, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:17892:1: ( (lv_provenance_40_0= ruleProvenance ) ) // InternalSacmDsl.g:17893:1: (lv_provenance_40_0= ruleProvenance ) { // InternalSacmDsl.g:17893:1: (lv_provenance_40_0= ruleProvenance ) // InternalSacmDsl.g:17894:3: lv_provenance_40_0= ruleProvenance { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getProvenanceProvenanceParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_40_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "provenance", lv_provenance_40_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17910:2: (otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) )* loop475: do { int alt475=2; int LA475_0 = input.LA(1); if ( (LA475_0==17) ) { alt475=1; } switch (alt475) { case 1 : // InternalSacmDsl.g:17910:4: otherlv_41= ',' ( (lv_provenance_42_0= ruleProvenance ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_41, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:17914:1: ( (lv_provenance_42_0= ruleProvenance ) ) // InternalSacmDsl.g:17915:1: (lv_provenance_42_0= ruleProvenance ) { // InternalSacmDsl.g:17915:1: (lv_provenance_42_0= ruleProvenance ) // InternalSacmDsl.g:17916:3: lv_provenance_42_0= ruleProvenance { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getProvenanceProvenanceParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_42_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "provenance", lv_provenance_42_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop475; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_43, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:17936:3: (otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' )? int alt478=2; int LA478_0 = input.LA(1); if ( (LA478_0==64) ) { alt478=1; } switch (alt478) { case 1 : // InternalSacmDsl.g:17936:5: otherlv_44= 'event' otherlv_45= '{' ( (lv_event_46_0= ruleEvidenceEvent ) ) (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getEvidenceRequestAccess().getEventKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_45, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:17944:1: ( (lv_event_46_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:17945:1: (lv_event_46_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:17945:1: (lv_event_46_0= ruleEvidenceEvent ) // InternalSacmDsl.g:17946:3: lv_event_46_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getEventEvidenceEventParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_46_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "event", lv_event_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:17962:2: (otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) )* loop477: do { int alt477=2; int LA477_0 = input.LA(1); if ( (LA477_0==17) ) { alt477=1; } switch (alt477) { case 1 : // InternalSacmDsl.g:17962:4: otherlv_47= ',' ( (lv_event_48_0= ruleEvidenceEvent ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_47, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:17966:1: ( (lv_event_48_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:17967:1: (lv_event_48_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:17967:1: (lv_event_48_0= ruleEvidenceEvent ) // InternalSacmDsl.g:17968:3: lv_event_48_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getEventEvidenceEventParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_48_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "event", lv_event_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop477; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_49, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:17988:3: (otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' )? int alt480=2; int LA480_0 = input.LA(1); if ( (LA480_0==35) ) { alt480=1; } switch (alt480) { case 1 : // InternalSacmDsl.g:17988:5: otherlv_50= 'property' otherlv_51= '{' ( (lv_property_52_0= ruleProjectProperty ) ) (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* otherlv_55= '}' { otherlv_50=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_50, grammarAccess.getEvidenceRequestAccess().getPropertyKeyword_15_0()); otherlv_51=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_51, grammarAccess.getEvidenceRequestAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:17996:1: ( (lv_property_52_0= ruleProjectProperty ) ) // InternalSacmDsl.g:17997:1: (lv_property_52_0= ruleProjectProperty ) { // InternalSacmDsl.g:17997:1: (lv_property_52_0= ruleProjectProperty ) // InternalSacmDsl.g:17998:3: lv_property_52_0= ruleProjectProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getPropertyProjectPropertyParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_52_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "property", lv_property_52_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18014:2: (otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) )* loop479: do { int alt479=2; int LA479_0 = input.LA(1); if ( (LA479_0==17) ) { alt479=1; } switch (alt479) { case 1 : // InternalSacmDsl.g:18014:4: otherlv_53= ',' ( (lv_property_54_0= ruleProjectProperty ) ) { otherlv_53=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_53, grammarAccess.getEvidenceRequestAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:18018:1: ( (lv_property_54_0= ruleProjectProperty ) ) // InternalSacmDsl.g:18019:1: (lv_property_54_0= ruleProjectProperty ) { // InternalSacmDsl.g:18019:1: (lv_property_54_0= ruleProjectProperty ) // InternalSacmDsl.g:18020:3: lv_property_54_0= ruleProjectProperty { newCompositeNode(grammarAccess.getEvidenceRequestAccess().getPropertyProjectPropertyParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_54_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEvidenceRequestRule()); } add( current, "property", lv_property_54_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop479; } } while (true); otherlv_55=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_55, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_15_4()); } break; } otherlv_56=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_56, grammarAccess.getEvidenceRequestAccess().getRightCurlyBracketKeyword_16()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEvidenceRequest" // $ANTLR start "entryRuleProjectObjective" // InternalSacmDsl.g:18052:1: entryRuleProjectObjective returns [EObject current=null] : iv_ruleProjectObjective= ruleProjectObjective EOF ; public final EObject entryRuleProjectObjective() throws RecognitionException { EObject current = null; EObject iv_ruleProjectObjective = null; try { // InternalSacmDsl.g:18053:2: (iv_ruleProjectObjective= ruleProjectObjective EOF ) // InternalSacmDsl.g:18054:2: iv_ruleProjectObjective= ruleProjectObjective EOF { newCompositeNode(grammarAccess.getProjectObjectiveRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleProjectObjective=ruleProjectObjective(); state._fsp--; current =iv_ruleProjectObjective; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleProjectObjective" // $ANTLR start "ruleProjectObjective" // InternalSacmDsl.g:18061:1: ruleProjectObjective returns [EObject current=null] : (otherlv_0= 'ProjectObjective' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleProjectObjective() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:18064:28: ( (otherlv_0= 'ProjectObjective' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:18065:1: (otherlv_0= 'ProjectObjective' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:18065:1: (otherlv_0= 'ProjectObjective' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:18065:3: otherlv_0= 'ProjectObjective' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,108,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getProjectObjectiveAccess().getProjectObjectiveKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getProjectObjectiveAccess().getIdKeyword_2()); // InternalSacmDsl.g:18077:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:18078:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:18078:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:18079:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getProjectObjectiveAccess().getNameKeyword_4()); // InternalSacmDsl.g:18099:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:18100:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:18100:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:18101:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getProjectObjectiveAccess().getContentKeyword_6()); // InternalSacmDsl.g:18121:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:18122:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:18122:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:18123:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18139:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt482=2; int LA482_0 = input.LA(1); if ( (LA482_0==16) ) { alt482=1; } switch (alt482) { case 1 : // InternalSacmDsl.g:18139:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getProjectObjectiveAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:18147:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:18148:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:18148:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:18149:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18165:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop481: do { int alt481=2; int LA481_0 = input.LA(1); if ( (LA481_0==17) ) { alt481=1; } switch (alt481) { case 1 : // InternalSacmDsl.g:18165:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:18169:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:18170:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:18170:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:18171:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop481; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:18191:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt484=2; int LA484_0 = input.LA(1); if ( (LA484_0==19) ) { alt484=1; } switch (alt484) { case 1 : // InternalSacmDsl.g:18191:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getProjectObjectiveAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:18199:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:18200:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:18200:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:18201:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18217:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop483: do { int alt483=2; int LA483_0 = input.LA(1); if ( (LA483_0==17) ) { alt483=1; } switch (alt483) { case 1 : // InternalSacmDsl.g:18217:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:18221:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:18222:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:18222:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:18223:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop483; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:18243:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt486=2; int LA486_0 = input.LA(1); if ( (LA486_0==61) ) { alt486=1; } switch (alt486) { case 1 : // InternalSacmDsl.g:18243:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getProjectObjectiveAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:18251:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:18252:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:18252:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:18253:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18269:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop485: do { int alt485=2; int LA485_0 = input.LA(1); if ( (LA485_0==17) ) { alt485=1; } switch (alt485) { case 1 : // InternalSacmDsl.g:18269:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:18273:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:18274:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:18274:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:18275:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop485; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:18295:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt488=2; int LA488_0 = input.LA(1); if ( (LA488_0==62) ) { alt488=1; } switch (alt488) { case 1 : // InternalSacmDsl.g:18295:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getProjectObjectiveAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:18303:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:18304:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:18304:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:18305:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18321:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop487: do { int alt487=2; int LA487_0 = input.LA(1); if ( (LA487_0==17) ) { alt487=1; } switch (alt487) { case 1 : // InternalSacmDsl.g:18321:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:18325:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:18326:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:18326:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:18327:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop487; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:18347:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt490=2; int LA490_0 = input.LA(1); if ( (LA490_0==63) ) { alt490=1; } switch (alt490) { case 1 : // InternalSacmDsl.g:18347:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getProjectObjectiveAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:18355:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:18356:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:18356:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:18357:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18373:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop489: do { int alt489=2; int LA489_0 = input.LA(1); if ( (LA489_0==17) ) { alt489=1; } switch (alt489) { case 1 : // InternalSacmDsl.g:18373:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:18377:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:18378:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:18378:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:18379:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop489; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:18399:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt492=2; int LA492_0 = input.LA(1); if ( (LA492_0==64) ) { alt492=1; } switch (alt492) { case 1 : // InternalSacmDsl.g:18399:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getProjectObjectiveAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:18407:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:18408:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:18408:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:18409:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18425:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop491: do { int alt491=2; int LA491_0 = input.LA(1); if ( (LA491_0==17) ) { alt491=1; } switch (alt491) { case 1 : // InternalSacmDsl.g:18425:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:18429:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:18430:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:18430:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:18431:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop491; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:18451:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? int alt494=2; int LA494_0 = input.LA(1); if ( (LA494_0==35) ) { alt494=1; } switch (alt494) { case 1 : // InternalSacmDsl.g:18451:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getProjectObjectiveAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_45, grammarAccess.getProjectObjectiveAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:18459:1: ( (lv_property_46_0= ruleProjectProperty ) ) // InternalSacmDsl.g:18460:1: (lv_property_46_0= ruleProjectProperty ) { // InternalSacmDsl.g:18460:1: (lv_property_46_0= ruleProjectProperty ) // InternalSacmDsl.g:18461:3: lv_property_46_0= ruleProjectProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18477:2: (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* loop493: do { int alt493=2; int LA493_0 = input.LA(1); if ( (LA493_0==17) ) { alt493=1; } switch (alt493) { case 1 : // InternalSacmDsl.g:18477:4: otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getProjectObjectiveAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:18481:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:18482:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:18482:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:18483:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getProjectObjectiveAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProjectObjectiveRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop493; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getProjectObjectiveAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleProjectObjective" // $ANTLR start "entryRuleActivity" // InternalSacmDsl.g:18515:1: entryRuleActivity returns [EObject current=null] : iv_ruleActivity= ruleActivity EOF ; public final EObject entryRuleActivity() throws RecognitionException { EObject current = null; EObject iv_ruleActivity = null; try { // InternalSacmDsl.g:18516:2: (iv_ruleActivity= ruleActivity EOF ) // InternalSacmDsl.g:18517:2: iv_ruleActivity= ruleActivity EOF { newCompositeNode(grammarAccess.getActivityRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleActivity=ruleActivity(); state._fsp--; current =iv_ruleActivity; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleActivity" // $ANTLR start "ruleActivity" // InternalSacmDsl.g:18524:1: ruleActivity returns [EObject current=null] : (otherlv_0= 'Activity' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleActivity() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:18527:28: ( (otherlv_0= 'Activity' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:18528:1: (otherlv_0= 'Activity' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:18528:1: (otherlv_0= 'Activity' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:18528:3: otherlv_0= 'Activity' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,109,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getActivityAccess().getActivityKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getActivityAccess().getIdKeyword_2()); // InternalSacmDsl.g:18540:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:18541:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:18541:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:18542:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getActivityAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getActivityAccess().getNameKeyword_4()); // InternalSacmDsl.g:18562:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:18563:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:18563:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:18564:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getActivityAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getActivityAccess().getContentKeyword_6()); // InternalSacmDsl.g:18584:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:18585:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:18585:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:18586:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getActivityAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18602:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt496=2; int LA496_0 = input.LA(1); if ( (LA496_0==16) ) { alt496=1; } switch (alt496) { case 1 : // InternalSacmDsl.g:18602:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getActivityAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:18610:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:18611:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:18611:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:18612:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getActivityAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18628:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop495: do { int alt495=2; int LA495_0 = input.LA(1); if ( (LA495_0==17) ) { alt495=1; } switch (alt495) { case 1 : // InternalSacmDsl.g:18628:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getActivityAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:18632:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:18633:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:18633:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:18634:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getActivityAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop495; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:18654:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt498=2; int LA498_0 = input.LA(1); if ( (LA498_0==19) ) { alt498=1; } switch (alt498) { case 1 : // InternalSacmDsl.g:18654:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getActivityAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:18662:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:18663:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:18663:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:18664:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getActivityAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18680:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop497: do { int alt497=2; int LA497_0 = input.LA(1); if ( (LA497_0==17) ) { alt497=1; } switch (alt497) { case 1 : // InternalSacmDsl.g:18680:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getActivityAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:18684:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:18685:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:18685:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:18686:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getActivityAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop497; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:18706:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt500=2; int LA500_0 = input.LA(1); if ( (LA500_0==61) ) { alt500=1; } switch (alt500) { case 1 : // InternalSacmDsl.g:18706:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getActivityAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:18714:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:18715:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:18715:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:18716:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getActivityAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18732:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop499: do { int alt499=2; int LA499_0 = input.LA(1); if ( (LA499_0==17) ) { alt499=1; } switch (alt499) { case 1 : // InternalSacmDsl.g:18732:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getActivityAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:18736:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:18737:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:18737:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:18738:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getActivityAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop499; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:18758:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt502=2; int LA502_0 = input.LA(1); if ( (LA502_0==62) ) { alt502=1; } switch (alt502) { case 1 : // InternalSacmDsl.g:18758:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getActivityAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:18766:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:18767:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:18767:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:18768:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getActivityAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18784:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop501: do { int alt501=2; int LA501_0 = input.LA(1); if ( (LA501_0==17) ) { alt501=1; } switch (alt501) { case 1 : // InternalSacmDsl.g:18784:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getActivityAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:18788:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:18789:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:18789:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:18790:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getActivityAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop501; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:18810:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt504=2; int LA504_0 = input.LA(1); if ( (LA504_0==63) ) { alt504=1; } switch (alt504) { case 1 : // InternalSacmDsl.g:18810:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getActivityAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:18818:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:18819:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:18819:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:18820:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getActivityAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18836:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop503: do { int alt503=2; int LA503_0 = input.LA(1); if ( (LA503_0==17) ) { alt503=1; } switch (alt503) { case 1 : // InternalSacmDsl.g:18836:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getActivityAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:18840:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:18841:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:18841:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:18842:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getActivityAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop503; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:18862:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt506=2; int LA506_0 = input.LA(1); if ( (LA506_0==64) ) { alt506=1; } switch (alt506) { case 1 : // InternalSacmDsl.g:18862:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getActivityAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:18870:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:18871:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:18871:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:18872:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getActivityAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18888:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop505: do { int alt505=2; int LA505_0 = input.LA(1); if ( (LA505_0==17) ) { alt505=1; } switch (alt505) { case 1 : // InternalSacmDsl.g:18888:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getActivityAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:18892:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:18893:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:18893:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:18894:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getActivityAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop505; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:18914:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? int alt508=2; int LA508_0 = input.LA(1); if ( (LA508_0==35) ) { alt508=1; } switch (alt508) { case 1 : // InternalSacmDsl.g:18914:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getActivityAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_45, grammarAccess.getActivityAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:18922:1: ( (lv_property_46_0= ruleProjectProperty ) ) // InternalSacmDsl.g:18923:1: (lv_property_46_0= ruleProjectProperty ) { // InternalSacmDsl.g:18923:1: (lv_property_46_0= ruleProjectProperty ) // InternalSacmDsl.g:18924:3: lv_property_46_0= ruleProjectProperty { newCompositeNode(grammarAccess.getActivityAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:18940:2: (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* loop507: do { int alt507=2; int LA507_0 = input.LA(1); if ( (LA507_0==17) ) { alt507=1; } switch (alt507) { case 1 : // InternalSacmDsl.g:18940:4: otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getActivityAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:18944:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:18945:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:18945:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:18946:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getActivityAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getActivityRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop507; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getActivityAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleActivity" // $ANTLR start "entryRuleService" // InternalSacmDsl.g:18978:1: entryRuleService returns [EObject current=null] : iv_ruleService= ruleService EOF ; public final EObject entryRuleService() throws RecognitionException { EObject current = null; EObject iv_ruleService = null; try { // InternalSacmDsl.g:18979:2: (iv_ruleService= ruleService EOF ) // InternalSacmDsl.g:18980:2: iv_ruleService= ruleService EOF { newCompositeNode(grammarAccess.getServiceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleService=ruleService(); state._fsp--; current =iv_ruleService; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleService" // $ANTLR start "ruleService" // InternalSacmDsl.g:18987:1: ruleService returns [EObject current=null] : (otherlv_0= 'Service' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleService() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_name_5_0 = null; AntlrDatatypeRuleToken lv_content_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_property_46_0 = null; EObject lv_property_48_0 = null; enterRule(); try { // InternalSacmDsl.g:18990:28: ( (otherlv_0= 'Service' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:18991:1: (otherlv_0= 'Service' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:18991:1: (otherlv_0= 'Service' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:18991:3: otherlv_0= 'Service' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'name' ( (lv_name_5_0= ruleString0 ) ) otherlv_6= 'content' ( (lv_content_7_0= ruleString0 ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,110,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getServiceAccess().getServiceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getServiceAccess().getIdKeyword_2()); // InternalSacmDsl.g:19003:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:19004:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:19004:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:19005:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getServiceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_6); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getServiceAccess().getNameKeyword_4()); // InternalSacmDsl.g:19025:1: ( (lv_name_5_0= ruleString0 ) ) // InternalSacmDsl.g:19026:1: (lv_name_5_0= ruleString0 ) { // InternalSacmDsl.g:19026:1: (lv_name_5_0= ruleString0 ) // InternalSacmDsl.g:19027:3: lv_name_5_0= ruleString0 { newCompositeNode(grammarAccess.getServiceAccess().getNameString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_20); lv_name_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } set( current, "name", lv_name_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getServiceAccess().getContentKeyword_6()); // InternalSacmDsl.g:19047:1: ( (lv_content_7_0= ruleString0 ) ) // InternalSacmDsl.g:19048:1: (lv_content_7_0= ruleString0 ) { // InternalSacmDsl.g:19048:1: (lv_content_7_0= ruleString0 ) // InternalSacmDsl.g:19049:3: lv_content_7_0= ruleString0 { newCompositeNode(grammarAccess.getServiceAccess().getContentString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_56); lv_content_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } set( current, "content", lv_content_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19065:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt510=2; int LA510_0 = input.LA(1); if ( (LA510_0==16) ) { alt510=1; } switch (alt510) { case 1 : // InternalSacmDsl.g:19065:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getServiceAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:19073:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:19074:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:19074:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:19075:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getServiceAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19091:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop509: do { int alt509=2; int LA509_0 = input.LA(1); if ( (LA509_0==17) ) { alt509=1; } switch (alt509) { case 1 : // InternalSacmDsl.g:19091:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getServiceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:19095:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:19096:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:19096:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:19097:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getServiceAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop509; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_57); newLeafNode(otherlv_13, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:19117:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt512=2; int LA512_0 = input.LA(1); if ( (LA512_0==19) ) { alt512=1; } switch (alt512) { case 1 : // InternalSacmDsl.g:19117:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getServiceAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:19125:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:19126:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:19126:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:19127:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getServiceAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19143:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop511: do { int alt511=2; int LA511_0 = input.LA(1); if ( (LA511_0==17) ) { alt511=1; } switch (alt511) { case 1 : // InternalSacmDsl.g:19143:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getServiceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:19147:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:19148:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:19148:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:19149:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getServiceAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop511; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_58); newLeafNode(otherlv_19, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:19169:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt514=2; int LA514_0 = input.LA(1); if ( (LA514_0==61) ) { alt514=1; } switch (alt514) { case 1 : // InternalSacmDsl.g:19169:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getServiceAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:19177:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:19178:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:19178:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:19179:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getServiceAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19195:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop513: do { int alt513=2; int LA513_0 = input.LA(1); if ( (LA513_0==17) ) { alt513=1; } switch (alt513) { case 1 : // InternalSacmDsl.g:19195:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getServiceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:19199:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:19200:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:19200:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:19201:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getServiceAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop513; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_60); newLeafNode(otherlv_25, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:19221:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt516=2; int LA516_0 = input.LA(1); if ( (LA516_0==62) ) { alt516=1; } switch (alt516) { case 1 : // InternalSacmDsl.g:19221:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getServiceAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:19229:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:19230:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:19230:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:19231:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getServiceAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19247:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop515: do { int alt515=2; int LA515_0 = input.LA(1); if ( (LA515_0==17) ) { alt515=1; } switch (alt515) { case 1 : // InternalSacmDsl.g:19247:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getServiceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:19251:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:19252:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:19252:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:19253:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getServiceAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop515; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_62); newLeafNode(otherlv_31, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:19273:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt518=2; int LA518_0 = input.LA(1); if ( (LA518_0==63) ) { alt518=1; } switch (alt518) { case 1 : // InternalSacmDsl.g:19273:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getServiceAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:19281:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:19282:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:19282:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:19283:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getServiceAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19299:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop517: do { int alt517=2; int LA517_0 = input.LA(1); if ( (LA517_0==17) ) { alt517=1; } switch (alt517) { case 1 : // InternalSacmDsl.g:19299:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getServiceAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:19303:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:19304:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:19304:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:19305:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getServiceAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop517; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_64); newLeafNode(otherlv_37, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:19325:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt520=2; int LA520_0 = input.LA(1); if ( (LA520_0==64) ) { alt520=1; } switch (alt520) { case 1 : // InternalSacmDsl.g:19325:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getServiceAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:19333:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:19334:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:19334:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:19335:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getServiceAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19351:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop519: do { int alt519=2; int LA519_0 = input.LA(1); if ( (LA519_0==17) ) { alt519=1; } switch (alt519) { case 1 : // InternalSacmDsl.g:19351:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getServiceAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:19355:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:19356:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:19356:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:19357:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getServiceAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop519; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_66); newLeafNode(otherlv_43, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:19377:3: (otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' )? int alt522=2; int LA522_0 = input.LA(1); if ( (LA522_0==35) ) { alt522=1; } switch (alt522) { case 1 : // InternalSacmDsl.g:19377:5: otherlv_44= 'property' otherlv_45= '{' ( (lv_property_46_0= ruleProjectProperty ) ) (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,35,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getServiceAccess().getPropertyKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_35); newLeafNode(otherlv_45, grammarAccess.getServiceAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:19385:1: ( (lv_property_46_0= ruleProjectProperty ) ) // InternalSacmDsl.g:19386:1: (lv_property_46_0= ruleProjectProperty ) { // InternalSacmDsl.g:19386:1: (lv_property_46_0= ruleProjectProperty ) // InternalSacmDsl.g:19387:3: lv_property_46_0= ruleProjectProperty { newCompositeNode(grammarAccess.getServiceAccess().getPropertyProjectPropertyParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_46_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "property", lv_property_46_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19403:2: (otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) )* loop521: do { int alt521=2; int LA521_0 = input.LA(1); if ( (LA521_0==17) ) { alt521=1; } switch (alt521) { case 1 : // InternalSacmDsl.g:19403:4: otherlv_47= ',' ( (lv_property_48_0= ruleProjectProperty ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getServiceAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:19407:1: ( (lv_property_48_0= ruleProjectProperty ) ) // InternalSacmDsl.g:19408:1: (lv_property_48_0= ruleProjectProperty ) { // InternalSacmDsl.g:19408:1: (lv_property_48_0= ruleProjectProperty ) // InternalSacmDsl.g:19409:3: lv_property_48_0= ruleProjectProperty { newCompositeNode(grammarAccess.getServiceAccess().getPropertyProjectPropertyParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_property_48_0=ruleProjectProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getServiceRule()); } add( current, "property", lv_property_48_0, "net.certware.sacm.dsl.SacmDsl.ProjectProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop521; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getServiceAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleService" // $ANTLR start "entryRuleConsistencyLevel" // InternalSacmDsl.g:19441:1: entryRuleConsistencyLevel returns [String current=null] : iv_ruleConsistencyLevel= ruleConsistencyLevel EOF ; public final String entryRuleConsistencyLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleConsistencyLevel = null; try { // InternalSacmDsl.g:19442:2: (iv_ruleConsistencyLevel= ruleConsistencyLevel EOF ) // InternalSacmDsl.g:19443:2: iv_ruleConsistencyLevel= ruleConsistencyLevel EOF { newCompositeNode(grammarAccess.getConsistencyLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleConsistencyLevel=ruleConsistencyLevel(); state._fsp--; current =iv_ruleConsistencyLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConsistencyLevel" // $ANTLR start "ruleConsistencyLevel" // InternalSacmDsl.g:19450:1: ruleConsistencyLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'ConsistencyLevel' ; public final AntlrDatatypeRuleToken ruleConsistencyLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:19453:28: (kw= 'ConsistencyLevel' ) // InternalSacmDsl.g:19455:2: kw= 'ConsistencyLevel' { kw=(Token)match(input,111,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getConsistencyLevelAccess().getConsistencyLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConsistencyLevel" // $ANTLR start "entryRuleCompletenessLevel" // InternalSacmDsl.g:19468:1: entryRuleCompletenessLevel returns [String current=null] : iv_ruleCompletenessLevel= ruleCompletenessLevel EOF ; public final String entryRuleCompletenessLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleCompletenessLevel = null; try { // InternalSacmDsl.g:19469:2: (iv_ruleCompletenessLevel= ruleCompletenessLevel EOF ) // InternalSacmDsl.g:19470:2: iv_ruleCompletenessLevel= ruleCompletenessLevel EOF { newCompositeNode(grammarAccess.getCompletenessLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCompletenessLevel=ruleCompletenessLevel(); state._fsp--; current =iv_ruleCompletenessLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCompletenessLevel" // $ANTLR start "ruleCompletenessLevel" // InternalSacmDsl.g:19477:1: ruleCompletenessLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'CompletenessLevel' ; public final AntlrDatatypeRuleToken ruleCompletenessLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:19480:28: (kw= 'CompletenessLevel' ) // InternalSacmDsl.g:19482:2: kw= 'CompletenessLevel' { kw=(Token)match(input,112,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getCompletenessLevelAccess().getCompletenessLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCompletenessLevel" // $ANTLR start "entryRuleStandardOfProof" // InternalSacmDsl.g:19495:1: entryRuleStandardOfProof returns [String current=null] : iv_ruleStandardOfProof= ruleStandardOfProof EOF ; public final String entryRuleStandardOfProof() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleStandardOfProof = null; try { // InternalSacmDsl.g:19496:2: (iv_ruleStandardOfProof= ruleStandardOfProof EOF ) // InternalSacmDsl.g:19497:2: iv_ruleStandardOfProof= ruleStandardOfProof EOF { newCompositeNode(grammarAccess.getStandardOfProofRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleStandardOfProof=ruleStandardOfProof(); state._fsp--; current =iv_ruleStandardOfProof.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStandardOfProof" // $ANTLR start "ruleStandardOfProof" // InternalSacmDsl.g:19504:1: ruleStandardOfProof returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'StandardOfProof' ; public final AntlrDatatypeRuleToken ruleStandardOfProof() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:19507:28: (kw= 'StandardOfProof' ) // InternalSacmDsl.g:19509:2: kw= 'StandardOfProof' { kw=(Token)match(input,113,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getStandardOfProofAccess().getStandardOfProofKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStandardOfProof" // $ANTLR start "entryRuleApprovedBy" // InternalSacmDsl.g:19522:1: entryRuleApprovedBy returns [EObject current=null] : iv_ruleApprovedBy= ruleApprovedBy EOF ; public final EObject entryRuleApprovedBy() throws RecognitionException { EObject current = null; EObject iv_ruleApprovedBy = null; try { // InternalSacmDsl.g:19523:2: (iv_ruleApprovedBy= ruleApprovedBy EOF ) // InternalSacmDsl.g:19524:2: iv_ruleApprovedBy= ruleApprovedBy EOF { newCompositeNode(grammarAccess.getApprovedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleApprovedBy=ruleApprovedBy(); state._fsp--; current =iv_ruleApprovedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleApprovedBy" // $ANTLR start "ruleApprovedBy" // InternalSacmDsl.g:19531:1: ruleApprovedBy returns [EObject current=null] : (otherlv_0= 'ApprovedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'supervisor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleApprovedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:19534:28: ( (otherlv_0= 'ApprovedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'supervisor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:19535:1: (otherlv_0= 'ApprovedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'supervisor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:19535:1: (otherlv_0= 'ApprovedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'supervisor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:19535:3: otherlv_0= 'ApprovedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'supervisor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,114,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getApprovedByAccess().getApprovedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getApprovedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:19547:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:19548:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:19548:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:19549:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getApprovedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_108); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,115,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getApprovedByAccess().getSupervisorKeyword_4()); // InternalSacmDsl.g:19569:1: ( ( ruleEString ) ) // InternalSacmDsl.g:19570:1: ( ruleEString ) { // InternalSacmDsl.g:19570:1: ( ruleEString ) // InternalSacmDsl.g:19571:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getApprovedByRule()); } newCompositeNode(grammarAccess.getApprovedByAccess().getSupervisorStakeholderCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19584:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt524=2; int LA524_0 = input.LA(1); if ( (LA524_0==16) ) { alt524=1; } switch (alt524) { case 1 : // InternalSacmDsl.g:19584:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getApprovedByAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:19592:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:19593:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:19593:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:19594:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getApprovedByAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19610:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop523: do { int alt523=2; int LA523_0 = input.LA(1); if ( (LA523_0==17) ) { alt523=1; } switch (alt523) { case 1 : // InternalSacmDsl.g:19610:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getApprovedByAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:19614:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:19615:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:19615:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:19616:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getApprovedByAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop523; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:19636:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt526=2; int LA526_0 = input.LA(1); if ( (LA526_0==19) ) { alt526=1; } switch (alt526) { case 1 : // InternalSacmDsl.g:19636:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getApprovedByAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:19644:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:19645:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:19645:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:19646:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getApprovedByAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19662:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop525: do { int alt525=2; int LA525_0 = input.LA(1); if ( (LA525_0==17) ) { alt525=1; } switch (alt525) { case 1 : // InternalSacmDsl.g:19662:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getApprovedByAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:19666:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:19667:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:19667:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:19668:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getApprovedByAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop525; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:19688:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt528=2; int LA528_0 = input.LA(1); if ( (LA528_0==61) ) { alt528=1; } switch (alt528) { case 1 : // InternalSacmDsl.g:19688:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getApprovedByAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:19696:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:19697:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:19697:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:19698:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getApprovedByAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19714:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop527: do { int alt527=2; int LA527_0 = input.LA(1); if ( (LA527_0==17) ) { alt527=1; } switch (alt527) { case 1 : // InternalSacmDsl.g:19714:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getApprovedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:19718:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:19719:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:19719:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:19720:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getApprovedByAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop527; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:19740:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt530=2; int LA530_0 = input.LA(1); if ( (LA530_0==62) ) { alt530=1; } switch (alt530) { case 1 : // InternalSacmDsl.g:19740:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getApprovedByAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:19748:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:19749:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:19749:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:19750:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getApprovedByAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19766:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop529: do { int alt529=2; int LA529_0 = input.LA(1); if ( (LA529_0==17) ) { alt529=1; } switch (alt529) { case 1 : // InternalSacmDsl.g:19766:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getApprovedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:19770:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:19771:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:19771:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:19772:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getApprovedByAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop529; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:19792:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt532=2; int LA532_0 = input.LA(1); if ( (LA532_0==63) ) { alt532=1; } switch (alt532) { case 1 : // InternalSacmDsl.g:19792:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getApprovedByAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:19800:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:19801:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:19801:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:19802:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getApprovedByAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19818:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop531: do { int alt531=2; int LA531_0 = input.LA(1); if ( (LA531_0==17) ) { alt531=1; } switch (alt531) { case 1 : // InternalSacmDsl.g:19818:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getApprovedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:19822:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:19823:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:19823:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:19824:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getApprovedByAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop531; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:19844:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt534=2; int LA534_0 = input.LA(1); if ( (LA534_0==64) ) { alt534=1; } switch (alt534) { case 1 : // InternalSacmDsl.g:19844:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getApprovedByAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getApprovedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:19852:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:19853:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:19853:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:19854:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getApprovedByAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19870:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop533: do { int alt533=2; int LA533_0 = input.LA(1); if ( (LA533_0==17) ) { alt533=1; } switch (alt533) { case 1 : // InternalSacmDsl.g:19870:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getApprovedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:19874:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:19875:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:19875:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:19876:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getApprovedByAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getApprovedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop533; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getApprovedByAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleApprovedBy" // $ANTLR start "entryRuleCreatedBy" // InternalSacmDsl.g:19908:1: entryRuleCreatedBy returns [EObject current=null] : iv_ruleCreatedBy= ruleCreatedBy EOF ; public final EObject entryRuleCreatedBy() throws RecognitionException { EObject current = null; EObject iv_ruleCreatedBy = null; try { // InternalSacmDsl.g:19909:2: (iv_ruleCreatedBy= ruleCreatedBy EOF ) // InternalSacmDsl.g:19910:2: iv_ruleCreatedBy= ruleCreatedBy EOF { newCompositeNode(grammarAccess.getCreatedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCreatedBy=ruleCreatedBy(); state._fsp--; current =iv_ruleCreatedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCreatedBy" // $ANTLR start "ruleCreatedBy" // InternalSacmDsl.g:19917:1: ruleCreatedBy returns [EObject current=null] : (otherlv_0= 'CreatedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleCreatedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:19920:28: ( (otherlv_0= 'CreatedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:19921:1: (otherlv_0= 'CreatedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:19921:1: (otherlv_0= 'CreatedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:19921:3: otherlv_0= 'CreatedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,116,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCreatedByAccess().getCreatedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCreatedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:19933:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:19934:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:19934:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:19935:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCreatedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_109); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,52,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getCreatedByAccess().getSourceKeyword_4()); // InternalSacmDsl.g:19955:1: ( ( ruleEString ) ) // InternalSacmDsl.g:19956:1: ( ruleEString ) { // InternalSacmDsl.g:19956:1: ( ruleEString ) // InternalSacmDsl.g:19957:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getCreatedByRule()); } newCompositeNode(grammarAccess.getCreatedByAccess().getSourceStakeholderCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19970:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt536=2; int LA536_0 = input.LA(1); if ( (LA536_0==16) ) { alt536=1; } switch (alt536) { case 1 : // InternalSacmDsl.g:19970:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getCreatedByAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:19978:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:19979:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:19979:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:19980:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCreatedByAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:19996:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop535: do { int alt535=2; int LA535_0 = input.LA(1); if ( (LA535_0==17) ) { alt535=1; } switch (alt535) { case 1 : // InternalSacmDsl.g:19996:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getCreatedByAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:20000:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:20001:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:20001:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:20002:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCreatedByAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop535; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:20022:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt538=2; int LA538_0 = input.LA(1); if ( (LA538_0==19) ) { alt538=1; } switch (alt538) { case 1 : // InternalSacmDsl.g:20022:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getCreatedByAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:20030:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:20031:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:20031:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:20032:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getCreatedByAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20048:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop537: do { int alt537=2; int LA537_0 = input.LA(1); if ( (LA537_0==17) ) { alt537=1; } switch (alt537) { case 1 : // InternalSacmDsl.g:20048:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getCreatedByAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:20052:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:20053:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:20053:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:20054:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getCreatedByAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop537; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:20074:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt540=2; int LA540_0 = input.LA(1); if ( (LA540_0==61) ) { alt540=1; } switch (alt540) { case 1 : // InternalSacmDsl.g:20074:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getCreatedByAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:20082:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20083:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:20083:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:20084:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCreatedByAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20100:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop539: do { int alt539=2; int LA539_0 = input.LA(1); if ( (LA539_0==17) ) { alt539=1; } switch (alt539) { case 1 : // InternalSacmDsl.g:20100:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getCreatedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:20104:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20105:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:20105:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:20106:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCreatedByAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop539; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:20126:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt542=2; int LA542_0 = input.LA(1); if ( (LA542_0==62) ) { alt542=1; } switch (alt542) { case 1 : // InternalSacmDsl.g:20126:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getCreatedByAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:20134:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20135:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20135:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:20136:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCreatedByAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20152:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop541: do { int alt541=2; int LA541_0 = input.LA(1); if ( (LA541_0==17) ) { alt541=1; } switch (alt541) { case 1 : // InternalSacmDsl.g:20152:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getCreatedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:20156:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20157:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20157:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:20158:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCreatedByAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop541; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:20178:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt544=2; int LA544_0 = input.LA(1); if ( (LA544_0==63) ) { alt544=1; } switch (alt544) { case 1 : // InternalSacmDsl.g:20178:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getCreatedByAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:20186:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:20187:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:20187:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:20188:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getCreatedByAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20204:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop543: do { int alt543=2; int LA543_0 = input.LA(1); if ( (LA543_0==17) ) { alt543=1; } switch (alt543) { case 1 : // InternalSacmDsl.g:20204:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getCreatedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:20208:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:20209:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:20209:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:20210:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getCreatedByAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop543; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:20230:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt546=2; int LA546_0 = input.LA(1); if ( (LA546_0==64) ) { alt546=1; } switch (alt546) { case 1 : // InternalSacmDsl.g:20230:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getCreatedByAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getCreatedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:20238:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:20239:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:20239:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:20240:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCreatedByAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20256:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop545: do { int alt545=2; int LA545_0 = input.LA(1); if ( (LA545_0==17) ) { alt545=1; } switch (alt545) { case 1 : // InternalSacmDsl.g:20256:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getCreatedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:20260:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:20261:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:20261:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:20262:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCreatedByAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCreatedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop545; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getCreatedByAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCreatedBy" // $ANTLR start "entryRuleOwnedBy" // InternalSacmDsl.g:20294:1: entryRuleOwnedBy returns [EObject current=null] : iv_ruleOwnedBy= ruleOwnedBy EOF ; public final EObject entryRuleOwnedBy() throws RecognitionException { EObject current = null; EObject iv_ruleOwnedBy = null; try { // InternalSacmDsl.g:20295:2: (iv_ruleOwnedBy= ruleOwnedBy EOF ) // InternalSacmDsl.g:20296:2: iv_ruleOwnedBy= ruleOwnedBy EOF { newCompositeNode(grammarAccess.getOwnedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleOwnedBy=ruleOwnedBy(); state._fsp--; current =iv_ruleOwnedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOwnedBy" // $ANTLR start "ruleOwnedBy" // InternalSacmDsl.g:20303:1: ruleOwnedBy returns [EObject current=null] : (otherlv_0= 'OwnedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'owner' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleOwnedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:20306:28: ( (otherlv_0= 'OwnedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'owner' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:20307:1: (otherlv_0= 'OwnedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'owner' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:20307:1: (otherlv_0= 'OwnedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'owner' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:20307:3: otherlv_0= 'OwnedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'owner' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,117,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getOwnedByAccess().getOwnedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getOwnedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:20319:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:20320:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:20320:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:20321:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getOwnedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_110); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,118,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getOwnedByAccess().getOwnerKeyword_4()); // InternalSacmDsl.g:20341:1: ( ( ruleEString ) ) // InternalSacmDsl.g:20342:1: ( ruleEString ) { // InternalSacmDsl.g:20342:1: ( ruleEString ) // InternalSacmDsl.g:20343:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getOwnedByRule()); } newCompositeNode(grammarAccess.getOwnedByAccess().getOwnerStakeholderCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20356:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt548=2; int LA548_0 = input.LA(1); if ( (LA548_0==16) ) { alt548=1; } switch (alt548) { case 1 : // InternalSacmDsl.g:20356:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getOwnedByAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:20364:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:20365:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:20365:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:20366:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOwnedByAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20382:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop547: do { int alt547=2; int LA547_0 = input.LA(1); if ( (LA547_0==17) ) { alt547=1; } switch (alt547) { case 1 : // InternalSacmDsl.g:20382:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getOwnedByAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:20386:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:20387:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:20387:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:20388:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOwnedByAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop547; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:20408:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt550=2; int LA550_0 = input.LA(1); if ( (LA550_0==19) ) { alt550=1; } switch (alt550) { case 1 : // InternalSacmDsl.g:20408:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getOwnedByAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:20416:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:20417:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:20417:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:20418:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getOwnedByAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20434:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop549: do { int alt549=2; int LA549_0 = input.LA(1); if ( (LA549_0==17) ) { alt549=1; } switch (alt549) { case 1 : // InternalSacmDsl.g:20434:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getOwnedByAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:20438:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:20439:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:20439:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:20440:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getOwnedByAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop549; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:20460:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt552=2; int LA552_0 = input.LA(1); if ( (LA552_0==61) ) { alt552=1; } switch (alt552) { case 1 : // InternalSacmDsl.g:20460:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getOwnedByAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:20468:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20469:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:20469:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:20470:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOwnedByAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20486:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop551: do { int alt551=2; int LA551_0 = input.LA(1); if ( (LA551_0==17) ) { alt551=1; } switch (alt551) { case 1 : // InternalSacmDsl.g:20486:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getOwnedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:20490:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20491:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:20491:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:20492:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOwnedByAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop551; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:20512:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt554=2; int LA554_0 = input.LA(1); if ( (LA554_0==62) ) { alt554=1; } switch (alt554) { case 1 : // InternalSacmDsl.g:20512:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getOwnedByAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:20520:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20521:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20521:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:20522:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOwnedByAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20538:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop553: do { int alt553=2; int LA553_0 = input.LA(1); if ( (LA553_0==17) ) { alt553=1; } switch (alt553) { case 1 : // InternalSacmDsl.g:20538:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getOwnedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:20542:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20543:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20543:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:20544:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOwnedByAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop553; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:20564:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt556=2; int LA556_0 = input.LA(1); if ( (LA556_0==63) ) { alt556=1; } switch (alt556) { case 1 : // InternalSacmDsl.g:20564:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getOwnedByAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:20572:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:20573:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:20573:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:20574:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getOwnedByAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20590:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop555: do { int alt555=2; int LA555_0 = input.LA(1); if ( (LA555_0==17) ) { alt555=1; } switch (alt555) { case 1 : // InternalSacmDsl.g:20590:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getOwnedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:20594:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:20595:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:20595:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:20596:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getOwnedByAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop555; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:20616:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt558=2; int LA558_0 = input.LA(1); if ( (LA558_0==64) ) { alt558=1; } switch (alt558) { case 1 : // InternalSacmDsl.g:20616:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getOwnedByAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getOwnedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:20624:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:20625:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:20625:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:20626:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOwnedByAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20642:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop557: do { int alt557=2; int LA557_0 = input.LA(1); if ( (LA557_0==17) ) { alt557=1; } switch (alt557) { case 1 : // InternalSacmDsl.g:20642:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getOwnedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:20646:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:20647:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:20647:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:20648:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOwnedByAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOwnedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop557; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getOwnedByAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOwnedBy" // $ANTLR start "entryRulePerformedBy" // InternalSacmDsl.g:20680:1: entryRulePerformedBy returns [EObject current=null] : iv_rulePerformedBy= rulePerformedBy EOF ; public final EObject entryRulePerformedBy() throws RecognitionException { EObject current = null; EObject iv_rulePerformedBy = null; try { // InternalSacmDsl.g:20681:2: (iv_rulePerformedBy= rulePerformedBy EOF ) // InternalSacmDsl.g:20682:2: iv_rulePerformedBy= rulePerformedBy EOF { newCompositeNode(grammarAccess.getPerformedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_rulePerformedBy=rulePerformedBy(); state._fsp--; current =iv_rulePerformedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePerformedBy" // $ANTLR start "rulePerformedBy" // InternalSacmDsl.g:20689:1: rulePerformedBy returns [EObject current=null] : (otherlv_0= 'PerformedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'executor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject rulePerformedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:20692:28: ( (otherlv_0= 'PerformedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'executor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:20693:1: (otherlv_0= 'PerformedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'executor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:20693:1: (otherlv_0= 'PerformedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'executor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:20693:3: otherlv_0= 'PerformedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'executor' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,119,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getPerformedByAccess().getPerformedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getPerformedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:20705:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:20706:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:20706:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:20707:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getPerformedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_111); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,120,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getPerformedByAccess().getExecutorKeyword_4()); // InternalSacmDsl.g:20727:1: ( ( ruleEString ) ) // InternalSacmDsl.g:20728:1: ( ruleEString ) { // InternalSacmDsl.g:20728:1: ( ruleEString ) // InternalSacmDsl.g:20729:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getPerformedByRule()); } newCompositeNode(grammarAccess.getPerformedByAccess().getExecutorStakeholderCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20742:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt560=2; int LA560_0 = input.LA(1); if ( (LA560_0==16) ) { alt560=1; } switch (alt560) { case 1 : // InternalSacmDsl.g:20742:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getPerformedByAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:20750:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:20751:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:20751:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:20752:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getPerformedByAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20768:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop559: do { int alt559=2; int LA559_0 = input.LA(1); if ( (LA559_0==17) ) { alt559=1; } switch (alt559) { case 1 : // InternalSacmDsl.g:20768:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getPerformedByAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:20772:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:20773:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:20773:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:20774:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getPerformedByAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop559; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:20794:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt562=2; int LA562_0 = input.LA(1); if ( (LA562_0==19) ) { alt562=1; } switch (alt562) { case 1 : // InternalSacmDsl.g:20794:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getPerformedByAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:20802:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:20803:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:20803:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:20804:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getPerformedByAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20820:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop561: do { int alt561=2; int LA561_0 = input.LA(1); if ( (LA561_0==17) ) { alt561=1; } switch (alt561) { case 1 : // InternalSacmDsl.g:20820:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getPerformedByAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:20824:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:20825:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:20825:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:20826:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getPerformedByAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop561; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:20846:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt564=2; int LA564_0 = input.LA(1); if ( (LA564_0==61) ) { alt564=1; } switch (alt564) { case 1 : // InternalSacmDsl.g:20846:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getPerformedByAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:20854:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20855:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:20855:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:20856:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getPerformedByAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20872:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop563: do { int alt563=2; int LA563_0 = input.LA(1); if ( (LA563_0==17) ) { alt563=1; } switch (alt563) { case 1 : // InternalSacmDsl.g:20872:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getPerformedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:20876:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:20877:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:20877:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:20878:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getPerformedByAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop563; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:20898:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt566=2; int LA566_0 = input.LA(1); if ( (LA566_0==62) ) { alt566=1; } switch (alt566) { case 1 : // InternalSacmDsl.g:20898:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getPerformedByAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:20906:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20907:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20907:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:20908:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getPerformedByAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20924:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop565: do { int alt565=2; int LA565_0 = input.LA(1); if ( (LA565_0==17) ) { alt565=1; } switch (alt565) { case 1 : // InternalSacmDsl.g:20924:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getPerformedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:20928:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:20929:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:20929:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:20930:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getPerformedByAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop565; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:20950:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt568=2; int LA568_0 = input.LA(1); if ( (LA568_0==63) ) { alt568=1; } switch (alt568) { case 1 : // InternalSacmDsl.g:20950:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getPerformedByAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:20958:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:20959:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:20959:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:20960:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getPerformedByAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:20976:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop567: do { int alt567=2; int LA567_0 = input.LA(1); if ( (LA567_0==17) ) { alt567=1; } switch (alt567) { case 1 : // InternalSacmDsl.g:20976:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getPerformedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:20980:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:20981:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:20981:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:20982:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getPerformedByAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop567; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:21002:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt570=2; int LA570_0 = input.LA(1); if ( (LA570_0==64) ) { alt570=1; } switch (alt570) { case 1 : // InternalSacmDsl.g:21002:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getPerformedByAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getPerformedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:21010:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21011:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21011:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21012:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getPerformedByAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21028:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop569: do { int alt569=2; int LA569_0 = input.LA(1); if ( (LA569_0==17) ) { alt569=1; } switch (alt569) { case 1 : // InternalSacmDsl.g:21028:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getPerformedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:21032:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21033:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21033:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21034:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getPerformedByAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPerformedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop569; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getPerformedByAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePerformedBy" // $ANTLR start "entryRuleIsGeneratedAt" // InternalSacmDsl.g:21066:1: entryRuleIsGeneratedAt returns [EObject current=null] : iv_ruleIsGeneratedAt= ruleIsGeneratedAt EOF ; public final EObject entryRuleIsGeneratedAt() throws RecognitionException { EObject current = null; EObject iv_ruleIsGeneratedAt = null; try { // InternalSacmDsl.g:21067:2: (iv_ruleIsGeneratedAt= ruleIsGeneratedAt EOF ) // InternalSacmDsl.g:21068:2: iv_ruleIsGeneratedAt= ruleIsGeneratedAt EOF { newCompositeNode(grammarAccess.getIsGeneratedAtRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsGeneratedAt=ruleIsGeneratedAt(); state._fsp--; current =iv_ruleIsGeneratedAt; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsGeneratedAt" // $ANTLR start "ruleIsGeneratedAt" // InternalSacmDsl.g:21075:1: ruleIsGeneratedAt returns [EObject current=null] : (otherlv_0= 'IsGeneratedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsGeneratedAt() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:21078:28: ( (otherlv_0= 'IsGeneratedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:21079:1: (otherlv_0= 'IsGeneratedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:21079:1: (otherlv_0= 'IsGeneratedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:21079:3: otherlv_0= 'IsGeneratedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,121,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsGeneratedAtAccess().getIsGeneratedAtKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsGeneratedAtAccess().getIdKeyword_2()); // InternalSacmDsl.g:21091:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:21092:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:21092:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:21093:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21109:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt572=2; int LA572_0 = input.LA(1); if ( (LA572_0==16) ) { alt572=1; } switch (alt572) { case 1 : // InternalSacmDsl.g:21109:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsGeneratedAtAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:21117:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21118:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:21118:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:21119:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21135:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop571: do { int alt571=2; int LA571_0 = input.LA(1); if ( (LA571_0==17) ) { alt571=1; } switch (alt571) { case 1 : // InternalSacmDsl.g:21135:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:21139:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21140:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:21140:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:21141:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop571; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:21161:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt574=2; int LA574_0 = input.LA(1); if ( (LA574_0==19) ) { alt574=1; } switch (alt574) { case 1 : // InternalSacmDsl.g:21161:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsGeneratedAtAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:21169:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:21170:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:21170:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:21171:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21187:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop573: do { int alt573=2; int LA573_0 = input.LA(1); if ( (LA573_0==17) ) { alt573=1; } switch (alt573) { case 1 : // InternalSacmDsl.g:21187:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:21191:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:21192:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:21192:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:21193:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop573; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:21213:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt576=2; int LA576_0 = input.LA(1); if ( (LA576_0==61) ) { alt576=1; } switch (alt576) { case 1 : // InternalSacmDsl.g:21213:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsGeneratedAtAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:21221:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21222:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:21222:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:21223:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21239:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop575: do { int alt575=2; int LA575_0 = input.LA(1); if ( (LA575_0==17) ) { alt575=1; } switch (alt575) { case 1 : // InternalSacmDsl.g:21239:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:21243:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21244:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:21244:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:21245:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop575; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:21265:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt578=2; int LA578_0 = input.LA(1); if ( (LA578_0==62) ) { alt578=1; } switch (alt578) { case 1 : // InternalSacmDsl.g:21265:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsGeneratedAtAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:21273:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:21274:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:21274:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:21275:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21291:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop577: do { int alt577=2; int LA577_0 = input.LA(1); if ( (LA577_0==17) ) { alt577=1; } switch (alt577) { case 1 : // InternalSacmDsl.g:21291:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:21295:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:21296:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:21296:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:21297:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop577; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:21317:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt580=2; int LA580_0 = input.LA(1); if ( (LA580_0==63) ) { alt580=1; } switch (alt580) { case 1 : // InternalSacmDsl.g:21317:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsGeneratedAtAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:21325:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:21326:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:21326:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:21327:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21343:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop579: do { int alt579=2; int LA579_0 = input.LA(1); if ( (LA579_0==17) ) { alt579=1; } switch (alt579) { case 1 : // InternalSacmDsl.g:21343:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:21347:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:21348:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:21348:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:21349:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop579; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:21369:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt582=2; int LA582_0 = input.LA(1); if ( (LA582_0==64) ) { alt582=1; } switch (alt582) { case 1 : // InternalSacmDsl.g:21369:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsGeneratedAtAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsGeneratedAtAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:21377:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21378:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21378:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21379:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21395:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop581: do { int alt581=2; int LA581_0 = input.LA(1); if ( (LA581_0==17) ) { alt581=1; } switch (alt581) { case 1 : // InternalSacmDsl.g:21395:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsGeneratedAtAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:21399:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21400:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21400:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21401:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsGeneratedAtAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsGeneratedAtRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop581; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsGeneratedAtAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsGeneratedAt" // $ANTLR start "entryRuleIsAcquiredAt" // InternalSacmDsl.g:21433:1: entryRuleIsAcquiredAt returns [EObject current=null] : iv_ruleIsAcquiredAt= ruleIsAcquiredAt EOF ; public final EObject entryRuleIsAcquiredAt() throws RecognitionException { EObject current = null; EObject iv_ruleIsAcquiredAt = null; try { // InternalSacmDsl.g:21434:2: (iv_ruleIsAcquiredAt= ruleIsAcquiredAt EOF ) // InternalSacmDsl.g:21435:2: iv_ruleIsAcquiredAt= ruleIsAcquiredAt EOF { newCompositeNode(grammarAccess.getIsAcquiredAtRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsAcquiredAt=ruleIsAcquiredAt(); state._fsp--; current =iv_ruleIsAcquiredAt; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsAcquiredAt" // $ANTLR start "ruleIsAcquiredAt" // InternalSacmDsl.g:21442:1: ruleIsAcquiredAt returns [EObject current=null] : (otherlv_0= 'IsAcquiredAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsAcquiredAt() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:21445:28: ( (otherlv_0= 'IsAcquiredAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:21446:1: (otherlv_0= 'IsAcquiredAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:21446:1: (otherlv_0= 'IsAcquiredAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:21446:3: otherlv_0= 'IsAcquiredAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,122,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsAcquiredAtAccess().getIsAcquiredAtKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsAcquiredAtAccess().getIdKeyword_2()); // InternalSacmDsl.g:21458:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:21459:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:21459:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:21460:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21476:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt584=2; int LA584_0 = input.LA(1); if ( (LA584_0==16) ) { alt584=1; } switch (alt584) { case 1 : // InternalSacmDsl.g:21476:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsAcquiredAtAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:21484:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21485:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:21485:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:21486:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21502:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop583: do { int alt583=2; int LA583_0 = input.LA(1); if ( (LA583_0==17) ) { alt583=1; } switch (alt583) { case 1 : // InternalSacmDsl.g:21502:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:21506:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21507:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:21507:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:21508:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop583; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:21528:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt586=2; int LA586_0 = input.LA(1); if ( (LA586_0==19) ) { alt586=1; } switch (alt586) { case 1 : // InternalSacmDsl.g:21528:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsAcquiredAtAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:21536:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:21537:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:21537:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:21538:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21554:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop585: do { int alt585=2; int LA585_0 = input.LA(1); if ( (LA585_0==17) ) { alt585=1; } switch (alt585) { case 1 : // InternalSacmDsl.g:21554:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:21558:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:21559:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:21559:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:21560:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop585; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:21580:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt588=2; int LA588_0 = input.LA(1); if ( (LA588_0==61) ) { alt588=1; } switch (alt588) { case 1 : // InternalSacmDsl.g:21580:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsAcquiredAtAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:21588:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21589:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:21589:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:21590:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21606:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop587: do { int alt587=2; int LA587_0 = input.LA(1); if ( (LA587_0==17) ) { alt587=1; } switch (alt587) { case 1 : // InternalSacmDsl.g:21606:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:21610:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21611:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:21611:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:21612:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop587; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:21632:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt590=2; int LA590_0 = input.LA(1); if ( (LA590_0==62) ) { alt590=1; } switch (alt590) { case 1 : // InternalSacmDsl.g:21632:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsAcquiredAtAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:21640:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:21641:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:21641:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:21642:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21658:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop589: do { int alt589=2; int LA589_0 = input.LA(1); if ( (LA589_0==17) ) { alt589=1; } switch (alt589) { case 1 : // InternalSacmDsl.g:21658:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:21662:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:21663:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:21663:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:21664:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop589; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:21684:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt592=2; int LA592_0 = input.LA(1); if ( (LA592_0==63) ) { alt592=1; } switch (alt592) { case 1 : // InternalSacmDsl.g:21684:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsAcquiredAtAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:21692:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:21693:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:21693:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:21694:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21710:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop591: do { int alt591=2; int LA591_0 = input.LA(1); if ( (LA591_0==17) ) { alt591=1; } switch (alt591) { case 1 : // InternalSacmDsl.g:21710:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:21714:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:21715:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:21715:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:21716:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop591; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:21736:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt594=2; int LA594_0 = input.LA(1); if ( (LA594_0==64) ) { alt594=1; } switch (alt594) { case 1 : // InternalSacmDsl.g:21736:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsAcquiredAtAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsAcquiredAtAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:21744:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21745:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21745:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21746:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21762:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop593: do { int alt593=2; int LA593_0 = input.LA(1); if ( (LA593_0==17) ) { alt593=1; } switch (alt593) { case 1 : // InternalSacmDsl.g:21762:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsAcquiredAtAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:21766:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:21767:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:21767:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:21768:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsAcquiredAtAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsAcquiredAtRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop593; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsAcquiredAtAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsAcquiredAt" // $ANTLR start "entryRuleIsTransferredTo" // InternalSacmDsl.g:21800:1: entryRuleIsTransferredTo returns [EObject current=null] : iv_ruleIsTransferredTo= ruleIsTransferredTo EOF ; public final EObject entryRuleIsTransferredTo() throws RecognitionException { EObject current = null; EObject iv_ruleIsTransferredTo = null; try { // InternalSacmDsl.g:21801:2: (iv_ruleIsTransferredTo= ruleIsTransferredTo EOF ) // InternalSacmDsl.g:21802:2: iv_ruleIsTransferredTo= ruleIsTransferredTo EOF { newCompositeNode(grammarAccess.getIsTransferredToRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsTransferredTo=ruleIsTransferredTo(); state._fsp--; current =iv_ruleIsTransferredTo; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsTransferredTo" // $ANTLR start "ruleIsTransferredTo" // InternalSacmDsl.g:21809:1: ruleIsTransferredTo returns [EObject current=null] : (otherlv_0= 'IsTransferredTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsTransferredTo() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:21812:28: ( (otherlv_0= 'IsTransferredTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:21813:1: (otherlv_0= 'IsTransferredTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:21813:1: (otherlv_0= 'IsTransferredTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:21813:3: otherlv_0= 'IsTransferredTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,123,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsTransferredToAccess().getIsTransferredToKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsTransferredToAccess().getIdKeyword_2()); // InternalSacmDsl.g:21825:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:21826:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:21826:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:21827:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsTransferredToAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21843:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt596=2; int LA596_0 = input.LA(1); if ( (LA596_0==16) ) { alt596=1; } switch (alt596) { case 1 : // InternalSacmDsl.g:21843:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsTransferredToAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:21851:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21852:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:21852:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:21853:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsTransferredToAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21869:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop595: do { int alt595=2; int LA595_0 = input.LA(1); if ( (LA595_0==17) ) { alt595=1; } switch (alt595) { case 1 : // InternalSacmDsl.g:21869:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsTransferredToAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:21873:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:21874:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:21874:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:21875:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsTransferredToAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop595; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:21895:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt598=2; int LA598_0 = input.LA(1); if ( (LA598_0==19) ) { alt598=1; } switch (alt598) { case 1 : // InternalSacmDsl.g:21895:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsTransferredToAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:21903:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:21904:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:21904:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:21905:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsTransferredToAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21921:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop597: do { int alt597=2; int LA597_0 = input.LA(1); if ( (LA597_0==17) ) { alt597=1; } switch (alt597) { case 1 : // InternalSacmDsl.g:21921:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsTransferredToAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:21925:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:21926:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:21926:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:21927:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsTransferredToAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop597; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:21947:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt600=2; int LA600_0 = input.LA(1); if ( (LA600_0==61) ) { alt600=1; } switch (alt600) { case 1 : // InternalSacmDsl.g:21947:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsTransferredToAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:21955:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21956:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:21956:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:21957:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsTransferredToAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:21973:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop599: do { int alt599=2; int LA599_0 = input.LA(1); if ( (LA599_0==17) ) { alt599=1; } switch (alt599) { case 1 : // InternalSacmDsl.g:21973:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsTransferredToAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:21977:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:21978:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:21978:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:21979:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsTransferredToAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop599; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:21999:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt602=2; int LA602_0 = input.LA(1); if ( (LA602_0==62) ) { alt602=1; } switch (alt602) { case 1 : // InternalSacmDsl.g:21999:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsTransferredToAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:22007:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22008:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22008:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:22009:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsTransferredToAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22025:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop601: do { int alt601=2; int LA601_0 = input.LA(1); if ( (LA601_0==17) ) { alt601=1; } switch (alt601) { case 1 : // InternalSacmDsl.g:22025:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsTransferredToAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:22029:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22030:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22030:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:22031:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsTransferredToAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop601; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:22051:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt604=2; int LA604_0 = input.LA(1); if ( (LA604_0==63) ) { alt604=1; } switch (alt604) { case 1 : // InternalSacmDsl.g:22051:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsTransferredToAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:22059:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:22060:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:22060:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:22061:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsTransferredToAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22077:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop603: do { int alt603=2; int LA603_0 = input.LA(1); if ( (LA603_0==17) ) { alt603=1; } switch (alt603) { case 1 : // InternalSacmDsl.g:22077:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsTransferredToAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:22081:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:22082:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:22082:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:22083:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsTransferredToAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop603; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:22103:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt606=2; int LA606_0 = input.LA(1); if ( (LA606_0==64) ) { alt606=1; } switch (alt606) { case 1 : // InternalSacmDsl.g:22103:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsTransferredToAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsTransferredToAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:22111:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22112:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22112:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22113:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsTransferredToAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22129:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop605: do { int alt605=2; int LA605_0 = input.LA(1); if ( (LA605_0==17) ) { alt605=1; } switch (alt605) { case 1 : // InternalSacmDsl.g:22129:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsTransferredToAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:22133:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22134:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22134:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22135:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsTransferredToAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsTransferredToRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop605; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsTransferredToAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsTransferredTo" // $ANTLR start "entryRuleIsRevokedAt" // InternalSacmDsl.g:22167:1: entryRuleIsRevokedAt returns [EObject current=null] : iv_ruleIsRevokedAt= ruleIsRevokedAt EOF ; public final EObject entryRuleIsRevokedAt() throws RecognitionException { EObject current = null; EObject iv_ruleIsRevokedAt = null; try { // InternalSacmDsl.g:22168:2: (iv_ruleIsRevokedAt= ruleIsRevokedAt EOF ) // InternalSacmDsl.g:22169:2: iv_ruleIsRevokedAt= ruleIsRevokedAt EOF { newCompositeNode(grammarAccess.getIsRevokedAtRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsRevokedAt=ruleIsRevokedAt(); state._fsp--; current =iv_ruleIsRevokedAt; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsRevokedAt" // $ANTLR start "ruleIsRevokedAt" // InternalSacmDsl.g:22176:1: ruleIsRevokedAt returns [EObject current=null] : (otherlv_0= 'IsRevokedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsRevokedAt() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:22179:28: ( (otherlv_0= 'IsRevokedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:22180:1: (otherlv_0= 'IsRevokedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:22180:1: (otherlv_0= 'IsRevokedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:22180:3: otherlv_0= 'IsRevokedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,124,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsRevokedAtAccess().getIsRevokedAtKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsRevokedAtAccess().getIdKeyword_2()); // InternalSacmDsl.g:22192:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:22193:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:22193:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:22194:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22210:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt608=2; int LA608_0 = input.LA(1); if ( (LA608_0==16) ) { alt608=1; } switch (alt608) { case 1 : // InternalSacmDsl.g:22210:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsRevokedAtAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:22218:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22219:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:22219:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:22220:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22236:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop607: do { int alt607=2; int LA607_0 = input.LA(1); if ( (LA607_0==17) ) { alt607=1; } switch (alt607) { case 1 : // InternalSacmDsl.g:22236:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:22240:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22241:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:22241:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:22242:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop607; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:22262:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt610=2; int LA610_0 = input.LA(1); if ( (LA610_0==19) ) { alt610=1; } switch (alt610) { case 1 : // InternalSacmDsl.g:22262:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsRevokedAtAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:22270:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:22271:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:22271:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:22272:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22288:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop609: do { int alt609=2; int LA609_0 = input.LA(1); if ( (LA609_0==17) ) { alt609=1; } switch (alt609) { case 1 : // InternalSacmDsl.g:22288:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:22292:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:22293:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:22293:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:22294:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop609; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:22314:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt612=2; int LA612_0 = input.LA(1); if ( (LA612_0==61) ) { alt612=1; } switch (alt612) { case 1 : // InternalSacmDsl.g:22314:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsRevokedAtAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:22322:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:22323:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:22323:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:22324:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22340:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop611: do { int alt611=2; int LA611_0 = input.LA(1); if ( (LA611_0==17) ) { alt611=1; } switch (alt611) { case 1 : // InternalSacmDsl.g:22340:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:22344:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:22345:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:22345:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:22346:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop611; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:22366:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt614=2; int LA614_0 = input.LA(1); if ( (LA614_0==62) ) { alt614=1; } switch (alt614) { case 1 : // InternalSacmDsl.g:22366:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsRevokedAtAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:22374:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22375:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22375:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:22376:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22392:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop613: do { int alt613=2; int LA613_0 = input.LA(1); if ( (LA613_0==17) ) { alt613=1; } switch (alt613) { case 1 : // InternalSacmDsl.g:22392:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:22396:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22397:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22397:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:22398:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop613; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:22418:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt616=2; int LA616_0 = input.LA(1); if ( (LA616_0==63) ) { alt616=1; } switch (alt616) { case 1 : // InternalSacmDsl.g:22418:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsRevokedAtAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:22426:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:22427:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:22427:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:22428:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22444:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop615: do { int alt615=2; int LA615_0 = input.LA(1); if ( (LA615_0==17) ) { alt615=1; } switch (alt615) { case 1 : // InternalSacmDsl.g:22444:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:22448:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:22449:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:22449:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:22450:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop615; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:22470:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt618=2; int LA618_0 = input.LA(1); if ( (LA618_0==64) ) { alt618=1; } switch (alt618) { case 1 : // InternalSacmDsl.g:22470:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsRevokedAtAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsRevokedAtAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:22478:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22479:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22479:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22480:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22496:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop617: do { int alt617=2; int LA617_0 = input.LA(1); if ( (LA617_0==17) ) { alt617=1; } switch (alt617) { case 1 : // InternalSacmDsl.g:22496:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsRevokedAtAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:22500:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22501:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22501:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22502:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsRevokedAtAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsRevokedAtRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop617; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsRevokedAtAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsRevokedAt" // $ANTLR start "entryRuleIsCreatedAt" // InternalSacmDsl.g:22534:1: entryRuleIsCreatedAt returns [EObject current=null] : iv_ruleIsCreatedAt= ruleIsCreatedAt EOF ; public final EObject entryRuleIsCreatedAt() throws RecognitionException { EObject current = null; EObject iv_ruleIsCreatedAt = null; try { // InternalSacmDsl.g:22535:2: (iv_ruleIsCreatedAt= ruleIsCreatedAt EOF ) // InternalSacmDsl.g:22536:2: iv_ruleIsCreatedAt= ruleIsCreatedAt EOF { newCompositeNode(grammarAccess.getIsCreatedAtRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsCreatedAt=ruleIsCreatedAt(); state._fsp--; current =iv_ruleIsCreatedAt; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsCreatedAt" // $ANTLR start "ruleIsCreatedAt" // InternalSacmDsl.g:22543:1: ruleIsCreatedAt returns [EObject current=null] : (otherlv_0= 'IsCreatedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsCreatedAt() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:22546:28: ( (otherlv_0= 'IsCreatedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:22547:1: (otherlv_0= 'IsCreatedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:22547:1: (otherlv_0= 'IsCreatedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:22547:3: otherlv_0= 'IsCreatedAt' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,125,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsCreatedAtAccess().getIsCreatedAtKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsCreatedAtAccess().getIdKeyword_2()); // InternalSacmDsl.g:22559:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:22560:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:22560:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:22561:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22577:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt620=2; int LA620_0 = input.LA(1); if ( (LA620_0==16) ) { alt620=1; } switch (alt620) { case 1 : // InternalSacmDsl.g:22577:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsCreatedAtAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:22585:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22586:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:22586:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:22587:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22603:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop619: do { int alt619=2; int LA619_0 = input.LA(1); if ( (LA619_0==17) ) { alt619=1; } switch (alt619) { case 1 : // InternalSacmDsl.g:22603:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:22607:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22608:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:22608:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:22609:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop619; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:22629:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt622=2; int LA622_0 = input.LA(1); if ( (LA622_0==19) ) { alt622=1; } switch (alt622) { case 1 : // InternalSacmDsl.g:22629:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsCreatedAtAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:22637:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:22638:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:22638:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:22639:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22655:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop621: do { int alt621=2; int LA621_0 = input.LA(1); if ( (LA621_0==17) ) { alt621=1; } switch (alt621) { case 1 : // InternalSacmDsl.g:22655:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:22659:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:22660:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:22660:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:22661:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop621; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:22681:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt624=2; int LA624_0 = input.LA(1); if ( (LA624_0==61) ) { alt624=1; } switch (alt624) { case 1 : // InternalSacmDsl.g:22681:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsCreatedAtAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:22689:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:22690:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:22690:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:22691:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22707:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop623: do { int alt623=2; int LA623_0 = input.LA(1); if ( (LA623_0==17) ) { alt623=1; } switch (alt623) { case 1 : // InternalSacmDsl.g:22707:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:22711:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:22712:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:22712:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:22713:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop623; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:22733:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt626=2; int LA626_0 = input.LA(1); if ( (LA626_0==62) ) { alt626=1; } switch (alt626) { case 1 : // InternalSacmDsl.g:22733:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsCreatedAtAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:22741:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22742:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22742:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:22743:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22759:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop625: do { int alt625=2; int LA625_0 = input.LA(1); if ( (LA625_0==17) ) { alt625=1; } switch (alt625) { case 1 : // InternalSacmDsl.g:22759:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:22763:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:22764:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:22764:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:22765:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop625; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:22785:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt628=2; int LA628_0 = input.LA(1); if ( (LA628_0==63) ) { alt628=1; } switch (alt628) { case 1 : // InternalSacmDsl.g:22785:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsCreatedAtAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:22793:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:22794:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:22794:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:22795:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22811:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop627: do { int alt627=2; int LA627_0 = input.LA(1); if ( (LA627_0==17) ) { alt627=1; } switch (alt627) { case 1 : // InternalSacmDsl.g:22811:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:22815:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:22816:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:22816:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:22817:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop627; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:22837:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt630=2; int LA630_0 = input.LA(1); if ( (LA630_0==64) ) { alt630=1; } switch (alt630) { case 1 : // InternalSacmDsl.g:22837:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsCreatedAtAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsCreatedAtAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:22845:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22846:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22846:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22847:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22863:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop629: do { int alt629=2; int LA629_0 = input.LA(1); if ( (LA629_0==17) ) { alt629=1; } switch (alt629) { case 1 : // InternalSacmDsl.g:22863:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsCreatedAtAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:22867:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:22868:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:22868:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:22869:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsCreatedAtAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCreatedAtRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop629; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsCreatedAtAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsCreatedAt" // $ANTLR start "entryRuleIsModifiedBy" // InternalSacmDsl.g:22901:1: entryRuleIsModifiedBy returns [EObject current=null] : iv_ruleIsModifiedBy= ruleIsModifiedBy EOF ; public final EObject entryRuleIsModifiedBy() throws RecognitionException { EObject current = null; EObject iv_ruleIsModifiedBy = null; try { // InternalSacmDsl.g:22902:2: (iv_ruleIsModifiedBy= ruleIsModifiedBy EOF ) // InternalSacmDsl.g:22903:2: iv_ruleIsModifiedBy= ruleIsModifiedBy EOF { newCompositeNode(grammarAccess.getIsModifiedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsModifiedBy=ruleIsModifiedBy(); state._fsp--; current =iv_ruleIsModifiedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsModifiedBy" // $ANTLR start "ruleIsModifiedBy" // InternalSacmDsl.g:22910:1: ruleIsModifiedBy returns [EObject current=null] : (otherlv_0= 'IsModifiedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleIsModifiedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:22913:28: ( (otherlv_0= 'IsModifiedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:22914:1: (otherlv_0= 'IsModifiedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:22914:1: (otherlv_0= 'IsModifiedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:22914:3: otherlv_0= 'IsModifiedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,126,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsModifiedByAccess().getIsModifiedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsModifiedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:22926:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:22927:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:22927:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:22928:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsModifiedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22944:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt632=2; int LA632_0 = input.LA(1); if ( (LA632_0==16) ) { alt632=1; } switch (alt632) { case 1 : // InternalSacmDsl.g:22944:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getIsModifiedByAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:22952:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22953:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:22953:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:22954:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsModifiedByAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:22970:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop631: do { int alt631=2; int LA631_0 = input.LA(1); if ( (LA631_0==17) ) { alt631=1; } switch (alt631) { case 1 : // InternalSacmDsl.g:22970:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsModifiedByAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:22974:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:22975:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:22975:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:22976:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsModifiedByAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop631; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:22996:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt634=2; int LA634_0 = input.LA(1); if ( (LA634_0==19) ) { alt634=1; } switch (alt634) { case 1 : // InternalSacmDsl.g:22996:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getIsModifiedByAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:23004:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:23005:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:23005:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:23006:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsModifiedByAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23022:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop633: do { int alt633=2; int LA633_0 = input.LA(1); if ( (LA633_0==17) ) { alt633=1; } switch (alt633) { case 1 : // InternalSacmDsl.g:23022:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsModifiedByAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:23026:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:23027:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:23027:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:23028:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsModifiedByAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop633; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:23048:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt636=2; int LA636_0 = input.LA(1); if ( (LA636_0==61) ) { alt636=1; } switch (alt636) { case 1 : // InternalSacmDsl.g:23048:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getIsModifiedByAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:23056:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23057:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:23057:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:23058:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsModifiedByAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23074:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop635: do { int alt635=2; int LA635_0 = input.LA(1); if ( (LA635_0==17) ) { alt635=1; } switch (alt635) { case 1 : // InternalSacmDsl.g:23074:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsModifiedByAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:23078:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23079:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:23079:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:23080:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsModifiedByAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop635; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:23100:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt638=2; int LA638_0 = input.LA(1); if ( (LA638_0==62) ) { alt638=1; } switch (alt638) { case 1 : // InternalSacmDsl.g:23100:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getIsModifiedByAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:23108:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23109:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23109:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:23110:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsModifiedByAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23126:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop637: do { int alt637=2; int LA637_0 = input.LA(1); if ( (LA637_0==17) ) { alt637=1; } switch (alt637) { case 1 : // InternalSacmDsl.g:23126:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsModifiedByAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:23130:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23131:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23131:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:23132:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsModifiedByAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop637; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:23152:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt640=2; int LA640_0 = input.LA(1); if ( (LA640_0==63) ) { alt640=1; } switch (alt640) { case 1 : // InternalSacmDsl.g:23152:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getIsModifiedByAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:23160:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:23161:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:23161:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:23162:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getIsModifiedByAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23178:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop639: do { int alt639=2; int LA639_0 = input.LA(1); if ( (LA639_0==17) ) { alt639=1; } switch (alt639) { case 1 : // InternalSacmDsl.g:23178:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsModifiedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:23182:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:23183:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:23183:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:23184:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsModifiedByAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop639; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:23204:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt642=2; int LA642_0 = input.LA(1); if ( (LA642_0==64) ) { alt642=1; } switch (alt642) { case 1 : // InternalSacmDsl.g:23204:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getIsModifiedByAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getIsModifiedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:23212:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:23213:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:23213:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:23214:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsModifiedByAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23230:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop641: do { int alt641=2; int LA641_0 = input.LA(1); if ( (LA641_0==17) ) { alt641=1; } switch (alt641) { case 1 : // InternalSacmDsl.g:23230:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsModifiedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:23234:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:23235:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:23235:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:23236:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsModifiedByAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsModifiedByRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop641; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getIsModifiedByAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsModifiedBy" // $ANTLR start "entryRuleConsistency" // InternalSacmDsl.g:23268:1: entryRuleConsistency returns [EObject current=null] : iv_ruleConsistency= ruleConsistency EOF ; public final EObject entryRuleConsistency() throws RecognitionException { EObject current = null; EObject iv_ruleConsistency = null; try { // InternalSacmDsl.g:23269:2: (iv_ruleConsistency= ruleConsistency EOF ) // InternalSacmDsl.g:23270:2: iv_ruleConsistency= ruleConsistency EOF { newCompositeNode(grammarAccess.getConsistencyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleConsistency=ruleConsistency(); state._fsp--; current =iv_ruleConsistency; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConsistency" // $ANTLR start "ruleConsistency" // InternalSacmDsl.g:23277:1: ruleConsistency returns [EObject current=null] : (otherlv_0= 'Consistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleConsistency() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:23280:28: ( (otherlv_0= 'Consistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:23281:1: (otherlv_0= 'Consistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:23281:1: (otherlv_0= 'Consistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:23281:3: otherlv_0= 'Consistency' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConsistencyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,127,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getConsistencyAccess().getConsistencyKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getConsistencyAccess().getIdKeyword_2()); // InternalSacmDsl.g:23293:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:23294:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:23294:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:23295:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getConsistencyAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_102); newLeafNode(otherlv_4, grammarAccess.getConsistencyAccess().getValueKeyword_4()); // InternalSacmDsl.g:23315:1: ( (lv_value_5_0= ruleConsistencyLevel ) ) // InternalSacmDsl.g:23316:1: (lv_value_5_0= ruleConsistencyLevel ) { // InternalSacmDsl.g:23316:1: (lv_value_5_0= ruleConsistencyLevel ) // InternalSacmDsl.g:23317:3: lv_value_5_0= ruleConsistencyLevel { newCompositeNode(grammarAccess.getConsistencyAccess().getValueConsistencyLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleConsistencyLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.ConsistencyLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23333:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt644=2; int LA644_0 = input.LA(1); if ( (LA644_0==16) ) { alt644=1; } switch (alt644) { case 1 : // InternalSacmDsl.g:23333:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getConsistencyAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:23341:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:23342:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:23342:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:23343:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConsistencyAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23359:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop643: do { int alt643=2; int LA643_0 = input.LA(1); if ( (LA643_0==17) ) { alt643=1; } switch (alt643) { case 1 : // InternalSacmDsl.g:23359:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getConsistencyAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:23363:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:23364:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:23364:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:23365:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConsistencyAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop643; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:23385:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt646=2; int LA646_0 = input.LA(1); if ( (LA646_0==19) ) { alt646=1; } switch (alt646) { case 1 : // InternalSacmDsl.g:23385:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getConsistencyAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:23393:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:23394:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:23394:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:23395:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getConsistencyAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23411:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop645: do { int alt645=2; int LA645_0 = input.LA(1); if ( (LA645_0==17) ) { alt645=1; } switch (alt645) { case 1 : // InternalSacmDsl.g:23411:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getConsistencyAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:23415:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:23416:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:23416:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:23417:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getConsistencyAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop645; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:23437:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt648=2; int LA648_0 = input.LA(1); if ( (LA648_0==61) ) { alt648=1; } switch (alt648) { case 1 : // InternalSacmDsl.g:23437:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getConsistencyAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:23445:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23446:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:23446:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:23447:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConsistencyAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23463:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop647: do { int alt647=2; int LA647_0 = input.LA(1); if ( (LA647_0==17) ) { alt647=1; } switch (alt647) { case 1 : // InternalSacmDsl.g:23463:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getConsistencyAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:23467:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23468:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:23468:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:23469:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConsistencyAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop647; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:23489:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt650=2; int LA650_0 = input.LA(1); if ( (LA650_0==62) ) { alt650=1; } switch (alt650) { case 1 : // InternalSacmDsl.g:23489:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getConsistencyAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:23497:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23498:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23498:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:23499:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConsistencyAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23515:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop649: do { int alt649=2; int LA649_0 = input.LA(1); if ( (LA649_0==17) ) { alt649=1; } switch (alt649) { case 1 : // InternalSacmDsl.g:23515:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getConsistencyAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:23519:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23520:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23520:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:23521:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConsistencyAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop649; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:23541:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt652=2; int LA652_0 = input.LA(1); if ( (LA652_0==63) ) { alt652=1; } switch (alt652) { case 1 : // InternalSacmDsl.g:23541:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getConsistencyAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:23549:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:23550:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:23550:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:23551:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getConsistencyAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23567:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop651: do { int alt651=2; int LA651_0 = input.LA(1); if ( (LA651_0==17) ) { alt651=1; } switch (alt651) { case 1 : // InternalSacmDsl.g:23567:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getConsistencyAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:23571:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:23572:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:23572:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:23573:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getConsistencyAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop651; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:23593:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt654=2; int LA654_0 = input.LA(1); if ( (LA654_0==64) ) { alt654=1; } switch (alt654) { case 1 : // InternalSacmDsl.g:23593:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getConsistencyAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getConsistencyAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:23601:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:23602:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:23602:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:23603:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConsistencyAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23619:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop653: do { int alt653=2; int LA653_0 = input.LA(1); if ( (LA653_0==17) ) { alt653=1; } switch (alt653) { case 1 : // InternalSacmDsl.g:23619:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getConsistencyAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:23623:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:23624:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:23624:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:23625:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConsistencyAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConsistencyRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop653; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getConsistencyAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConsistency" // $ANTLR start "entryRuleCompleteness" // InternalSacmDsl.g:23657:1: entryRuleCompleteness returns [EObject current=null] : iv_ruleCompleteness= ruleCompleteness EOF ; public final EObject entryRuleCompleteness() throws RecognitionException { EObject current = null; EObject iv_ruleCompleteness = null; try { // InternalSacmDsl.g:23658:2: (iv_ruleCompleteness= ruleCompleteness EOF ) // InternalSacmDsl.g:23659:2: iv_ruleCompleteness= ruleCompleteness EOF { newCompositeNode(grammarAccess.getCompletenessRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleCompleteness=ruleCompleteness(); state._fsp--; current =iv_ruleCompleteness; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCompleteness" // $ANTLR start "ruleCompleteness" // InternalSacmDsl.g:23666:1: ruleCompleteness returns [EObject current=null] : (otherlv_0= 'Completeness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'status' ( (lv_status_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleCompleteness() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_status_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:23669:28: ( (otherlv_0= 'Completeness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'status' ( (lv_status_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:23670:1: (otherlv_0= 'Completeness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'status' ( (lv_status_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:23670:1: (otherlv_0= 'Completeness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'status' ( (lv_status_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:23670:3: otherlv_0= 'Completeness' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'status' ( (lv_status_5_0= ruleCompletenessLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,128,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getCompletenessAccess().getCompletenessKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getCompletenessAccess().getIdKeyword_2()); // InternalSacmDsl.g:23682:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:23683:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:23683:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:23684:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getCompletenessAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_112); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,129,FollowSets000.FOLLOW_103); newLeafNode(otherlv_4, grammarAccess.getCompletenessAccess().getStatusKeyword_4()); // InternalSacmDsl.g:23704:1: ( (lv_status_5_0= ruleCompletenessLevel ) ) // InternalSacmDsl.g:23705:1: (lv_status_5_0= ruleCompletenessLevel ) { // InternalSacmDsl.g:23705:1: (lv_status_5_0= ruleCompletenessLevel ) // InternalSacmDsl.g:23706:3: lv_status_5_0= ruleCompletenessLevel { newCompositeNode(grammarAccess.getCompletenessAccess().getStatusCompletenessLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_status_5_0=ruleCompletenessLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } set( current, "status", lv_status_5_0, "net.certware.sacm.dsl.SacmDsl.CompletenessLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23722:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt656=2; int LA656_0 = input.LA(1); if ( (LA656_0==16) ) { alt656=1; } switch (alt656) { case 1 : // InternalSacmDsl.g:23722:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getCompletenessAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:23730:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:23731:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:23731:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:23732:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompletenessAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23748:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop655: do { int alt655=2; int LA655_0 = input.LA(1); if ( (LA655_0==17) ) { alt655=1; } switch (alt655) { case 1 : // InternalSacmDsl.g:23748:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getCompletenessAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:23752:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:23753:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:23753:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:23754:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getCompletenessAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop655; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:23774:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt658=2; int LA658_0 = input.LA(1); if ( (LA658_0==19) ) { alt658=1; } switch (alt658) { case 1 : // InternalSacmDsl.g:23774:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getCompletenessAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:23782:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:23783:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:23783:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:23784:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompletenessAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23800:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop657: do { int alt657=2; int LA657_0 = input.LA(1); if ( (LA657_0==17) ) { alt657=1; } switch (alt657) { case 1 : // InternalSacmDsl.g:23800:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getCompletenessAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:23804:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:23805:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:23805:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:23806:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getCompletenessAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop657; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:23826:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt660=2; int LA660_0 = input.LA(1); if ( (LA660_0==61) ) { alt660=1; } switch (alt660) { case 1 : // InternalSacmDsl.g:23826:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getCompletenessAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:23834:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23835:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:23835:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:23836:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompletenessAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23852:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop659: do { int alt659=2; int LA659_0 = input.LA(1); if ( (LA659_0==17) ) { alt659=1; } switch (alt659) { case 1 : // InternalSacmDsl.g:23852:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getCompletenessAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:23856:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:23857:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:23857:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:23858:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getCompletenessAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop659; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:23878:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt662=2; int LA662_0 = input.LA(1); if ( (LA662_0==62) ) { alt662=1; } switch (alt662) { case 1 : // InternalSacmDsl.g:23878:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getCompletenessAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:23886:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23887:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23887:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:23888:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompletenessAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23904:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop661: do { int alt661=2; int LA661_0 = input.LA(1); if ( (LA661_0==17) ) { alt661=1; } switch (alt661) { case 1 : // InternalSacmDsl.g:23904:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getCompletenessAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:23908:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:23909:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:23909:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:23910:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getCompletenessAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop661; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:23930:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt664=2; int LA664_0 = input.LA(1); if ( (LA664_0==63) ) { alt664=1; } switch (alt664) { case 1 : // InternalSacmDsl.g:23930:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getCompletenessAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:23938:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:23939:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:23939:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:23940:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getCompletenessAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:23956:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop663: do { int alt663=2; int LA663_0 = input.LA(1); if ( (LA663_0==17) ) { alt663=1; } switch (alt663) { case 1 : // InternalSacmDsl.g:23956:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getCompletenessAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:23960:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:23961:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:23961:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:23962:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getCompletenessAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop663; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:23982:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt666=2; int LA666_0 = input.LA(1); if ( (LA666_0==64) ) { alt666=1; } switch (alt666) { case 1 : // InternalSacmDsl.g:23982:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getCompletenessAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getCompletenessAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:23990:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:23991:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:23991:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:23992:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompletenessAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24008:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop665: do { int alt665=2; int LA665_0 = input.LA(1); if ( (LA665_0==17) ) { alt665=1; } switch (alt665) { case 1 : // InternalSacmDsl.g:24008:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getCompletenessAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:24012:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:24013:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:24013:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:24014:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getCompletenessAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getCompletenessRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop665; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getCompletenessAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCompleteness" // $ANTLR start "entryRuleIsBasedOn" // InternalSacmDsl.g:24046:1: entryRuleIsBasedOn returns [EObject current=null] : iv_ruleIsBasedOn= ruleIsBasedOn EOF ; public final EObject entryRuleIsBasedOn() throws RecognitionException { EObject current = null; EObject iv_ruleIsBasedOn = null; try { // InternalSacmDsl.g:24047:2: (iv_ruleIsBasedOn= ruleIsBasedOn EOF ) // InternalSacmDsl.g:24048:2: iv_ruleIsBasedOn= ruleIsBasedOn EOF { newCompositeNode(grammarAccess.getIsBasedOnRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsBasedOn=ruleIsBasedOn(); state._fsp--; current =iv_ruleIsBasedOn; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsBasedOn" // $ANTLR start "ruleIsBasedOn" // InternalSacmDsl.g:24055:1: ruleIsBasedOn returns [EObject current=null] : (otherlv_0= 'IsBasedOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleIsBasedOn() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:24058:28: ( (otherlv_0= 'IsBasedOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:24059:1: (otherlv_0= 'IsBasedOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:24059:1: (otherlv_0= 'IsBasedOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:24059:3: otherlv_0= 'IsBasedOn' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,130,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsBasedOnAccess().getIsBasedOnKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsBasedOnAccess().getIdKeyword_2()); // InternalSacmDsl.g:24071:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:24072:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:24072:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:24073:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsBasedOnAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_109); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,52,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsBasedOnAccess().getSourceKeyword_4()); // InternalSacmDsl.g:24093:1: ( ( ruleEString ) ) // InternalSacmDsl.g:24094:1: ( ruleEString ) { // InternalSacmDsl.g:24094:1: ( ruleEString ) // InternalSacmDsl.g:24095:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsBasedOnRule()); } newCompositeNode(grammarAccess.getIsBasedOnAccess().getSourceEvidenceItemCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24108:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt668=2; int LA668_0 = input.LA(1); if ( (LA668_0==16) ) { alt668=1; } switch (alt668) { case 1 : // InternalSacmDsl.g:24108:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getIsBasedOnAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:24116:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24117:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:24117:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:24118:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsBasedOnAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24134:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop667: do { int alt667=2; int LA667_0 = input.LA(1); if ( (LA667_0==17) ) { alt667=1; } switch (alt667) { case 1 : // InternalSacmDsl.g:24134:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsBasedOnAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:24138:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24139:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:24139:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:24140:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsBasedOnAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop667; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:24160:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt670=2; int LA670_0 = input.LA(1); if ( (LA670_0==19) ) { alt670=1; } switch (alt670) { case 1 : // InternalSacmDsl.g:24160:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getIsBasedOnAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:24168:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:24169:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:24169:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:24170:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsBasedOnAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24186:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop669: do { int alt669=2; int LA669_0 = input.LA(1); if ( (LA669_0==17) ) { alt669=1; } switch (alt669) { case 1 : // InternalSacmDsl.g:24186:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsBasedOnAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:24190:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:24191:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:24191:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:24192:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsBasedOnAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop669; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:24212:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt672=2; int LA672_0 = input.LA(1); if ( (LA672_0==61) ) { alt672=1; } switch (alt672) { case 1 : // InternalSacmDsl.g:24212:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getIsBasedOnAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:24220:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:24221:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:24221:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:24222:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsBasedOnAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24238:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop671: do { int alt671=2; int LA671_0 = input.LA(1); if ( (LA671_0==17) ) { alt671=1; } switch (alt671) { case 1 : // InternalSacmDsl.g:24238:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsBasedOnAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:24242:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:24243:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:24243:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:24244:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsBasedOnAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop671; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:24264:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt674=2; int LA674_0 = input.LA(1); if ( (LA674_0==62) ) { alt674=1; } switch (alt674) { case 1 : // InternalSacmDsl.g:24264:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getIsBasedOnAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:24272:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:24273:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:24273:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:24274:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsBasedOnAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24290:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop673: do { int alt673=2; int LA673_0 = input.LA(1); if ( (LA673_0==17) ) { alt673=1; } switch (alt673) { case 1 : // InternalSacmDsl.g:24290:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsBasedOnAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:24294:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:24295:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:24295:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:24296:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsBasedOnAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop673; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:24316:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt676=2; int LA676_0 = input.LA(1); if ( (LA676_0==63) ) { alt676=1; } switch (alt676) { case 1 : // InternalSacmDsl.g:24316:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getIsBasedOnAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:24324:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:24325:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:24325:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:24326:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsBasedOnAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24342:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop675: do { int alt675=2; int LA675_0 = input.LA(1); if ( (LA675_0==17) ) { alt675=1; } switch (alt675) { case 1 : // InternalSacmDsl.g:24342:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsBasedOnAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:24346:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:24347:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:24347:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:24348:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsBasedOnAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop675; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:24368:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt678=2; int LA678_0 = input.LA(1); if ( (LA678_0==64) ) { alt678=1; } switch (alt678) { case 1 : // InternalSacmDsl.g:24368:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getIsBasedOnAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsBasedOnAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:24376:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:24377:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:24377:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:24378:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsBasedOnAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24394:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop677: do { int alt677=2; int LA677_0 = input.LA(1); if ( (LA677_0==17) ) { alt677=1; } switch (alt677) { case 1 : // InternalSacmDsl.g:24394:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsBasedOnAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:24398:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:24399:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:24399:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:24400:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsBasedOnAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsBasedOnRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop677; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getIsBasedOnAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsBasedOn" // $ANTLR start "entryRuleOriginality" // InternalSacmDsl.g:24432:1: entryRuleOriginality returns [EObject current=null] : iv_ruleOriginality= ruleOriginality EOF ; public final EObject entryRuleOriginality() throws RecognitionException { EObject current = null; EObject iv_ruleOriginality = null; try { // InternalSacmDsl.g:24433:2: (iv_ruleOriginality= ruleOriginality EOF ) // InternalSacmDsl.g:24434:2: iv_ruleOriginality= ruleOriginality EOF { newCompositeNode(grammarAccess.getOriginalityRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleOriginality=ruleOriginality(); state._fsp--; current =iv_ruleOriginality; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOriginality" // $ANTLR start "ruleOriginality" // InternalSacmDsl.g:24441:1: ruleOriginality returns [EObject current=null] : (otherlv_0= 'Originality' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleOriginalityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleOriginality() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:24444:28: ( (otherlv_0= 'Originality' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleOriginalityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:24445:1: (otherlv_0= 'Originality' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleOriginalityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:24445:1: (otherlv_0= 'Originality' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleOriginalityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:24445:3: otherlv_0= 'Originality' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleOriginalityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,131,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getOriginalityAccess().getOriginalityKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getOriginalityAccess().getIdKeyword_2()); // InternalSacmDsl.g:24457:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:24458:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:24458:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:24459:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getOriginalityAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_113); newLeafNode(otherlv_4, grammarAccess.getOriginalityAccess().getValueKeyword_4()); // InternalSacmDsl.g:24479:1: ( (lv_value_5_0= ruleOriginalityLevel ) ) // InternalSacmDsl.g:24480:1: (lv_value_5_0= ruleOriginalityLevel ) { // InternalSacmDsl.g:24480:1: (lv_value_5_0= ruleOriginalityLevel ) // InternalSacmDsl.g:24481:3: lv_value_5_0= ruleOriginalityLevel { newCompositeNode(grammarAccess.getOriginalityAccess().getValueOriginalityLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleOriginalityLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.OriginalityLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24497:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt680=2; int LA680_0 = input.LA(1); if ( (LA680_0==16) ) { alt680=1; } switch (alt680) { case 1 : // InternalSacmDsl.g:24497:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getOriginalityAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:24505:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24506:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:24506:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:24507:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOriginalityAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24523:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop679: do { int alt679=2; int LA679_0 = input.LA(1); if ( (LA679_0==17) ) { alt679=1; } switch (alt679) { case 1 : // InternalSacmDsl.g:24523:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getOriginalityAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:24527:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24528:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:24528:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:24529:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getOriginalityAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop679; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:24549:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt682=2; int LA682_0 = input.LA(1); if ( (LA682_0==19) ) { alt682=1; } switch (alt682) { case 1 : // InternalSacmDsl.g:24549:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getOriginalityAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:24557:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:24558:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:24558:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:24559:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getOriginalityAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24575:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop681: do { int alt681=2; int LA681_0 = input.LA(1); if ( (LA681_0==17) ) { alt681=1; } switch (alt681) { case 1 : // InternalSacmDsl.g:24575:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getOriginalityAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:24579:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:24580:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:24580:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:24581:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getOriginalityAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop681; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:24601:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt684=2; int LA684_0 = input.LA(1); if ( (LA684_0==61) ) { alt684=1; } switch (alt684) { case 1 : // InternalSacmDsl.g:24601:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getOriginalityAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:24609:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:24610:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:24610:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:24611:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOriginalityAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24627:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop683: do { int alt683=2; int LA683_0 = input.LA(1); if ( (LA683_0==17) ) { alt683=1; } switch (alt683) { case 1 : // InternalSacmDsl.g:24627:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getOriginalityAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:24631:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:24632:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:24632:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:24633:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getOriginalityAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop683; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:24653:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt686=2; int LA686_0 = input.LA(1); if ( (LA686_0==62) ) { alt686=1; } switch (alt686) { case 1 : // InternalSacmDsl.g:24653:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getOriginalityAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:24661:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:24662:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:24662:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:24663:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOriginalityAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24679:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop685: do { int alt685=2; int LA685_0 = input.LA(1); if ( (LA685_0==17) ) { alt685=1; } switch (alt685) { case 1 : // InternalSacmDsl.g:24679:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getOriginalityAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:24683:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:24684:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:24684:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:24685:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getOriginalityAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop685; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:24705:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt688=2; int LA688_0 = input.LA(1); if ( (LA688_0==63) ) { alt688=1; } switch (alt688) { case 1 : // InternalSacmDsl.g:24705:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getOriginalityAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:24713:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:24714:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:24714:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:24715:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getOriginalityAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24731:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop687: do { int alt687=2; int LA687_0 = input.LA(1); if ( (LA687_0==17) ) { alt687=1; } switch (alt687) { case 1 : // InternalSacmDsl.g:24731:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getOriginalityAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:24735:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:24736:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:24736:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:24737:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getOriginalityAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop687; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:24757:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt690=2; int LA690_0 = input.LA(1); if ( (LA690_0==64) ) { alt690=1; } switch (alt690) { case 1 : // InternalSacmDsl.g:24757:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getOriginalityAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getOriginalityAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:24765:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:24766:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:24766:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:24767:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOriginalityAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24783:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop689: do { int alt689=2; int LA689_0 = input.LA(1); if ( (LA689_0==17) ) { alt689=1; } switch (alt689) { case 1 : // InternalSacmDsl.g:24783:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getOriginalityAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:24787:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:24788:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:24788:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:24789:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getOriginalityAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOriginalityRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop689; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getOriginalityAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOriginality" // $ANTLR start "entryRuleReliability" // InternalSacmDsl.g:24821:1: entryRuleReliability returns [EObject current=null] : iv_ruleReliability= ruleReliability EOF ; public final EObject entryRuleReliability() throws RecognitionException { EObject current = null; EObject iv_ruleReliability = null; try { // InternalSacmDsl.g:24822:2: (iv_ruleReliability= ruleReliability EOF ) // InternalSacmDsl.g:24823:2: iv_ruleReliability= ruleReliability EOF { newCompositeNode(grammarAccess.getReliabilityRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleReliability=ruleReliability(); state._fsp--; current =iv_ruleReliability; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReliability" // $ANTLR start "ruleReliability" // InternalSacmDsl.g:24830:1: ruleReliability returns [EObject current=null] : (otherlv_0= 'Reliability' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReliabilityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleReliability() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:24833:28: ( (otherlv_0= 'Reliability' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReliabilityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:24834:1: (otherlv_0= 'Reliability' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReliabilityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:24834:1: (otherlv_0= 'Reliability' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReliabilityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:24834:3: otherlv_0= 'Reliability' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReliabilityLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,132,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getReliabilityAccess().getReliabilityKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getReliabilityAccess().getIdKeyword_2()); // InternalSacmDsl.g:24846:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:24847:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:24847:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:24848:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getReliabilityAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_114); newLeafNode(otherlv_4, grammarAccess.getReliabilityAccess().getValueKeyword_4()); // InternalSacmDsl.g:24868:1: ( (lv_value_5_0= ruleReliabilityLevel ) ) // InternalSacmDsl.g:24869:1: (lv_value_5_0= ruleReliabilityLevel ) { // InternalSacmDsl.g:24869:1: (lv_value_5_0= ruleReliabilityLevel ) // InternalSacmDsl.g:24870:3: lv_value_5_0= ruleReliabilityLevel { newCompositeNode(grammarAccess.getReliabilityAccess().getValueReliabilityLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleReliabilityLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.ReliabilityLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24886:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt692=2; int LA692_0 = input.LA(1); if ( (LA692_0==16) ) { alt692=1; } switch (alt692) { case 1 : // InternalSacmDsl.g:24886:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getReliabilityAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:24894:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24895:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:24895:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:24896:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReliabilityAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24912:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop691: do { int alt691=2; int LA691_0 = input.LA(1); if ( (LA691_0==17) ) { alt691=1; } switch (alt691) { case 1 : // InternalSacmDsl.g:24912:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getReliabilityAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:24916:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:24917:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:24917:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:24918:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReliabilityAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop691; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:24938:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt694=2; int LA694_0 = input.LA(1); if ( (LA694_0==19) ) { alt694=1; } switch (alt694) { case 1 : // InternalSacmDsl.g:24938:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getReliabilityAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:24946:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:24947:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:24947:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:24948:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getReliabilityAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:24964:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop693: do { int alt693=2; int LA693_0 = input.LA(1); if ( (LA693_0==17) ) { alt693=1; } switch (alt693) { case 1 : // InternalSacmDsl.g:24964:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getReliabilityAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:24968:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:24969:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:24969:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:24970:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getReliabilityAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop693; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:24990:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt696=2; int LA696_0 = input.LA(1); if ( (LA696_0==61) ) { alt696=1; } switch (alt696) { case 1 : // InternalSacmDsl.g:24990:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getReliabilityAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:24998:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:24999:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:24999:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:25000:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReliabilityAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25016:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop695: do { int alt695=2; int LA695_0 = input.LA(1); if ( (LA695_0==17) ) { alt695=1; } switch (alt695) { case 1 : // InternalSacmDsl.g:25016:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getReliabilityAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:25020:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:25021:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:25021:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:25022:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReliabilityAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop695; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:25042:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt698=2; int LA698_0 = input.LA(1); if ( (LA698_0==62) ) { alt698=1; } switch (alt698) { case 1 : // InternalSacmDsl.g:25042:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getReliabilityAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:25050:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25051:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25051:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:25052:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReliabilityAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25068:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop697: do { int alt697=2; int LA697_0 = input.LA(1); if ( (LA697_0==17) ) { alt697=1; } switch (alt697) { case 1 : // InternalSacmDsl.g:25068:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getReliabilityAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:25072:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25073:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25073:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:25074:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReliabilityAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop697; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:25094:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt700=2; int LA700_0 = input.LA(1); if ( (LA700_0==63) ) { alt700=1; } switch (alt700) { case 1 : // InternalSacmDsl.g:25094:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getReliabilityAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:25102:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:25103:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:25103:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:25104:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getReliabilityAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25120:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop699: do { int alt699=2; int LA699_0 = input.LA(1); if ( (LA699_0==17) ) { alt699=1; } switch (alt699) { case 1 : // InternalSacmDsl.g:25120:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getReliabilityAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:25124:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:25125:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:25125:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:25126:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getReliabilityAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop699; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:25146:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt702=2; int LA702_0 = input.LA(1); if ( (LA702_0==64) ) { alt702=1; } switch (alt702) { case 1 : // InternalSacmDsl.g:25146:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getReliabilityAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getReliabilityAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:25154:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25155:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25155:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25156:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReliabilityAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25172:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop701: do { int alt701=2; int LA701_0 = input.LA(1); if ( (LA701_0==17) ) { alt701=1; } switch (alt701) { case 1 : // InternalSacmDsl.g:25172:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getReliabilityAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:25176:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25177:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25177:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25178:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReliabilityAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReliabilityRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop701; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getReliabilityAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReliability" // $ANTLR start "entryRuleIsPartOf" // InternalSacmDsl.g:25210:1: entryRuleIsPartOf returns [EObject current=null] : iv_ruleIsPartOf= ruleIsPartOf EOF ; public final EObject entryRuleIsPartOf() throws RecognitionException { EObject current = null; EObject iv_ruleIsPartOf = null; try { // InternalSacmDsl.g:25211:2: (iv_ruleIsPartOf= ruleIsPartOf EOF ) // InternalSacmDsl.g:25212:2: iv_ruleIsPartOf= ruleIsPartOf EOF { newCompositeNode(grammarAccess.getIsPartOfRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsPartOf=ruleIsPartOf(); state._fsp--; current =iv_ruleIsPartOf; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsPartOf" // $ANTLR start "ruleIsPartOf" // InternalSacmDsl.g:25219:1: ruleIsPartOf returns [EObject current=null] : (otherlv_0= 'IsPartOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'whole' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleIsPartOf() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:25222:28: ( (otherlv_0= 'IsPartOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'whole' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:25223:1: (otherlv_0= 'IsPartOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'whole' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:25223:1: (otherlv_0= 'IsPartOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'whole' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:25223:3: otherlv_0= 'IsPartOf' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'whole' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,133,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsPartOfAccess().getIsPartOfKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsPartOfAccess().getIdKeyword_2()); // InternalSacmDsl.g:25235:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:25236:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:25236:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:25237:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsPartOfAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_115); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,134,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsPartOfAccess().getWholeKeyword_4()); // InternalSacmDsl.g:25257:1: ( ( ruleEString ) ) // InternalSacmDsl.g:25258:1: ( ruleEString ) { // InternalSacmDsl.g:25258:1: ( ruleEString ) // InternalSacmDsl.g:25259:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsPartOfRule()); } newCompositeNode(grammarAccess.getIsPartOfAccess().getWholeExhibitCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_79); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25272:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt704=2; int LA704_0 = input.LA(1); if ( (LA704_0==16) ) { alt704=1; } switch (alt704) { case 1 : // InternalSacmDsl.g:25272:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getIsPartOfAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:25280:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:25281:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:25281:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:25282:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsPartOfAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25298:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop703: do { int alt703=2; int LA703_0 = input.LA(1); if ( (LA703_0==17) ) { alt703=1; } switch (alt703) { case 1 : // InternalSacmDsl.g:25298:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsPartOfAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:25302:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:25303:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:25303:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:25304:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsPartOfAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop703; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:25324:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt706=2; int LA706_0 = input.LA(1); if ( (LA706_0==19) ) { alt706=1; } switch (alt706) { case 1 : // InternalSacmDsl.g:25324:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getIsPartOfAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:25332:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:25333:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:25333:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:25334:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsPartOfAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25350:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop705: do { int alt705=2; int LA705_0 = input.LA(1); if ( (LA705_0==17) ) { alt705=1; } switch (alt705) { case 1 : // InternalSacmDsl.g:25350:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsPartOfAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:25354:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:25355:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:25355:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:25356:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsPartOfAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop705; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:25376:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt708=2; int LA708_0 = input.LA(1); if ( (LA708_0==61) ) { alt708=1; } switch (alt708) { case 1 : // InternalSacmDsl.g:25376:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getIsPartOfAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:25384:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:25385:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:25385:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:25386:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsPartOfAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25402:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop707: do { int alt707=2; int LA707_0 = input.LA(1); if ( (LA707_0==17) ) { alt707=1; } switch (alt707) { case 1 : // InternalSacmDsl.g:25402:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsPartOfAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:25406:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:25407:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:25407:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:25408:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsPartOfAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop707; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:25428:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt710=2; int LA710_0 = input.LA(1); if ( (LA710_0==62) ) { alt710=1; } switch (alt710) { case 1 : // InternalSacmDsl.g:25428:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getIsPartOfAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:25436:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25437:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25437:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:25438:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsPartOfAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25454:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop709: do { int alt709=2; int LA709_0 = input.LA(1); if ( (LA709_0==17) ) { alt709=1; } switch (alt709) { case 1 : // InternalSacmDsl.g:25454:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsPartOfAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:25458:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25459:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25459:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:25460:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsPartOfAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop709; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:25480:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt712=2; int LA712_0 = input.LA(1); if ( (LA712_0==63) ) { alt712=1; } switch (alt712) { case 1 : // InternalSacmDsl.g:25480:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getIsPartOfAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:25488:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:25489:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:25489:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:25490:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsPartOfAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25506:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop711: do { int alt711=2; int LA711_0 = input.LA(1); if ( (LA711_0==17) ) { alt711=1; } switch (alt711) { case 1 : // InternalSacmDsl.g:25506:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsPartOfAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:25510:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:25511:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:25511:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:25512:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsPartOfAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop711; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:25532:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt714=2; int LA714_0 = input.LA(1); if ( (LA714_0==64) ) { alt714=1; } switch (alt714) { case 1 : // InternalSacmDsl.g:25532:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getIsPartOfAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsPartOfAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:25540:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25541:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25541:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25542:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsPartOfAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25558:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop713: do { int alt713=2; int LA713_0 = input.LA(1); if ( (LA713_0==17) ) { alt713=1; } switch (alt713) { case 1 : // InternalSacmDsl.g:25558:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsPartOfAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:25562:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25563:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25563:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25564:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsPartOfAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsPartOfRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop713; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getIsPartOfAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsPartOf" // $ANTLR start "entryRuleHasElectronicSource" // InternalSacmDsl.g:25596:1: entryRuleHasElectronicSource returns [EObject current=null] : iv_ruleHasElectronicSource= ruleHasElectronicSource EOF ; public final EObject entryRuleHasElectronicSource() throws RecognitionException { EObject current = null; EObject iv_ruleHasElectronicSource = null; try { // InternalSacmDsl.g:25597:2: (iv_ruleHasElectronicSource= ruleHasElectronicSource EOF ) // InternalSacmDsl.g:25598:2: iv_ruleHasElectronicSource= ruleHasElectronicSource EOF { newCompositeNode(grammarAccess.getHasElectronicSourceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleHasElectronicSource=ruleHasElectronicSource(); state._fsp--; current =iv_ruleHasElectronicSource; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleHasElectronicSource" // $ANTLR start "ruleHasElectronicSource" // InternalSacmDsl.g:25605:1: ruleHasElectronicSource returns [EObject current=null] : (otherlv_0= 'HasElectronicSource' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( (lv_source_5_0= ruleString0 ) ) otherlv_6= 'format' ( (lv_format_7_0= ruleString0 ) ) otherlv_8= 'fileSize' ( (lv_fileSize_9_0= ruleInteger ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ; public final EObject ruleHasElectronicSource() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_46=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_source_5_0 = null; AntlrDatatypeRuleToken lv_format_7_0 = null; AntlrDatatypeRuleToken lv_fileSize_9_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_taggedValue_14_0 = null; EObject lv_annotation_18_0 = null; EObject lv_annotation_20_0 = null; EObject lv_timing_24_0 = null; EObject lv_timing_26_0 = null; EObject lv_custody_30_0 = null; EObject lv_custody_32_0 = null; EObject lv_provenance_36_0 = null; EObject lv_provenance_38_0 = null; EObject lv_event_42_0 = null; EObject lv_event_44_0 = null; enterRule(); try { // InternalSacmDsl.g:25608:28: ( (otherlv_0= 'HasElectronicSource' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( (lv_source_5_0= ruleString0 ) ) otherlv_6= 'format' ( (lv_format_7_0= ruleString0 ) ) otherlv_8= 'fileSize' ( (lv_fileSize_9_0= ruleInteger ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) ) // InternalSacmDsl.g:25609:1: (otherlv_0= 'HasElectronicSource' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( (lv_source_5_0= ruleString0 ) ) otherlv_6= 'format' ( (lv_format_7_0= ruleString0 ) ) otherlv_8= 'fileSize' ( (lv_fileSize_9_0= ruleInteger ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) { // InternalSacmDsl.g:25609:1: (otherlv_0= 'HasElectronicSource' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( (lv_source_5_0= ruleString0 ) ) otherlv_6= 'format' ( (lv_format_7_0= ruleString0 ) ) otherlv_8= 'fileSize' ( (lv_fileSize_9_0= ruleInteger ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' ) // InternalSacmDsl.g:25609:3: otherlv_0= 'HasElectronicSource' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'source' ( (lv_source_5_0= ruleString0 ) ) otherlv_6= 'format' ( (lv_format_7_0= ruleString0 ) ) otherlv_8= 'fileSize' ( (lv_fileSize_9_0= ruleInteger ) ) (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? otherlv_46= '}' { otherlv_0=(Token)match(input,135,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getHasElectronicSourceAccess().getHasElectronicSourceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getHasElectronicSourceAccess().getIdKeyword_2()); // InternalSacmDsl.g:25621:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:25622:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:25622:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:25623:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_109); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,52,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getHasElectronicSourceAccess().getSourceKeyword_4()); // InternalSacmDsl.g:25643:1: ( (lv_source_5_0= ruleString0 ) ) // InternalSacmDsl.g:25644:1: (lv_source_5_0= ruleString0 ) { // InternalSacmDsl.g:25644:1: (lv_source_5_0= ruleString0 ) // InternalSacmDsl.g:25645:3: lv_source_5_0= ruleString0 { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getSourceString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_116); lv_source_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } set( current, "source", lv_source_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,136,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getHasElectronicSourceAccess().getFormatKeyword_6()); // InternalSacmDsl.g:25665:1: ( (lv_format_7_0= ruleString0 ) ) // InternalSacmDsl.g:25666:1: (lv_format_7_0= ruleString0 ) { // InternalSacmDsl.g:25666:1: (lv_format_7_0= ruleString0 ) // InternalSacmDsl.g:25667:3: lv_format_7_0= ruleString0 { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getFormatString0ParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_117); lv_format_7_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } set( current, "format", lv_format_7_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_8=(Token)match(input,137,FollowSets000.FOLLOW_118); newLeafNode(otherlv_8, grammarAccess.getHasElectronicSourceAccess().getFileSizeKeyword_8()); // InternalSacmDsl.g:25687:1: ( (lv_fileSize_9_0= ruleInteger ) ) // InternalSacmDsl.g:25688:1: (lv_fileSize_9_0= ruleInteger ) { // InternalSacmDsl.g:25688:1: (lv_fileSize_9_0= ruleInteger ) // InternalSacmDsl.g:25689:3: lv_fileSize_9_0= ruleInteger { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getFileSizeIntegerParserRuleCall_9_0()); pushFollow(FollowSets000.FOLLOW_79); lv_fileSize_9_0=ruleInteger(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } set( current, "fileSize", lv_fileSize_9_0, "net.certware.sacm.dsl.SacmDsl.Integer"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25705:2: (otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' )? int alt716=2; int LA716_0 = input.LA(1); if ( (LA716_0==16) ) { alt716=1; } switch (alt716) { case 1 : // InternalSacmDsl.g:25705:4: otherlv_10= 'taggedValue' otherlv_11= '{' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getHasElectronicSourceAccess().getTaggedValueKeyword_10_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:25713:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:25714:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:25714:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:25715:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getTaggedValueTaggedValueParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25731:2: (otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) )* loop715: do { int alt715=2; int LA715_0 = input.LA(1); if ( (LA715_0==17) ) { alt715=1; } switch (alt715) { case 1 : // InternalSacmDsl.g:25731:4: otherlv_13= ',' ( (lv_taggedValue_14_0= ruleTaggedValue ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_13, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:25735:1: ( (lv_taggedValue_14_0= ruleTaggedValue ) ) // InternalSacmDsl.g:25736:1: (lv_taggedValue_14_0= ruleTaggedValue ) { // InternalSacmDsl.g:25736:1: (lv_taggedValue_14_0= ruleTaggedValue ) // InternalSacmDsl.g:25737:3: lv_taggedValue_14_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getTaggedValueTaggedValueParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_14_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "taggedValue", lv_taggedValue_14_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop715; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_15, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:25757:3: (otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' )? int alt718=2; int LA718_0 = input.LA(1); if ( (LA718_0==19) ) { alt718=1; } switch (alt718) { case 1 : // InternalSacmDsl.g:25757:5: otherlv_16= 'annotation' otherlv_17= '{' ( (lv_annotation_18_0= ruleAnnotation ) ) (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getHasElectronicSourceAccess().getAnnotationKeyword_11_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:25765:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:25766:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:25766:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:25767:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getAnnotationAnnotationParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25783:2: (otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) )* loop717: do { int alt717=2; int LA717_0 = input.LA(1); if ( (LA717_0==17) ) { alt717=1; } switch (alt717) { case 1 : // InternalSacmDsl.g:25783:4: otherlv_19= ',' ( (lv_annotation_20_0= ruleAnnotation ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_19, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:25787:1: ( (lv_annotation_20_0= ruleAnnotation ) ) // InternalSacmDsl.g:25788:1: (lv_annotation_20_0= ruleAnnotation ) { // InternalSacmDsl.g:25788:1: (lv_annotation_20_0= ruleAnnotation ) // InternalSacmDsl.g:25789:3: lv_annotation_20_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getAnnotationAnnotationParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_20_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "annotation", lv_annotation_20_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop717; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_21, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:25809:3: (otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' )? int alt720=2; int LA720_0 = input.LA(1); if ( (LA720_0==61) ) { alt720=1; } switch (alt720) { case 1 : // InternalSacmDsl.g:25809:5: otherlv_22= 'timing' otherlv_23= '{' ( (lv_timing_24_0= ruleTimingProperty ) ) (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getHasElectronicSourceAccess().getTimingKeyword_12_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:25817:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:25818:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:25818:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:25819:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getTimingTimingPropertyParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25835:2: (otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) )* loop719: do { int alt719=2; int LA719_0 = input.LA(1); if ( (LA719_0==17) ) { alt719=1; } switch (alt719) { case 1 : // InternalSacmDsl.g:25835:4: otherlv_25= ',' ( (lv_timing_26_0= ruleTimingProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_25, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:25839:1: ( (lv_timing_26_0= ruleTimingProperty ) ) // InternalSacmDsl.g:25840:1: (lv_timing_26_0= ruleTimingProperty ) { // InternalSacmDsl.g:25840:1: (lv_timing_26_0= ruleTimingProperty ) // InternalSacmDsl.g:25841:3: lv_timing_26_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getTimingTimingPropertyParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_26_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "timing", lv_timing_26_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop719; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_27, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:25861:3: (otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' )? int alt722=2; int LA722_0 = input.LA(1); if ( (LA722_0==62) ) { alt722=1; } switch (alt722) { case 1 : // InternalSacmDsl.g:25861:5: otherlv_28= 'custody' otherlv_29= '{' ( (lv_custody_30_0= ruleCustodyProperty ) ) (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getHasElectronicSourceAccess().getCustodyKeyword_13_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:25869:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25870:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25870:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:25871:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getCustodyCustodyPropertyParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25887:2: (otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) )* loop721: do { int alt721=2; int LA721_0 = input.LA(1); if ( (LA721_0==17) ) { alt721=1; } switch (alt721) { case 1 : // InternalSacmDsl.g:25887:4: otherlv_31= ',' ( (lv_custody_32_0= ruleCustodyProperty ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_31, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:25891:1: ( (lv_custody_32_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:25892:1: (lv_custody_32_0= ruleCustodyProperty ) { // InternalSacmDsl.g:25892:1: (lv_custody_32_0= ruleCustodyProperty ) // InternalSacmDsl.g:25893:3: lv_custody_32_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getCustodyCustodyPropertyParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_32_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "custody", lv_custody_32_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop721; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_33, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:25913:3: (otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' )? int alt724=2; int LA724_0 = input.LA(1); if ( (LA724_0==63) ) { alt724=1; } switch (alt724) { case 1 : // InternalSacmDsl.g:25913:5: otherlv_34= 'provenance' otherlv_35= '{' ( (lv_provenance_36_0= ruleProvenance ) ) (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getHasElectronicSourceAccess().getProvenanceKeyword_14_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:25921:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:25922:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:25922:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:25923:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getProvenanceProvenanceParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25939:2: (otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) )* loop723: do { int alt723=2; int LA723_0 = input.LA(1); if ( (LA723_0==17) ) { alt723=1; } switch (alt723) { case 1 : // InternalSacmDsl.g:25939:4: otherlv_37= ',' ( (lv_provenance_38_0= ruleProvenance ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_37, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:25943:1: ( (lv_provenance_38_0= ruleProvenance ) ) // InternalSacmDsl.g:25944:1: (lv_provenance_38_0= ruleProvenance ) { // InternalSacmDsl.g:25944:1: (lv_provenance_38_0= ruleProvenance ) // InternalSacmDsl.g:25945:3: lv_provenance_38_0= ruleProvenance { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getProvenanceProvenanceParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_38_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "provenance", lv_provenance_38_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop723; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_39, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_14_4()); } break; } // InternalSacmDsl.g:25965:3: (otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' )? int alt726=2; int LA726_0 = input.LA(1); if ( (LA726_0==64) ) { alt726=1; } switch (alt726) { case 1 : // InternalSacmDsl.g:25965:5: otherlv_40= 'event' otherlv_41= '{' ( (lv_event_42_0= ruleEvidenceEvent ) ) (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* otherlv_45= '}' { otherlv_40=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_40, grammarAccess.getHasElectronicSourceAccess().getEventKeyword_15_0()); otherlv_41=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getHasElectronicSourceAccess().getLeftCurlyBracketKeyword_15_1()); // InternalSacmDsl.g:25973:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25974:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25974:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25975:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getEventEvidenceEventParserRuleCall_15_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:25991:2: (otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) )* loop725: do { int alt725=2; int LA725_0 = input.LA(1); if ( (LA725_0==17) ) { alt725=1; } switch (alt725) { case 1 : // InternalSacmDsl.g:25991:4: otherlv_43= ',' ( (lv_event_44_0= ruleEvidenceEvent ) ) { otherlv_43=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_43, grammarAccess.getHasElectronicSourceAccess().getCommaKeyword_15_3_0()); // InternalSacmDsl.g:25995:1: ( (lv_event_44_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:25996:1: (lv_event_44_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:25996:1: (lv_event_44_0= ruleEvidenceEvent ) // InternalSacmDsl.g:25997:3: lv_event_44_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasElectronicSourceAccess().getEventEvidenceEventParserRuleCall_15_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_44_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasElectronicSourceRule()); } add( current, "event", lv_event_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop725; } } while (true); otherlv_45=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_45, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_15_4()); } break; } otherlv_46=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_46, grammarAccess.getHasElectronicSourceAccess().getRightCurlyBracketKeyword_16()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleHasElectronicSource" // $ANTLR start "entryRuleIsExpressedInLanguage" // InternalSacmDsl.g:26029:1: entryRuleIsExpressedInLanguage returns [EObject current=null] : iv_ruleIsExpressedInLanguage= ruleIsExpressedInLanguage EOF ; public final EObject entryRuleIsExpressedInLanguage() throws RecognitionException { EObject current = null; EObject iv_ruleIsExpressedInLanguage = null; try { // InternalSacmDsl.g:26030:2: (iv_ruleIsExpressedInLanguage= ruleIsExpressedInLanguage EOF ) // InternalSacmDsl.g:26031:2: iv_ruleIsExpressedInLanguage= ruleIsExpressedInLanguage EOF { newCompositeNode(grammarAccess.getIsExpressedInLanguageRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsExpressedInLanguage=ruleIsExpressedInLanguage(); state._fsp--; current =iv_ruleIsExpressedInLanguage; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsExpressedInLanguage" // $ANTLR start "ruleIsExpressedInLanguage" // InternalSacmDsl.g:26038:1: ruleIsExpressedInLanguage returns [EObject current=null] : (otherlv_0= 'IsExpressedInLanguage' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'language' ( (lv_language_5_0= ruleString0 ) ) otherlv_6= 'IsPrimary' ( (lv_IsPrimary_7_0= ruleBoolean ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ; public final EObject ruleIsExpressedInLanguage() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_language_5_0 = null; AntlrDatatypeRuleToken lv_IsPrimary_7_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; enterRule(); try { // InternalSacmDsl.g:26041:28: ( (otherlv_0= 'IsExpressedInLanguage' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'language' ( (lv_language_5_0= ruleString0 ) ) otherlv_6= 'IsPrimary' ( (lv_IsPrimary_7_0= ruleBoolean ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) ) // InternalSacmDsl.g:26042:1: (otherlv_0= 'IsExpressedInLanguage' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'language' ( (lv_language_5_0= ruleString0 ) ) otherlv_6= 'IsPrimary' ( (lv_IsPrimary_7_0= ruleBoolean ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) { // InternalSacmDsl.g:26042:1: (otherlv_0= 'IsExpressedInLanguage' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'language' ( (lv_language_5_0= ruleString0 ) ) otherlv_6= 'IsPrimary' ( (lv_IsPrimary_7_0= ruleBoolean ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' ) // InternalSacmDsl.g:26042:3: otherlv_0= 'IsExpressedInLanguage' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'language' ( (lv_language_5_0= ruleString0 ) ) otherlv_6= 'IsPrimary' ( (lv_IsPrimary_7_0= ruleBoolean ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? otherlv_44= '}' { otherlv_0=(Token)match(input,138,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsExpressedInLanguageAccess().getIsExpressedInLanguageKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsExpressedInLanguageAccess().getIdKeyword_2()); // InternalSacmDsl.g:26054:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:26055:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:26055:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:26056:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_119); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,139,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsExpressedInLanguageAccess().getLanguageKeyword_4()); // InternalSacmDsl.g:26076:1: ( (lv_language_5_0= ruleString0 ) ) // InternalSacmDsl.g:26077:1: (lv_language_5_0= ruleString0 ) { // InternalSacmDsl.g:26077:1: (lv_language_5_0= ruleString0 ) // InternalSacmDsl.g:26078:3: lv_language_5_0= ruleString0 { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getLanguageString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_120); lv_language_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } set( current, "language", lv_language_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,140,FollowSets000.FOLLOW_50); newLeafNode(otherlv_6, grammarAccess.getIsExpressedInLanguageAccess().getIsPrimaryKeyword_6()); // InternalSacmDsl.g:26098:1: ( (lv_IsPrimary_7_0= ruleBoolean ) ) // InternalSacmDsl.g:26099:1: (lv_IsPrimary_7_0= ruleBoolean ) { // InternalSacmDsl.g:26099:1: (lv_IsPrimary_7_0= ruleBoolean ) // InternalSacmDsl.g:26100:3: lv_IsPrimary_7_0= ruleBoolean { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getIsPrimaryBooleanParserRuleCall_7_0()); pushFollow(FollowSets000.FOLLOW_79); lv_IsPrimary_7_0=ruleBoolean(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } set( current, "IsPrimary", lv_IsPrimary_7_0, "net.certware.sacm.dsl.SacmDsl.Boolean"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26116:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt728=2; int LA728_0 = input.LA(1); if ( (LA728_0==16) ) { alt728=1; } switch (alt728) { case 1 : // InternalSacmDsl.g:26116:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getIsExpressedInLanguageAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:26124:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26125:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:26125:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:26126:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26142:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop727: do { int alt727=2; int LA727_0 = input.LA(1); if ( (LA727_0==17) ) { alt727=1; } switch (alt727) { case 1 : // InternalSacmDsl.g:26142:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:26146:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26147:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:26147:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:26148:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop727; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_13, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:26168:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt730=2; int LA730_0 = input.LA(1); if ( (LA730_0==19) ) { alt730=1; } switch (alt730) { case 1 : // InternalSacmDsl.g:26168:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getIsExpressedInLanguageAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:26176:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:26177:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:26177:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:26178:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26194:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop729: do { int alt729=2; int LA729_0 = input.LA(1); if ( (LA729_0==17) ) { alt729=1; } switch (alt729) { case 1 : // InternalSacmDsl.g:26194:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:26198:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:26199:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:26199:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:26200:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop729; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_19, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:26220:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt732=2; int LA732_0 = input.LA(1); if ( (LA732_0==61) ) { alt732=1; } switch (alt732) { case 1 : // InternalSacmDsl.g:26220:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getIsExpressedInLanguageAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:26228:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:26229:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:26229:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:26230:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26246:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop731: do { int alt731=2; int LA731_0 = input.LA(1); if ( (LA731_0==17) ) { alt731=1; } switch (alt731) { case 1 : // InternalSacmDsl.g:26246:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:26250:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:26251:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:26251:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:26252:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop731; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_25, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:26272:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt734=2; int LA734_0 = input.LA(1); if ( (LA734_0==62) ) { alt734=1; } switch (alt734) { case 1 : // InternalSacmDsl.g:26272:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getIsExpressedInLanguageAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:26280:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:26281:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:26281:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:26282:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26298:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop733: do { int alt733=2; int LA733_0 = input.LA(1); if ( (LA733_0==17) ) { alt733=1; } switch (alt733) { case 1 : // InternalSacmDsl.g:26298:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:26302:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:26303:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:26303:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:26304:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop733; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_31, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:26324:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt736=2; int LA736_0 = input.LA(1); if ( (LA736_0==63) ) { alt736=1; } switch (alt736) { case 1 : // InternalSacmDsl.g:26324:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getIsExpressedInLanguageAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:26332:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:26333:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:26333:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:26334:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26350:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop735: do { int alt735=2; int LA735_0 = input.LA(1); if ( (LA735_0==17) ) { alt735=1; } switch (alt735) { case 1 : // InternalSacmDsl.g:26350:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:26354:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:26355:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:26355:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:26356:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop735; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_37, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:26376:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt738=2; int LA738_0 = input.LA(1); if ( (LA738_0==64) ) { alt738=1; } switch (alt738) { case 1 : // InternalSacmDsl.g:26376:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getIsExpressedInLanguageAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsExpressedInLanguageAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:26384:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:26385:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:26385:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:26386:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26402:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop737: do { int alt737=2; int LA737_0 = input.LA(1); if ( (LA737_0==17) ) { alt737=1; } switch (alt737) { case 1 : // InternalSacmDsl.g:26402:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getIsExpressedInLanguageAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:26406:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:26407:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:26407:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:26408:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsExpressedInLanguageAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsExpressedInLanguageRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop737; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_43, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_13_4()); } break; } otherlv_44=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_44, grammarAccess.getIsExpressedInLanguageAccess().getRightCurlyBracketKeyword_14()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsExpressedInLanguage" // $ANTLR start "entryRuleHasSecurityClassification" // InternalSacmDsl.g:26440:1: entryRuleHasSecurityClassification returns [EObject current=null] : iv_ruleHasSecurityClassification= ruleHasSecurityClassification EOF ; public final EObject entryRuleHasSecurityClassification() throws RecognitionException { EObject current = null; EObject iv_ruleHasSecurityClassification = null; try { // InternalSacmDsl.g:26441:2: (iv_ruleHasSecurityClassification= ruleHasSecurityClassification EOF ) // InternalSacmDsl.g:26442:2: iv_ruleHasSecurityClassification= ruleHasSecurityClassification EOF { newCompositeNode(grammarAccess.getHasSecurityClassificationRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleHasSecurityClassification=ruleHasSecurityClassification(); state._fsp--; current =iv_ruleHasSecurityClassification; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleHasSecurityClassification" // $ANTLR start "ruleHasSecurityClassification" // InternalSacmDsl.g:26449:1: ruleHasSecurityClassification returns [EObject current=null] : (otherlv_0= 'HasSecurityClassification' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'securityClassification' ( (lv_securityClassification_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleHasSecurityClassification() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_securityClassification_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:26452:28: ( (otherlv_0= 'HasSecurityClassification' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'securityClassification' ( (lv_securityClassification_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:26453:1: (otherlv_0= 'HasSecurityClassification' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'securityClassification' ( (lv_securityClassification_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:26453:1: (otherlv_0= 'HasSecurityClassification' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'securityClassification' ( (lv_securityClassification_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:26453:3: otherlv_0= 'HasSecurityClassification' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'securityClassification' ( (lv_securityClassification_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,141,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getHasSecurityClassificationAccess().getHasSecurityClassificationKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getHasSecurityClassificationAccess().getIdKeyword_2()); // InternalSacmDsl.g:26465:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:26466:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:26466:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:26467:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_121); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,142,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getHasSecurityClassificationAccess().getSecurityClassificationKeyword_4()); // InternalSacmDsl.g:26487:1: ( (lv_securityClassification_5_0= ruleString0 ) ) // InternalSacmDsl.g:26488:1: (lv_securityClassification_5_0= ruleString0 ) { // InternalSacmDsl.g:26488:1: (lv_securityClassification_5_0= ruleString0 ) // InternalSacmDsl.g:26489:3: lv_securityClassification_5_0= ruleString0 { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getSecurityClassificationString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_securityClassification_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } set( current, "securityClassification", lv_securityClassification_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26505:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt740=2; int LA740_0 = input.LA(1); if ( (LA740_0==16) ) { alt740=1; } switch (alt740) { case 1 : // InternalSacmDsl.g:26505:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getHasSecurityClassificationAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:26513:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26514:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:26514:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:26515:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26531:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop739: do { int alt739=2; int LA739_0 = input.LA(1); if ( (LA739_0==17) ) { alt739=1; } switch (alt739) { case 1 : // InternalSacmDsl.g:26531:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:26535:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26536:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:26536:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:26537:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop739; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:26557:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt742=2; int LA742_0 = input.LA(1); if ( (LA742_0==19) ) { alt742=1; } switch (alt742) { case 1 : // InternalSacmDsl.g:26557:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getHasSecurityClassificationAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:26565:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:26566:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:26566:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:26567:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26583:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop741: do { int alt741=2; int LA741_0 = input.LA(1); if ( (LA741_0==17) ) { alt741=1; } switch (alt741) { case 1 : // InternalSacmDsl.g:26583:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:26587:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:26588:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:26588:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:26589:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop741; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:26609:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt744=2; int LA744_0 = input.LA(1); if ( (LA744_0==61) ) { alt744=1; } switch (alt744) { case 1 : // InternalSacmDsl.g:26609:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getHasSecurityClassificationAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:26617:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:26618:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:26618:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:26619:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26635:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop743: do { int alt743=2; int LA743_0 = input.LA(1); if ( (LA743_0==17) ) { alt743=1; } switch (alt743) { case 1 : // InternalSacmDsl.g:26635:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:26639:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:26640:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:26640:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:26641:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop743; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:26661:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt746=2; int LA746_0 = input.LA(1); if ( (LA746_0==62) ) { alt746=1; } switch (alt746) { case 1 : // InternalSacmDsl.g:26661:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getHasSecurityClassificationAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:26669:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:26670:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:26670:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:26671:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26687:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop745: do { int alt745=2; int LA745_0 = input.LA(1); if ( (LA745_0==17) ) { alt745=1; } switch (alt745) { case 1 : // InternalSacmDsl.g:26687:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:26691:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:26692:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:26692:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:26693:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop745; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:26713:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt748=2; int LA748_0 = input.LA(1); if ( (LA748_0==63) ) { alt748=1; } switch (alt748) { case 1 : // InternalSacmDsl.g:26713:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getHasSecurityClassificationAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:26721:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:26722:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:26722:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:26723:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26739:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop747: do { int alt747=2; int LA747_0 = input.LA(1); if ( (LA747_0==17) ) { alt747=1; } switch (alt747) { case 1 : // InternalSacmDsl.g:26739:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:26743:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:26744:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:26744:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:26745:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop747; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:26765:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt750=2; int LA750_0 = input.LA(1); if ( (LA750_0==64) ) { alt750=1; } switch (alt750) { case 1 : // InternalSacmDsl.g:26765:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getHasSecurityClassificationAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getHasSecurityClassificationAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:26773:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:26774:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:26774:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:26775:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26791:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop749: do { int alt749=2; int LA749_0 = input.LA(1); if ( (LA749_0==17) ) { alt749=1; } switch (alt749) { case 1 : // InternalSacmDsl.g:26791:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getHasSecurityClassificationAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:26795:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:26796:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:26796:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:26797:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasSecurityClassificationAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasSecurityClassificationRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop749; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getHasSecurityClassificationAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleHasSecurityClassification" // $ANTLR start "entryRuleIsReleaseableTo" // InternalSacmDsl.g:26829:1: entryRuleIsReleaseableTo returns [EObject current=null] : iv_ruleIsReleaseableTo= ruleIsReleaseableTo EOF ; public final EObject entryRuleIsReleaseableTo() throws RecognitionException { EObject current = null; EObject iv_ruleIsReleaseableTo = null; try { // InternalSacmDsl.g:26830:2: (iv_ruleIsReleaseableTo= ruleIsReleaseableTo EOF ) // InternalSacmDsl.g:26831:2: iv_ruleIsReleaseableTo= ruleIsReleaseableTo EOF { newCompositeNode(grammarAccess.getIsReleaseableToRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsReleaseableTo=ruleIsReleaseableTo(); state._fsp--; current =iv_ruleIsReleaseableTo; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsReleaseableTo" // $ANTLR start "ruleIsReleaseableTo" // InternalSacmDsl.g:26838:1: ruleIsReleaseableTo returns [EObject current=null] : (otherlv_0= 'IsReleaseableTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'releasability' ( (lv_releasability_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleIsReleaseableTo() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_releasability_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:26841:28: ( (otherlv_0= 'IsReleaseableTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'releasability' ( (lv_releasability_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:26842:1: (otherlv_0= 'IsReleaseableTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'releasability' ( (lv_releasability_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:26842:1: (otherlv_0= 'IsReleaseableTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'releasability' ( (lv_releasability_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:26842:3: otherlv_0= 'IsReleaseableTo' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'releasability' ( (lv_releasability_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,143,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsReleaseableToAccess().getIsReleaseableToKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsReleaseableToAccess().getIdKeyword_2()); // InternalSacmDsl.g:26854:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:26855:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:26855:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:26856:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_122); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,144,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsReleaseableToAccess().getReleasabilityKeyword_4()); // InternalSacmDsl.g:26876:1: ( (lv_releasability_5_0= ruleString0 ) ) // InternalSacmDsl.g:26877:1: (lv_releasability_5_0= ruleString0 ) { // InternalSacmDsl.g:26877:1: (lv_releasability_5_0= ruleString0 ) // InternalSacmDsl.g:26878:3: lv_releasability_5_0= ruleString0 { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getReleasabilityString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_releasability_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } set( current, "releasability", lv_releasability_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26894:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt752=2; int LA752_0 = input.LA(1); if ( (LA752_0==16) ) { alt752=1; } switch (alt752) { case 1 : // InternalSacmDsl.g:26894:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getIsReleaseableToAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:26902:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26903:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:26903:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:26904:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26920:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop751: do { int alt751=2; int LA751_0 = input.LA(1); if ( (LA751_0==17) ) { alt751=1; } switch (alt751) { case 1 : // InternalSacmDsl.g:26920:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:26924:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:26925:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:26925:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:26926:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop751; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:26946:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt754=2; int LA754_0 = input.LA(1); if ( (LA754_0==19) ) { alt754=1; } switch (alt754) { case 1 : // InternalSacmDsl.g:26946:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getIsReleaseableToAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:26954:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:26955:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:26955:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:26956:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:26972:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop753: do { int alt753=2; int LA753_0 = input.LA(1); if ( (LA753_0==17) ) { alt753=1; } switch (alt753) { case 1 : // InternalSacmDsl.g:26972:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:26976:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:26977:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:26977:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:26978:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop753; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:26998:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt756=2; int LA756_0 = input.LA(1); if ( (LA756_0==61) ) { alt756=1; } switch (alt756) { case 1 : // InternalSacmDsl.g:26998:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getIsReleaseableToAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:27006:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27007:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:27007:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:27008:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27024:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop755: do { int alt755=2; int LA755_0 = input.LA(1); if ( (LA755_0==17) ) { alt755=1; } switch (alt755) { case 1 : // InternalSacmDsl.g:27024:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:27028:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27029:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:27029:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:27030:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop755; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:27050:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt758=2; int LA758_0 = input.LA(1); if ( (LA758_0==62) ) { alt758=1; } switch (alt758) { case 1 : // InternalSacmDsl.g:27050:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getIsReleaseableToAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:27058:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27059:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27059:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:27060:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27076:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop757: do { int alt757=2; int LA757_0 = input.LA(1); if ( (LA757_0==17) ) { alt757=1; } switch (alt757) { case 1 : // InternalSacmDsl.g:27076:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:27080:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27081:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27081:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:27082:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop757; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:27102:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt760=2; int LA760_0 = input.LA(1); if ( (LA760_0==63) ) { alt760=1; } switch (alt760) { case 1 : // InternalSacmDsl.g:27102:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getIsReleaseableToAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:27110:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:27111:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:27111:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:27112:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27128:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop759: do { int alt759=2; int LA759_0 = input.LA(1); if ( (LA759_0==17) ) { alt759=1; } switch (alt759) { case 1 : // InternalSacmDsl.g:27128:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:27132:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:27133:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:27133:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:27134:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop759; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:27154:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt762=2; int LA762_0 = input.LA(1); if ( (LA762_0==64) ) { alt762=1; } switch (alt762) { case 1 : // InternalSacmDsl.g:27154:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getIsReleaseableToAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getIsReleaseableToAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:27162:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27163:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27163:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27164:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27180:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop761: do { int alt761=2; int LA761_0 = input.LA(1); if ( (LA761_0==17) ) { alt761=1; } switch (alt761) { case 1 : // InternalSacmDsl.g:27180:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsReleaseableToAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:27184:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27185:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27185:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27186:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsReleaseableToAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsReleaseableToRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop761; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getIsReleaseableToAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsReleaseableTo" // $ANTLR start "entryRuleHasVersion" // InternalSacmDsl.g:27218:1: entryRuleHasVersion returns [EObject current=null] : iv_ruleHasVersion= ruleHasVersion EOF ; public final EObject entryRuleHasVersion() throws RecognitionException { EObject current = null; EObject iv_ruleHasVersion = null; try { // InternalSacmDsl.g:27219:2: (iv_ruleHasVersion= ruleHasVersion EOF ) // InternalSacmDsl.g:27220:2: iv_ruleHasVersion= ruleHasVersion EOF { newCompositeNode(grammarAccess.getHasVersionRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleHasVersion=ruleHasVersion(); state._fsp--; current =iv_ruleHasVersion; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleHasVersion" // $ANTLR start "ruleHasVersion" // InternalSacmDsl.g:27227:1: ruleHasVersion returns [EObject current=null] : (otherlv_0= 'HasVersion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'version' ( (lv_version_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleHasVersion() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_version_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:27230:28: ( (otherlv_0= 'HasVersion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'version' ( (lv_version_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:27231:1: (otherlv_0= 'HasVersion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'version' ( (lv_version_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:27231:1: (otherlv_0= 'HasVersion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'version' ( (lv_version_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:27231:3: otherlv_0= 'HasVersion' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'version' ( (lv_version_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,145,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getHasVersionAccess().getHasVersionKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getHasVersionAccess().getIdKeyword_2()); // InternalSacmDsl.g:27243:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:27244:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:27244:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:27245:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getHasVersionAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_27); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,32,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getHasVersionAccess().getVersionKeyword_4()); // InternalSacmDsl.g:27265:1: ( (lv_version_5_0= ruleString0 ) ) // InternalSacmDsl.g:27266:1: (lv_version_5_0= ruleString0 ) { // InternalSacmDsl.g:27266:1: (lv_version_5_0= ruleString0 ) // InternalSacmDsl.g:27267:3: lv_version_5_0= ruleString0 { newCompositeNode(grammarAccess.getHasVersionAccess().getVersionString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_version_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } set( current, "version", lv_version_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27283:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt764=2; int LA764_0 = input.LA(1); if ( (LA764_0==16) ) { alt764=1; } switch (alt764) { case 1 : // InternalSacmDsl.g:27283:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getHasVersionAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:27291:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:27292:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:27292:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:27293:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasVersionAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27309:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop763: do { int alt763=2; int LA763_0 = input.LA(1); if ( (LA763_0==17) ) { alt763=1; } switch (alt763) { case 1 : // InternalSacmDsl.g:27309:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getHasVersionAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:27313:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:27314:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:27314:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:27315:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasVersionAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop763; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:27335:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt766=2; int LA766_0 = input.LA(1); if ( (LA766_0==19) ) { alt766=1; } switch (alt766) { case 1 : // InternalSacmDsl.g:27335:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getHasVersionAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:27343:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:27344:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:27344:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:27345:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasVersionAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27361:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop765: do { int alt765=2; int LA765_0 = input.LA(1); if ( (LA765_0==17) ) { alt765=1; } switch (alt765) { case 1 : // InternalSacmDsl.g:27361:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getHasVersionAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:27365:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:27366:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:27366:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:27367:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasVersionAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop765; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:27387:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt768=2; int LA768_0 = input.LA(1); if ( (LA768_0==61) ) { alt768=1; } switch (alt768) { case 1 : // InternalSacmDsl.g:27387:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getHasVersionAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:27395:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27396:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:27396:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:27397:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasVersionAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27413:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop767: do { int alt767=2; int LA767_0 = input.LA(1); if ( (LA767_0==17) ) { alt767=1; } switch (alt767) { case 1 : // InternalSacmDsl.g:27413:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getHasVersionAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:27417:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27418:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:27418:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:27419:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasVersionAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop767; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:27439:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt770=2; int LA770_0 = input.LA(1); if ( (LA770_0==62) ) { alt770=1; } switch (alt770) { case 1 : // InternalSacmDsl.g:27439:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getHasVersionAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:27447:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27448:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27448:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:27449:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasVersionAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27465:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop769: do { int alt769=2; int LA769_0 = input.LA(1); if ( (LA769_0==17) ) { alt769=1; } switch (alt769) { case 1 : // InternalSacmDsl.g:27465:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getHasVersionAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:27469:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27470:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27470:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:27471:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasVersionAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop769; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:27491:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt772=2; int LA772_0 = input.LA(1); if ( (LA772_0==63) ) { alt772=1; } switch (alt772) { case 1 : // InternalSacmDsl.g:27491:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getHasVersionAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:27499:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:27500:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:27500:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:27501:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getHasVersionAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27517:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop771: do { int alt771=2; int LA771_0 = input.LA(1); if ( (LA771_0==17) ) { alt771=1; } switch (alt771) { case 1 : // InternalSacmDsl.g:27517:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getHasVersionAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:27521:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:27522:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:27522:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:27523:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getHasVersionAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop771; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:27543:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt774=2; int LA774_0 = input.LA(1); if ( (LA774_0==64) ) { alt774=1; } switch (alt774) { case 1 : // InternalSacmDsl.g:27543:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getHasVersionAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getHasVersionAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:27551:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27552:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27552:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27553:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasVersionAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27569:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop773: do { int alt773=2; int LA773_0 = input.LA(1); if ( (LA773_0==17) ) { alt773=1; } switch (alt773) { case 1 : // InternalSacmDsl.g:27569:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getHasVersionAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:27573:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27574:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27574:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27575:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasVersionAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasVersionRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop773; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getHasVersionAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleHasVersion" // $ANTLR start "entryRuleHasMedia" // InternalSacmDsl.g:27607:1: entryRuleHasMedia returns [EObject current=null] : iv_ruleHasMedia= ruleHasMedia EOF ; public final EObject entryRuleHasMedia() throws RecognitionException { EObject current = null; EObject iv_ruleHasMedia = null; try { // InternalSacmDsl.g:27608:2: (iv_ruleHasMedia= ruleHasMedia EOF ) // InternalSacmDsl.g:27609:2: iv_ruleHasMedia= ruleHasMedia EOF { newCompositeNode(grammarAccess.getHasMediaRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleHasMedia=ruleHasMedia(); state._fsp--; current =iv_ruleHasMedia; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleHasMedia" // $ANTLR start "ruleHasMedia" // InternalSacmDsl.g:27616:1: ruleHasMedia returns [EObject current=null] : (otherlv_0= 'HasMedia' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'media' ( (lv_media_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleHasMedia() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_media_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:27619:28: ( (otherlv_0= 'HasMedia' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'media' ( (lv_media_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:27620:1: (otherlv_0= 'HasMedia' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'media' ( (lv_media_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:27620:1: (otherlv_0= 'HasMedia' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'media' ( (lv_media_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:27620:3: otherlv_0= 'HasMedia' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'media' ( (lv_media_5_0= ruleString0 ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,146,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getHasMediaAccess().getHasMediaKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getHasMediaAccess().getIdKeyword_2()); // InternalSacmDsl.g:27632:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:27633:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:27633:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:27634:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getHasMediaAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_123); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,147,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getHasMediaAccess().getMediaKeyword_4()); // InternalSacmDsl.g:27654:1: ( (lv_media_5_0= ruleString0 ) ) // InternalSacmDsl.g:27655:1: (lv_media_5_0= ruleString0 ) { // InternalSacmDsl.g:27655:1: (lv_media_5_0= ruleString0 ) // InternalSacmDsl.g:27656:3: lv_media_5_0= ruleString0 { newCompositeNode(grammarAccess.getHasMediaAccess().getMediaString0ParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_media_5_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } set( current, "media", lv_media_5_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27672:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt776=2; int LA776_0 = input.LA(1); if ( (LA776_0==16) ) { alt776=1; } switch (alt776) { case 1 : // InternalSacmDsl.g:27672:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getHasMediaAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:27680:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:27681:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:27681:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:27682:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasMediaAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27698:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop775: do { int alt775=2; int LA775_0 = input.LA(1); if ( (LA775_0==17) ) { alt775=1; } switch (alt775) { case 1 : // InternalSacmDsl.g:27698:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getHasMediaAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:27702:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:27703:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:27703:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:27704:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getHasMediaAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop775; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:27724:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt778=2; int LA778_0 = input.LA(1); if ( (LA778_0==19) ) { alt778=1; } switch (alt778) { case 1 : // InternalSacmDsl.g:27724:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getHasMediaAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:27732:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:27733:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:27733:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:27734:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasMediaAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27750:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop777: do { int alt777=2; int LA777_0 = input.LA(1); if ( (LA777_0==17) ) { alt777=1; } switch (alt777) { case 1 : // InternalSacmDsl.g:27750:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getHasMediaAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:27754:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:27755:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:27755:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:27756:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getHasMediaAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop777; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:27776:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt780=2; int LA780_0 = input.LA(1); if ( (LA780_0==61) ) { alt780=1; } switch (alt780) { case 1 : // InternalSacmDsl.g:27776:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getHasMediaAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:27784:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27785:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:27785:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:27786:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasMediaAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27802:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop779: do { int alt779=2; int LA779_0 = input.LA(1); if ( (LA779_0==17) ) { alt779=1; } switch (alt779) { case 1 : // InternalSacmDsl.g:27802:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getHasMediaAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:27806:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:27807:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:27807:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:27808:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getHasMediaAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop779; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:27828:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt782=2; int LA782_0 = input.LA(1); if ( (LA782_0==62) ) { alt782=1; } switch (alt782) { case 1 : // InternalSacmDsl.g:27828:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getHasMediaAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:27836:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27837:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27837:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:27838:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasMediaAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27854:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop781: do { int alt781=2; int LA781_0 = input.LA(1); if ( (LA781_0==17) ) { alt781=1; } switch (alt781) { case 1 : // InternalSacmDsl.g:27854:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getHasMediaAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:27858:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:27859:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:27859:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:27860:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getHasMediaAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop781; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:27880:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt784=2; int LA784_0 = input.LA(1); if ( (LA784_0==63) ) { alt784=1; } switch (alt784) { case 1 : // InternalSacmDsl.g:27880:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getHasMediaAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:27888:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:27889:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:27889:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:27890:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getHasMediaAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27906:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop783: do { int alt783=2; int LA783_0 = input.LA(1); if ( (LA783_0==17) ) { alt783=1; } switch (alt783) { case 1 : // InternalSacmDsl.g:27906:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getHasMediaAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:27910:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:27911:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:27911:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:27912:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getHasMediaAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop783; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:27932:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt786=2; int LA786_0 = input.LA(1); if ( (LA786_0==64) ) { alt786=1; } switch (alt786) { case 1 : // InternalSacmDsl.g:27932:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getHasMediaAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getHasMediaAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:27940:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27941:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27941:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27942:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasMediaAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:27958:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop785: do { int alt785=2; int LA785_0 = input.LA(1); if ( (LA785_0==17) ) { alt785=1; } switch (alt785) { case 1 : // InternalSacmDsl.g:27958:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getHasMediaAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:27962:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:27963:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:27963:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:27964:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getHasMediaAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getHasMediaRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop785; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getHasMediaAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleHasMedia" // $ANTLR start "entryRuleExtendedDocumentProperty" // InternalSacmDsl.g:27996:1: entryRuleExtendedDocumentProperty returns [EObject current=null] : iv_ruleExtendedDocumentProperty= ruleExtendedDocumentProperty EOF ; public final EObject entryRuleExtendedDocumentProperty() throws RecognitionException { EObject current = null; EObject iv_ruleExtendedDocumentProperty = null; try { // InternalSacmDsl.g:27997:2: (iv_ruleExtendedDocumentProperty= ruleExtendedDocumentProperty EOF ) // InternalSacmDsl.g:27998:2: iv_ruleExtendedDocumentProperty= ruleExtendedDocumentProperty EOF { newCompositeNode(grammarAccess.getExtendedDocumentPropertyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleExtendedDocumentProperty=ruleExtendedDocumentProperty(); state._fsp--; current =iv_ruleExtendedDocumentProperty; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExtendedDocumentProperty" // $ANTLR start "ruleExtendedDocumentProperty" // InternalSacmDsl.g:28005:1: ruleExtendedDocumentProperty returns [EObject current=null] : (otherlv_0= 'ExtendedDocumentProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleExtendedDocumentProperty() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:28008:28: ( (otherlv_0= 'ExtendedDocumentProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:28009:1: (otherlv_0= 'ExtendedDocumentProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:28009:1: (otherlv_0= 'ExtendedDocumentProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:28009:3: otherlv_0= 'ExtendedDocumentProperty' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,148,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getExtendedDocumentPropertyAccess().getExtendedDocumentPropertyKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getExtendedDocumentPropertyAccess().getIdKeyword_2()); // InternalSacmDsl.g:28021:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:28022:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:28022:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:28023:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28039:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt788=2; int LA788_0 = input.LA(1); if ( (LA788_0==16) ) { alt788=1; } switch (alt788) { case 1 : // InternalSacmDsl.g:28039:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getExtendedDocumentPropertyAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:28047:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:28048:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:28048:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:28049:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28065:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop787: do { int alt787=2; int LA787_0 = input.LA(1); if ( (LA787_0==17) ) { alt787=1; } switch (alt787) { case 1 : // InternalSacmDsl.g:28065:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:28069:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:28070:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:28070:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:28071:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop787; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:28091:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt790=2; int LA790_0 = input.LA(1); if ( (LA790_0==19) ) { alt790=1; } switch (alt790) { case 1 : // InternalSacmDsl.g:28091:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getExtendedDocumentPropertyAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:28099:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:28100:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:28100:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:28101:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28117:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop789: do { int alt789=2; int LA789_0 = input.LA(1); if ( (LA789_0==17) ) { alt789=1; } switch (alt789) { case 1 : // InternalSacmDsl.g:28117:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:28121:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:28122:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:28122:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:28123:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop789; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:28143:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt792=2; int LA792_0 = input.LA(1); if ( (LA792_0==61) ) { alt792=1; } switch (alt792) { case 1 : // InternalSacmDsl.g:28143:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getExtendedDocumentPropertyAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:28151:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:28152:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:28152:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:28153:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28169:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop791: do { int alt791=2; int LA791_0 = input.LA(1); if ( (LA791_0==17) ) { alt791=1; } switch (alt791) { case 1 : // InternalSacmDsl.g:28169:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:28173:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:28174:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:28174:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:28175:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop791; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:28195:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt794=2; int LA794_0 = input.LA(1); if ( (LA794_0==62) ) { alt794=1; } switch (alt794) { case 1 : // InternalSacmDsl.g:28195:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getExtendedDocumentPropertyAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:28203:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:28204:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:28204:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:28205:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28221:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop793: do { int alt793=2; int LA793_0 = input.LA(1); if ( (LA793_0==17) ) { alt793=1; } switch (alt793) { case 1 : // InternalSacmDsl.g:28221:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:28225:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:28226:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:28226:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:28227:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop793; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:28247:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt796=2; int LA796_0 = input.LA(1); if ( (LA796_0==63) ) { alt796=1; } switch (alt796) { case 1 : // InternalSacmDsl.g:28247:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getExtendedDocumentPropertyAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:28255:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:28256:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:28256:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:28257:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28273:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop795: do { int alt795=2; int LA795_0 = input.LA(1); if ( (LA795_0==17) ) { alt795=1; } switch (alt795) { case 1 : // InternalSacmDsl.g:28273:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:28277:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:28278:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:28278:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:28279:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop795; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:28299:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt798=2; int LA798_0 = input.LA(1); if ( (LA798_0==64) ) { alt798=1; } switch (alt798) { case 1 : // InternalSacmDsl.g:28299:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getExtendedDocumentPropertyAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getExtendedDocumentPropertyAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:28307:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:28308:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:28308:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:28309:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28325:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop797: do { int alt797=2; int LA797_0 = input.LA(1); if ( (LA797_0==17) ) { alt797=1; } switch (alt797) { case 1 : // InternalSacmDsl.g:28325:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getExtendedDocumentPropertyAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:28329:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:28330:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:28330:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:28331:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedDocumentPropertyAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedDocumentPropertyRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop797; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getExtendedDocumentPropertyAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExtendedDocumentProperty" // $ANTLR start "entryRuleOriginalityLevel" // InternalSacmDsl.g:28363:1: entryRuleOriginalityLevel returns [String current=null] : iv_ruleOriginalityLevel= ruleOriginalityLevel EOF ; public final String entryRuleOriginalityLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleOriginalityLevel = null; try { // InternalSacmDsl.g:28364:2: (iv_ruleOriginalityLevel= ruleOriginalityLevel EOF ) // InternalSacmDsl.g:28365:2: iv_ruleOriginalityLevel= ruleOriginalityLevel EOF { newCompositeNode(grammarAccess.getOriginalityLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleOriginalityLevel=ruleOriginalityLevel(); state._fsp--; current =iv_ruleOriginalityLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOriginalityLevel" // $ANTLR start "ruleOriginalityLevel" // InternalSacmDsl.g:28372:1: ruleOriginalityLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'OriginalityLevel' ; public final AntlrDatatypeRuleToken ruleOriginalityLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:28375:28: (kw= 'OriginalityLevel' ) // InternalSacmDsl.g:28377:2: kw= 'OriginalityLevel' { kw=(Token)match(input,149,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getOriginalityLevelAccess().getOriginalityLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOriginalityLevel" // $ANTLR start "entryRuleReliabilityLevel" // InternalSacmDsl.g:28390:1: entryRuleReliabilityLevel returns [String current=null] : iv_ruleReliabilityLevel= ruleReliabilityLevel EOF ; public final String entryRuleReliabilityLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleReliabilityLevel = null; try { // InternalSacmDsl.g:28391:2: (iv_ruleReliabilityLevel= ruleReliabilityLevel EOF ) // InternalSacmDsl.g:28392:2: iv_ruleReliabilityLevel= ruleReliabilityLevel EOF { newCompositeNode(grammarAccess.getReliabilityLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleReliabilityLevel=ruleReliabilityLevel(); state._fsp--; current =iv_ruleReliabilityLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReliabilityLevel" // $ANTLR start "ruleReliabilityLevel" // InternalSacmDsl.g:28399:1: ruleReliabilityLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'ReliabilityLevel' ; public final AntlrDatatypeRuleToken ruleReliabilityLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:28402:28: (kw= 'ReliabilityLevel' ) // InternalSacmDsl.g:28404:2: kw= 'ReliabilityLevel' { kw=(Token)match(input,150,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getReliabilityLevelAccess().getReliabilityLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReliabilityLevel" // $ANTLR start "entryRuleInteger" // InternalSacmDsl.g:28417:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleInteger = null; try { // InternalSacmDsl.g:28418:2: (iv_ruleInteger= ruleInteger EOF ) // InternalSacmDsl.g:28419:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleInteger" // $ANTLR start "ruleInteger" // InternalSacmDsl.g:28426:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_INT_0= RULE_INT ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_INT_0=null; enterRule(); try { // InternalSacmDsl.g:28429:28: (this_INT_0= RULE_INT ) // InternalSacmDsl.g:28430:5: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_2); current.merge(this_INT_0); newLeafNode(this_INT_0, grammarAccess.getIntegerAccess().getINTTerminalRuleCall()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleInteger" // $ANTLR start "entryRuleBoolean" // InternalSacmDsl.g:28445:1: entryRuleBoolean returns [String current=null] : iv_ruleBoolean= ruleBoolean EOF ; public final String entryRuleBoolean() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleBoolean = null; try { // InternalSacmDsl.g:28446:2: (iv_ruleBoolean= ruleBoolean EOF ) // InternalSacmDsl.g:28447:2: iv_ruleBoolean= ruleBoolean EOF { newCompositeNode(grammarAccess.getBooleanRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleBoolean=ruleBoolean(); state._fsp--; current =iv_ruleBoolean.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleBoolean" // $ANTLR start "ruleBoolean" // InternalSacmDsl.g:28454:1: ruleBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'true' | kw= 'false' ) ; public final AntlrDatatypeRuleToken ruleBoolean() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:28457:28: ( (kw= 'true' | kw= 'false' ) ) // InternalSacmDsl.g:28458:1: (kw= 'true' | kw= 'false' ) { // InternalSacmDsl.g:28458:1: (kw= 'true' | kw= 'false' ) int alt799=2; int LA799_0 = input.LA(1); if ( (LA799_0==151) ) { alt799=1; } else if ( (LA799_0==152) ) { alt799=2; } else { NoViableAltException nvae = new NoViableAltException("", 799, 0, input); throw nvae; } switch (alt799) { case 1 : // InternalSacmDsl.g:28459:2: kw= 'true' { kw=(Token)match(input,151,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getBooleanAccess().getTrueKeyword_0()); } break; case 2 : // InternalSacmDsl.g:28466:2: kw= 'false' { kw=(Token)match(input,152,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getBooleanAccess().getFalseKeyword_1()); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleBoolean" // $ANTLR start "entryRuleRoleBinding" // InternalSacmDsl.g:28479:1: entryRuleRoleBinding returns [EObject current=null] : iv_ruleRoleBinding= ruleRoleBinding EOF ; public final EObject entryRuleRoleBinding() throws RecognitionException { EObject current = null; EObject iv_ruleRoleBinding = null; try { // InternalSacmDsl.g:28480:2: (iv_ruleRoleBinding= ruleRoleBinding EOF ) // InternalSacmDsl.g:28481:2: iv_ruleRoleBinding= ruleRoleBinding EOF { newCompositeNode(grammarAccess.getRoleBindingRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleRoleBinding=ruleRoleBinding(); state._fsp--; current =iv_ruleRoleBinding; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRoleBinding" // $ANTLR start "ruleRoleBinding" // InternalSacmDsl.g:28488:1: ruleRoleBinding returns [EObject current=null] : (otherlv_0= 'RoleBinding' otherlv_1= '{' otherlv_2= 'role' ( (lv_role_3_0= ruleString0 ) ) (otherlv_4= 'subject' ( ( ruleEString ) ) )? otherlv_6= '}' ) ; public final EObject ruleRoleBinding() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; AntlrDatatypeRuleToken lv_role_3_0 = null; enterRule(); try { // InternalSacmDsl.g:28491:28: ( (otherlv_0= 'RoleBinding' otherlv_1= '{' otherlv_2= 'role' ( (lv_role_3_0= ruleString0 ) ) (otherlv_4= 'subject' ( ( ruleEString ) ) )? otherlv_6= '}' ) ) // InternalSacmDsl.g:28492:1: (otherlv_0= 'RoleBinding' otherlv_1= '{' otherlv_2= 'role' ( (lv_role_3_0= ruleString0 ) ) (otherlv_4= 'subject' ( ( ruleEString ) ) )? otherlv_6= '}' ) { // InternalSacmDsl.g:28492:1: (otherlv_0= 'RoleBinding' otherlv_1= '{' otherlv_2= 'role' ( (lv_role_3_0= ruleString0 ) ) (otherlv_4= 'subject' ( ( ruleEString ) ) )? otherlv_6= '}' ) // InternalSacmDsl.g:28492:3: otherlv_0= 'RoleBinding' otherlv_1= '{' otherlv_2= 'role' ( (lv_role_3_0= ruleString0 ) ) (otherlv_4= 'subject' ( ( ruleEString ) ) )? otherlv_6= '}' { otherlv_0=(Token)match(input,153,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getRoleBindingAccess().getRoleBindingKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_98); newLeafNode(otherlv_1, grammarAccess.getRoleBindingAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,68,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getRoleBindingAccess().getRoleKeyword_2()); // InternalSacmDsl.g:28504:1: ( (lv_role_3_0= ruleString0 ) ) // InternalSacmDsl.g:28505:1: (lv_role_3_0= ruleString0 ) { // InternalSacmDsl.g:28505:1: (lv_role_3_0= ruleString0 ) // InternalSacmDsl.g:28506:3: lv_role_3_0= ruleString0 { newCompositeNode(grammarAccess.getRoleBindingAccess().getRoleString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_124); lv_role_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRoleBindingRule()); } set( current, "role", lv_role_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28522:2: (otherlv_4= 'subject' ( ( ruleEString ) ) )? int alt800=2; int LA800_0 = input.LA(1); if ( (LA800_0==154) ) { alt800=1; } switch (alt800) { case 1 : // InternalSacmDsl.g:28522:4: otherlv_4= 'subject' ( ( ruleEString ) ) { otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getRoleBindingAccess().getSubjectKeyword_4_0()); // InternalSacmDsl.g:28526:1: ( ( ruleEString ) ) // InternalSacmDsl.g:28527:1: ( ruleEString ) { // InternalSacmDsl.g:28527:1: ( ruleEString ) // InternalSacmDsl.g:28528:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getRoleBindingRule()); } newCompositeNode(grammarAccess.getRoleBindingAccess().getSubjectFormalObjectCrossReference_4_1_0()); pushFollow(FollowSets000.FOLLOW_17); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } } break; } otherlv_6=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getRoleBindingAccess().getRightCurlyBracketKeyword_5()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRoleBinding" // $ANTLR start "entryRuleConfidence" // InternalSacmDsl.g:28555:1: entryRuleConfidence returns [EObject current=null] : iv_ruleConfidence= ruleConfidence EOF ; public final EObject entryRuleConfidence() throws RecognitionException { EObject current = null; EObject iv_ruleConfidence = null; try { // InternalSacmDsl.g:28556:2: (iv_ruleConfidence= ruleConfidence EOF ) // InternalSacmDsl.g:28557:2: iv_ruleConfidence= ruleConfidence EOF { newCompositeNode(grammarAccess.getConfidenceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleConfidence=ruleConfidence(); state._fsp--; current =iv_ruleConfidence; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfidence" // $ANTLR start "ruleConfidence" // InternalSacmDsl.g:28564:1: ruleConfidence returns [EObject current=null] : (otherlv_0= 'Confidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConfidenceLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleConfidence() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:28567:28: ( (otherlv_0= 'Confidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConfidenceLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:28568:1: (otherlv_0= 'Confidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConfidenceLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:28568:1: (otherlv_0= 'Confidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConfidenceLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:28568:3: otherlv_0= 'Confidence' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleConfidenceLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,155,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getConfidenceAccess().getConfidenceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getConfidenceAccess().getIdKeyword_2()); // InternalSacmDsl.g:28580:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:28581:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:28581:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:28582:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getConfidenceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_125); newLeafNode(otherlv_4, grammarAccess.getConfidenceAccess().getValueKeyword_4()); // InternalSacmDsl.g:28602:1: ( (lv_value_5_0= ruleConfidenceLevel ) ) // InternalSacmDsl.g:28603:1: (lv_value_5_0= ruleConfidenceLevel ) { // InternalSacmDsl.g:28603:1: (lv_value_5_0= ruleConfidenceLevel ) // InternalSacmDsl.g:28604:3: lv_value_5_0= ruleConfidenceLevel { newCompositeNode(grammarAccess.getConfidenceAccess().getValueConfidenceLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleConfidenceLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.ConfidenceLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28620:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt802=2; int LA802_0 = input.LA(1); if ( (LA802_0==16) ) { alt802=1; } switch (alt802) { case 1 : // InternalSacmDsl.g:28620:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getConfidenceAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:28628:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:28629:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:28629:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:28630:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConfidenceAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28646:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop801: do { int alt801=2; int LA801_0 = input.LA(1); if ( (LA801_0==17) ) { alt801=1; } switch (alt801) { case 1 : // InternalSacmDsl.g:28646:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getConfidenceAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:28650:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:28651:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:28651:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:28652:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConfidenceAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop801; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:28672:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt804=2; int LA804_0 = input.LA(1); if ( (LA804_0==19) ) { alt804=1; } switch (alt804) { case 1 : // InternalSacmDsl.g:28672:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getConfidenceAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:28680:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:28681:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:28681:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:28682:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getConfidenceAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28698:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop803: do { int alt803=2; int LA803_0 = input.LA(1); if ( (LA803_0==17) ) { alt803=1; } switch (alt803) { case 1 : // InternalSacmDsl.g:28698:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getConfidenceAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:28702:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:28703:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:28703:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:28704:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getConfidenceAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop803; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:28724:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt806=2; int LA806_0 = input.LA(1); if ( (LA806_0==61) ) { alt806=1; } switch (alt806) { case 1 : // InternalSacmDsl.g:28724:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getConfidenceAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:28732:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:28733:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:28733:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:28734:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConfidenceAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28750:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop805: do { int alt805=2; int LA805_0 = input.LA(1); if ( (LA805_0==17) ) { alt805=1; } switch (alt805) { case 1 : // InternalSacmDsl.g:28750:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getConfidenceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:28754:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:28755:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:28755:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:28756:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConfidenceAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop805; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:28776:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt808=2; int LA808_0 = input.LA(1); if ( (LA808_0==62) ) { alt808=1; } switch (alt808) { case 1 : // InternalSacmDsl.g:28776:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getConfidenceAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:28784:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:28785:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:28785:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:28786:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConfidenceAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28802:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop807: do { int alt807=2; int LA807_0 = input.LA(1); if ( (LA807_0==17) ) { alt807=1; } switch (alt807) { case 1 : // InternalSacmDsl.g:28802:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getConfidenceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:28806:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:28807:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:28807:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:28808:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConfidenceAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop807; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:28828:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt810=2; int LA810_0 = input.LA(1); if ( (LA810_0==63) ) { alt810=1; } switch (alt810) { case 1 : // InternalSacmDsl.g:28828:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getConfidenceAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:28836:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:28837:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:28837:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:28838:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getConfidenceAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28854:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop809: do { int alt809=2; int LA809_0 = input.LA(1); if ( (LA809_0==17) ) { alt809=1; } switch (alt809) { case 1 : // InternalSacmDsl.g:28854:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getConfidenceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:28858:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:28859:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:28859:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:28860:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getConfidenceAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop809; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:28880:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt812=2; int LA812_0 = input.LA(1); if ( (LA812_0==64) ) { alt812=1; } switch (alt812) { case 1 : // InternalSacmDsl.g:28880:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getConfidenceAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getConfidenceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:28888:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:28889:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:28889:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:28890:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConfidenceAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:28906:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop811: do { int alt811=2; int LA811_0 = input.LA(1); if ( (LA811_0==17) ) { alt811=1; } switch (alt811) { case 1 : // InternalSacmDsl.g:28906:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getConfidenceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:28910:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:28911:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:28911:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:28912:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConfidenceAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConfidenceRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop811; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getConfidenceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfidence" // $ANTLR start "entryRuleIsA" // InternalSacmDsl.g:28944:1: entryRuleIsA returns [EObject current=null] : iv_ruleIsA= ruleIsA EOF ; public final EObject entryRuleIsA() throws RecognitionException { EObject current = null; EObject iv_ruleIsA = null; try { // InternalSacmDsl.g:28945:2: (iv_ruleIsA= ruleIsA EOF ) // InternalSacmDsl.g:28946:2: iv_ruleIsA= ruleIsA EOF { newCompositeNode(grammarAccess.getIsARule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsA=ruleIsA(); state._fsp--; current =iv_ruleIsA; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsA" // $ANTLR start "ruleIsA" // InternalSacmDsl.g:28953:1: ruleIsA returns [EObject current=null] : (otherlv_0= 'IsA' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'definition' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleIsA() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:28956:28: ( (otherlv_0= 'IsA' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'definition' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:28957:1: (otherlv_0= 'IsA' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'definition' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:28957:1: (otherlv_0= 'IsA' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'definition' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:28957:3: otherlv_0= 'IsA' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'definition' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,156,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsAAccess().getIsAKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsAAccess().getIdKeyword_2()); // InternalSacmDsl.g:28969:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:28970:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:28970:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:28971:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsAAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsAAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:28991:1: ( ( ruleEString ) ) // InternalSacmDsl.g:28992:1: ( ruleEString ) { // InternalSacmDsl.g:28992:1: ( ruleEString ) // InternalSacmDsl.g:28993:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsARule()); } newCompositeNode(grammarAccess.getIsAAccess().getSubjectEvidenceElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_69); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,67,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getIsAAccess().getDefinitionKeyword_6()); // InternalSacmDsl.g:29010:1: ( ( ruleEString ) ) // InternalSacmDsl.g:29011:1: ( ruleEString ) { // InternalSacmDsl.g:29011:1: ( ruleEString ) // InternalSacmDsl.g:29012:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsARule()); } newCompositeNode(grammarAccess.getIsAAccess().getDefinitionFormalElementCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29025:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt814=2; int LA814_0 = input.LA(1); if ( (LA814_0==16) ) { alt814=1; } switch (alt814) { case 1 : // InternalSacmDsl.g:29025:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getIsAAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:29033:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29034:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:29034:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:29035:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsAAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29051:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop813: do { int alt813=2; int LA813_0 = input.LA(1); if ( (LA813_0==17) ) { alt813=1; } switch (alt813) { case 1 : // InternalSacmDsl.g:29051:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getIsAAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:29055:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29056:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:29056:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:29057:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsAAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop813; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:29077:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt816=2; int LA816_0 = input.LA(1); if ( (LA816_0==19) ) { alt816=1; } switch (alt816) { case 1 : // InternalSacmDsl.g:29077:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getIsAAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:29085:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:29086:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:29086:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:29087:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsAAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29103:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop815: do { int alt815=2; int LA815_0 = input.LA(1); if ( (LA815_0==17) ) { alt815=1; } switch (alt815) { case 1 : // InternalSacmDsl.g:29103:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getIsAAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:29107:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:29108:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:29108:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:29109:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsAAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop815; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:29129:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt818=2; int LA818_0 = input.LA(1); if ( (LA818_0==61) ) { alt818=1; } switch (alt818) { case 1 : // InternalSacmDsl.g:29129:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getIsAAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:29137:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:29138:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:29138:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:29139:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsAAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29155:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop817: do { int alt817=2; int LA817_0 = input.LA(1); if ( (LA817_0==17) ) { alt817=1; } switch (alt817) { case 1 : // InternalSacmDsl.g:29155:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getIsAAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:29159:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:29160:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:29160:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:29161:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsAAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop817; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:29181:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt820=2; int LA820_0 = input.LA(1); if ( (LA820_0==62) ) { alt820=1; } switch (alt820) { case 1 : // InternalSacmDsl.g:29181:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getIsAAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:29189:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:29190:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:29190:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:29191:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsAAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29207:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop819: do { int alt819=2; int LA819_0 = input.LA(1); if ( (LA819_0==17) ) { alt819=1; } switch (alt819) { case 1 : // InternalSacmDsl.g:29207:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getIsAAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:29211:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:29212:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:29212:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:29213:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsAAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop819; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:29233:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt822=2; int LA822_0 = input.LA(1); if ( (LA822_0==63) ) { alt822=1; } switch (alt822) { case 1 : // InternalSacmDsl.g:29233:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getIsAAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:29241:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:29242:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:29242:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:29243:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsAAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29259:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop821: do { int alt821=2; int LA821_0 = input.LA(1); if ( (LA821_0==17) ) { alt821=1; } switch (alt821) { case 1 : // InternalSacmDsl.g:29259:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getIsAAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:29263:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:29264:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:29264:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:29265:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getIsAAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop821; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:29285:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt824=2; int LA824_0 = input.LA(1); if ( (LA824_0==64) ) { alt824=1; } switch (alt824) { case 1 : // InternalSacmDsl.g:29285:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getIsAAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:29293:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:29294:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:29294:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:29295:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsAAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29311:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop823: do { int alt823=2; int LA823_0 = input.LA(1); if ( (LA823_0==17) ) { alt823=1; } switch (alt823) { case 1 : // InternalSacmDsl.g:29311:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getIsAAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:29315:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:29316:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:29316:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:29317:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsAAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop823; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:29337:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt826=2; int LA826_0 = input.LA(1); if ( (LA826_0==157) ) { alt826=1; } switch (alt826) { case 1 : // InternalSacmDsl.g:29337:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getIsAAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getIsAAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:29345:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:29346:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:29346:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:29347:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsAAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29363:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop825: do { int alt825=2; int LA825_0 = input.LA(1); if ( (LA825_0==17) ) { alt825=1; } switch (alt825) { case 1 : // InternalSacmDsl.g:29363:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getIsAAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:29367:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:29368:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:29368:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:29369:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsAAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsARule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop825; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getIsAAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsA" // $ANTLR start "entryRuleIsCharacterizedBy" // InternalSacmDsl.g:29401:1: entryRuleIsCharacterizedBy returns [EObject current=null] : iv_ruleIsCharacterizedBy= ruleIsCharacterizedBy EOF ; public final EObject entryRuleIsCharacterizedBy() throws RecognitionException { EObject current = null; EObject iv_ruleIsCharacterizedBy = null; try { // InternalSacmDsl.g:29402:2: (iv_ruleIsCharacterizedBy= ruleIsCharacterizedBy EOF ) // InternalSacmDsl.g:29403:2: iv_ruleIsCharacterizedBy= ruleIsCharacterizedBy EOF { newCompositeNode(grammarAccess.getIsCharacterizedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsCharacterizedBy=ruleIsCharacterizedBy(); state._fsp--; current =iv_ruleIsCharacterizedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsCharacterizedBy" // $ANTLR start "ruleIsCharacterizedBy" // InternalSacmDsl.g:29410:1: ruleIsCharacterizedBy returns [EObject current=null] : (otherlv_0= 'IsCharacterizedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleIsCharacterizedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:29413:28: ( (otherlv_0= 'IsCharacterizedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:29414:1: (otherlv_0= 'IsCharacterizedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:29414:1: (otherlv_0= 'IsCharacterizedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:29414:3: otherlv_0= 'IsCharacterizedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'assertion' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,158,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsCharacterizedByAccess().getIsCharacterizedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsCharacterizedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:29426:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:29427:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:29427:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:29428:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsCharacterizedByAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:29448:1: ( ( ruleEString ) ) // InternalSacmDsl.g:29449:1: ( ruleEString ) { // InternalSacmDsl.g:29449:1: ( ruleEString ) // InternalSacmDsl.g:29450:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsCharacterizedByRule()); } newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getSubjectEvidenceElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_92); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,79,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getIsCharacterizedByAccess().getAssertionKeyword_6()); // InternalSacmDsl.g:29467:1: ( ( ruleEString ) ) // InternalSacmDsl.g:29468:1: ( ruleEString ) { // InternalSacmDsl.g:29468:1: ( ruleEString ) // InternalSacmDsl.g:29469:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsCharacterizedByRule()); } newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getAssertionFormalAssertionCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29482:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt828=2; int LA828_0 = input.LA(1); if ( (LA828_0==16) ) { alt828=1; } switch (alt828) { case 1 : // InternalSacmDsl.g:29482:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getIsCharacterizedByAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:29490:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29491:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:29491:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:29492:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29508:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop827: do { int alt827=2; int LA827_0 = input.LA(1); if ( (LA827_0==17) ) { alt827=1; } switch (alt827) { case 1 : // InternalSacmDsl.g:29508:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:29512:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29513:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:29513:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:29514:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop827; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:29534:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt830=2; int LA830_0 = input.LA(1); if ( (LA830_0==19) ) { alt830=1; } switch (alt830) { case 1 : // InternalSacmDsl.g:29534:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getIsCharacterizedByAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:29542:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:29543:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:29543:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:29544:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29560:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop829: do { int alt829=2; int LA829_0 = input.LA(1); if ( (LA829_0==17) ) { alt829=1; } switch (alt829) { case 1 : // InternalSacmDsl.g:29560:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:29564:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:29565:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:29565:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:29566:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop829; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:29586:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt832=2; int LA832_0 = input.LA(1); if ( (LA832_0==61) ) { alt832=1; } switch (alt832) { case 1 : // InternalSacmDsl.g:29586:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getIsCharacterizedByAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:29594:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:29595:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:29595:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:29596:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29612:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop831: do { int alt831=2; int LA831_0 = input.LA(1); if ( (LA831_0==17) ) { alt831=1; } switch (alt831) { case 1 : // InternalSacmDsl.g:29612:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:29616:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:29617:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:29617:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:29618:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop831; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:29638:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt834=2; int LA834_0 = input.LA(1); if ( (LA834_0==62) ) { alt834=1; } switch (alt834) { case 1 : // InternalSacmDsl.g:29638:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getIsCharacterizedByAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:29646:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:29647:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:29647:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:29648:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29664:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop833: do { int alt833=2; int LA833_0 = input.LA(1); if ( (LA833_0==17) ) { alt833=1; } switch (alt833) { case 1 : // InternalSacmDsl.g:29664:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:29668:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:29669:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:29669:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:29670:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop833; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:29690:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt836=2; int LA836_0 = input.LA(1); if ( (LA836_0==63) ) { alt836=1; } switch (alt836) { case 1 : // InternalSacmDsl.g:29690:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getIsCharacterizedByAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:29698:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:29699:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:29699:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:29700:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29716:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop835: do { int alt835=2; int LA835_0 = input.LA(1); if ( (LA835_0==17) ) { alt835=1; } switch (alt835) { case 1 : // InternalSacmDsl.g:29716:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:29720:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:29721:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:29721:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:29722:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop835; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:29742:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt838=2; int LA838_0 = input.LA(1); if ( (LA838_0==64) ) { alt838=1; } switch (alt838) { case 1 : // InternalSacmDsl.g:29742:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getIsCharacterizedByAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:29750:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:29751:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:29751:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:29752:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29768:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop837: do { int alt837=2; int LA837_0 = input.LA(1); if ( (LA837_0==17) ) { alt837=1; } switch (alt837) { case 1 : // InternalSacmDsl.g:29768:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:29772:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:29773:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:29773:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:29774:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop837; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:29794:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt840=2; int LA840_0 = input.LA(1); if ( (LA840_0==157) ) { alt840=1; } switch (alt840) { case 1 : // InternalSacmDsl.g:29794:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getIsCharacterizedByAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getIsCharacterizedByAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:29802:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:29803:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:29803:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:29804:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29820:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop839: do { int alt839=2; int LA839_0 = input.LA(1); if ( (LA839_0==17) ) { alt839=1; } switch (alt839) { case 1 : // InternalSacmDsl.g:29820:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getIsCharacterizedByAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:29824:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:29825:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:29825:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:29826:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsCharacterizedByAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsCharacterizedByRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop839; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getIsCharacterizedByAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsCharacterizedBy" // $ANTLR start "entryRuleRelevance" // InternalSacmDsl.g:29858:1: entryRuleRelevance returns [EObject current=null] : iv_ruleRelevance= ruleRelevance EOF ; public final EObject entryRuleRelevance() throws RecognitionException { EObject current = null; EObject iv_ruleRelevance = null; try { // InternalSacmDsl.g:29859:2: (iv_ruleRelevance= ruleRelevance EOF ) // InternalSacmDsl.g:29860:2: iv_ruleRelevance= ruleRelevance EOF { newCompositeNode(grammarAccess.getRelevanceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleRelevance=ruleRelevance(); state._fsp--; current =iv_ruleRelevance; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRelevance" // $ANTLR start "ruleRelevance" // InternalSacmDsl.g:29867:1: ruleRelevance returns [EObject current=null] : (otherlv_0= 'Relevance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleRelevance() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:29870:28: ( (otherlv_0= 'Relevance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:29871:1: (otherlv_0= 'Relevance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:29871:1: (otherlv_0= 'Relevance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:29871:3: otherlv_0= 'Relevance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,159,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getRelevanceAccess().getRelevanceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getRelevanceAccess().getIdKeyword_2()); // InternalSacmDsl.g:29883:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:29884:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:29884:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:29885:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getRelevanceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_135); newLeafNode(otherlv_4, grammarAccess.getRelevanceAccess().getValueKeyword_4()); // InternalSacmDsl.g:29905:1: ( (lv_value_5_0= ruleLevel ) ) // InternalSacmDsl.g:29906:1: (lv_value_5_0= ruleLevel ) { // InternalSacmDsl.g:29906:1: (lv_value_5_0= ruleLevel ) // InternalSacmDsl.g:29907:3: lv_value_5_0= ruleLevel { newCompositeNode(grammarAccess.getRelevanceAccess().getValueLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.Level"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29923:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt842=2; int LA842_0 = input.LA(1); if ( (LA842_0==16) ) { alt842=1; } switch (alt842) { case 1 : // InternalSacmDsl.g:29923:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getRelevanceAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:29931:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29932:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:29932:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:29933:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRelevanceAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:29949:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop841: do { int alt841=2; int LA841_0 = input.LA(1); if ( (LA841_0==17) ) { alt841=1; } switch (alt841) { case 1 : // InternalSacmDsl.g:29949:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getRelevanceAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:29953:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:29954:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:29954:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:29955:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRelevanceAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop841; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:29975:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt844=2; int LA844_0 = input.LA(1); if ( (LA844_0==19) ) { alt844=1; } switch (alt844) { case 1 : // InternalSacmDsl.g:29975:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getRelevanceAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:29983:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:29984:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:29984:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:29985:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getRelevanceAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30001:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop843: do { int alt843=2; int LA843_0 = input.LA(1); if ( (LA843_0==17) ) { alt843=1; } switch (alt843) { case 1 : // InternalSacmDsl.g:30001:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getRelevanceAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:30005:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:30006:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:30006:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:30007:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getRelevanceAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop843; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:30027:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt846=2; int LA846_0 = input.LA(1); if ( (LA846_0==61) ) { alt846=1; } switch (alt846) { case 1 : // InternalSacmDsl.g:30027:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getRelevanceAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:30035:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30036:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:30036:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:30037:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRelevanceAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30053:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop845: do { int alt845=2; int LA845_0 = input.LA(1); if ( (LA845_0==17) ) { alt845=1; } switch (alt845) { case 1 : // InternalSacmDsl.g:30053:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getRelevanceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:30057:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30058:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:30058:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:30059:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRelevanceAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop845; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:30079:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt848=2; int LA848_0 = input.LA(1); if ( (LA848_0==62) ) { alt848=1; } switch (alt848) { case 1 : // InternalSacmDsl.g:30079:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getRelevanceAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:30087:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30088:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30088:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:30089:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRelevanceAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30105:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop847: do { int alt847=2; int LA847_0 = input.LA(1); if ( (LA847_0==17) ) { alt847=1; } switch (alt847) { case 1 : // InternalSacmDsl.g:30105:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getRelevanceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:30109:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30110:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30110:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:30111:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRelevanceAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop847; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:30131:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt850=2; int LA850_0 = input.LA(1); if ( (LA850_0==63) ) { alt850=1; } switch (alt850) { case 1 : // InternalSacmDsl.g:30131:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getRelevanceAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:30139:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:30140:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:30140:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:30141:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getRelevanceAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30157:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop849: do { int alt849=2; int LA849_0 = input.LA(1); if ( (LA849_0==17) ) { alt849=1; } switch (alt849) { case 1 : // InternalSacmDsl.g:30157:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getRelevanceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:30161:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:30162:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:30162:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:30163:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getRelevanceAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop849; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:30183:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt852=2; int LA852_0 = input.LA(1); if ( (LA852_0==64) ) { alt852=1; } switch (alt852) { case 1 : // InternalSacmDsl.g:30183:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getRelevanceAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getRelevanceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:30191:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30192:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30192:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30193:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRelevanceAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30209:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop851: do { int alt851=2; int LA851_0 = input.LA(1); if ( (LA851_0==17) ) { alt851=1; } switch (alt851) { case 1 : // InternalSacmDsl.g:30209:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getRelevanceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:30213:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30214:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30214:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30215:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRelevanceAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRelevanceRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop851; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getRelevanceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRelevance" // $ANTLR start "entryRuleSignificance" // InternalSacmDsl.g:30247:1: entryRuleSignificance returns [EObject current=null] : iv_ruleSignificance= ruleSignificance EOF ; public final EObject entryRuleSignificance() throws RecognitionException { EObject current = null; EObject iv_ruleSignificance = null; try { // InternalSacmDsl.g:30248:2: (iv_ruleSignificance= ruleSignificance EOF ) // InternalSacmDsl.g:30249:2: iv_ruleSignificance= ruleSignificance EOF { newCompositeNode(grammarAccess.getSignificanceRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleSignificance=ruleSignificance(); state._fsp--; current =iv_ruleSignificance; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSignificance" // $ANTLR start "ruleSignificance" // InternalSacmDsl.g:30256:1: ruleSignificance returns [EObject current=null] : (otherlv_0= 'Significance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleSignificance() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:30259:28: ( (otherlv_0= 'Significance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:30260:1: (otherlv_0= 'Significance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:30260:1: (otherlv_0= 'Significance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:30260:3: otherlv_0= 'Significance' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,160,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getSignificanceAccess().getSignificanceKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getSignificanceAccess().getIdKeyword_2()); // InternalSacmDsl.g:30272:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:30273:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:30273:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:30274:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getSignificanceAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_135); newLeafNode(otherlv_4, grammarAccess.getSignificanceAccess().getValueKeyword_4()); // InternalSacmDsl.g:30294:1: ( (lv_value_5_0= ruleLevel ) ) // InternalSacmDsl.g:30295:1: (lv_value_5_0= ruleLevel ) { // InternalSacmDsl.g:30295:1: (lv_value_5_0= ruleLevel ) // InternalSacmDsl.g:30296:3: lv_value_5_0= ruleLevel { newCompositeNode(grammarAccess.getSignificanceAccess().getValueLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.Level"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30312:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt854=2; int LA854_0 = input.LA(1); if ( (LA854_0==16) ) { alt854=1; } switch (alt854) { case 1 : // InternalSacmDsl.g:30312:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getSignificanceAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:30320:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:30321:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:30321:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:30322:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSignificanceAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30338:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop853: do { int alt853=2; int LA853_0 = input.LA(1); if ( (LA853_0==17) ) { alt853=1; } switch (alt853) { case 1 : // InternalSacmDsl.g:30338:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getSignificanceAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:30342:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:30343:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:30343:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:30344:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSignificanceAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop853; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:30364:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt856=2; int LA856_0 = input.LA(1); if ( (LA856_0==19) ) { alt856=1; } switch (alt856) { case 1 : // InternalSacmDsl.g:30364:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getSignificanceAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:30372:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:30373:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:30373:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:30374:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getSignificanceAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30390:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop855: do { int alt855=2; int LA855_0 = input.LA(1); if ( (LA855_0==17) ) { alt855=1; } switch (alt855) { case 1 : // InternalSacmDsl.g:30390:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getSignificanceAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:30394:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:30395:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:30395:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:30396:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getSignificanceAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop855; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:30416:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt858=2; int LA858_0 = input.LA(1); if ( (LA858_0==61) ) { alt858=1; } switch (alt858) { case 1 : // InternalSacmDsl.g:30416:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getSignificanceAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:30424:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30425:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:30425:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:30426:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSignificanceAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30442:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop857: do { int alt857=2; int LA857_0 = input.LA(1); if ( (LA857_0==17) ) { alt857=1; } switch (alt857) { case 1 : // InternalSacmDsl.g:30442:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getSignificanceAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:30446:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30447:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:30447:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:30448:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSignificanceAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop857; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:30468:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt860=2; int LA860_0 = input.LA(1); if ( (LA860_0==62) ) { alt860=1; } switch (alt860) { case 1 : // InternalSacmDsl.g:30468:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getSignificanceAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:30476:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30477:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30477:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:30478:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSignificanceAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30494:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop859: do { int alt859=2; int LA859_0 = input.LA(1); if ( (LA859_0==17) ) { alt859=1; } switch (alt859) { case 1 : // InternalSacmDsl.g:30494:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getSignificanceAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:30498:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30499:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30499:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:30500:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSignificanceAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop859; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:30520:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt862=2; int LA862_0 = input.LA(1); if ( (LA862_0==63) ) { alt862=1; } switch (alt862) { case 1 : // InternalSacmDsl.g:30520:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getSignificanceAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:30528:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:30529:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:30529:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:30530:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getSignificanceAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30546:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop861: do { int alt861=2; int LA861_0 = input.LA(1); if ( (LA861_0==17) ) { alt861=1; } switch (alt861) { case 1 : // InternalSacmDsl.g:30546:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getSignificanceAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:30550:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:30551:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:30551:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:30552:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getSignificanceAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop861; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:30572:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt864=2; int LA864_0 = input.LA(1); if ( (LA864_0==64) ) { alt864=1; } switch (alt864) { case 1 : // InternalSacmDsl.g:30572:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getSignificanceAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getSignificanceAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:30580:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30581:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30581:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30582:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSignificanceAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30598:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop863: do { int alt863=2; int LA863_0 = input.LA(1); if ( (LA863_0==17) ) { alt863=1; } switch (alt863) { case 1 : // InternalSacmDsl.g:30598:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getSignificanceAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:30602:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30603:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30603:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30604:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSignificanceAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSignificanceRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop863; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getSignificanceAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSignificance" // $ANTLR start "entryRuleAccuracy" // InternalSacmDsl.g:30636:1: entryRuleAccuracy returns [EObject current=null] : iv_ruleAccuracy= ruleAccuracy EOF ; public final EObject entryRuleAccuracy() throws RecognitionException { EObject current = null; EObject iv_ruleAccuracy = null; try { // InternalSacmDsl.g:30637:2: (iv_ruleAccuracy= ruleAccuracy EOF ) // InternalSacmDsl.g:30638:2: iv_ruleAccuracy= ruleAccuracy EOF { newCompositeNode(grammarAccess.getAccuracyRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAccuracy=ruleAccuracy(); state._fsp--; current =iv_ruleAccuracy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAccuracy" // $ANTLR start "ruleAccuracy" // InternalSacmDsl.g:30645:1: ruleAccuracy returns [EObject current=null] : (otherlv_0= 'Accuracy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleAccuracyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleAccuracy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:30648:28: ( (otherlv_0= 'Accuracy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleAccuracyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:30649:1: (otherlv_0= 'Accuracy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleAccuracyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:30649:1: (otherlv_0= 'Accuracy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleAccuracyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:30649:3: otherlv_0= 'Accuracy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleAccuracyLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,161,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAccuracyAccess().getAccuracyKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAccuracyAccess().getIdKeyword_2()); // InternalSacmDsl.g:30661:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:30662:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:30662:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:30663:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAccuracyAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_136); newLeafNode(otherlv_4, grammarAccess.getAccuracyAccess().getValueKeyword_4()); // InternalSacmDsl.g:30683:1: ( (lv_value_5_0= ruleAccuracyLevel ) ) // InternalSacmDsl.g:30684:1: (lv_value_5_0= ruleAccuracyLevel ) { // InternalSacmDsl.g:30684:1: (lv_value_5_0= ruleAccuracyLevel ) // InternalSacmDsl.g:30685:3: lv_value_5_0= ruleAccuracyLevel { newCompositeNode(grammarAccess.getAccuracyAccess().getValueAccuracyLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleAccuracyLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.AccuracyLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30701:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt866=2; int LA866_0 = input.LA(1); if ( (LA866_0==16) ) { alt866=1; } switch (alt866) { case 1 : // InternalSacmDsl.g:30701:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getAccuracyAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:30709:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:30710:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:30710:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:30711:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAccuracyAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30727:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop865: do { int alt865=2; int LA865_0 = input.LA(1); if ( (LA865_0==17) ) { alt865=1; } switch (alt865) { case 1 : // InternalSacmDsl.g:30727:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getAccuracyAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:30731:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:30732:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:30732:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:30733:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAccuracyAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop865; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:30753:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt868=2; int LA868_0 = input.LA(1); if ( (LA868_0==19) ) { alt868=1; } switch (alt868) { case 1 : // InternalSacmDsl.g:30753:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getAccuracyAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:30761:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:30762:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:30762:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:30763:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getAccuracyAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30779:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop867: do { int alt867=2; int LA867_0 = input.LA(1); if ( (LA867_0==17) ) { alt867=1; } switch (alt867) { case 1 : // InternalSacmDsl.g:30779:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getAccuracyAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:30783:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:30784:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:30784:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:30785:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getAccuracyAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop867; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:30805:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt870=2; int LA870_0 = input.LA(1); if ( (LA870_0==61) ) { alt870=1; } switch (alt870) { case 1 : // InternalSacmDsl.g:30805:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getAccuracyAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:30813:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30814:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:30814:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:30815:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAccuracyAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30831:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop869: do { int alt869=2; int LA869_0 = input.LA(1); if ( (LA869_0==17) ) { alt869=1; } switch (alt869) { case 1 : // InternalSacmDsl.g:30831:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getAccuracyAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:30835:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:30836:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:30836:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:30837:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAccuracyAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop869; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:30857:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt872=2; int LA872_0 = input.LA(1); if ( (LA872_0==62) ) { alt872=1; } switch (alt872) { case 1 : // InternalSacmDsl.g:30857:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getAccuracyAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:30865:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30866:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30866:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:30867:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAccuracyAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30883:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop871: do { int alt871=2; int LA871_0 = input.LA(1); if ( (LA871_0==17) ) { alt871=1; } switch (alt871) { case 1 : // InternalSacmDsl.g:30883:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getAccuracyAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:30887:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:30888:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:30888:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:30889:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAccuracyAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop871; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:30909:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt874=2; int LA874_0 = input.LA(1); if ( (LA874_0==63) ) { alt874=1; } switch (alt874) { case 1 : // InternalSacmDsl.g:30909:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getAccuracyAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:30917:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:30918:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:30918:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:30919:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getAccuracyAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30935:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop873: do { int alt873=2; int LA873_0 = input.LA(1); if ( (LA873_0==17) ) { alt873=1; } switch (alt873) { case 1 : // InternalSacmDsl.g:30935:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getAccuracyAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:30939:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:30940:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:30940:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:30941:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getAccuracyAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop873; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:30961:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt876=2; int LA876_0 = input.LA(1); if ( (LA876_0==64) ) { alt876=1; } switch (alt876) { case 1 : // InternalSacmDsl.g:30961:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getAccuracyAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getAccuracyAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:30969:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30970:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30970:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30971:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAccuracyAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:30987:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop875: do { int alt875=2; int LA875_0 = input.LA(1); if ( (LA875_0==17) ) { alt875=1; } switch (alt875) { case 1 : // InternalSacmDsl.g:30987:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getAccuracyAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:30991:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:30992:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:30992:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:30993:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAccuracyAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAccuracyRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop875; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getAccuracyAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAccuracy" // $ANTLR start "entryRuleIsScopedBy" // InternalSacmDsl.g:31025:1: entryRuleIsScopedBy returns [EObject current=null] : iv_ruleIsScopedBy= ruleIsScopedBy EOF ; public final EObject entryRuleIsScopedBy() throws RecognitionException { EObject current = null; EObject iv_ruleIsScopedBy = null; try { // InternalSacmDsl.g:31026:2: (iv_ruleIsScopedBy= ruleIsScopedBy EOF ) // InternalSacmDsl.g:31027:2: iv_ruleIsScopedBy= ruleIsScopedBy EOF { newCompositeNode(grammarAccess.getIsScopedByRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleIsScopedBy=ruleIsScopedBy(); state._fsp--; current =iv_ruleIsScopedBy; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIsScopedBy" // $ANTLR start "ruleIsScopedBy" // InternalSacmDsl.g:31034:1: ruleIsScopedBy returns [EObject current=null] : (otherlv_0= 'IsScopedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'scope' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleIsScopedBy() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:31037:28: ( (otherlv_0= 'IsScopedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'scope' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:31038:1: (otherlv_0= 'IsScopedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'scope' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:31038:1: (otherlv_0= 'IsScopedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'scope' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:31038:3: otherlv_0= 'IsScopedBy' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'scope' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,162,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getIsScopedByAccess().getIsScopedByKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getIsScopedByAccess().getIdKeyword_2()); // InternalSacmDsl.g:31050:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:31051:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:31051:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:31052:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getIsScopedByAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getIsScopedByAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:31072:1: ( ( ruleEString ) ) // InternalSacmDsl.g:31073:1: ( ruleEString ) { // InternalSacmDsl.g:31073:1: ( ruleEString ) // InternalSacmDsl.g:31074:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsScopedByRule()); } newCompositeNode(grammarAccess.getIsScopedByAccess().getSubjectEvidenceElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_137); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,163,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getIsScopedByAccess().getScopeKeyword_6()); // InternalSacmDsl.g:31091:1: ( ( ruleEString ) ) // InternalSacmDsl.g:31092:1: ( ruleEString ) { // InternalSacmDsl.g:31092:1: ( ruleEString ) // InternalSacmDsl.g:31093:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getIsScopedByRule()); } newCompositeNode(grammarAccess.getIsScopedByAccess().getScopeFormalElementCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31106:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt878=2; int LA878_0 = input.LA(1); if ( (LA878_0==16) ) { alt878=1; } switch (alt878) { case 1 : // InternalSacmDsl.g:31106:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getIsScopedByAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:31114:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31115:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:31115:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:31116:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsScopedByAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31132:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop877: do { int alt877=2; int LA877_0 = input.LA(1); if ( (LA877_0==17) ) { alt877=1; } switch (alt877) { case 1 : // InternalSacmDsl.g:31132:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getIsScopedByAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:31136:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31137:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:31137:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:31138:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getIsScopedByAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop877; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:31158:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt880=2; int LA880_0 = input.LA(1); if ( (LA880_0==19) ) { alt880=1; } switch (alt880) { case 1 : // InternalSacmDsl.g:31158:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getIsScopedByAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:31166:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:31167:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:31167:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:31168:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsScopedByAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31184:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop879: do { int alt879=2; int LA879_0 = input.LA(1); if ( (LA879_0==17) ) { alt879=1; } switch (alt879) { case 1 : // InternalSacmDsl.g:31184:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getIsScopedByAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:31188:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:31189:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:31189:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:31190:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getIsScopedByAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop879; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:31210:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt882=2; int LA882_0 = input.LA(1); if ( (LA882_0==61) ) { alt882=1; } switch (alt882) { case 1 : // InternalSacmDsl.g:31210:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getIsScopedByAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:31218:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:31219:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:31219:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:31220:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsScopedByAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31236:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop881: do { int alt881=2; int LA881_0 = input.LA(1); if ( (LA881_0==17) ) { alt881=1; } switch (alt881) { case 1 : // InternalSacmDsl.g:31236:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getIsScopedByAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:31240:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:31241:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:31241:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:31242:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getIsScopedByAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop881; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:31262:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt884=2; int LA884_0 = input.LA(1); if ( (LA884_0==62) ) { alt884=1; } switch (alt884) { case 1 : // InternalSacmDsl.g:31262:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getIsScopedByAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:31270:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:31271:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:31271:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:31272:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsScopedByAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31288:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop883: do { int alt883=2; int LA883_0 = input.LA(1); if ( (LA883_0==17) ) { alt883=1; } switch (alt883) { case 1 : // InternalSacmDsl.g:31288:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getIsScopedByAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:31292:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:31293:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:31293:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:31294:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getIsScopedByAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop883; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:31314:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt886=2; int LA886_0 = input.LA(1); if ( (LA886_0==63) ) { alt886=1; } switch (alt886) { case 1 : // InternalSacmDsl.g:31314:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getIsScopedByAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:31322:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:31323:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:31323:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:31324:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getIsScopedByAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31340:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop885: do { int alt885=2; int LA885_0 = input.LA(1); if ( (LA885_0==17) ) { alt885=1; } switch (alt885) { case 1 : // InternalSacmDsl.g:31340:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getIsScopedByAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:31344:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:31345:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:31345:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:31346:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getIsScopedByAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop885; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:31366:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt888=2; int LA888_0 = input.LA(1); if ( (LA888_0==64) ) { alt888=1; } switch (alt888) { case 1 : // InternalSacmDsl.g:31366:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getIsScopedByAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:31374:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:31375:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:31375:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:31376:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsScopedByAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31392:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop887: do { int alt887=2; int LA887_0 = input.LA(1); if ( (LA887_0==17) ) { alt887=1; } switch (alt887) { case 1 : // InternalSacmDsl.g:31392:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getIsScopedByAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:31396:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:31397:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:31397:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:31398:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getIsScopedByAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop887; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:31418:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt890=2; int LA890_0 = input.LA(1); if ( (LA890_0==157) ) { alt890=1; } switch (alt890) { case 1 : // InternalSacmDsl.g:31418:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getIsScopedByAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getIsScopedByAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:31426:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:31427:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:31427:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:31428:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsScopedByAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31444:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop889: do { int alt889=2; int LA889_0 = input.LA(1); if ( (LA889_0==17) ) { alt889=1; } switch (alt889) { case 1 : // InternalSacmDsl.g:31444:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getIsScopedByAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:31448:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:31449:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:31449:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:31450:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getIsScopedByAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getIsScopedByRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop889; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getIsScopedByAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIsScopedBy" // $ANTLR start "entryRuleReporting" // InternalSacmDsl.g:31482:1: entryRuleReporting returns [EObject current=null] : iv_ruleReporting= ruleReporting EOF ; public final EObject entryRuleReporting() throws RecognitionException { EObject current = null; EObject iv_ruleReporting = null; try { // InternalSacmDsl.g:31483:2: (iv_ruleReporting= ruleReporting EOF ) // InternalSacmDsl.g:31484:2: iv_ruleReporting= ruleReporting EOF { newCompositeNode(grammarAccess.getReportingRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleReporting=ruleReporting(); state._fsp--; current =iv_ruleReporting; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReporting" // $ANTLR start "ruleReporting" // InternalSacmDsl.g:31491:1: ruleReporting returns [EObject current=null] : (otherlv_0= 'Reporting' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReportingLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleReporting() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:31494:28: ( (otherlv_0= 'Reporting' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReportingLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:31495:1: (otherlv_0= 'Reporting' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReportingLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:31495:1: (otherlv_0= 'Reporting' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReportingLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:31495:3: otherlv_0= 'Reporting' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleReportingLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,164,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getReportingAccess().getReportingKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getReportingAccess().getIdKeyword_2()); // InternalSacmDsl.g:31507:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:31508:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:31508:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:31509:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getReportingAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_138); newLeafNode(otherlv_4, grammarAccess.getReportingAccess().getValueKeyword_4()); // InternalSacmDsl.g:31529:1: ( (lv_value_5_0= ruleReportingLevel ) ) // InternalSacmDsl.g:31530:1: (lv_value_5_0= ruleReportingLevel ) { // InternalSacmDsl.g:31530:1: (lv_value_5_0= ruleReportingLevel ) // InternalSacmDsl.g:31531:3: lv_value_5_0= ruleReportingLevel { newCompositeNode(grammarAccess.getReportingAccess().getValueReportingLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleReportingLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.ReportingLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31547:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt892=2; int LA892_0 = input.LA(1); if ( (LA892_0==16) ) { alt892=1; } switch (alt892) { case 1 : // InternalSacmDsl.g:31547:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getReportingAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:31555:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31556:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:31556:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:31557:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReportingAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31573:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop891: do { int alt891=2; int LA891_0 = input.LA(1); if ( (LA891_0==17) ) { alt891=1; } switch (alt891) { case 1 : // InternalSacmDsl.g:31573:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getReportingAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:31577:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31578:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:31578:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:31579:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getReportingAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop891; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:31599:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt894=2; int LA894_0 = input.LA(1); if ( (LA894_0==19) ) { alt894=1; } switch (alt894) { case 1 : // InternalSacmDsl.g:31599:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getReportingAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:31607:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:31608:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:31608:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:31609:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getReportingAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31625:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop893: do { int alt893=2; int LA893_0 = input.LA(1); if ( (LA893_0==17) ) { alt893=1; } switch (alt893) { case 1 : // InternalSacmDsl.g:31625:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getReportingAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:31629:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:31630:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:31630:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:31631:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getReportingAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop893; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:31651:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt896=2; int LA896_0 = input.LA(1); if ( (LA896_0==61) ) { alt896=1; } switch (alt896) { case 1 : // InternalSacmDsl.g:31651:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getReportingAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:31659:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:31660:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:31660:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:31661:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReportingAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31677:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop895: do { int alt895=2; int LA895_0 = input.LA(1); if ( (LA895_0==17) ) { alt895=1; } switch (alt895) { case 1 : // InternalSacmDsl.g:31677:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getReportingAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:31681:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:31682:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:31682:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:31683:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getReportingAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop895; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:31703:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt898=2; int LA898_0 = input.LA(1); if ( (LA898_0==62) ) { alt898=1; } switch (alt898) { case 1 : // InternalSacmDsl.g:31703:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getReportingAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:31711:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:31712:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:31712:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:31713:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReportingAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31729:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop897: do { int alt897=2; int LA897_0 = input.LA(1); if ( (LA897_0==17) ) { alt897=1; } switch (alt897) { case 1 : // InternalSacmDsl.g:31729:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getReportingAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:31733:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:31734:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:31734:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:31735:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getReportingAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop897; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:31755:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt900=2; int LA900_0 = input.LA(1); if ( (LA900_0==63) ) { alt900=1; } switch (alt900) { case 1 : // InternalSacmDsl.g:31755:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getReportingAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:31763:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:31764:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:31764:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:31765:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getReportingAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31781:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop899: do { int alt899=2; int LA899_0 = input.LA(1); if ( (LA899_0==17) ) { alt899=1; } switch (alt899) { case 1 : // InternalSacmDsl.g:31781:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getReportingAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:31785:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:31786:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:31786:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:31787:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getReportingAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop899; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:31807:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt902=2; int LA902_0 = input.LA(1); if ( (LA902_0==64) ) { alt902=1; } switch (alt902) { case 1 : // InternalSacmDsl.g:31807:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getReportingAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getReportingAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:31815:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:31816:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:31816:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:31817:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReportingAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31833:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop901: do { int alt901=2; int LA901_0 = input.LA(1); if ( (LA901_0==17) ) { alt901=1; } switch (alt901) { case 1 : // InternalSacmDsl.g:31833:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getReportingAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:31837:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:31838:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:31838:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:31839:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getReportingAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getReportingRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop901; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getReportingAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReporting" // $ANTLR start "entryRuleSupports" // InternalSacmDsl.g:31871:1: entryRuleSupports returns [EObject current=null] : iv_ruleSupports= ruleSupports EOF ; public final EObject entryRuleSupports() throws RecognitionException { EObject current = null; EObject iv_ruleSupports = null; try { // InternalSacmDsl.g:31872:2: (iv_ruleSupports= ruleSupports EOF ) // InternalSacmDsl.g:31873:2: iv_ruleSupports= ruleSupports EOF { newCompositeNode(grammarAccess.getSupportsRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleSupports=ruleSupports(); state._fsp--; current =iv_ruleSupports; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSupports" // $ANTLR start "ruleSupports" // InternalSacmDsl.g:31880:1: ruleSupports returns [EObject current=null] : (otherlv_0= 'Supports' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleSupports() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:31883:28: ( (otherlv_0= 'Supports' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:31884:1: (otherlv_0= 'Supports' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:31884:1: (otherlv_0= 'Supports' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:31884:3: otherlv_0= 'Supports' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,165,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getSupportsAccess().getSupportsKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getSupportsAccess().getIdKeyword_2()); // InternalSacmDsl.g:31896:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:31897:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:31897:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:31898:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getSupportsAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_92); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,79,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getSupportsAccess().getAssertionKeyword_4()); // InternalSacmDsl.g:31918:1: ( ( ruleEString ) ) // InternalSacmDsl.g:31919:1: ( ruleEString ) { // InternalSacmDsl.g:31919:1: ( ruleEString ) // InternalSacmDsl.g:31920:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getSupportsRule()); } newCompositeNode(grammarAccess.getSupportsAccess().getAssertionFormalAssertionCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_126); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getSupportsAccess().getSubjectKeyword_6()); // InternalSacmDsl.g:31937:1: ( ( ruleEString ) ) // InternalSacmDsl.g:31938:1: ( ruleEString ) { // InternalSacmDsl.g:31938:1: ( ruleEString ) // InternalSacmDsl.g:31939:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getSupportsRule()); } newCompositeNode(grammarAccess.getSupportsAccess().getSubjectEvidenceItemCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31952:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt904=2; int LA904_0 = input.LA(1); if ( (LA904_0==16) ) { alt904=1; } switch (alt904) { case 1 : // InternalSacmDsl.g:31952:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getSupportsAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:31960:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31961:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:31961:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:31962:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSupportsAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:31978:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop903: do { int alt903=2; int LA903_0 = input.LA(1); if ( (LA903_0==17) ) { alt903=1; } switch (alt903) { case 1 : // InternalSacmDsl.g:31978:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getSupportsAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:31982:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:31983:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:31983:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:31984:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSupportsAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop903; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:32004:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt906=2; int LA906_0 = input.LA(1); if ( (LA906_0==19) ) { alt906=1; } switch (alt906) { case 1 : // InternalSacmDsl.g:32004:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getSupportsAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:32012:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:32013:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:32013:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:32014:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getSupportsAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32030:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop905: do { int alt905=2; int LA905_0 = input.LA(1); if ( (LA905_0==17) ) { alt905=1; } switch (alt905) { case 1 : // InternalSacmDsl.g:32030:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getSupportsAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:32034:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:32035:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:32035:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:32036:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getSupportsAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop905; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:32056:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt908=2; int LA908_0 = input.LA(1); if ( (LA908_0==61) ) { alt908=1; } switch (alt908) { case 1 : // InternalSacmDsl.g:32056:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getSupportsAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:32064:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32065:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:32065:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:32066:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSupportsAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32082:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop907: do { int alt907=2; int LA907_0 = input.LA(1); if ( (LA907_0==17) ) { alt907=1; } switch (alt907) { case 1 : // InternalSacmDsl.g:32082:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getSupportsAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:32086:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32087:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:32087:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:32088:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSupportsAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop907; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:32108:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt910=2; int LA910_0 = input.LA(1); if ( (LA910_0==62) ) { alt910=1; } switch (alt910) { case 1 : // InternalSacmDsl.g:32108:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getSupportsAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:32116:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32117:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32117:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:32118:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSupportsAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32134:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop909: do { int alt909=2; int LA909_0 = input.LA(1); if ( (LA909_0==17) ) { alt909=1; } switch (alt909) { case 1 : // InternalSacmDsl.g:32134:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getSupportsAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:32138:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32139:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32139:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:32140:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSupportsAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop909; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:32160:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt912=2; int LA912_0 = input.LA(1); if ( (LA912_0==63) ) { alt912=1; } switch (alt912) { case 1 : // InternalSacmDsl.g:32160:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getSupportsAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:32168:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:32169:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:32169:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:32170:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getSupportsAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32186:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop911: do { int alt911=2; int LA911_0 = input.LA(1); if ( (LA911_0==17) ) { alt911=1; } switch (alt911) { case 1 : // InternalSacmDsl.g:32186:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getSupportsAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:32190:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:32191:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:32191:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:32192:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getSupportsAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop911; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:32212:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt914=2; int LA914_0 = input.LA(1); if ( (LA914_0==64) ) { alt914=1; } switch (alt914) { case 1 : // InternalSacmDsl.g:32212:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getSupportsAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:32220:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:32221:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:32221:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:32222:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSupportsAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32238:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop913: do { int alt913=2; int LA913_0 = input.LA(1); if ( (LA913_0==17) ) { alt913=1; } switch (alt913) { case 1 : // InternalSacmDsl.g:32238:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getSupportsAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:32242:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:32243:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:32243:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:32244:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSupportsAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop913; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:32264:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt916=2; int LA916_0 = input.LA(1); if ( (LA916_0==157) ) { alt916=1; } switch (alt916) { case 1 : // InternalSacmDsl.g:32264:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getSupportsAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getSupportsAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:32272:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:32273:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:32273:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:32274:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getSupportsAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32290:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop915: do { int alt915=2; int LA915_0 = input.LA(1); if ( (LA915_0==17) ) { alt915=1; } switch (alt915) { case 1 : // InternalSacmDsl.g:32290:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getSupportsAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:32294:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:32295:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:32295:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:32296:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getSupportsAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportsRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop915; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getSupportsAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSupports" // $ANTLR start "entryRuleSupport" // InternalSacmDsl.g:32328:1: entryRuleSupport returns [EObject current=null] : iv_ruleSupport= ruleSupport EOF ; public final EObject entryRuleSupport() throws RecognitionException { EObject current = null; EObject iv_ruleSupport = null; try { // InternalSacmDsl.g:32329:2: (iv_ruleSupport= ruleSupport EOF ) // InternalSacmDsl.g:32330:2: iv_ruleSupport= ruleSupport EOF { newCompositeNode(grammarAccess.getSupportRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleSupport=ruleSupport(); state._fsp--; current =iv_ruleSupport; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSupport" // $ANTLR start "ruleSupport" // InternalSacmDsl.g:32337:1: ruleSupport returns [EObject current=null] : (otherlv_0= 'Support' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleSupportLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleSupport() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:32340:28: ( (otherlv_0= 'Support' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleSupportLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:32341:1: (otherlv_0= 'Support' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleSupportLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:32341:1: (otherlv_0= 'Support' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleSupportLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:32341:3: otherlv_0= 'Support' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleSupportLevel ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,166,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getSupportAccess().getSupportKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getSupportAccess().getIdKeyword_2()); // InternalSacmDsl.g:32353:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:32354:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:32354:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:32355:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getSupportAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_139); newLeafNode(otherlv_4, grammarAccess.getSupportAccess().getValueKeyword_4()); // InternalSacmDsl.g:32375:1: ( (lv_value_5_0= ruleSupportLevel ) ) // InternalSacmDsl.g:32376:1: (lv_value_5_0= ruleSupportLevel ) { // InternalSacmDsl.g:32376:1: (lv_value_5_0= ruleSupportLevel ) // InternalSacmDsl.g:32377:3: lv_value_5_0= ruleSupportLevel { newCompositeNode(grammarAccess.getSupportAccess().getValueSupportLevelParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleSupportLevel(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.SupportLevel"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32393:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt918=2; int LA918_0 = input.LA(1); if ( (LA918_0==16) ) { alt918=1; } switch (alt918) { case 1 : // InternalSacmDsl.g:32393:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getSupportAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:32401:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:32402:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:32402:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:32403:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSupportAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32419:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop917: do { int alt917=2; int LA917_0 = input.LA(1); if ( (LA917_0==17) ) { alt917=1; } switch (alt917) { case 1 : // InternalSacmDsl.g:32419:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getSupportAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:32423:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:32424:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:32424:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:32425:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getSupportAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop917; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:32445:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt920=2; int LA920_0 = input.LA(1); if ( (LA920_0==19) ) { alt920=1; } switch (alt920) { case 1 : // InternalSacmDsl.g:32445:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getSupportAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:32453:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:32454:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:32454:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:32455:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getSupportAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32471:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop919: do { int alt919=2; int LA919_0 = input.LA(1); if ( (LA919_0==17) ) { alt919=1; } switch (alt919) { case 1 : // InternalSacmDsl.g:32471:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getSupportAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:32475:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:32476:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:32476:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:32477:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getSupportAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop919; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:32497:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt922=2; int LA922_0 = input.LA(1); if ( (LA922_0==61) ) { alt922=1; } switch (alt922) { case 1 : // InternalSacmDsl.g:32497:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getSupportAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:32505:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32506:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:32506:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:32507:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSupportAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32523:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop921: do { int alt921=2; int LA921_0 = input.LA(1); if ( (LA921_0==17) ) { alt921=1; } switch (alt921) { case 1 : // InternalSacmDsl.g:32523:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getSupportAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:32527:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32528:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:32528:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:32529:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getSupportAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop921; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:32549:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt924=2; int LA924_0 = input.LA(1); if ( (LA924_0==62) ) { alt924=1; } switch (alt924) { case 1 : // InternalSacmDsl.g:32549:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getSupportAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:32557:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32558:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32558:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:32559:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSupportAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32575:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop923: do { int alt923=2; int LA923_0 = input.LA(1); if ( (LA923_0==17) ) { alt923=1; } switch (alt923) { case 1 : // InternalSacmDsl.g:32575:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getSupportAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:32579:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32580:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32580:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:32581:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getSupportAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop923; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:32601:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt926=2; int LA926_0 = input.LA(1); if ( (LA926_0==63) ) { alt926=1; } switch (alt926) { case 1 : // InternalSacmDsl.g:32601:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getSupportAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:32609:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:32610:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:32610:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:32611:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getSupportAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32627:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop925: do { int alt925=2; int LA925_0 = input.LA(1); if ( (LA925_0==17) ) { alt925=1; } switch (alt925) { case 1 : // InternalSacmDsl.g:32627:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getSupportAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:32631:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:32632:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:32632:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:32633:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getSupportAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop925; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:32653:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt928=2; int LA928_0 = input.LA(1); if ( (LA928_0==64) ) { alt928=1; } switch (alt928) { case 1 : // InternalSacmDsl.g:32653:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getSupportAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getSupportAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:32661:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:32662:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:32662:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:32663:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSupportAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32679:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop927: do { int alt927=2; int LA927_0 = input.LA(1); if ( (LA927_0==17) ) { alt927=1; } switch (alt927) { case 1 : // InternalSacmDsl.g:32679:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getSupportAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:32683:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:32684:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:32684:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:32685:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getSupportAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSupportRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop927; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getSupportAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSupport" // $ANTLR start "entryRuleConflicts" // InternalSacmDsl.g:32717:1: entryRuleConflicts returns [EObject current=null] : iv_ruleConflicts= ruleConflicts EOF ; public final EObject entryRuleConflicts() throws RecognitionException { EObject current = null; EObject iv_ruleConflicts = null; try { // InternalSacmDsl.g:32718:2: (iv_ruleConflicts= ruleConflicts EOF ) // InternalSacmDsl.g:32719:2: iv_ruleConflicts= ruleConflicts EOF { newCompositeNode(grammarAccess.getConflictsRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleConflicts=ruleConflicts(); state._fsp--; current =iv_ruleConflicts; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConflicts" // $ANTLR start "ruleConflicts" // InternalSacmDsl.g:32726:1: ruleConflicts returns [EObject current=null] : (otherlv_0= 'Conflicts' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleConflicts() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:32729:28: ( (otherlv_0= 'Conflicts' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:32730:1: (otherlv_0= 'Conflicts' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:32730:1: (otherlv_0= 'Conflicts' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:32730:3: otherlv_0= 'Conflicts' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,167,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getConflictsAccess().getConflictsKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getConflictsAccess().getIdKeyword_2()); // InternalSacmDsl.g:32742:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:32743:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:32743:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:32744:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getConflictsAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_92); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,79,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getConflictsAccess().getAssertionKeyword_4()); // InternalSacmDsl.g:32764:1: ( ( ruleEString ) ) // InternalSacmDsl.g:32765:1: ( ruleEString ) { // InternalSacmDsl.g:32765:1: ( ruleEString ) // InternalSacmDsl.g:32766:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getConflictsRule()); } newCompositeNode(grammarAccess.getConflictsAccess().getAssertionFormalAssertionCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_126); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getConflictsAccess().getSubjectKeyword_6()); // InternalSacmDsl.g:32783:1: ( ( ruleEString ) ) // InternalSacmDsl.g:32784:1: ( ruleEString ) { // InternalSacmDsl.g:32784:1: ( ruleEString ) // InternalSacmDsl.g:32785:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getConflictsRule()); } newCompositeNode(grammarAccess.getConflictsAccess().getSubjectFormalAssertionCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32798:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt930=2; int LA930_0 = input.LA(1); if ( (LA930_0==16) ) { alt930=1; } switch (alt930) { case 1 : // InternalSacmDsl.g:32798:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getConflictsAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:32806:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:32807:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:32807:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:32808:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConflictsAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32824:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop929: do { int alt929=2; int LA929_0 = input.LA(1); if ( (LA929_0==17) ) { alt929=1; } switch (alt929) { case 1 : // InternalSacmDsl.g:32824:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getConflictsAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:32828:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:32829:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:32829:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:32830:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getConflictsAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop929; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:32850:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt932=2; int LA932_0 = input.LA(1); if ( (LA932_0==19) ) { alt932=1; } switch (alt932) { case 1 : // InternalSacmDsl.g:32850:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getConflictsAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:32858:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:32859:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:32859:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:32860:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getConflictsAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32876:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop931: do { int alt931=2; int LA931_0 = input.LA(1); if ( (LA931_0==17) ) { alt931=1; } switch (alt931) { case 1 : // InternalSacmDsl.g:32876:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getConflictsAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:32880:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:32881:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:32881:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:32882:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getConflictsAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop931; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:32902:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt934=2; int LA934_0 = input.LA(1); if ( (LA934_0==61) ) { alt934=1; } switch (alt934) { case 1 : // InternalSacmDsl.g:32902:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getConflictsAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:32910:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32911:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:32911:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:32912:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConflictsAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32928:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop933: do { int alt933=2; int LA933_0 = input.LA(1); if ( (LA933_0==17) ) { alt933=1; } switch (alt933) { case 1 : // InternalSacmDsl.g:32928:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getConflictsAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:32932:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:32933:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:32933:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:32934:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getConflictsAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop933; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:32954:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt936=2; int LA936_0 = input.LA(1); if ( (LA936_0==62) ) { alt936=1; } switch (alt936) { case 1 : // InternalSacmDsl.g:32954:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getConflictsAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:32962:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32963:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32963:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:32964:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConflictsAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:32980:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop935: do { int alt935=2; int LA935_0 = input.LA(1); if ( (LA935_0==17) ) { alt935=1; } switch (alt935) { case 1 : // InternalSacmDsl.g:32980:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getConflictsAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:32984:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:32985:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:32985:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:32986:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getConflictsAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop935; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:33006:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt938=2; int LA938_0 = input.LA(1); if ( (LA938_0==63) ) { alt938=1; } switch (alt938) { case 1 : // InternalSacmDsl.g:33006:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getConflictsAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:33014:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:33015:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:33015:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:33016:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getConflictsAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33032:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop937: do { int alt937=2; int LA937_0 = input.LA(1); if ( (LA937_0==17) ) { alt937=1; } switch (alt937) { case 1 : // InternalSacmDsl.g:33032:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getConflictsAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:33036:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:33037:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:33037:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:33038:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getConflictsAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop937; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:33058:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt940=2; int LA940_0 = input.LA(1); if ( (LA940_0==64) ) { alt940=1; } switch (alt940) { case 1 : // InternalSacmDsl.g:33058:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getConflictsAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:33066:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33067:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33067:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33068:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConflictsAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33084:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop939: do { int alt939=2; int LA939_0 = input.LA(1); if ( (LA939_0==17) ) { alt939=1; } switch (alt939) { case 1 : // InternalSacmDsl.g:33084:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getConflictsAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:33088:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33089:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33089:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33090:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getConflictsAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop939; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:33110:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt942=2; int LA942_0 = input.LA(1); if ( (LA942_0==157) ) { alt942=1; } switch (alt942) { case 1 : // InternalSacmDsl.g:33110:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getConflictsAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getConflictsAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:33118:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:33119:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:33119:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:33120:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getConflictsAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33136:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop941: do { int alt941=2; int LA941_0 = input.LA(1); if ( (LA941_0==17) ) { alt941=1; } switch (alt941) { case 1 : // InternalSacmDsl.g:33136:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getConflictsAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:33140:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:33141:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:33141:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:33142:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getConflictsAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getConflictsRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop941; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getConflictsAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConflicts" // $ANTLR start "entryRuleRefutes" // InternalSacmDsl.g:33174:1: entryRuleRefutes returns [EObject current=null] : iv_ruleRefutes= ruleRefutes EOF ; public final EObject entryRuleRefutes() throws RecognitionException { EObject current = null; EObject iv_ruleRefutes = null; try { // InternalSacmDsl.g:33175:2: (iv_ruleRefutes= ruleRefutes EOF ) // InternalSacmDsl.g:33176:2: iv_ruleRefutes= ruleRefutes EOF { newCompositeNode(grammarAccess.getRefutesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleRefutes=ruleRefutes(); state._fsp--; current =iv_ruleRefutes; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRefutes" // $ANTLR start "ruleRefutes" // InternalSacmDsl.g:33183:1: ruleRefutes returns [EObject current=null] : (otherlv_0= 'Refutes' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ; public final EObject ruleRefutes() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; EObject lv_attribute_44_0 = null; EObject lv_attribute_46_0 = null; EObject lv_subject_49_0 = null; enterRule(); try { // InternalSacmDsl.g:33186:28: ( (otherlv_0= 'Refutes' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ) // InternalSacmDsl.g:33187:1: (otherlv_0= 'Refutes' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) { // InternalSacmDsl.g:33187:1: (otherlv_0= 'Refutes' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) // InternalSacmDsl.g:33187:3: otherlv_0= 'Refutes' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' { otherlv_0=(Token)match(input,168,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getRefutesAccess().getRefutesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getRefutesAccess().getIdKeyword_2()); // InternalSacmDsl.g:33199:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:33200:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:33200:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:33201:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getRefutesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_100); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,36,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getRefutesAccess().getElementKeyword_4()); // InternalSacmDsl.g:33221:1: ( ( ruleEString ) ) // InternalSacmDsl.g:33222:1: ( ruleEString ) { // InternalSacmDsl.g:33222:1: ( ruleEString ) // InternalSacmDsl.g:33223:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getRefutesRule()); } newCompositeNode(grammarAccess.getRefutesAccess().getElementFormalAssertionCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_140); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33236:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt944=2; int LA944_0 = input.LA(1); if ( (LA944_0==16) ) { alt944=1; } switch (alt944) { case 1 : // InternalSacmDsl.g:33236:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getRefutesAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:33244:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:33245:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:33245:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:33246:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRefutesAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33262:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop943: do { int alt943=2; int LA943_0 = input.LA(1); if ( (LA943_0==17) ) { alt943=1; } switch (alt943) { case 1 : // InternalSacmDsl.g:33262:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getRefutesAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:33266:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:33267:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:33267:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:33268:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getRefutesAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop943; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_141); newLeafNode(otherlv_11, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:33288:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt946=2; int LA946_0 = input.LA(1); if ( (LA946_0==19) ) { alt946=1; } switch (alt946) { case 1 : // InternalSacmDsl.g:33288:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getRefutesAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:33296:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:33297:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:33297:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:33298:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getRefutesAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33314:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop945: do { int alt945=2; int LA945_0 = input.LA(1); if ( (LA945_0==17) ) { alt945=1; } switch (alt945) { case 1 : // InternalSacmDsl.g:33314:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getRefutesAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:33318:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:33319:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:33319:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:33320:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getRefutesAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop945; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_142); newLeafNode(otherlv_17, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:33340:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt948=2; int LA948_0 = input.LA(1); if ( (LA948_0==61) ) { alt948=1; } switch (alt948) { case 1 : // InternalSacmDsl.g:33340:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getRefutesAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:33348:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:33349:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:33349:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:33350:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRefutesAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33366:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop947: do { int alt947=2; int LA947_0 = input.LA(1); if ( (LA947_0==17) ) { alt947=1; } switch (alt947) { case 1 : // InternalSacmDsl.g:33366:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getRefutesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:33370:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:33371:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:33371:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:33372:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getRefutesAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop947; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_143); newLeafNode(otherlv_23, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:33392:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt950=2; int LA950_0 = input.LA(1); if ( (LA950_0==62) ) { alt950=1; } switch (alt950) { case 1 : // InternalSacmDsl.g:33392:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getRefutesAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:33400:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:33401:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:33401:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:33402:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRefutesAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33418:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop949: do { int alt949=2; int LA949_0 = input.LA(1); if ( (LA949_0==17) ) { alt949=1; } switch (alt949) { case 1 : // InternalSacmDsl.g:33418:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getRefutesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:33422:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:33423:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:33423:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:33424:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getRefutesAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop949; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_144); newLeafNode(otherlv_29, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:33444:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt952=2; int LA952_0 = input.LA(1); if ( (LA952_0==63) ) { alt952=1; } switch (alt952) { case 1 : // InternalSacmDsl.g:33444:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getRefutesAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:33452:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:33453:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:33453:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:33454:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getRefutesAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33470:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop951: do { int alt951=2; int LA951_0 = input.LA(1); if ( (LA951_0==17) ) { alt951=1; } switch (alt951) { case 1 : // InternalSacmDsl.g:33470:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getRefutesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:33474:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:33475:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:33475:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:33476:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getRefutesAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop951; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_145); newLeafNode(otherlv_35, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:33496:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt954=2; int LA954_0 = input.LA(1); if ( (LA954_0==64) ) { alt954=1; } switch (alt954) { case 1 : // InternalSacmDsl.g:33496:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getRefutesAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:33504:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33505:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33505:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33506:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRefutesAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33522:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop953: do { int alt953=2; int LA953_0 = input.LA(1); if ( (LA953_0==17) ) { alt953=1; } switch (alt953) { case 1 : // InternalSacmDsl.g:33522:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getRefutesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:33526:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33527:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33527:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33528:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getRefutesAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop953; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_146); newLeafNode(otherlv_41, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:33548:3: (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? int alt956=2; int LA956_0 = input.LA(1); if ( (LA956_0==157) ) { alt956=1; } switch (alt956) { case 1 : // InternalSacmDsl.g:33548:5: otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getRefutesAccess().getAttributeKeyword_12_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_43, grammarAccess.getRefutesAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:33556:1: ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:33557:1: (lv_attribute_44_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:33557:1: (lv_attribute_44_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:33558:3: lv_attribute_44_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getRefutesAccess().getAttributeEvidenceAttributeParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_44_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "attribute", lv_attribute_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33574:2: (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* loop955: do { int alt955=2; int LA955_0 = input.LA(1); if ( (LA955_0==17) ) { alt955=1; } switch (alt955) { case 1 : // InternalSacmDsl.g:33574:4: otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getRefutesAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:33578:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:33579:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:33579:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:33580:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getRefutesAccess().getAttributeEvidenceAttributeParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop955; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_126); newLeafNode(otherlv_47, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_48=(Token)match(input,154,FollowSets000.FOLLOW_147); newLeafNode(otherlv_48, grammarAccess.getRefutesAccess().getSubjectKeyword_13()); // InternalSacmDsl.g:33604:1: ( (lv_subject_49_0= ruleEvidenceElement ) ) // InternalSacmDsl.g:33605:1: (lv_subject_49_0= ruleEvidenceElement ) { // InternalSacmDsl.g:33605:1: (lv_subject_49_0= ruleEvidenceElement ) // InternalSacmDsl.g:33606:3: lv_subject_49_0= ruleEvidenceElement { newCompositeNode(grammarAccess.getRefutesAccess().getSubjectEvidenceElementParserRuleCall_14_0()); pushFollow(FollowSets000.FOLLOW_17); lv_subject_49_0=ruleEvidenceElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getRefutesRule()); } set( current, "subject", lv_subject_49_0, "net.certware.sacm.dsl.SacmDsl.EvidenceElement"); afterParserOrEnumRuleCall(); } } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getRefutesAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRefutes" // $ANTLR start "entryRuleNegates" // InternalSacmDsl.g:33634:1: entryRuleNegates returns [EObject current=null] : iv_ruleNegates= ruleNegates EOF ; public final EObject entryRuleNegates() throws RecognitionException { EObject current = null; EObject iv_ruleNegates = null; try { // InternalSacmDsl.g:33635:2: (iv_ruleNegates= ruleNegates EOF ) // InternalSacmDsl.g:33636:2: iv_ruleNegates= ruleNegates EOF { newCompositeNode(grammarAccess.getNegatesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleNegates=ruleNegates(); state._fsp--; current =iv_ruleNegates; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleNegates" // $ANTLR start "ruleNegates" // InternalSacmDsl.g:33643:1: ruleNegates returns [EObject current=null] : (otherlv_0= 'Negates' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ; public final EObject ruleNegates() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; EObject lv_attribute_44_0 = null; EObject lv_attribute_46_0 = null; EObject lv_subject_49_0 = null; enterRule(); try { // InternalSacmDsl.g:33646:28: ( (otherlv_0= 'Negates' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ) // InternalSacmDsl.g:33647:1: (otherlv_0= 'Negates' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) { // InternalSacmDsl.g:33647:1: (otherlv_0= 'Negates' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) // InternalSacmDsl.g:33647:3: otherlv_0= 'Negates' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' { otherlv_0=(Token)match(input,169,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getNegatesAccess().getNegatesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getNegatesAccess().getIdKeyword_2()); // InternalSacmDsl.g:33659:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:33660:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:33660:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:33661:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getNegatesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_100); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,36,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getNegatesAccess().getElementKeyword_4()); // InternalSacmDsl.g:33681:1: ( ( ruleEString ) ) // InternalSacmDsl.g:33682:1: ( ruleEString ) { // InternalSacmDsl.g:33682:1: ( ruleEString ) // InternalSacmDsl.g:33683:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getNegatesRule()); } newCompositeNode(grammarAccess.getNegatesAccess().getElementEvidenceRelationCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_140); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33696:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt958=2; int LA958_0 = input.LA(1); if ( (LA958_0==16) ) { alt958=1; } switch (alt958) { case 1 : // InternalSacmDsl.g:33696:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getNegatesAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:33704:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:33705:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:33705:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:33706:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getNegatesAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33722:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop957: do { int alt957=2; int LA957_0 = input.LA(1); if ( (LA957_0==17) ) { alt957=1; } switch (alt957) { case 1 : // InternalSacmDsl.g:33722:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getNegatesAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:33726:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:33727:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:33727:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:33728:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getNegatesAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop957; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_141); newLeafNode(otherlv_11, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:33748:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt960=2; int LA960_0 = input.LA(1); if ( (LA960_0==19) ) { alt960=1; } switch (alt960) { case 1 : // InternalSacmDsl.g:33748:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getNegatesAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:33756:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:33757:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:33757:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:33758:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getNegatesAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33774:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop959: do { int alt959=2; int LA959_0 = input.LA(1); if ( (LA959_0==17) ) { alt959=1; } switch (alt959) { case 1 : // InternalSacmDsl.g:33774:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getNegatesAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:33778:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:33779:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:33779:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:33780:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getNegatesAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop959; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_142); newLeafNode(otherlv_17, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:33800:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt962=2; int LA962_0 = input.LA(1); if ( (LA962_0==61) ) { alt962=1; } switch (alt962) { case 1 : // InternalSacmDsl.g:33800:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getNegatesAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:33808:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:33809:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:33809:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:33810:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getNegatesAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33826:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop961: do { int alt961=2; int LA961_0 = input.LA(1); if ( (LA961_0==17) ) { alt961=1; } switch (alt961) { case 1 : // InternalSacmDsl.g:33826:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getNegatesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:33830:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:33831:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:33831:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:33832:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getNegatesAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop961; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_143); newLeafNode(otherlv_23, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:33852:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt964=2; int LA964_0 = input.LA(1); if ( (LA964_0==62) ) { alt964=1; } switch (alt964) { case 1 : // InternalSacmDsl.g:33852:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getNegatesAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:33860:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:33861:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:33861:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:33862:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getNegatesAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33878:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop963: do { int alt963=2; int LA963_0 = input.LA(1); if ( (LA963_0==17) ) { alt963=1; } switch (alt963) { case 1 : // InternalSacmDsl.g:33878:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getNegatesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:33882:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:33883:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:33883:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:33884:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getNegatesAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop963; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_144); newLeafNode(otherlv_29, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:33904:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt966=2; int LA966_0 = input.LA(1); if ( (LA966_0==63) ) { alt966=1; } switch (alt966) { case 1 : // InternalSacmDsl.g:33904:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getNegatesAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:33912:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:33913:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:33913:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:33914:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getNegatesAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33930:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop965: do { int alt965=2; int LA965_0 = input.LA(1); if ( (LA965_0==17) ) { alt965=1; } switch (alt965) { case 1 : // InternalSacmDsl.g:33930:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getNegatesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:33934:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:33935:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:33935:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:33936:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getNegatesAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop965; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_145); newLeafNode(otherlv_35, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:33956:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt968=2; int LA968_0 = input.LA(1); if ( (LA968_0==64) ) { alt968=1; } switch (alt968) { case 1 : // InternalSacmDsl.g:33956:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getNegatesAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:33964:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33965:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33965:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33966:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getNegatesAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:33982:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop967: do { int alt967=2; int LA967_0 = input.LA(1); if ( (LA967_0==17) ) { alt967=1; } switch (alt967) { case 1 : // InternalSacmDsl.g:33982:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getNegatesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:33986:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:33987:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:33987:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:33988:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getNegatesAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop967; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_146); newLeafNode(otherlv_41, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:34008:3: (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? int alt970=2; int LA970_0 = input.LA(1); if ( (LA970_0==157) ) { alt970=1; } switch (alt970) { case 1 : // InternalSacmDsl.g:34008:5: otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getNegatesAccess().getAttributeKeyword_12_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_43, grammarAccess.getNegatesAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:34016:1: ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34017:1: (lv_attribute_44_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34017:1: (lv_attribute_44_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34018:3: lv_attribute_44_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getNegatesAccess().getAttributeEvidenceAttributeParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_44_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "attribute", lv_attribute_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34034:2: (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* loop969: do { int alt969=2; int LA969_0 = input.LA(1); if ( (LA969_0==17) ) { alt969=1; } switch (alt969) { case 1 : // InternalSacmDsl.g:34034:4: otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getNegatesAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:34038:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34039:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34039:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34040:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getNegatesAccess().getAttributeEvidenceAttributeParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop969; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_126); newLeafNode(otherlv_47, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_48=(Token)match(input,154,FollowSets000.FOLLOW_147); newLeafNode(otherlv_48, grammarAccess.getNegatesAccess().getSubjectKeyword_13()); // InternalSacmDsl.g:34064:1: ( (lv_subject_49_0= ruleEvidenceElement ) ) // InternalSacmDsl.g:34065:1: (lv_subject_49_0= ruleEvidenceElement ) { // InternalSacmDsl.g:34065:1: (lv_subject_49_0= ruleEvidenceElement ) // InternalSacmDsl.g:34066:3: lv_subject_49_0= ruleEvidenceElement { newCompositeNode(grammarAccess.getNegatesAccess().getSubjectEvidenceElementParserRuleCall_14_0()); pushFollow(FollowSets000.FOLLOW_17); lv_subject_49_0=ruleEvidenceElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getNegatesRule()); } set( current, "subject", lv_subject_49_0, "net.certware.sacm.dsl.SacmDsl.EvidenceElement"); afterParserOrEnumRuleCall(); } } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getNegatesAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleNegates" // $ANTLR start "entryRuleResolves" // InternalSacmDsl.g:34094:1: entryRuleResolves returns [EObject current=null] : iv_ruleResolves= ruleResolves EOF ; public final EObject entryRuleResolves() throws RecognitionException { EObject current = null; EObject iv_ruleResolves = null; try { // InternalSacmDsl.g:34095:2: (iv_ruleResolves= ruleResolves EOF ) // InternalSacmDsl.g:34096:2: iv_ruleResolves= ruleResolves EOF { newCompositeNode(grammarAccess.getResolvesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleResolves=ruleResolves(); state._fsp--; current =iv_ruleResolves; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleResolves" // $ANTLR start "ruleResolves" // InternalSacmDsl.g:34103:1: ruleResolves returns [EObject current=null] : (otherlv_0= 'Resolves' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ; public final EObject ruleResolves() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; EObject lv_attribute_44_0 = null; EObject lv_attribute_46_0 = null; EObject lv_subject_49_0 = null; enterRule(); try { // InternalSacmDsl.g:34106:28: ( (otherlv_0= 'Resolves' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) ) // InternalSacmDsl.g:34107:1: (otherlv_0= 'Resolves' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) { // InternalSacmDsl.g:34107:1: (otherlv_0= 'Resolves' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' ) // InternalSacmDsl.g:34107:3: otherlv_0= 'Resolves' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'element' ( ( ruleEString ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? otherlv_48= 'subject' ( (lv_subject_49_0= ruleEvidenceElement ) ) otherlv_50= '}' { otherlv_0=(Token)match(input,170,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getResolvesAccess().getResolvesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getResolvesAccess().getIdKeyword_2()); // InternalSacmDsl.g:34119:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:34120:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:34120:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:34121:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getResolvesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_100); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,36,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getResolvesAccess().getElementKeyword_4()); // InternalSacmDsl.g:34141:1: ( ( ruleEString ) ) // InternalSacmDsl.g:34142:1: ( ruleEString ) { // InternalSacmDsl.g:34142:1: ( ruleEString ) // InternalSacmDsl.g:34143:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getResolvesRule()); } newCompositeNode(grammarAccess.getResolvesAccess().getElementEvidenceObservationCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_140); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34156:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt972=2; int LA972_0 = input.LA(1); if ( (LA972_0==16) ) { alt972=1; } switch (alt972) { case 1 : // InternalSacmDsl.g:34156:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getResolvesAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:34164:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:34165:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:34165:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:34166:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getResolvesAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34182:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop971: do { int alt971=2; int LA971_0 = input.LA(1); if ( (LA971_0==17) ) { alt971=1; } switch (alt971) { case 1 : // InternalSacmDsl.g:34182:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getResolvesAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:34186:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:34187:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:34187:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:34188:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getResolvesAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop971; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_141); newLeafNode(otherlv_11, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:34208:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt974=2; int LA974_0 = input.LA(1); if ( (LA974_0==19) ) { alt974=1; } switch (alt974) { case 1 : // InternalSacmDsl.g:34208:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getResolvesAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:34216:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:34217:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:34217:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:34218:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getResolvesAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34234:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop973: do { int alt973=2; int LA973_0 = input.LA(1); if ( (LA973_0==17) ) { alt973=1; } switch (alt973) { case 1 : // InternalSacmDsl.g:34234:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getResolvesAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:34238:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:34239:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:34239:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:34240:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getResolvesAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop973; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_142); newLeafNode(otherlv_17, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:34260:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt976=2; int LA976_0 = input.LA(1); if ( (LA976_0==61) ) { alt976=1; } switch (alt976) { case 1 : // InternalSacmDsl.g:34260:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getResolvesAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:34268:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:34269:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:34269:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:34270:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getResolvesAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34286:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop975: do { int alt975=2; int LA975_0 = input.LA(1); if ( (LA975_0==17) ) { alt975=1; } switch (alt975) { case 1 : // InternalSacmDsl.g:34286:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getResolvesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:34290:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:34291:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:34291:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:34292:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getResolvesAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop975; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_143); newLeafNode(otherlv_23, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:34312:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt978=2; int LA978_0 = input.LA(1); if ( (LA978_0==62) ) { alt978=1; } switch (alt978) { case 1 : // InternalSacmDsl.g:34312:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getResolvesAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:34320:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:34321:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:34321:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:34322:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getResolvesAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34338:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop977: do { int alt977=2; int LA977_0 = input.LA(1); if ( (LA977_0==17) ) { alt977=1; } switch (alt977) { case 1 : // InternalSacmDsl.g:34338:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getResolvesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:34342:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:34343:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:34343:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:34344:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getResolvesAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop977; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_144); newLeafNode(otherlv_29, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:34364:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt980=2; int LA980_0 = input.LA(1); if ( (LA980_0==63) ) { alt980=1; } switch (alt980) { case 1 : // InternalSacmDsl.g:34364:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getResolvesAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:34372:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:34373:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:34373:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:34374:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getResolvesAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34390:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop979: do { int alt979=2; int LA979_0 = input.LA(1); if ( (LA979_0==17) ) { alt979=1; } switch (alt979) { case 1 : // InternalSacmDsl.g:34390:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getResolvesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:34394:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:34395:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:34395:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:34396:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getResolvesAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop979; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_145); newLeafNode(otherlv_35, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:34416:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt982=2; int LA982_0 = input.LA(1); if ( (LA982_0==64) ) { alt982=1; } switch (alt982) { case 1 : // InternalSacmDsl.g:34416:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getResolvesAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:34424:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:34425:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:34425:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:34426:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getResolvesAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34442:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop981: do { int alt981=2; int LA981_0 = input.LA(1); if ( (LA981_0==17) ) { alt981=1; } switch (alt981) { case 1 : // InternalSacmDsl.g:34442:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getResolvesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:34446:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:34447:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:34447:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:34448:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getResolvesAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop981; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_146); newLeafNode(otherlv_41, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:34468:3: (otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' )? int alt984=2; int LA984_0 = input.LA(1); if ( (LA984_0==157) ) { alt984=1; } switch (alt984) { case 1 : // InternalSacmDsl.g:34468:5: otherlv_42= 'attribute' otherlv_43= '{' ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* otherlv_47= '}' { otherlv_42=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_42, grammarAccess.getResolvesAccess().getAttributeKeyword_12_0()); otherlv_43=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_43, grammarAccess.getResolvesAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:34476:1: ( (lv_attribute_44_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34477:1: (lv_attribute_44_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34477:1: (lv_attribute_44_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34478:3: lv_attribute_44_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getResolvesAccess().getAttributeEvidenceAttributeParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_44_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "attribute", lv_attribute_44_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34494:2: (otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) )* loop983: do { int alt983=2; int LA983_0 = input.LA(1); if ( (LA983_0==17) ) { alt983=1; } switch (alt983) { case 1 : // InternalSacmDsl.g:34494:4: otherlv_45= ',' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) { otherlv_45=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getResolvesAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:34498:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34499:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34499:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34500:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getResolvesAccess().getAttributeEvidenceAttributeParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop983; } } while (true); otherlv_47=(Token)match(input,18,FollowSets000.FOLLOW_126); newLeafNode(otherlv_47, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_12_4()); } break; } otherlv_48=(Token)match(input,154,FollowSets000.FOLLOW_147); newLeafNode(otherlv_48, grammarAccess.getResolvesAccess().getSubjectKeyword_13()); // InternalSacmDsl.g:34524:1: ( (lv_subject_49_0= ruleEvidenceElement ) ) // InternalSacmDsl.g:34525:1: (lv_subject_49_0= ruleEvidenceElement ) { // InternalSacmDsl.g:34525:1: (lv_subject_49_0= ruleEvidenceElement ) // InternalSacmDsl.g:34526:3: lv_subject_49_0= ruleEvidenceElement { newCompositeNode(grammarAccess.getResolvesAccess().getSubjectEvidenceElementParserRuleCall_14_0()); pushFollow(FollowSets000.FOLLOW_17); lv_subject_49_0=ruleEvidenceElement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getResolvesRule()); } set( current, "subject", lv_subject_49_0, "net.certware.sacm.dsl.SacmDsl.EvidenceElement"); afterParserOrEnumRuleCall(); } } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getResolvesAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleResolves" // $ANTLR start "entryRuleWeakens" // InternalSacmDsl.g:34554:1: entryRuleWeakens returns [EObject current=null] : iv_ruleWeakens= ruleWeakens EOF ; public final EObject entryRuleWeakens() throws RecognitionException { EObject current = null; EObject iv_ruleWeakens = null; try { // InternalSacmDsl.g:34555:2: (iv_ruleWeakens= ruleWeakens EOF ) // InternalSacmDsl.g:34556:2: iv_ruleWeakens= ruleWeakens EOF { newCompositeNode(grammarAccess.getWeakensRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleWeakens=ruleWeakens(); state._fsp--; current =iv_ruleWeakens; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleWeakens" // $ANTLR start "ruleWeakens" // InternalSacmDsl.g:34563:1: ruleWeakens returns [EObject current=null] : (otherlv_0= 'Weakens' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleWeakens() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:34566:28: ( (otherlv_0= 'Weakens' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:34567:1: (otherlv_0= 'Weakens' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:34567:1: (otherlv_0= 'Weakens' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:34567:3: otherlv_0= 'Weakens' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,171,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getWeakensAccess().getWeakensKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getWeakensAccess().getIdKeyword_2()); // InternalSacmDsl.g:34579:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:34580:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:34580:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:34581:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getWeakensAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getWeakensAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:34601:1: ( ( ruleEString ) ) // InternalSacmDsl.g:34602:1: ( ruleEString ) { // InternalSacmDsl.g:34602:1: ( ruleEString ) // InternalSacmDsl.g:34603:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getWeakensRule()); } newCompositeNode(grammarAccess.getWeakensAccess().getSubjectEvidenceRelationCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_148); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,172,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getWeakensAccess().getRelationKeyword_6()); // InternalSacmDsl.g:34620:1: ( ( ruleEString ) ) // InternalSacmDsl.g:34621:1: ( ruleEString ) { // InternalSacmDsl.g:34621:1: ( ruleEString ) // InternalSacmDsl.g:34622:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getWeakensRule()); } newCompositeNode(grammarAccess.getWeakensAccess().getRelationEvidenceRelationCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34635:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt986=2; int LA986_0 = input.LA(1); if ( (LA986_0==16) ) { alt986=1; } switch (alt986) { case 1 : // InternalSacmDsl.g:34635:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getWeakensAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:34643:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:34644:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:34644:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:34645:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getWeakensAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34661:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop985: do { int alt985=2; int LA985_0 = input.LA(1); if ( (LA985_0==17) ) { alt985=1; } switch (alt985) { case 1 : // InternalSacmDsl.g:34661:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getWeakensAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:34665:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:34666:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:34666:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:34667:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getWeakensAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop985; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:34687:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt988=2; int LA988_0 = input.LA(1); if ( (LA988_0==19) ) { alt988=1; } switch (alt988) { case 1 : // InternalSacmDsl.g:34687:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getWeakensAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:34695:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:34696:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:34696:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:34697:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getWeakensAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34713:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop987: do { int alt987=2; int LA987_0 = input.LA(1); if ( (LA987_0==17) ) { alt987=1; } switch (alt987) { case 1 : // InternalSacmDsl.g:34713:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getWeakensAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:34717:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:34718:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:34718:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:34719:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getWeakensAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop987; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:34739:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt990=2; int LA990_0 = input.LA(1); if ( (LA990_0==61) ) { alt990=1; } switch (alt990) { case 1 : // InternalSacmDsl.g:34739:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getWeakensAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:34747:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:34748:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:34748:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:34749:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getWeakensAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34765:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop989: do { int alt989=2; int LA989_0 = input.LA(1); if ( (LA989_0==17) ) { alt989=1; } switch (alt989) { case 1 : // InternalSacmDsl.g:34765:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getWeakensAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:34769:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:34770:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:34770:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:34771:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getWeakensAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop989; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:34791:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt992=2; int LA992_0 = input.LA(1); if ( (LA992_0==62) ) { alt992=1; } switch (alt992) { case 1 : // InternalSacmDsl.g:34791:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getWeakensAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:34799:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:34800:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:34800:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:34801:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getWeakensAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34817:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop991: do { int alt991=2; int LA991_0 = input.LA(1); if ( (LA991_0==17) ) { alt991=1; } switch (alt991) { case 1 : // InternalSacmDsl.g:34817:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getWeakensAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:34821:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:34822:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:34822:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:34823:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getWeakensAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop991; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:34843:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt994=2; int LA994_0 = input.LA(1); if ( (LA994_0==63) ) { alt994=1; } switch (alt994) { case 1 : // InternalSacmDsl.g:34843:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getWeakensAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:34851:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:34852:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:34852:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:34853:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getWeakensAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34869:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop993: do { int alt993=2; int LA993_0 = input.LA(1); if ( (LA993_0==17) ) { alt993=1; } switch (alt993) { case 1 : // InternalSacmDsl.g:34869:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getWeakensAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:34873:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:34874:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:34874:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:34875:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getWeakensAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop993; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:34895:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt996=2; int LA996_0 = input.LA(1); if ( (LA996_0==64) ) { alt996=1; } switch (alt996) { case 1 : // InternalSacmDsl.g:34895:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getWeakensAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:34903:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:34904:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:34904:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:34905:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getWeakensAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34921:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop995: do { int alt995=2; int LA995_0 = input.LA(1); if ( (LA995_0==17) ) { alt995=1; } switch (alt995) { case 1 : // InternalSacmDsl.g:34921:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getWeakensAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:34925:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:34926:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:34926:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:34927:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getWeakensAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop995; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:34947:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt998=2; int LA998_0 = input.LA(1); if ( (LA998_0==157) ) { alt998=1; } switch (alt998) { case 1 : // InternalSacmDsl.g:34947:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getWeakensAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getWeakensAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:34955:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34956:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34956:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34957:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getWeakensAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:34973:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop997: do { int alt997=2; int LA997_0 = input.LA(1); if ( (LA997_0==17) ) { alt997=1; } switch (alt997) { case 1 : // InternalSacmDsl.g:34973:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getWeakensAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:34977:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:34978:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:34978:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:34979:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getWeakensAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getWeakensRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop997; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getWeakensAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleWeakens" // $ANTLR start "entryRuleAmplifies" // InternalSacmDsl.g:35011:1: entryRuleAmplifies returns [EObject current=null] : iv_ruleAmplifies= ruleAmplifies EOF ; public final EObject entryRuleAmplifies() throws RecognitionException { EObject current = null; EObject iv_ruleAmplifies = null; try { // InternalSacmDsl.g:35012:2: (iv_ruleAmplifies= ruleAmplifies EOF ) // InternalSacmDsl.g:35013:2: iv_ruleAmplifies= ruleAmplifies EOF { newCompositeNode(grammarAccess.getAmplifiesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAmplifies=ruleAmplifies(); state._fsp--; current =iv_ruleAmplifies; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAmplifies" // $ANTLR start "ruleAmplifies" // InternalSacmDsl.g:35020:1: ruleAmplifies returns [EObject current=null] : (otherlv_0= 'Amplifies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleAmplifies() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:35023:28: ( (otherlv_0= 'Amplifies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:35024:1: (otherlv_0= 'Amplifies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:35024:1: (otherlv_0= 'Amplifies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:35024:3: otherlv_0= 'Amplifies' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'relation' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,173,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getAmplifiesAccess().getAmplifiesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getAmplifiesAccess().getIdKeyword_2()); // InternalSacmDsl.g:35036:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:35037:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:35037:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:35038:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getAmplifiesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getAmplifiesAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:35058:1: ( ( ruleEString ) ) // InternalSacmDsl.g:35059:1: ( ruleEString ) { // InternalSacmDsl.g:35059:1: ( ruleEString ) // InternalSacmDsl.g:35060:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAmplifiesRule()); } newCompositeNode(grammarAccess.getAmplifiesAccess().getSubjectEvidenceRelationCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_148); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,172,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getAmplifiesAccess().getRelationKeyword_6()); // InternalSacmDsl.g:35077:1: ( ( ruleEString ) ) // InternalSacmDsl.g:35078:1: ( ruleEString ) { // InternalSacmDsl.g:35078:1: ( ruleEString ) // InternalSacmDsl.g:35079:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getAmplifiesRule()); } newCompositeNode(grammarAccess.getAmplifiesAccess().getRelationEvidenceRelationCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35092:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt1000=2; int LA1000_0 = input.LA(1); if ( (LA1000_0==16) ) { alt1000=1; } switch (alt1000) { case 1 : // InternalSacmDsl.g:35092:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getAmplifiesAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:35100:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:35101:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:35101:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:35102:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAmplifiesAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35118:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop999: do { int alt999=2; int LA999_0 = input.LA(1); if ( (LA999_0==17) ) { alt999=1; } switch (alt999) { case 1 : // InternalSacmDsl.g:35118:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getAmplifiesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:35122:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:35123:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:35123:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:35124:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getAmplifiesAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop999; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:35144:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt1002=2; int LA1002_0 = input.LA(1); if ( (LA1002_0==19) ) { alt1002=1; } switch (alt1002) { case 1 : // InternalSacmDsl.g:35144:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getAmplifiesAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:35152:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:35153:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:35153:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:35154:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getAmplifiesAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35170:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop1001: do { int alt1001=2; int LA1001_0 = input.LA(1); if ( (LA1001_0==17) ) { alt1001=1; } switch (alt1001) { case 1 : // InternalSacmDsl.g:35170:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getAmplifiesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:35174:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:35175:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:35175:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:35176:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getAmplifiesAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1001; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:35196:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt1004=2; int LA1004_0 = input.LA(1); if ( (LA1004_0==61) ) { alt1004=1; } switch (alt1004) { case 1 : // InternalSacmDsl.g:35196:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getAmplifiesAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:35204:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:35205:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:35205:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:35206:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAmplifiesAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35222:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop1003: do { int alt1003=2; int LA1003_0 = input.LA(1); if ( (LA1003_0==17) ) { alt1003=1; } switch (alt1003) { case 1 : // InternalSacmDsl.g:35222:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getAmplifiesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:35226:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:35227:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:35227:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:35228:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getAmplifiesAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1003; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:35248:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt1006=2; int LA1006_0 = input.LA(1); if ( (LA1006_0==62) ) { alt1006=1; } switch (alt1006) { case 1 : // InternalSacmDsl.g:35248:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getAmplifiesAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:35256:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:35257:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:35257:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:35258:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAmplifiesAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35274:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop1005: do { int alt1005=2; int LA1005_0 = input.LA(1); if ( (LA1005_0==17) ) { alt1005=1; } switch (alt1005) { case 1 : // InternalSacmDsl.g:35274:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getAmplifiesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:35278:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:35279:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:35279:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:35280:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getAmplifiesAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1005; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:35300:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt1008=2; int LA1008_0 = input.LA(1); if ( (LA1008_0==63) ) { alt1008=1; } switch (alt1008) { case 1 : // InternalSacmDsl.g:35300:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getAmplifiesAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:35308:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:35309:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:35309:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:35310:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getAmplifiesAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35326:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop1007: do { int alt1007=2; int LA1007_0 = input.LA(1); if ( (LA1007_0==17) ) { alt1007=1; } switch (alt1007) { case 1 : // InternalSacmDsl.g:35326:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getAmplifiesAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:35330:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:35331:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:35331:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:35332:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getAmplifiesAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1007; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:35352:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt1010=2; int LA1010_0 = input.LA(1); if ( (LA1010_0==64) ) { alt1010=1; } switch (alt1010) { case 1 : // InternalSacmDsl.g:35352:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getAmplifiesAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:35360:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:35361:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:35361:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:35362:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAmplifiesAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35378:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop1009: do { int alt1009=2; int LA1009_0 = input.LA(1); if ( (LA1009_0==17) ) { alt1009=1; } switch (alt1009) { case 1 : // InternalSacmDsl.g:35378:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getAmplifiesAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:35382:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:35383:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:35383:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:35384:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getAmplifiesAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1009; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:35404:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt1012=2; int LA1012_0 = input.LA(1); if ( (LA1012_0==157) ) { alt1012=1; } switch (alt1012) { case 1 : // InternalSacmDsl.g:35404:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getAmplifiesAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getAmplifiesAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:35412:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:35413:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:35413:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:35414:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getAmplifiesAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35430:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop1011: do { int alt1011=2; int LA1011_0 = input.LA(1); if ( (LA1011_0==17) ) { alt1011=1; } switch (alt1011) { case 1 : // InternalSacmDsl.g:35430:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getAmplifiesAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:35434:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:35435:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:35435:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:35436:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getAmplifiesAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAmplifiesRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop1011; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getAmplifiesAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAmplifies" // $ANTLR start "entryRuleChallenges" // InternalSacmDsl.g:35468:1: entryRuleChallenges returns [EObject current=null] : iv_ruleChallenges= ruleChallenges EOF ; public final EObject entryRuleChallenges() throws RecognitionException { EObject current = null; EObject iv_ruleChallenges = null; try { // InternalSacmDsl.g:35469:2: (iv_ruleChallenges= ruleChallenges EOF ) // InternalSacmDsl.g:35470:2: iv_ruleChallenges= ruleChallenges EOF { newCompositeNode(grammarAccess.getChallengesRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleChallenges=ruleChallenges(); state._fsp--; current =iv_ruleChallenges; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleChallenges" // $ANTLR start "ruleChallenges" // InternalSacmDsl.g:35477:1: ruleChallenges returns [EObject current=null] : (otherlv_0= 'Challenges' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleChallenges() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:35480:28: ( (otherlv_0= 'Challenges' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:35481:1: (otherlv_0= 'Challenges' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:35481:1: (otherlv_0= 'Challenges' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:35481:3: otherlv_0= 'Challenges' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'assertion' ( ( ruleEString ) ) otherlv_6= 'subject' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,174,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getChallengesAccess().getChallengesKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getChallengesAccess().getIdKeyword_2()); // InternalSacmDsl.g:35493:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:35494:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:35494:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:35495:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getChallengesAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_92); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,79,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getChallengesAccess().getAssertionKeyword_4()); // InternalSacmDsl.g:35515:1: ( ( ruleEString ) ) // InternalSacmDsl.g:35516:1: ( ruleEString ) { // InternalSacmDsl.g:35516:1: ( ruleEString ) // InternalSacmDsl.g:35517:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getChallengesRule()); } newCompositeNode(grammarAccess.getChallengesAccess().getAssertionFormalAssertionCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_126); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getChallengesAccess().getSubjectKeyword_6()); // InternalSacmDsl.g:35534:1: ( ( ruleEString ) ) // InternalSacmDsl.g:35535:1: ( ruleEString ) { // InternalSacmDsl.g:35535:1: ( ruleEString ) // InternalSacmDsl.g:35536:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getChallengesRule()); } newCompositeNode(grammarAccess.getChallengesAccess().getSubjectEvidenceItemCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35549:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt1014=2; int LA1014_0 = input.LA(1); if ( (LA1014_0==16) ) { alt1014=1; } switch (alt1014) { case 1 : // InternalSacmDsl.g:35549:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getChallengesAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:35557:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:35558:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:35558:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:35559:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getChallengesAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35575:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop1013: do { int alt1013=2; int LA1013_0 = input.LA(1); if ( (LA1013_0==17) ) { alt1013=1; } switch (alt1013) { case 1 : // InternalSacmDsl.g:35575:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getChallengesAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:35579:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:35580:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:35580:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:35581:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getChallengesAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1013; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:35601:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt1016=2; int LA1016_0 = input.LA(1); if ( (LA1016_0==19) ) { alt1016=1; } switch (alt1016) { case 1 : // InternalSacmDsl.g:35601:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getChallengesAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:35609:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:35610:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:35610:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:35611:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getChallengesAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35627:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop1015: do { int alt1015=2; int LA1015_0 = input.LA(1); if ( (LA1015_0==17) ) { alt1015=1; } switch (alt1015) { case 1 : // InternalSacmDsl.g:35627:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getChallengesAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:35631:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:35632:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:35632:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:35633:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getChallengesAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1015; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:35653:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt1018=2; int LA1018_0 = input.LA(1); if ( (LA1018_0==61) ) { alt1018=1; } switch (alt1018) { case 1 : // InternalSacmDsl.g:35653:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getChallengesAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:35661:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:35662:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:35662:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:35663:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getChallengesAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35679:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop1017: do { int alt1017=2; int LA1017_0 = input.LA(1); if ( (LA1017_0==17) ) { alt1017=1; } switch (alt1017) { case 1 : // InternalSacmDsl.g:35679:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getChallengesAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:35683:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:35684:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:35684:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:35685:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getChallengesAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1017; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:35705:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt1020=2; int LA1020_0 = input.LA(1); if ( (LA1020_0==62) ) { alt1020=1; } switch (alt1020) { case 1 : // InternalSacmDsl.g:35705:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getChallengesAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:35713:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:35714:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:35714:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:35715:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getChallengesAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35731:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop1019: do { int alt1019=2; int LA1019_0 = input.LA(1); if ( (LA1019_0==17) ) { alt1019=1; } switch (alt1019) { case 1 : // InternalSacmDsl.g:35731:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getChallengesAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:35735:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:35736:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:35736:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:35737:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getChallengesAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1019; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:35757:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt1022=2; int LA1022_0 = input.LA(1); if ( (LA1022_0==63) ) { alt1022=1; } switch (alt1022) { case 1 : // InternalSacmDsl.g:35757:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getChallengesAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:35765:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:35766:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:35766:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:35767:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getChallengesAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35783:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop1021: do { int alt1021=2; int LA1021_0 = input.LA(1); if ( (LA1021_0==17) ) { alt1021=1; } switch (alt1021) { case 1 : // InternalSacmDsl.g:35783:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getChallengesAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:35787:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:35788:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:35788:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:35789:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getChallengesAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1021; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:35809:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt1024=2; int LA1024_0 = input.LA(1); if ( (LA1024_0==64) ) { alt1024=1; } switch (alt1024) { case 1 : // InternalSacmDsl.g:35809:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getChallengesAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:35817:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:35818:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:35818:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:35819:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getChallengesAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35835:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop1023: do { int alt1023=2; int LA1023_0 = input.LA(1); if ( (LA1023_0==17) ) { alt1023=1; } switch (alt1023) { case 1 : // InternalSacmDsl.g:35835:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getChallengesAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:35839:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:35840:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:35840:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:35841:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getChallengesAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1023; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:35861:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt1026=2; int LA1026_0 = input.LA(1); if ( (LA1026_0==157) ) { alt1026=1; } switch (alt1026) { case 1 : // InternalSacmDsl.g:35861:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getChallengesAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getChallengesAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:35869:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:35870:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:35870:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:35871:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getChallengesAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35887:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop1025: do { int alt1025=2; int LA1025_0 = input.LA(1); if ( (LA1025_0==17) ) { alt1025=1; } switch (alt1025) { case 1 : // InternalSacmDsl.g:35887:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getChallengesAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:35891:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:35892:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:35892:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:35893:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getChallengesAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChallengesRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop1025; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getChallengesAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleChallenges" // $ANTLR start "entryRuleStrength" // InternalSacmDsl.g:35925:1: entryRuleStrength returns [EObject current=null] : iv_ruleStrength= ruleStrength EOF ; public final EObject entryRuleStrength() throws RecognitionException { EObject current = null; EObject iv_ruleStrength = null; try { // InternalSacmDsl.g:35926:2: (iv_ruleStrength= ruleStrength EOF ) // InternalSacmDsl.g:35927:2: iv_ruleStrength= ruleStrength EOF { newCompositeNode(grammarAccess.getStrengthRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleStrength=ruleStrength(); state._fsp--; current =iv_ruleStrength; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStrength" // $ANTLR start "ruleStrength" // InternalSacmDsl.g:35934:1: ruleStrength returns [EObject current=null] : (otherlv_0= 'Strength' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleInteger ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ; public final EObject ruleStrength() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_30=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_36=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_42=null; AntlrDatatypeRuleToken lv_id_3_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_annotation_14_0 = null; EObject lv_annotation_16_0 = null; EObject lv_timing_20_0 = null; EObject lv_timing_22_0 = null; EObject lv_custody_26_0 = null; EObject lv_custody_28_0 = null; EObject lv_provenance_32_0 = null; EObject lv_provenance_34_0 = null; EObject lv_event_38_0 = null; EObject lv_event_40_0 = null; enterRule(); try { // InternalSacmDsl.g:35937:28: ( (otherlv_0= 'Strength' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleInteger ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) ) // InternalSacmDsl.g:35938:1: (otherlv_0= 'Strength' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleInteger ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) { // InternalSacmDsl.g:35938:1: (otherlv_0= 'Strength' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleInteger ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' ) // InternalSacmDsl.g:35938:3: otherlv_0= 'Strength' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'value' ( (lv_value_5_0= ruleInteger ) ) (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? otherlv_42= '}' { otherlv_0=(Token)match(input,175,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getStrengthAccess().getStrengthKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getStrengthAccess().getIdKeyword_2()); // InternalSacmDsl.g:35950:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:35951:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:35951:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:35952:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getStrengthAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_19); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_118); newLeafNode(otherlv_4, grammarAccess.getStrengthAccess().getValueKeyword_4()); // InternalSacmDsl.g:35972:1: ( (lv_value_5_0= ruleInteger ) ) // InternalSacmDsl.g:35973:1: (lv_value_5_0= ruleInteger ) { // InternalSacmDsl.g:35973:1: (lv_value_5_0= ruleInteger ) // InternalSacmDsl.g:35974:3: lv_value_5_0= ruleInteger { newCompositeNode(grammarAccess.getStrengthAccess().getValueIntegerParserRuleCall_5_0()); pushFollow(FollowSets000.FOLLOW_79); lv_value_5_0=ruleInteger(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } set( current, "value", lv_value_5_0, "net.certware.sacm.dsl.SacmDsl.Integer"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:35990:2: (otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' )? int alt1028=2; int LA1028_0 = input.LA(1); if ( (LA1028_0==16) ) { alt1028=1; } switch (alt1028) { case 1 : // InternalSacmDsl.g:35990:4: otherlv_6= 'taggedValue' otherlv_7= '{' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* otherlv_11= '}' { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_6, grammarAccess.getStrengthAccess().getTaggedValueKeyword_6_0()); otherlv_7=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:35998:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:35999:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:35999:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:36000:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getStrengthAccess().getTaggedValueTaggedValueParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36016:2: (otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) )* loop1027: do { int alt1027=2; int LA1027_0 = input.LA(1); if ( (LA1027_0==17) ) { alt1027=1; } switch (alt1027) { case 1 : // InternalSacmDsl.g:36016:4: otherlv_9= ',' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) { otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getStrengthAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:36020:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:36021:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:36021:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:36022:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getStrengthAccess().getTaggedValueTaggedValueParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1027; } } while (true); otherlv_11=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_11, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:36042:3: (otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' )? int alt1030=2; int LA1030_0 = input.LA(1); if ( (LA1030_0==19) ) { alt1030=1; } switch (alt1030) { case 1 : // InternalSacmDsl.g:36042:5: otherlv_12= 'annotation' otherlv_13= '{' ( (lv_annotation_14_0= ruleAnnotation ) ) (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* otherlv_17= '}' { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_12, grammarAccess.getStrengthAccess().getAnnotationKeyword_7_0()); otherlv_13=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:36050:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:36051:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:36051:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:36052:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getStrengthAccess().getAnnotationAnnotationParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36068:2: (otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) )* loop1029: do { int alt1029=2; int LA1029_0 = input.LA(1); if ( (LA1029_0==17) ) { alt1029=1; } switch (alt1029) { case 1 : // InternalSacmDsl.g:36068:4: otherlv_15= ',' ( (lv_annotation_16_0= ruleAnnotation ) ) { otherlv_15=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getStrengthAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:36072:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:36073:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:36073:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:36074:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getStrengthAccess().getAnnotationAnnotationParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1029; } } while (true); otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_17, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:36094:3: (otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' )? int alt1032=2; int LA1032_0 = input.LA(1); if ( (LA1032_0==61) ) { alt1032=1; } switch (alt1032) { case 1 : // InternalSacmDsl.g:36094:5: otherlv_18= 'timing' otherlv_19= '{' ( (lv_timing_20_0= ruleTimingProperty ) ) (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* otherlv_23= '}' { otherlv_18=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_18, grammarAccess.getStrengthAccess().getTimingKeyword_8_0()); otherlv_19=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:36102:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36103:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:36103:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:36104:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getStrengthAccess().getTimingTimingPropertyParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36120:2: (otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) )* loop1031: do { int alt1031=2; int LA1031_0 = input.LA(1); if ( (LA1031_0==17) ) { alt1031=1; } switch (alt1031) { case 1 : // InternalSacmDsl.g:36120:4: otherlv_21= ',' ( (lv_timing_22_0= ruleTimingProperty ) ) { otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getStrengthAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:36124:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36125:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:36125:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:36126:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getStrengthAccess().getTimingTimingPropertyParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1031; } } while (true); otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_23, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:36146:3: (otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' )? int alt1034=2; int LA1034_0 = input.LA(1); if ( (LA1034_0==62) ) { alt1034=1; } switch (alt1034) { case 1 : // InternalSacmDsl.g:36146:5: otherlv_24= 'custody' otherlv_25= '{' ( (lv_custody_26_0= ruleCustodyProperty ) ) (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* otherlv_29= '}' { otherlv_24=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_24, grammarAccess.getStrengthAccess().getCustodyKeyword_9_0()); otherlv_25=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:36154:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:36155:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:36155:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:36156:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getStrengthAccess().getCustodyCustodyPropertyParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36172:2: (otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) )* loop1033: do { int alt1033=2; int LA1033_0 = input.LA(1); if ( (LA1033_0==17) ) { alt1033=1; } switch (alt1033) { case 1 : // InternalSacmDsl.g:36172:4: otherlv_27= ',' ( (lv_custody_28_0= ruleCustodyProperty ) ) { otherlv_27=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getStrengthAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:36176:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:36177:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:36177:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:36178:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getStrengthAccess().getCustodyCustodyPropertyParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1033; } } while (true); otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_29, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:36198:3: (otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' )? int alt1036=2; int LA1036_0 = input.LA(1); if ( (LA1036_0==63) ) { alt1036=1; } switch (alt1036) { case 1 : // InternalSacmDsl.g:36198:5: otherlv_30= 'provenance' otherlv_31= '{' ( (lv_provenance_32_0= ruleProvenance ) ) (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* otherlv_35= '}' { otherlv_30=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_30, grammarAccess.getStrengthAccess().getProvenanceKeyword_10_0()); otherlv_31=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:36206:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:36207:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:36207:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:36208:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getStrengthAccess().getProvenanceProvenanceParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36224:2: (otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) )* loop1035: do { int alt1035=2; int LA1035_0 = input.LA(1); if ( (LA1035_0==17) ) { alt1035=1; } switch (alt1035) { case 1 : // InternalSacmDsl.g:36224:4: otherlv_33= ',' ( (lv_provenance_34_0= ruleProvenance ) ) { otherlv_33=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getStrengthAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:36228:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:36229:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:36229:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:36230:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getStrengthAccess().getProvenanceProvenanceParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1035; } } while (true); otherlv_35=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_35, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:36250:3: (otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' )? int alt1038=2; int LA1038_0 = input.LA(1); if ( (LA1038_0==64) ) { alt1038=1; } switch (alt1038) { case 1 : // InternalSacmDsl.g:36250:5: otherlv_36= 'event' otherlv_37= '{' ( (lv_event_38_0= ruleEvidenceEvent ) ) (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* otherlv_41= '}' { otherlv_36=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_36, grammarAccess.getStrengthAccess().getEventKeyword_11_0()); otherlv_37=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getStrengthAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:36258:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:36259:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:36259:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:36260:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getStrengthAccess().getEventEvidenceEventParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36276:2: (otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) )* loop1037: do { int alt1037=2; int LA1037_0 = input.LA(1); if ( (LA1037_0==17) ) { alt1037=1; } switch (alt1037) { case 1 : // InternalSacmDsl.g:36276:4: otherlv_39= ',' ( (lv_event_40_0= ruleEvidenceEvent ) ) { otherlv_39=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getStrengthAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:36280:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:36281:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:36281:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:36282:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getStrengthAccess().getEventEvidenceEventParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getStrengthRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1037; } } while (true); otherlv_41=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_41, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_11_4()); } break; } otherlv_42=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_42, grammarAccess.getStrengthAccess().getRightCurlyBracketKeyword_12()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStrength" // $ANTLR start "entryRuleProvidesContext" // InternalSacmDsl.g:36314:1: entryRuleProvidesContext returns [EObject current=null] : iv_ruleProvidesContext= ruleProvidesContext EOF ; public final EObject entryRuleProvidesContext() throws RecognitionException { EObject current = null; EObject iv_ruleProvidesContext = null; try { // InternalSacmDsl.g:36315:2: (iv_ruleProvidesContext= ruleProvidesContext EOF ) // InternalSacmDsl.g:36316:2: iv_ruleProvidesContext= ruleProvidesContext EOF { newCompositeNode(grammarAccess.getProvidesContextRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleProvidesContext=ruleProvidesContext(); state._fsp--; current =iv_ruleProvidesContext; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleProvidesContext" // $ANTLR start "ruleProvidesContext" // InternalSacmDsl.g:36323:1: ruleProvidesContext returns [EObject current=null] : (otherlv_0= 'ProvidesContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'context' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleProvidesContext() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:36326:28: ( (otherlv_0= 'ProvidesContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'context' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:36327:1: (otherlv_0= 'ProvidesContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'context' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:36327:1: (otherlv_0= 'ProvidesContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'context' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:36327:3: otherlv_0= 'ProvidesContext' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'context' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,176,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getProvidesContextAccess().getProvidesContextKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getProvidesContextAccess().getIdKeyword_2()); // InternalSacmDsl.g:36339:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:36340:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:36340:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:36341:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getProvidesContextAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getProvidesContextAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:36361:1: ( ( ruleEString ) ) // InternalSacmDsl.g:36362:1: ( ruleEString ) { // InternalSacmDsl.g:36362:1: ( ruleEString ) // InternalSacmDsl.g:36363:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getProvidesContextRule()); } newCompositeNode(grammarAccess.getProvidesContextAccess().getSubjectEvidenceElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_149); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,177,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getProvidesContextAccess().getContextKeyword_6()); // InternalSacmDsl.g:36380:1: ( ( ruleEString ) ) // InternalSacmDsl.g:36381:1: ( ruleEString ) { // InternalSacmDsl.g:36381:1: ( ruleEString ) // InternalSacmDsl.g:36382:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getProvidesContextRule()); } newCompositeNode(grammarAccess.getProvidesContextAccess().getContextEvidenceElementCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36395:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt1040=2; int LA1040_0 = input.LA(1); if ( (LA1040_0==16) ) { alt1040=1; } switch (alt1040) { case 1 : // InternalSacmDsl.g:36395:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getProvidesContextAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:36403:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:36404:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:36404:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:36405:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getProvidesContextAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36421:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop1039: do { int alt1039=2; int LA1039_0 = input.LA(1); if ( (LA1039_0==17) ) { alt1039=1; } switch (alt1039) { case 1 : // InternalSacmDsl.g:36421:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getProvidesContextAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:36425:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:36426:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:36426:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:36427:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getProvidesContextAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1039; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:36447:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt1042=2; int LA1042_0 = input.LA(1); if ( (LA1042_0==19) ) { alt1042=1; } switch (alt1042) { case 1 : // InternalSacmDsl.g:36447:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getProvidesContextAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:36455:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:36456:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:36456:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:36457:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getProvidesContextAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36473:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop1041: do { int alt1041=2; int LA1041_0 = input.LA(1); if ( (LA1041_0==17) ) { alt1041=1; } switch (alt1041) { case 1 : // InternalSacmDsl.g:36473:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getProvidesContextAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:36477:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:36478:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:36478:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:36479:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getProvidesContextAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1041; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:36499:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt1044=2; int LA1044_0 = input.LA(1); if ( (LA1044_0==61) ) { alt1044=1; } switch (alt1044) { case 1 : // InternalSacmDsl.g:36499:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getProvidesContextAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:36507:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36508:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:36508:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:36509:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getProvidesContextAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36525:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop1043: do { int alt1043=2; int LA1043_0 = input.LA(1); if ( (LA1043_0==17) ) { alt1043=1; } switch (alt1043) { case 1 : // InternalSacmDsl.g:36525:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getProvidesContextAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:36529:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36530:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:36530:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:36531:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getProvidesContextAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1043; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:36551:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt1046=2; int LA1046_0 = input.LA(1); if ( (LA1046_0==62) ) { alt1046=1; } switch (alt1046) { case 1 : // InternalSacmDsl.g:36551:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getProvidesContextAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:36559:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:36560:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:36560:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:36561:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getProvidesContextAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36577:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop1045: do { int alt1045=2; int LA1045_0 = input.LA(1); if ( (LA1045_0==17) ) { alt1045=1; } switch (alt1045) { case 1 : // InternalSacmDsl.g:36577:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getProvidesContextAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:36581:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:36582:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:36582:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:36583:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getProvidesContextAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1045; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:36603:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt1048=2; int LA1048_0 = input.LA(1); if ( (LA1048_0==63) ) { alt1048=1; } switch (alt1048) { case 1 : // InternalSacmDsl.g:36603:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getProvidesContextAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:36611:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:36612:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:36612:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:36613:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getProvidesContextAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36629:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop1047: do { int alt1047=2; int LA1047_0 = input.LA(1); if ( (LA1047_0==17) ) { alt1047=1; } switch (alt1047) { case 1 : // InternalSacmDsl.g:36629:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getProvidesContextAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:36633:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:36634:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:36634:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:36635:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getProvidesContextAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1047; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:36655:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt1050=2; int LA1050_0 = input.LA(1); if ( (LA1050_0==64) ) { alt1050=1; } switch (alt1050) { case 1 : // InternalSacmDsl.g:36655:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getProvidesContextAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:36663:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:36664:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:36664:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:36665:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getProvidesContextAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36681:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop1049: do { int alt1049=2; int LA1049_0 = input.LA(1); if ( (LA1049_0==17) ) { alt1049=1; } switch (alt1049) { case 1 : // InternalSacmDsl.g:36681:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getProvidesContextAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:36685:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:36686:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:36686:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:36687:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getProvidesContextAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1049; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:36707:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt1052=2; int LA1052_0 = input.LA(1); if ( (LA1052_0==157) ) { alt1052=1; } switch (alt1052) { case 1 : // InternalSacmDsl.g:36707:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getProvidesContextAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getProvidesContextAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:36715:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:36716:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:36716:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:36717:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getProvidesContextAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36733:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop1051: do { int alt1051=2; int LA1051_0 = input.LA(1); if ( (LA1051_0==17) ) { alt1051=1; } switch (alt1051) { case 1 : // InternalSacmDsl.g:36733:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getProvidesContextAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:36737:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:36738:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:36738:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:36739:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getProvidesContextAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getProvidesContextRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop1051; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getProvidesContextAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleProvidesContext" // $ANTLR start "entryRuleMeansThat" // InternalSacmDsl.g:36771:1: entryRuleMeansThat returns [EObject current=null] : iv_ruleMeansThat= ruleMeansThat EOF ; public final EObject entryRuleMeansThat() throws RecognitionException { EObject current = null; EObject iv_ruleMeansThat = null; try { // InternalSacmDsl.g:36772:2: (iv_ruleMeansThat= ruleMeansThat EOF ) // InternalSacmDsl.g:36773:2: iv_ruleMeansThat= ruleMeansThat EOF { newCompositeNode(grammarAccess.getMeansThatRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleMeansThat=ruleMeansThat(); state._fsp--; current =iv_ruleMeansThat; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMeansThat" // $ANTLR start "ruleMeansThat" // InternalSacmDsl.g:36780:1: ruleMeansThat returns [EObject current=null] : (otherlv_0= 'MeansThat' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'meaning' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ; public final EObject ruleMeansThat() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_26=null; Token otherlv_27=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_32=null; Token otherlv_33=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_39=null; Token otherlv_41=null; Token otherlv_43=null; Token otherlv_44=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_49=null; Token otherlv_50=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_10_0 = null; EObject lv_taggedValue_12_0 = null; EObject lv_annotation_16_0 = null; EObject lv_annotation_18_0 = null; EObject lv_timing_22_0 = null; EObject lv_timing_24_0 = null; EObject lv_custody_28_0 = null; EObject lv_custody_30_0 = null; EObject lv_provenance_34_0 = null; EObject lv_provenance_36_0 = null; EObject lv_event_40_0 = null; EObject lv_event_42_0 = null; EObject lv_attribute_46_0 = null; EObject lv_attribute_48_0 = null; enterRule(); try { // InternalSacmDsl.g:36783:28: ( (otherlv_0= 'MeansThat' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'meaning' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) ) // InternalSacmDsl.g:36784:1: (otherlv_0= 'MeansThat' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'meaning' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) { // InternalSacmDsl.g:36784:1: (otherlv_0= 'MeansThat' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'meaning' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' ) // InternalSacmDsl.g:36784:3: otherlv_0= 'MeansThat' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) otherlv_4= 'subject' ( ( ruleEString ) ) otherlv_6= 'meaning' ( ( ruleEString ) ) (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? otherlv_50= '}' { otherlv_0=(Token)match(input,178,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getMeansThatAccess().getMeansThatKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getMeansThatAccess().getIdKeyword_2()); // InternalSacmDsl.g:36796:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:36797:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:36797:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:36798:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getMeansThatAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_126); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,154,FollowSets000.FOLLOW_5); newLeafNode(otherlv_4, grammarAccess.getMeansThatAccess().getSubjectKeyword_4()); // InternalSacmDsl.g:36818:1: ( ( ruleEString ) ) // InternalSacmDsl.g:36819:1: ( ruleEString ) { // InternalSacmDsl.g:36819:1: ( ruleEString ) // InternalSacmDsl.g:36820:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getMeansThatRule()); } newCompositeNode(grammarAccess.getMeansThatAccess().getSubjectEvidenceElementCrossReference_5_0()); pushFollow(FollowSets000.FOLLOW_150); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,179,FollowSets000.FOLLOW_5); newLeafNode(otherlv_6, grammarAccess.getMeansThatAccess().getMeaningKeyword_6()); // InternalSacmDsl.g:36837:1: ( ( ruleEString ) ) // InternalSacmDsl.g:36838:1: ( ruleEString ) { // InternalSacmDsl.g:36838:1: ( ruleEString ) // InternalSacmDsl.g:36839:3: ruleEString { if (current==null) { current = createModelElement(grammarAccess.getMeansThatRule()); } newCompositeNode(grammarAccess.getMeansThatAccess().getMeaningFormalAssertionCrossReference_7_0()); pushFollow(FollowSets000.FOLLOW_127); ruleEString(); state._fsp--; afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36852:2: (otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' )? int alt1054=2; int LA1054_0 = input.LA(1); if ( (LA1054_0==16) ) { alt1054=1; } switch (alt1054) { case 1 : // InternalSacmDsl.g:36852:4: otherlv_8= 'taggedValue' otherlv_9= '{' ( (lv_taggedValue_10_0= ruleTaggedValue ) ) (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* otherlv_13= '}' { otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_8, grammarAccess.getMeansThatAccess().getTaggedValueKeyword_8_0()); otherlv_9=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_9, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:36860:1: ( (lv_taggedValue_10_0= ruleTaggedValue ) ) // InternalSacmDsl.g:36861:1: (lv_taggedValue_10_0= ruleTaggedValue ) { // InternalSacmDsl.g:36861:1: (lv_taggedValue_10_0= ruleTaggedValue ) // InternalSacmDsl.g:36862:3: lv_taggedValue_10_0= ruleTaggedValue { newCompositeNode(grammarAccess.getMeansThatAccess().getTaggedValueTaggedValueParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_10_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "taggedValue", lv_taggedValue_10_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36878:2: (otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) )* loop1053: do { int alt1053=2; int LA1053_0 = input.LA(1); if ( (LA1053_0==17) ) { alt1053=1; } switch (alt1053) { case 1 : // InternalSacmDsl.g:36878:4: otherlv_11= ',' ( (lv_taggedValue_12_0= ruleTaggedValue ) ) { otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_11, grammarAccess.getMeansThatAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:36882:1: ( (lv_taggedValue_12_0= ruleTaggedValue ) ) // InternalSacmDsl.g:36883:1: (lv_taggedValue_12_0= ruleTaggedValue ) { // InternalSacmDsl.g:36883:1: (lv_taggedValue_12_0= ruleTaggedValue ) // InternalSacmDsl.g:36884:3: lv_taggedValue_12_0= ruleTaggedValue { newCompositeNode(grammarAccess.getMeansThatAccess().getTaggedValueTaggedValueParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_12_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "taggedValue", lv_taggedValue_12_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1053; } } while (true); otherlv_13=(Token)match(input,18,FollowSets000.FOLLOW_128); newLeafNode(otherlv_13, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:36904:3: (otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' )? int alt1056=2; int LA1056_0 = input.LA(1); if ( (LA1056_0==19) ) { alt1056=1; } switch (alt1056) { case 1 : // InternalSacmDsl.g:36904:5: otherlv_14= 'annotation' otherlv_15= '{' ( (lv_annotation_16_0= ruleAnnotation ) ) (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* otherlv_19= '}' { otherlv_14=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_14, grammarAccess.getMeansThatAccess().getAnnotationKeyword_9_0()); otherlv_15=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_15, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:36912:1: ( (lv_annotation_16_0= ruleAnnotation ) ) // InternalSacmDsl.g:36913:1: (lv_annotation_16_0= ruleAnnotation ) { // InternalSacmDsl.g:36913:1: (lv_annotation_16_0= ruleAnnotation ) // InternalSacmDsl.g:36914:3: lv_annotation_16_0= ruleAnnotation { newCompositeNode(grammarAccess.getMeansThatAccess().getAnnotationAnnotationParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_16_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "annotation", lv_annotation_16_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36930:2: (otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) )* loop1055: do { int alt1055=2; int LA1055_0 = input.LA(1); if ( (LA1055_0==17) ) { alt1055=1; } switch (alt1055) { case 1 : // InternalSacmDsl.g:36930:4: otherlv_17= ',' ( (lv_annotation_18_0= ruleAnnotation ) ) { otherlv_17=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_17, grammarAccess.getMeansThatAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:36934:1: ( (lv_annotation_18_0= ruleAnnotation ) ) // InternalSacmDsl.g:36935:1: (lv_annotation_18_0= ruleAnnotation ) { // InternalSacmDsl.g:36935:1: (lv_annotation_18_0= ruleAnnotation ) // InternalSacmDsl.g:36936:3: lv_annotation_18_0= ruleAnnotation { newCompositeNode(grammarAccess.getMeansThatAccess().getAnnotationAnnotationParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_18_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "annotation", lv_annotation_18_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1055; } } while (true); otherlv_19=(Token)match(input,18,FollowSets000.FOLLOW_129); newLeafNode(otherlv_19, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_9_4()); } break; } // InternalSacmDsl.g:36956:3: (otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' )? int alt1058=2; int LA1058_0 = input.LA(1); if ( (LA1058_0==61) ) { alt1058=1; } switch (alt1058) { case 1 : // InternalSacmDsl.g:36956:5: otherlv_20= 'timing' otherlv_21= '{' ( (lv_timing_22_0= ruleTimingProperty ) ) (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* otherlv_25= '}' { otherlv_20=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_20, grammarAccess.getMeansThatAccess().getTimingKeyword_10_0()); otherlv_21=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_21, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_10_1()); // InternalSacmDsl.g:36964:1: ( (lv_timing_22_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36965:1: (lv_timing_22_0= ruleTimingProperty ) { // InternalSacmDsl.g:36965:1: (lv_timing_22_0= ruleTimingProperty ) // InternalSacmDsl.g:36966:3: lv_timing_22_0= ruleTimingProperty { newCompositeNode(grammarAccess.getMeansThatAccess().getTimingTimingPropertyParserRuleCall_10_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_22_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "timing", lv_timing_22_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:36982:2: (otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) )* loop1057: do { int alt1057=2; int LA1057_0 = input.LA(1); if ( (LA1057_0==17) ) { alt1057=1; } switch (alt1057) { case 1 : // InternalSacmDsl.g:36982:4: otherlv_23= ',' ( (lv_timing_24_0= ruleTimingProperty ) ) { otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_23, grammarAccess.getMeansThatAccess().getCommaKeyword_10_3_0()); // InternalSacmDsl.g:36986:1: ( (lv_timing_24_0= ruleTimingProperty ) ) // InternalSacmDsl.g:36987:1: (lv_timing_24_0= ruleTimingProperty ) { // InternalSacmDsl.g:36987:1: (lv_timing_24_0= ruleTimingProperty ) // InternalSacmDsl.g:36988:3: lv_timing_24_0= ruleTimingProperty { newCompositeNode(grammarAccess.getMeansThatAccess().getTimingTimingPropertyParserRuleCall_10_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_24_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "timing", lv_timing_24_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1057; } } while (true); otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_130); newLeafNode(otherlv_25, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_10_4()); } break; } // InternalSacmDsl.g:37008:3: (otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' )? int alt1060=2; int LA1060_0 = input.LA(1); if ( (LA1060_0==62) ) { alt1060=1; } switch (alt1060) { case 1 : // InternalSacmDsl.g:37008:5: otherlv_26= 'custody' otherlv_27= '{' ( (lv_custody_28_0= ruleCustodyProperty ) ) (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* otherlv_31= '}' { otherlv_26=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_26, grammarAccess.getMeansThatAccess().getCustodyKeyword_11_0()); otherlv_27=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_27, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_11_1()); // InternalSacmDsl.g:37016:1: ( (lv_custody_28_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:37017:1: (lv_custody_28_0= ruleCustodyProperty ) { // InternalSacmDsl.g:37017:1: (lv_custody_28_0= ruleCustodyProperty ) // InternalSacmDsl.g:37018:3: lv_custody_28_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getMeansThatAccess().getCustodyCustodyPropertyParserRuleCall_11_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_28_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "custody", lv_custody_28_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37034:2: (otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) )* loop1059: do { int alt1059=2; int LA1059_0 = input.LA(1); if ( (LA1059_0==17) ) { alt1059=1; } switch (alt1059) { case 1 : // InternalSacmDsl.g:37034:4: otherlv_29= ',' ( (lv_custody_30_0= ruleCustodyProperty ) ) { otherlv_29=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_29, grammarAccess.getMeansThatAccess().getCommaKeyword_11_3_0()); // InternalSacmDsl.g:37038:1: ( (lv_custody_30_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:37039:1: (lv_custody_30_0= ruleCustodyProperty ) { // InternalSacmDsl.g:37039:1: (lv_custody_30_0= ruleCustodyProperty ) // InternalSacmDsl.g:37040:3: lv_custody_30_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getMeansThatAccess().getCustodyCustodyPropertyParserRuleCall_11_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_30_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "custody", lv_custody_30_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1059; } } while (true); otherlv_31=(Token)match(input,18,FollowSets000.FOLLOW_131); newLeafNode(otherlv_31, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_11_4()); } break; } // InternalSacmDsl.g:37060:3: (otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' )? int alt1062=2; int LA1062_0 = input.LA(1); if ( (LA1062_0==63) ) { alt1062=1; } switch (alt1062) { case 1 : // InternalSacmDsl.g:37060:5: otherlv_32= 'provenance' otherlv_33= '{' ( (lv_provenance_34_0= ruleProvenance ) ) (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* otherlv_37= '}' { otherlv_32=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_32, grammarAccess.getMeansThatAccess().getProvenanceKeyword_12_0()); otherlv_33=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_33, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_12_1()); // InternalSacmDsl.g:37068:1: ( (lv_provenance_34_0= ruleProvenance ) ) // InternalSacmDsl.g:37069:1: (lv_provenance_34_0= ruleProvenance ) { // InternalSacmDsl.g:37069:1: (lv_provenance_34_0= ruleProvenance ) // InternalSacmDsl.g:37070:3: lv_provenance_34_0= ruleProvenance { newCompositeNode(grammarAccess.getMeansThatAccess().getProvenanceProvenanceParserRuleCall_12_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_34_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "provenance", lv_provenance_34_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37086:2: (otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) )* loop1061: do { int alt1061=2; int LA1061_0 = input.LA(1); if ( (LA1061_0==17) ) { alt1061=1; } switch (alt1061) { case 1 : // InternalSacmDsl.g:37086:4: otherlv_35= ',' ( (lv_provenance_36_0= ruleProvenance ) ) { otherlv_35=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_35, grammarAccess.getMeansThatAccess().getCommaKeyword_12_3_0()); // InternalSacmDsl.g:37090:1: ( (lv_provenance_36_0= ruleProvenance ) ) // InternalSacmDsl.g:37091:1: (lv_provenance_36_0= ruleProvenance ) { // InternalSacmDsl.g:37091:1: (lv_provenance_36_0= ruleProvenance ) // InternalSacmDsl.g:37092:3: lv_provenance_36_0= ruleProvenance { newCompositeNode(grammarAccess.getMeansThatAccess().getProvenanceProvenanceParserRuleCall_12_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_36_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "provenance", lv_provenance_36_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1061; } } while (true); otherlv_37=(Token)match(input,18,FollowSets000.FOLLOW_132); newLeafNode(otherlv_37, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_12_4()); } break; } // InternalSacmDsl.g:37112:3: (otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' )? int alt1064=2; int LA1064_0 = input.LA(1); if ( (LA1064_0==64) ) { alt1064=1; } switch (alt1064) { case 1 : // InternalSacmDsl.g:37112:5: otherlv_38= 'event' otherlv_39= '{' ( (lv_event_40_0= ruleEvidenceEvent ) ) (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* otherlv_43= '}' { otherlv_38=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_38, grammarAccess.getMeansThatAccess().getEventKeyword_13_0()); otherlv_39=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_39, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_13_1()); // InternalSacmDsl.g:37120:1: ( (lv_event_40_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:37121:1: (lv_event_40_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:37121:1: (lv_event_40_0= ruleEvidenceEvent ) // InternalSacmDsl.g:37122:3: lv_event_40_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getMeansThatAccess().getEventEvidenceEventParserRuleCall_13_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_40_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "event", lv_event_40_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37138:2: (otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) )* loop1063: do { int alt1063=2; int LA1063_0 = input.LA(1); if ( (LA1063_0==17) ) { alt1063=1; } switch (alt1063) { case 1 : // InternalSacmDsl.g:37138:4: otherlv_41= ',' ( (lv_event_42_0= ruleEvidenceEvent ) ) { otherlv_41=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_41, grammarAccess.getMeansThatAccess().getCommaKeyword_13_3_0()); // InternalSacmDsl.g:37142:1: ( (lv_event_42_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:37143:1: (lv_event_42_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:37143:1: (lv_event_42_0= ruleEvidenceEvent ) // InternalSacmDsl.g:37144:3: lv_event_42_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getMeansThatAccess().getEventEvidenceEventParserRuleCall_13_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_42_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "event", lv_event_42_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1063; } } while (true); otherlv_43=(Token)match(input,18,FollowSets000.FOLLOW_133); newLeafNode(otherlv_43, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_13_4()); } break; } // InternalSacmDsl.g:37164:3: (otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' )? int alt1066=2; int LA1066_0 = input.LA(1); if ( (LA1066_0==157) ) { alt1066=1; } switch (alt1066) { case 1 : // InternalSacmDsl.g:37164:5: otherlv_44= 'attribute' otherlv_45= '{' ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* otherlv_49= '}' { otherlv_44=(Token)match(input,157,FollowSets000.FOLLOW_3); newLeafNode(otherlv_44, grammarAccess.getMeansThatAccess().getAttributeKeyword_14_0()); otherlv_45=(Token)match(input,12,FollowSets000.FOLLOW_134); newLeafNode(otherlv_45, grammarAccess.getMeansThatAccess().getLeftCurlyBracketKeyword_14_1()); // InternalSacmDsl.g:37172:1: ( (lv_attribute_46_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:37173:1: (lv_attribute_46_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:37173:1: (lv_attribute_46_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:37174:3: lv_attribute_46_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getMeansThatAccess().getAttributeEvidenceAttributeParserRuleCall_14_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_46_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "attribute", lv_attribute_46_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37190:2: (otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) )* loop1065: do { int alt1065=2; int LA1065_0 = input.LA(1); if ( (LA1065_0==17) ) { alt1065=1; } switch (alt1065) { case 1 : // InternalSacmDsl.g:37190:4: otherlv_47= ',' ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) { otherlv_47=(Token)match(input,17,FollowSets000.FOLLOW_134); newLeafNode(otherlv_47, grammarAccess.getMeansThatAccess().getCommaKeyword_14_3_0()); // InternalSacmDsl.g:37194:1: ( (lv_attribute_48_0= ruleEvidenceAttribute ) ) // InternalSacmDsl.g:37195:1: (lv_attribute_48_0= ruleEvidenceAttribute ) { // InternalSacmDsl.g:37195:1: (lv_attribute_48_0= ruleEvidenceAttribute ) // InternalSacmDsl.g:37196:3: lv_attribute_48_0= ruleEvidenceAttribute { newCompositeNode(grammarAccess.getMeansThatAccess().getAttributeEvidenceAttributeParserRuleCall_14_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_attribute_48_0=ruleEvidenceAttribute(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMeansThatRule()); } add( current, "attribute", lv_attribute_48_0, "net.certware.sacm.dsl.SacmDsl.EvidenceAttribute"); afterParserOrEnumRuleCall(); } } } break; default : break loop1065; } } while (true); otherlv_49=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_49, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_14_4()); } break; } otherlv_50=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getMeansThatAccess().getRightCurlyBracketKeyword_15()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMeansThat" // $ANTLR start "entryRuleExtendedEvidenceAttribute" // InternalSacmDsl.g:37228:1: entryRuleExtendedEvidenceAttribute returns [EObject current=null] : iv_ruleExtendedEvidenceAttribute= ruleExtendedEvidenceAttribute EOF ; public final EObject entryRuleExtendedEvidenceAttribute() throws RecognitionException { EObject current = null; EObject iv_ruleExtendedEvidenceAttribute = null; try { // InternalSacmDsl.g:37229:2: (iv_ruleExtendedEvidenceAttribute= ruleExtendedEvidenceAttribute EOF ) // InternalSacmDsl.g:37230:2: iv_ruleExtendedEvidenceAttribute= ruleExtendedEvidenceAttribute EOF { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleExtendedEvidenceAttribute=ruleExtendedEvidenceAttribute(); state._fsp--; current =iv_ruleExtendedEvidenceAttribute; match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExtendedEvidenceAttribute" // $ANTLR start "ruleExtendedEvidenceAttribute" // InternalSacmDsl.g:37237:1: ruleExtendedEvidenceAttribute returns [EObject current=null] : (otherlv_0= 'ExtendedEvidenceAttribute' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ; public final EObject ruleExtendedEvidenceAttribute() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_23=null; Token otherlv_25=null; Token otherlv_27=null; Token otherlv_28=null; Token otherlv_29=null; Token otherlv_31=null; Token otherlv_33=null; Token otherlv_34=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_39=null; Token otherlv_40=null; AntlrDatatypeRuleToken lv_id_3_0 = null; EObject lv_taggedValue_6_0 = null; EObject lv_taggedValue_8_0 = null; EObject lv_annotation_12_0 = null; EObject lv_annotation_14_0 = null; EObject lv_timing_18_0 = null; EObject lv_timing_20_0 = null; EObject lv_custody_24_0 = null; EObject lv_custody_26_0 = null; EObject lv_provenance_30_0 = null; EObject lv_provenance_32_0 = null; EObject lv_event_36_0 = null; EObject lv_event_38_0 = null; enterRule(); try { // InternalSacmDsl.g:37240:28: ( (otherlv_0= 'ExtendedEvidenceAttribute' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) ) // InternalSacmDsl.g:37241:1: (otherlv_0= 'ExtendedEvidenceAttribute' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) { // InternalSacmDsl.g:37241:1: (otherlv_0= 'ExtendedEvidenceAttribute' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' ) // InternalSacmDsl.g:37241:3: otherlv_0= 'ExtendedEvidenceAttribute' otherlv_1= '{' otherlv_2= 'id' ( (lv_id_3_0= ruleString0 ) ) (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? otherlv_40= '}' { otherlv_0=(Token)match(input,180,FollowSets000.FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getExtendedEvidenceAttributeAccess().getExtendedEvidenceAttributeKeyword_0()); otherlv_1=(Token)match(input,12,FollowSets000.FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_1()); otherlv_2=(Token)match(input,13,FollowSets000.FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getExtendedEvidenceAttributeAccess().getIdKeyword_2()); // InternalSacmDsl.g:37253:1: ( (lv_id_3_0= ruleString0 ) ) // InternalSacmDsl.g:37254:1: (lv_id_3_0= ruleString0 ) { // InternalSacmDsl.g:37254:1: (lv_id_3_0= ruleString0 ) // InternalSacmDsl.g:37255:3: lv_id_3_0= ruleString0 { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getIdString0ParserRuleCall_3_0()); pushFollow(FollowSets000.FOLLOW_79); lv_id_3_0=ruleString0(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } set( current, "id", lv_id_3_0, "net.certware.sacm.dsl.SacmDsl.String0"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37271:2: (otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' )? int alt1068=2; int LA1068_0 = input.LA(1); if ( (LA1068_0==16) ) { alt1068=1; } switch (alt1068) { case 1 : // InternalSacmDsl.g:37271:4: otherlv_4= 'taggedValue' otherlv_5= '{' ( (lv_taggedValue_6_0= ruleTaggedValue ) ) (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* otherlv_9= '}' { otherlv_4=(Token)match(input,16,FollowSets000.FOLLOW_3); newLeafNode(otherlv_4, grammarAccess.getExtendedEvidenceAttributeAccess().getTaggedValueKeyword_4_0()); otherlv_5=(Token)match(input,12,FollowSets000.FOLLOW_9); newLeafNode(otherlv_5, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_4_1()); // InternalSacmDsl.g:37279:1: ( (lv_taggedValue_6_0= ruleTaggedValue ) ) // InternalSacmDsl.g:37280:1: (lv_taggedValue_6_0= ruleTaggedValue ) { // InternalSacmDsl.g:37280:1: (lv_taggedValue_6_0= ruleTaggedValue ) // InternalSacmDsl.g:37281:3: lv_taggedValue_6_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getTaggedValueTaggedValueParserRuleCall_4_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_6_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "taggedValue", lv_taggedValue_6_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37297:2: (otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) )* loop1067: do { int alt1067=2; int LA1067_0 = input.LA(1); if ( (LA1067_0==17) ) { alt1067=1; } switch (alt1067) { case 1 : // InternalSacmDsl.g:37297:4: otherlv_7= ',' ( (lv_taggedValue_8_0= ruleTaggedValue ) ) { otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_9); newLeafNode(otherlv_7, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_4_3_0()); // InternalSacmDsl.g:37301:1: ( (lv_taggedValue_8_0= ruleTaggedValue ) ) // InternalSacmDsl.g:37302:1: (lv_taggedValue_8_0= ruleTaggedValue ) { // InternalSacmDsl.g:37302:1: (lv_taggedValue_8_0= ruleTaggedValue ) // InternalSacmDsl.g:37303:3: lv_taggedValue_8_0= ruleTaggedValue { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getTaggedValueTaggedValueParserRuleCall_4_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_taggedValue_8_0=ruleTaggedValue(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "taggedValue", lv_taggedValue_8_0, "net.certware.sacm.dsl.SacmDsl.TaggedValue"); afterParserOrEnumRuleCall(); } } } break; default : break loop1067; } } while (true); otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_80); newLeafNode(otherlv_9, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_4_4()); } break; } // InternalSacmDsl.g:37323:3: (otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' )? int alt1070=2; int LA1070_0 = input.LA(1); if ( (LA1070_0==19) ) { alt1070=1; } switch (alt1070) { case 1 : // InternalSacmDsl.g:37323:5: otherlv_10= 'annotation' otherlv_11= '{' ( (lv_annotation_12_0= ruleAnnotation ) ) (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* otherlv_15= '}' { otherlv_10=(Token)match(input,19,FollowSets000.FOLLOW_3); newLeafNode(otherlv_10, grammarAccess.getExtendedEvidenceAttributeAccess().getAnnotationKeyword_5_0()); otherlv_11=(Token)match(input,12,FollowSets000.FOLLOW_12); newLeafNode(otherlv_11, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_5_1()); // InternalSacmDsl.g:37331:1: ( (lv_annotation_12_0= ruleAnnotation ) ) // InternalSacmDsl.g:37332:1: (lv_annotation_12_0= ruleAnnotation ) { // InternalSacmDsl.g:37332:1: (lv_annotation_12_0= ruleAnnotation ) // InternalSacmDsl.g:37333:3: lv_annotation_12_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getAnnotationAnnotationParserRuleCall_5_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_12_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "annotation", lv_annotation_12_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37349:2: (otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) )* loop1069: do { int alt1069=2; int LA1069_0 = input.LA(1); if ( (LA1069_0==17) ) { alt1069=1; } switch (alt1069) { case 1 : // InternalSacmDsl.g:37349:4: otherlv_13= ',' ( (lv_annotation_14_0= ruleAnnotation ) ) { otherlv_13=(Token)match(input,17,FollowSets000.FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_5_3_0()); // InternalSacmDsl.g:37353:1: ( (lv_annotation_14_0= ruleAnnotation ) ) // InternalSacmDsl.g:37354:1: (lv_annotation_14_0= ruleAnnotation ) { // InternalSacmDsl.g:37354:1: (lv_annotation_14_0= ruleAnnotation ) // InternalSacmDsl.g:37355:3: lv_annotation_14_0= ruleAnnotation { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getAnnotationAnnotationParserRuleCall_5_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_annotation_14_0=ruleAnnotation(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "annotation", lv_annotation_14_0, "net.certware.sacm.dsl.SacmDsl.Annotation"); afterParserOrEnumRuleCall(); } } } break; default : break loop1069; } } while (true); otherlv_15=(Token)match(input,18,FollowSets000.FOLLOW_81); newLeafNode(otherlv_15, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_5_4()); } break; } // InternalSacmDsl.g:37375:3: (otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' )? int alt1072=2; int LA1072_0 = input.LA(1); if ( (LA1072_0==61) ) { alt1072=1; } switch (alt1072) { case 1 : // InternalSacmDsl.g:37375:5: otherlv_16= 'timing' otherlv_17= '{' ( (lv_timing_18_0= ruleTimingProperty ) ) (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* otherlv_21= '}' { otherlv_16=(Token)match(input,61,FollowSets000.FOLLOW_3); newLeafNode(otherlv_16, grammarAccess.getExtendedEvidenceAttributeAccess().getTimingKeyword_6_0()); otherlv_17=(Token)match(input,12,FollowSets000.FOLLOW_59); newLeafNode(otherlv_17, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_6_1()); // InternalSacmDsl.g:37383:1: ( (lv_timing_18_0= ruleTimingProperty ) ) // InternalSacmDsl.g:37384:1: (lv_timing_18_0= ruleTimingProperty ) { // InternalSacmDsl.g:37384:1: (lv_timing_18_0= ruleTimingProperty ) // InternalSacmDsl.g:37385:3: lv_timing_18_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getTimingTimingPropertyParserRuleCall_6_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_18_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "timing", lv_timing_18_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37401:2: (otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) )* loop1071: do { int alt1071=2; int LA1071_0 = input.LA(1); if ( (LA1071_0==17) ) { alt1071=1; } switch (alt1071) { case 1 : // InternalSacmDsl.g:37401:4: otherlv_19= ',' ( (lv_timing_20_0= ruleTimingProperty ) ) { otherlv_19=(Token)match(input,17,FollowSets000.FOLLOW_59); newLeafNode(otherlv_19, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_6_3_0()); // InternalSacmDsl.g:37405:1: ( (lv_timing_20_0= ruleTimingProperty ) ) // InternalSacmDsl.g:37406:1: (lv_timing_20_0= ruleTimingProperty ) { // InternalSacmDsl.g:37406:1: (lv_timing_20_0= ruleTimingProperty ) // InternalSacmDsl.g:37407:3: lv_timing_20_0= ruleTimingProperty { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getTimingTimingPropertyParserRuleCall_6_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_timing_20_0=ruleTimingProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "timing", lv_timing_20_0, "net.certware.sacm.dsl.SacmDsl.TimingProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1071; } } while (true); otherlv_21=(Token)match(input,18,FollowSets000.FOLLOW_82); newLeafNode(otherlv_21, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_6_4()); } break; } // InternalSacmDsl.g:37427:3: (otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' )? int alt1074=2; int LA1074_0 = input.LA(1); if ( (LA1074_0==62) ) { alt1074=1; } switch (alt1074) { case 1 : // InternalSacmDsl.g:37427:5: otherlv_22= 'custody' otherlv_23= '{' ( (lv_custody_24_0= ruleCustodyProperty ) ) (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* otherlv_27= '}' { otherlv_22=(Token)match(input,62,FollowSets000.FOLLOW_3); newLeafNode(otherlv_22, grammarAccess.getExtendedEvidenceAttributeAccess().getCustodyKeyword_7_0()); otherlv_23=(Token)match(input,12,FollowSets000.FOLLOW_61); newLeafNode(otherlv_23, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_7_1()); // InternalSacmDsl.g:37435:1: ( (lv_custody_24_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:37436:1: (lv_custody_24_0= ruleCustodyProperty ) { // InternalSacmDsl.g:37436:1: (lv_custody_24_0= ruleCustodyProperty ) // InternalSacmDsl.g:37437:3: lv_custody_24_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getCustodyCustodyPropertyParserRuleCall_7_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_24_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "custody", lv_custody_24_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37453:2: (otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) )* loop1073: do { int alt1073=2; int LA1073_0 = input.LA(1); if ( (LA1073_0==17) ) { alt1073=1; } switch (alt1073) { case 1 : // InternalSacmDsl.g:37453:4: otherlv_25= ',' ( (lv_custody_26_0= ruleCustodyProperty ) ) { otherlv_25=(Token)match(input,17,FollowSets000.FOLLOW_61); newLeafNode(otherlv_25, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_7_3_0()); // InternalSacmDsl.g:37457:1: ( (lv_custody_26_0= ruleCustodyProperty ) ) // InternalSacmDsl.g:37458:1: (lv_custody_26_0= ruleCustodyProperty ) { // InternalSacmDsl.g:37458:1: (lv_custody_26_0= ruleCustodyProperty ) // InternalSacmDsl.g:37459:3: lv_custody_26_0= ruleCustodyProperty { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getCustodyCustodyPropertyParserRuleCall_7_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_custody_26_0=ruleCustodyProperty(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "custody", lv_custody_26_0, "net.certware.sacm.dsl.SacmDsl.CustodyProperty"); afterParserOrEnumRuleCall(); } } } break; default : break loop1073; } } while (true); otherlv_27=(Token)match(input,18,FollowSets000.FOLLOW_83); newLeafNode(otherlv_27, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_7_4()); } break; } // InternalSacmDsl.g:37479:3: (otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' )? int alt1076=2; int LA1076_0 = input.LA(1); if ( (LA1076_0==63) ) { alt1076=1; } switch (alt1076) { case 1 : // InternalSacmDsl.g:37479:5: otherlv_28= 'provenance' otherlv_29= '{' ( (lv_provenance_30_0= ruleProvenance ) ) (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* otherlv_33= '}' { otherlv_28=(Token)match(input,63,FollowSets000.FOLLOW_3); newLeafNode(otherlv_28, grammarAccess.getExtendedEvidenceAttributeAccess().getProvenanceKeyword_8_0()); otherlv_29=(Token)match(input,12,FollowSets000.FOLLOW_63); newLeafNode(otherlv_29, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_8_1()); // InternalSacmDsl.g:37487:1: ( (lv_provenance_30_0= ruleProvenance ) ) // InternalSacmDsl.g:37488:1: (lv_provenance_30_0= ruleProvenance ) { // InternalSacmDsl.g:37488:1: (lv_provenance_30_0= ruleProvenance ) // InternalSacmDsl.g:37489:3: lv_provenance_30_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getProvenanceProvenanceParserRuleCall_8_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_30_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "provenance", lv_provenance_30_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37505:2: (otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) )* loop1075: do { int alt1075=2; int LA1075_0 = input.LA(1); if ( (LA1075_0==17) ) { alt1075=1; } switch (alt1075) { case 1 : // InternalSacmDsl.g:37505:4: otherlv_31= ',' ( (lv_provenance_32_0= ruleProvenance ) ) { otherlv_31=(Token)match(input,17,FollowSets000.FOLLOW_63); newLeafNode(otherlv_31, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_8_3_0()); // InternalSacmDsl.g:37509:1: ( (lv_provenance_32_0= ruleProvenance ) ) // InternalSacmDsl.g:37510:1: (lv_provenance_32_0= ruleProvenance ) { // InternalSacmDsl.g:37510:1: (lv_provenance_32_0= ruleProvenance ) // InternalSacmDsl.g:37511:3: lv_provenance_32_0= ruleProvenance { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getProvenanceProvenanceParserRuleCall_8_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_provenance_32_0=ruleProvenance(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "provenance", lv_provenance_32_0, "net.certware.sacm.dsl.SacmDsl.Provenance"); afterParserOrEnumRuleCall(); } } } break; default : break loop1075; } } while (true); otherlv_33=(Token)match(input,18,FollowSets000.FOLLOW_84); newLeafNode(otherlv_33, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_8_4()); } break; } // InternalSacmDsl.g:37531:3: (otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' )? int alt1078=2; int LA1078_0 = input.LA(1); if ( (LA1078_0==64) ) { alt1078=1; } switch (alt1078) { case 1 : // InternalSacmDsl.g:37531:5: otherlv_34= 'event' otherlv_35= '{' ( (lv_event_36_0= ruleEvidenceEvent ) ) (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* otherlv_39= '}' { otherlv_34=(Token)match(input,64,FollowSets000.FOLLOW_3); newLeafNode(otherlv_34, grammarAccess.getExtendedEvidenceAttributeAccess().getEventKeyword_9_0()); otherlv_35=(Token)match(input,12,FollowSets000.FOLLOW_65); newLeafNode(otherlv_35, grammarAccess.getExtendedEvidenceAttributeAccess().getLeftCurlyBracketKeyword_9_1()); // InternalSacmDsl.g:37539:1: ( (lv_event_36_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:37540:1: (lv_event_36_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:37540:1: (lv_event_36_0= ruleEvidenceEvent ) // InternalSacmDsl.g:37541:3: lv_event_36_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getEventEvidenceEventParserRuleCall_9_2_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_36_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "event", lv_event_36_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } // InternalSacmDsl.g:37557:2: (otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) )* loop1077: do { int alt1077=2; int LA1077_0 = input.LA(1); if ( (LA1077_0==17) ) { alt1077=1; } switch (alt1077) { case 1 : // InternalSacmDsl.g:37557:4: otherlv_37= ',' ( (lv_event_38_0= ruleEvidenceEvent ) ) { otherlv_37=(Token)match(input,17,FollowSets000.FOLLOW_65); newLeafNode(otherlv_37, grammarAccess.getExtendedEvidenceAttributeAccess().getCommaKeyword_9_3_0()); // InternalSacmDsl.g:37561:1: ( (lv_event_38_0= ruleEvidenceEvent ) ) // InternalSacmDsl.g:37562:1: (lv_event_38_0= ruleEvidenceEvent ) { // InternalSacmDsl.g:37562:1: (lv_event_38_0= ruleEvidenceEvent ) // InternalSacmDsl.g:37563:3: lv_event_38_0= ruleEvidenceEvent { newCompositeNode(grammarAccess.getExtendedEvidenceAttributeAccess().getEventEvidenceEventParserRuleCall_9_3_1_0()); pushFollow(FollowSets000.FOLLOW_10); lv_event_38_0=ruleEvidenceEvent(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getExtendedEvidenceAttributeRule()); } add( current, "event", lv_event_38_0, "net.certware.sacm.dsl.SacmDsl.EvidenceEvent"); afterParserOrEnumRuleCall(); } } } break; default : break loop1077; } } while (true); otherlv_39=(Token)match(input,18,FollowSets000.FOLLOW_17); newLeafNode(otherlv_39, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_9_4()); } break; } otherlv_40=(Token)match(input,18,FollowSets000.FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getExtendedEvidenceAttributeAccess().getRightCurlyBracketKeyword_10()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExtendedEvidenceAttribute" // $ANTLR start "entryRuleConfidenceLevel" // InternalSacmDsl.g:37595:1: entryRuleConfidenceLevel returns [String current=null] : iv_ruleConfidenceLevel= ruleConfidenceLevel EOF ; public final String entryRuleConfidenceLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleConfidenceLevel = null; try { // InternalSacmDsl.g:37596:2: (iv_ruleConfidenceLevel= ruleConfidenceLevel EOF ) // InternalSacmDsl.g:37597:2: iv_ruleConfidenceLevel= ruleConfidenceLevel EOF { newCompositeNode(grammarAccess.getConfidenceLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleConfidenceLevel=ruleConfidenceLevel(); state._fsp--; current =iv_ruleConfidenceLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleConfidenceLevel" // $ANTLR start "ruleConfidenceLevel" // InternalSacmDsl.g:37604:1: ruleConfidenceLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'ConfidenceLevel' ; public final AntlrDatatypeRuleToken ruleConfidenceLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:37607:28: (kw= 'ConfidenceLevel' ) // InternalSacmDsl.g:37609:2: kw= 'ConfidenceLevel' { kw=(Token)match(input,181,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getConfidenceLevelAccess().getConfidenceLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleConfidenceLevel" // $ANTLR start "entryRuleLevel" // InternalSacmDsl.g:37622:1: entryRuleLevel returns [String current=null] : iv_ruleLevel= ruleLevel EOF ; public final String entryRuleLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleLevel = null; try { // InternalSacmDsl.g:37623:2: (iv_ruleLevel= ruleLevel EOF ) // InternalSacmDsl.g:37624:2: iv_ruleLevel= ruleLevel EOF { newCompositeNode(grammarAccess.getLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleLevel=ruleLevel(); state._fsp--; current =iv_ruleLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLevel" // $ANTLR start "ruleLevel" // InternalSacmDsl.g:37631:1: ruleLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'Level' ; public final AntlrDatatypeRuleToken ruleLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:37634:28: (kw= 'Level' ) // InternalSacmDsl.g:37636:2: kw= 'Level' { kw=(Token)match(input,182,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getLevelAccess().getLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLevel" // $ANTLR start "entryRuleAccuracyLevel" // InternalSacmDsl.g:37649:1: entryRuleAccuracyLevel returns [String current=null] : iv_ruleAccuracyLevel= ruleAccuracyLevel EOF ; public final String entryRuleAccuracyLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleAccuracyLevel = null; try { // InternalSacmDsl.g:37650:2: (iv_ruleAccuracyLevel= ruleAccuracyLevel EOF ) // InternalSacmDsl.g:37651:2: iv_ruleAccuracyLevel= ruleAccuracyLevel EOF { newCompositeNode(grammarAccess.getAccuracyLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleAccuracyLevel=ruleAccuracyLevel(); state._fsp--; current =iv_ruleAccuracyLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAccuracyLevel" // $ANTLR start "ruleAccuracyLevel" // InternalSacmDsl.g:37658:1: ruleAccuracyLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'AccuracyLevel' ; public final AntlrDatatypeRuleToken ruleAccuracyLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:37661:28: (kw= 'AccuracyLevel' ) // InternalSacmDsl.g:37663:2: kw= 'AccuracyLevel' { kw=(Token)match(input,183,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getAccuracyLevelAccess().getAccuracyLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAccuracyLevel" // $ANTLR start "entryRuleReportingLevel" // InternalSacmDsl.g:37676:1: entryRuleReportingLevel returns [String current=null] : iv_ruleReportingLevel= ruleReportingLevel EOF ; public final String entryRuleReportingLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleReportingLevel = null; try { // InternalSacmDsl.g:37677:2: (iv_ruleReportingLevel= ruleReportingLevel EOF ) // InternalSacmDsl.g:37678:2: iv_ruleReportingLevel= ruleReportingLevel EOF { newCompositeNode(grammarAccess.getReportingLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleReportingLevel=ruleReportingLevel(); state._fsp--; current =iv_ruleReportingLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleReportingLevel" // $ANTLR start "ruleReportingLevel" // InternalSacmDsl.g:37685:1: ruleReportingLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'ReportingLevel' ; public final AntlrDatatypeRuleToken ruleReportingLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:37688:28: (kw= 'ReportingLevel' ) // InternalSacmDsl.g:37690:2: kw= 'ReportingLevel' { kw=(Token)match(input,184,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getReportingLevelAccess().getReportingLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleReportingLevel" // $ANTLR start "entryRuleSupportLevel" // InternalSacmDsl.g:37703:1: entryRuleSupportLevel returns [String current=null] : iv_ruleSupportLevel= ruleSupportLevel EOF ; public final String entryRuleSupportLevel() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleSupportLevel = null; try { // InternalSacmDsl.g:37704:2: (iv_ruleSupportLevel= ruleSupportLevel EOF ) // InternalSacmDsl.g:37705:2: iv_ruleSupportLevel= ruleSupportLevel EOF { newCompositeNode(grammarAccess.getSupportLevelRule()); pushFollow(FollowSets000.FOLLOW_1); iv_ruleSupportLevel=ruleSupportLevel(); state._fsp--; current =iv_ruleSupportLevel.getText(); match(input,EOF,FollowSets000.FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSupportLevel" // $ANTLR start "ruleSupportLevel" // InternalSacmDsl.g:37712:1: ruleSupportLevel returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'SupportLevel' ; public final AntlrDatatypeRuleToken ruleSupportLevel() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSacmDsl.g:37715:28: (kw= 'SupportLevel' ) // InternalSacmDsl.g:37717:2: kw= 'SupportLevel' { kw=(Token)match(input,185,FollowSets000.FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getSupportLevelAccess().getSupportLevelKeyword()); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSupportLevel" // Delegated rules private static class FollowSets000 { public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000001000L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L}); public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008000L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000000003D0000L}); public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000400000L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000060000L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000000003C0000L}); public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000002000000L}); public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000340000L}); public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000008000000L}); public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000240000L}); public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000080000000L}); public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000040000L}); public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000800000L}); public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000001000000L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000004000000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000010000000L}); public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000600D0000L}); public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x00000000600C0000L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000060040000L}); public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000040040000L}); public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x03C9142000000000L}); public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000100000000L}); public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000001E000D0000L}); public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001E000C0000L}); public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001E00040000L}); public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00056FA450000000L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000001C00040000L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0400000000000000L,0x0000000000007BA2L}); public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000001800040000L}); public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000005DD0000000L}); public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000001000040000L}); public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x00007E8008000000L}); public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x00000240000D0000L}); public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000008000000000L}); public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000010000020000L}); public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x00000200000D0000L}); public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x00000000000D0000L}); public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x00000000000C0000L}); public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x00000000002D0000L}); public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000E000000D0000L}); public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000C000000D0000L}); public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x00008000000D0000L}); public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0002000000000000L}); public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000001800000L}); public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0004000000000000L}); public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x00300000000D0000L}); public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x00200000000D0000L}); public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0800000000000000L}); public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x1000000000000000L}); public static final BitSet FOLLOW_56 = new BitSet(new long[]{0xE0000008000D0000L,0x0000000000000001L}); public static final BitSet FOLLOW_57 = new BitSet(new long[]{0xE0000008000C0000L,0x0000000000000001L}); public static final BitSet FOLLOW_58 = new BitSet(new long[]{0xE000000800040000L,0x0000000000000001L}); public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x00000000000D0000L}); public static final BitSet FOLLOW_60 = new BitSet(new long[]{0xC000000800040000L,0x0000000000000001L}); public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000000000000L,0x0000000002A00000L}); public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x8000000800040000L,0x0000000000000001L}); public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000000000000000L,0x00B4000000000000L}); public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000000800040000L,0x0000000000000001L}); public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000000L,0x7E00000000000000L}); public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000800040000L}); public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000000000000000L,0x8000000000000000L,0x000000000016A4BDL}); public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L}); public static final BitSet FOLLOW_70 = new BitSet(new long[]{0xE0000000000D0000L,0x0000000000000011L}); public static final BitSet FOLLOW_71 = new BitSet(new long[]{0xE0000000000C0000L,0x0000000000000011L}); public static final BitSet FOLLOW_72 = new BitSet(new long[]{0xE000000000040000L,0x0000000000000011L}); public static final BitSet FOLLOW_73 = new BitSet(new long[]{0xC000000000040000L,0x0000000000000011L}); public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x8000000000040000L,0x0000000000000011L}); public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000011L}); public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000010L}); public static final BitSet FOLLOW_77 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000002000000L}); public static final BitSet FOLLOW_78 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); public static final BitSet FOLLOW_79 = new BitSet(new long[]{0xE0000000000D0000L,0x0000000000000001L}); public static final BitSet FOLLOW_80 = new BitSet(new long[]{0xE0000000000C0000L,0x0000000000000001L}); public static final BitSet FOLLOW_81 = new BitSet(new long[]{0xE000000000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_82 = new BitSet(new long[]{0xC000000000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_83 = new BitSet(new long[]{0x8000000000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_84 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_85 = new BitSet(new long[]{0xE0000010000D0000L,0x0000000000000001L}); public static final BitSet FOLLOW_86 = new BitSet(new long[]{0xE0000010000C0000L,0x0000000000000001L}); public static final BitSet FOLLOW_87 = new BitSet(new long[]{0xE000001000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_88 = new BitSet(new long[]{0xC000001000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_89 = new BitSet(new long[]{0x8000001000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_90 = new BitSet(new long[]{0x0000001000040000L,0x0000000000000001L}); public static final BitSet FOLLOW_91 = new BitSet(new long[]{0xE0000000000D0000L,0x0000000000000401L}); public static final BitSet FOLLOW_92 = new BitSet(new long[]{0x0000000000000000L,0x0000000000008000L}); public static final BitSet FOLLOW_93 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L}); public static final BitSet FOLLOW_94 = new BitSet(new long[]{0x0000000000000000L,0x0000000000100000L}); public static final BitSet FOLLOW_95 = new BitSet(new long[]{0x0000000000000000L,0x0000000000400000L}); public static final BitSet FOLLOW_96 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L}); public static final BitSet FOLLOW_97 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L}); public static final BitSet FOLLOW_98 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); public static final BitSet FOLLOW_99 = new BitSet(new long[]{0x0000000000000000L,0x0000000020000000L}); public static final BitSet FOLLOW_100 = new BitSet(new long[]{0x0000001000000000L}); public static final BitSet FOLLOW_101 = new BitSet(new long[]{0x0000000000000000L,0x0000000200000000L}); public static final BitSet FOLLOW_102 = new BitSet(new long[]{0x0000000000000000L,0x0000800000000000L}); public static final BitSet FOLLOW_103 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L}); public static final BitSet FOLLOW_104 = new BitSet(new long[]{0x0000000000000000L,0x0000002000000000L}); public static final BitSet FOLLOW_105 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L}); public static final BitSet FOLLOW_106 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L}); public static final BitSet FOLLOW_107 = new BitSet(new long[]{0xE000000C000D0000L,0x0000000000000001L}); public static final BitSet FOLLOW_108 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L}); public static final BitSet FOLLOW_109 = new BitSet(new long[]{0x0010000000000000L}); public static final BitSet FOLLOW_110 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L}); public static final BitSet FOLLOW_111 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L}); public static final BitSet FOLLOW_112 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L}); public static final BitSet FOLLOW_113 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000200000L}); public static final BitSet FOLLOW_114 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000400000L}); public static final BitSet FOLLOW_115 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000040L}); public static final BitSet FOLLOW_116 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000100L}); public static final BitSet FOLLOW_117 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000200L}); public static final BitSet FOLLOW_118 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_119 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000800L}); public static final BitSet FOLLOW_120 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); public static final BitSet FOLLOW_121 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000004000L}); public static final BitSet FOLLOW_122 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); public static final BitSet FOLLOW_123 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000080000L}); public static final BitSet FOLLOW_124 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000000L,0x0000000004000000L}); public static final BitSet FOLLOW_125 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0020000000000000L}); public static final BitSet FOLLOW_126 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000004000000L}); public static final BitSet FOLLOW_127 = new BitSet(new long[]{0xE0000000000D0000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_128 = new BitSet(new long[]{0xE0000000000C0000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_129 = new BitSet(new long[]{0xE000000000040000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_130 = new BitSet(new long[]{0xC000000000040000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_131 = new BitSet(new long[]{0x8000000000040000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_132 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000001L,0x0000000020000000L}); public static final BitSet FOLLOW_133 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000000L,0x0000000020000000L}); public static final BitSet FOLLOW_134 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0010805388000000L}); public static final BitSet FOLLOW_135 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0040000000000000L}); public static final BitSet FOLLOW_136 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0080000000000000L}); public static final BitSet FOLLOW_137 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000800000000L}); public static final BitSet FOLLOW_138 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0100000000000000L}); public static final BitSet FOLLOW_139 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0200000000000000L}); public static final BitSet FOLLOW_140 = new BitSet(new long[]{0xE000000000090000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_141 = new BitSet(new long[]{0xE000000000080000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_142 = new BitSet(new long[]{0xE000000000000000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_143 = new BitSet(new long[]{0xC000000000000000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_144 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_145 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L,0x0000000024000000L}); public static final BitSet FOLLOW_146 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000024000000L}); public static final BitSet FOLLOW_147 = new BitSet(new long[]{0x0400000000000000L,0xFEB47EDDDAAD7BA2L,0x0015EFF7D816A4BDL}); public static final BitSet FOLLOW_148 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000100000000000L}); public static final BitSet FOLLOW_149 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0002000000000000L}); public static final BitSet FOLLOW_150 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0008000000000000L}); } }