| package org.eclipse.papyrus.robotics.xtext.datatypes.ide.contentassist.antlr.internal; |
| |
| import java.io.InputStream; |
| 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.XtextTokenStream; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
| import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; |
| import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; |
| import org.eclipse.papyrus.robotics.xtext.datatypes.services.DTMLGrammarAccess; |
| |
| |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| |
| @SuppressWarnings("all") |
| public class InternalDTMLParser extends AbstractInternalContentAssistParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_DOUBLE", "RULE_VSL_COMMENT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INTEGER_VALUE", "RULE_WS", "RULE_ANY_OTHER", "'DataType'", "'CommObject'", "'['", "']'", "'-'", "','", "'*'", "'{'", "'}'", "'attribute'", "':'", "'='", "';'", "'::'", "'..'", "'<Undefined>'" |
| }; |
| public static final int RULE_STRING=8; |
| public static final int RULE_SL_COMMENT=10; |
| public static final int T__19=19; |
| public static final int T__15=15; |
| public static final int RULE_DOUBLE=6; |
| 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__14=14; |
| public static final int EOF=-1; |
| public static final int RULE_ID=4; |
| public static final int RULE_WS=12; |
| public static final int RULE_ANY_OTHER=13; |
| public static final int RULE_VSL_COMMENT=7; |
| 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 RULE_INT=5; |
| public static final int T__29=29; |
| public static final int T__22=22; |
| public static final int RULE_ML_COMMENT=9; |
| public static final int RULE_INTEGER_VALUE=11; |
| public static final int T__23=23; |
| public static final int T__24=24; |
| public static final int T__25=25; |
| public static final int T__20=20; |
| public static final int T__21=21; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalDTMLParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalDTMLParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalDTMLParser.tokenNames; } |
| public String getGrammarFileName() { return "InternalDTML.g"; } |
| |
| |
| private DTMLGrammarAccess grammarAccess; |
| |
| public void setGrammarAccess(DTMLGrammarAccess grammarAccess) { |
| this.grammarAccess = grammarAccess; |
| } |
| |
| @Override |
| protected Grammar getGrammar() { |
| return grammarAccess.getGrammar(); |
| } |
| |
| @Override |
| protected String getValueForTokenName(String tokenName) { |
| return tokenName; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleModel" |
| // InternalDTML.g:53:1: entryRuleModel : ruleModel EOF ; |
| public final void entryRuleModel() throws RecognitionException { |
| try { |
| // InternalDTML.g:54:1: ( ruleModel EOF ) |
| // InternalDTML.g:55:1: ruleModel EOF |
| { |
| before(grammarAccess.getModelRule()); |
| pushFollow(FOLLOW_1); |
| ruleModel(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getModelRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleModel" |
| |
| |
| // $ANTLR start "ruleModel" |
| // InternalDTML.g:62:1: ruleModel : ( ( rule__Model__Alternatives ) ) ; |
| public final void ruleModel() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:66:2: ( ( ( rule__Model__Alternatives ) ) ) |
| // InternalDTML.g:67:2: ( ( rule__Model__Alternatives ) ) |
| { |
| // InternalDTML.g:67:2: ( ( rule__Model__Alternatives ) ) |
| // InternalDTML.g:68:3: ( rule__Model__Alternatives ) |
| { |
| before(grammarAccess.getModelAccess().getAlternatives()); |
| // InternalDTML.g:69:3: ( rule__Model__Alternatives ) |
| // InternalDTML.g:69:4: rule__Model__Alternatives |
| { |
| pushFollow(FOLLOW_2); |
| rule__Model__Alternatives(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getModelAccess().getAlternatives()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleModel" |
| |
| |
| // $ANTLR start "entryRuleDTModel" |
| // InternalDTML.g:78:1: entryRuleDTModel : ruleDTModel EOF ; |
| public final void entryRuleDTModel() throws RecognitionException { |
| try { |
| // InternalDTML.g:79:1: ( ruleDTModel EOF ) |
| // InternalDTML.g:80:1: ruleDTModel EOF |
| { |
| before(grammarAccess.getDTModelRule()); |
| pushFollow(FOLLOW_1); |
| ruleDTModel(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getDTModelRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleDTModel" |
| |
| |
| // $ANTLR start "ruleDTModel" |
| // InternalDTML.g:87:1: ruleDTModel : ( ( rule__DTModel__Group__0 ) ) ; |
| public final void ruleDTModel() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:91:2: ( ( ( rule__DTModel__Group__0 ) ) ) |
| // InternalDTML.g:92:2: ( ( rule__DTModel__Group__0 ) ) |
| { |
| // InternalDTML.g:92:2: ( ( rule__DTModel__Group__0 ) ) |
| // InternalDTML.g:93:3: ( rule__DTModel__Group__0 ) |
| { |
| before(grammarAccess.getDTModelAccess().getGroup()); |
| // InternalDTML.g:94:3: ( rule__DTModel__Group__0 ) |
| // InternalDTML.g:94:4: rule__DTModel__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getDTModelAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleDTModel" |
| |
| |
| // $ANTLR start "entryRuleDTKey" |
| // InternalDTML.g:103:1: entryRuleDTKey : ruleDTKey EOF ; |
| public final void entryRuleDTKey() throws RecognitionException { |
| try { |
| // InternalDTML.g:104:1: ( ruleDTKey EOF ) |
| // InternalDTML.g:105:1: ruleDTKey EOF |
| { |
| before(grammarAccess.getDTKeyRule()); |
| pushFollow(FOLLOW_1); |
| ruleDTKey(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getDTKeyRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleDTKey" |
| |
| |
| // $ANTLR start "ruleDTKey" |
| // InternalDTML.g:112:1: ruleDTKey : ( ( rule__DTKey__Alternatives ) ) ; |
| public final void ruleDTKey() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:116:2: ( ( ( rule__DTKey__Alternatives ) ) ) |
| // InternalDTML.g:117:2: ( ( rule__DTKey__Alternatives ) ) |
| { |
| // InternalDTML.g:117:2: ( ( rule__DTKey__Alternatives ) ) |
| // InternalDTML.g:118:3: ( rule__DTKey__Alternatives ) |
| { |
| before(grammarAccess.getDTKeyAccess().getAlternatives()); |
| // InternalDTML.g:119:3: ( rule__DTKey__Alternatives ) |
| // InternalDTML.g:119:4: rule__DTKey__Alternatives |
| { |
| pushFollow(FOLLOW_2); |
| rule__DTKey__Alternatives(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getDTKeyAccess().getAlternatives()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleDTKey" |
| |
| |
| // $ANTLR start "entryRuleProperty" |
| // InternalDTML.g:128:1: entryRuleProperty : ruleProperty EOF ; |
| public final void entryRuleProperty() throws RecognitionException { |
| try { |
| // InternalDTML.g:129:1: ( ruleProperty EOF ) |
| // InternalDTML.g:130:1: ruleProperty EOF |
| { |
| before(grammarAccess.getPropertyRule()); |
| pushFollow(FOLLOW_1); |
| ruleProperty(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getPropertyRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleProperty" |
| |
| |
| // $ANTLR start "ruleProperty" |
| // InternalDTML.g:137:1: ruleProperty : ( ( rule__Property__Group__0 ) ) ; |
| public final void ruleProperty() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:141:2: ( ( ( rule__Property__Group__0 ) ) ) |
| // InternalDTML.g:142:2: ( ( rule__Property__Group__0 ) ) |
| { |
| // InternalDTML.g:142:2: ( ( rule__Property__Group__0 ) ) |
| // InternalDTML.g:143:3: ( rule__Property__Group__0 ) |
| { |
| before(grammarAccess.getPropertyAccess().getGroup()); |
| // InternalDTML.g:144:3: ( rule__Property__Group__0 ) |
| // InternalDTML.g:144:4: rule__Property__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleProperty" |
| |
| |
| // $ANTLR start "entryRuleAssignment" |
| // InternalDTML.g:153:1: entryRuleAssignment : ruleAssignment EOF ; |
| public final void entryRuleAssignment() throws RecognitionException { |
| try { |
| // InternalDTML.g:154:1: ( ruleAssignment EOF ) |
| // InternalDTML.g:155:1: ruleAssignment EOF |
| { |
| before(grammarAccess.getAssignmentRule()); |
| pushFollow(FOLLOW_1); |
| ruleAssignment(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getAssignmentRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleAssignment" |
| |
| |
| // $ANTLR start "ruleAssignment" |
| // InternalDTML.g:162:1: ruleAssignment : ( ( rule__Assignment__Group__0 ) ) ; |
| public final void ruleAssignment() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:166:2: ( ( ( rule__Assignment__Group__0 ) ) ) |
| // InternalDTML.g:167:2: ( ( rule__Assignment__Group__0 ) ) |
| { |
| // InternalDTML.g:167:2: ( ( rule__Assignment__Group__0 ) ) |
| // InternalDTML.g:168:3: ( rule__Assignment__Group__0 ) |
| { |
| before(grammarAccess.getAssignmentAccess().getGroup()); |
| // InternalDTML.g:169:3: ( rule__Assignment__Group__0 ) |
| // InternalDTML.g:169:4: rule__Assignment__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Assignment__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getAssignmentAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleAssignment" |
| |
| |
| // $ANTLR start "entryRuleExpressionString" |
| // InternalDTML.g:178:1: entryRuleExpressionString : ruleExpressionString EOF ; |
| public final void entryRuleExpressionString() throws RecognitionException { |
| try { |
| // InternalDTML.g:179:1: ( ruleExpressionString EOF ) |
| // InternalDTML.g:180:1: ruleExpressionString EOF |
| { |
| before(grammarAccess.getExpressionStringRule()); |
| pushFollow(FOLLOW_1); |
| ruleExpressionString(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getExpressionStringRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleExpressionString" |
| |
| |
| // $ANTLR start "ruleExpressionString" |
| // InternalDTML.g:187:1: ruleExpressionString : ( ( rule__ExpressionString__Alternatives )* ) ; |
| public final void ruleExpressionString() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:191:2: ( ( ( rule__ExpressionString__Alternatives )* ) ) |
| // InternalDTML.g:192:2: ( ( rule__ExpressionString__Alternatives )* ) |
| { |
| // InternalDTML.g:192:2: ( ( rule__ExpressionString__Alternatives )* ) |
| // InternalDTML.g:193:3: ( rule__ExpressionString__Alternatives )* |
| { |
| before(grammarAccess.getExpressionStringAccess().getAlternatives()); |
| // InternalDTML.g:194:3: ( rule__ExpressionString__Alternatives )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( ((LA1_0>=RULE_ID && LA1_0<=RULE_DOUBLE)||(LA1_0>=16 && LA1_0<=19)) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // InternalDTML.g:194:4: rule__ExpressionString__Alternatives |
| { |
| pushFollow(FOLLOW_3); |
| rule__ExpressionString__Alternatives(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| default : |
| break loop1; |
| } |
| } while (true); |
| |
| after(grammarAccess.getExpressionStringAccess().getAlternatives()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleExpressionString" |
| |
| |
| // $ANTLR start "entryRuleValue" |
| // InternalDTML.g:203:1: entryRuleValue : ruleValue EOF ; |
| public final void entryRuleValue() throws RecognitionException { |
| try { |
| // InternalDTML.g:204:1: ( ruleValue EOF ) |
| // InternalDTML.g:205:1: ruleValue EOF |
| { |
| before(grammarAccess.getValueRule()); |
| pushFollow(FOLLOW_1); |
| ruleValue(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getValueRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleValue" |
| |
| |
| // $ANTLR start "ruleValue" |
| // InternalDTML.g:212:1: ruleValue : ( ( rule__Value__Alternatives ) ) ; |
| public final void ruleValue() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:216:2: ( ( ( rule__Value__Alternatives ) ) ) |
| // InternalDTML.g:217:2: ( ( rule__Value__Alternatives ) ) |
| { |
| // InternalDTML.g:217:2: ( ( rule__Value__Alternatives ) ) |
| // InternalDTML.g:218:3: ( rule__Value__Alternatives ) |
| { |
| before(grammarAccess.getValueAccess().getAlternatives()); |
| // InternalDTML.g:219:3: ( rule__Value__Alternatives ) |
| // InternalDTML.g:219:4: rule__Value__Alternatives |
| { |
| pushFollow(FOLLOW_2); |
| rule__Value__Alternatives(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getValueAccess().getAlternatives()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleValue" |
| |
| |
| // $ANTLR start "entryRuleQualifiedName" |
| // InternalDTML.g:228:1: entryRuleQualifiedName : ruleQualifiedName EOF ; |
| public final void entryRuleQualifiedName() throws RecognitionException { |
| try { |
| // InternalDTML.g:229:1: ( ruleQualifiedName EOF ) |
| // InternalDTML.g:230:1: ruleQualifiedName EOF |
| { |
| before(grammarAccess.getQualifiedNameRule()); |
| pushFollow(FOLLOW_1); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getQualifiedNameRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleQualifiedName" |
| |
| |
| // $ANTLR start "ruleQualifiedName" |
| // InternalDTML.g:237:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; |
| public final void ruleQualifiedName() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:241:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) |
| // InternalDTML.g:242:2: ( ( rule__QualifiedName__Group__0 ) ) |
| { |
| // InternalDTML.g:242:2: ( ( rule__QualifiedName__Group__0 ) ) |
| // InternalDTML.g:243:3: ( rule__QualifiedName__Group__0 ) |
| { |
| before(grammarAccess.getQualifiedNameAccess().getGroup()); |
| // InternalDTML.g:244:3: ( rule__QualifiedName__Group__0 ) |
| // InternalDTML.g:244:4: rule__QualifiedName__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getQualifiedNameAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleQualifiedName" |
| |
| |
| // $ANTLR start "entryRuleTypeRule" |
| // InternalDTML.g:253:1: entryRuleTypeRule : ruleTypeRule EOF ; |
| public final void entryRuleTypeRule() throws RecognitionException { |
| try { |
| // InternalDTML.g:254:1: ( ruleTypeRule EOF ) |
| // InternalDTML.g:255:1: ruleTypeRule EOF |
| { |
| before(grammarAccess.getTypeRuleRule()); |
| pushFollow(FOLLOW_1); |
| ruleTypeRule(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getTypeRuleRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleTypeRule" |
| |
| |
| // $ANTLR start "ruleTypeRule" |
| // InternalDTML.g:262:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ; |
| public final void ruleTypeRule() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:266:2: ( ( ( rule__TypeRule__Group__0 ) ) ) |
| // InternalDTML.g:267:2: ( ( rule__TypeRule__Group__0 ) ) |
| { |
| // InternalDTML.g:267:2: ( ( rule__TypeRule__Group__0 ) ) |
| // InternalDTML.g:268:3: ( rule__TypeRule__Group__0 ) |
| { |
| before(grammarAccess.getTypeRuleAccess().getGroup()); |
| // InternalDTML.g:269:3: ( rule__TypeRule__Group__0 ) |
| // InternalDTML.g:269:4: rule__TypeRule__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__TypeRule__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getTypeRuleAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleTypeRule" |
| |
| |
| // $ANTLR start "entryRuleMultiplicityRule" |
| // InternalDTML.g:278:1: entryRuleMultiplicityRule : ruleMultiplicityRule EOF ; |
| public final void entryRuleMultiplicityRule() throws RecognitionException { |
| try { |
| // InternalDTML.g:279:1: ( ruleMultiplicityRule EOF ) |
| // InternalDTML.g:280:1: ruleMultiplicityRule EOF |
| { |
| before(grammarAccess.getMultiplicityRuleRule()); |
| pushFollow(FOLLOW_1); |
| ruleMultiplicityRule(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getMultiplicityRuleRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleMultiplicityRule" |
| |
| |
| // $ANTLR start "ruleMultiplicityRule" |
| // InternalDTML.g:287:1: ruleMultiplicityRule : ( ( rule__MultiplicityRule__Group__0 ) ) ; |
| public final void ruleMultiplicityRule() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:291:2: ( ( ( rule__MultiplicityRule__Group__0 ) ) ) |
| // InternalDTML.g:292:2: ( ( rule__MultiplicityRule__Group__0 ) ) |
| { |
| // InternalDTML.g:292:2: ( ( rule__MultiplicityRule__Group__0 ) ) |
| // InternalDTML.g:293:3: ( rule__MultiplicityRule__Group__0 ) |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getGroup()); |
| // InternalDTML.g:294:3: ( rule__MultiplicityRule__Group__0 ) |
| // InternalDTML.g:294:4: rule__MultiplicityRule__Group__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getGroup()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleMultiplicityRule" |
| |
| |
| // $ANTLR start "entryRuleBoundSpecification" |
| // InternalDTML.g:303:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ; |
| public final void entryRuleBoundSpecification() throws RecognitionException { |
| try { |
| // InternalDTML.g:304:1: ( ruleBoundSpecification EOF ) |
| // InternalDTML.g:305:1: ruleBoundSpecification EOF |
| { |
| before(grammarAccess.getBoundSpecificationRule()); |
| pushFollow(FOLLOW_1); |
| ruleBoundSpecification(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getBoundSpecificationRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleBoundSpecification" |
| |
| |
| // $ANTLR start "ruleBoundSpecification" |
| // InternalDTML.g:312:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ; |
| public final void ruleBoundSpecification() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:316:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) ) |
| // InternalDTML.g:317:2: ( ( rule__BoundSpecification__ValueAssignment ) ) |
| { |
| // InternalDTML.g:317:2: ( ( rule__BoundSpecification__ValueAssignment ) ) |
| // InternalDTML.g:318:3: ( rule__BoundSpecification__ValueAssignment ) |
| { |
| before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); |
| // InternalDTML.g:319:3: ( rule__BoundSpecification__ValueAssignment ) |
| // InternalDTML.g:319:4: rule__BoundSpecification__ValueAssignment |
| { |
| pushFollow(FOLLOW_2); |
| rule__BoundSpecification__ValueAssignment(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleBoundSpecification" |
| |
| |
| // $ANTLR start "entryRuleUnlimitedLiteral" |
| // InternalDTML.g:328:1: entryRuleUnlimitedLiteral : ruleUnlimitedLiteral EOF ; |
| public final void entryRuleUnlimitedLiteral() throws RecognitionException { |
| try { |
| // InternalDTML.g:329:1: ( ruleUnlimitedLiteral EOF ) |
| // InternalDTML.g:330:1: ruleUnlimitedLiteral EOF |
| { |
| before(grammarAccess.getUnlimitedLiteralRule()); |
| pushFollow(FOLLOW_1); |
| ruleUnlimitedLiteral(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getUnlimitedLiteralRule()); |
| match(input,EOF,FOLLOW_2); |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| } |
| return ; |
| } |
| // $ANTLR end "entryRuleUnlimitedLiteral" |
| |
| |
| // $ANTLR start "ruleUnlimitedLiteral" |
| // InternalDTML.g:337:1: ruleUnlimitedLiteral : ( ( rule__UnlimitedLiteral__Alternatives ) ) ; |
| public final void ruleUnlimitedLiteral() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:341:2: ( ( ( rule__UnlimitedLiteral__Alternatives ) ) ) |
| // InternalDTML.g:342:2: ( ( rule__UnlimitedLiteral__Alternatives ) ) |
| { |
| // InternalDTML.g:342:2: ( ( rule__UnlimitedLiteral__Alternatives ) ) |
| // InternalDTML.g:343:3: ( rule__UnlimitedLiteral__Alternatives ) |
| { |
| before(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); |
| // InternalDTML.g:344:3: ( rule__UnlimitedLiteral__Alternatives ) |
| // InternalDTML.g:344:4: rule__UnlimitedLiteral__Alternatives |
| { |
| pushFollow(FOLLOW_2); |
| rule__UnlimitedLiteral__Alternatives(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "ruleUnlimitedLiteral" |
| |
| |
| // $ANTLR start "rule__Model__Alternatives" |
| // InternalDTML.g:352:1: rule__Model__Alternatives : ( ( ruleDTModel ) | ( ruleAssignment ) ); |
| public final void rule__Model__Alternatives() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:356:1: ( ( ruleDTModel ) | ( ruleAssignment ) ) |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( ((LA2_0>=14 && LA2_0<=15)) ) { |
| alt2=1; |
| } |
| else if ( (LA2_0==RULE_ID) ) { |
| alt2=2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 2, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt2) { |
| case 1 : |
| // InternalDTML.g:357:2: ( ruleDTModel ) |
| { |
| // InternalDTML.g:357:2: ( ruleDTModel ) |
| // InternalDTML.g:358:3: ruleDTModel |
| { |
| before(grammarAccess.getModelAccess().getDTModelParserRuleCall_0()); |
| pushFollow(FOLLOW_2); |
| ruleDTModel(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getModelAccess().getDTModelParserRuleCall_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:363:2: ( ruleAssignment ) |
| { |
| // InternalDTML.g:363:2: ( ruleAssignment ) |
| // InternalDTML.g:364:3: ruleAssignment |
| { |
| before(grammarAccess.getModelAccess().getAssignmentParserRuleCall_1()); |
| pushFollow(FOLLOW_2); |
| ruleAssignment(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getModelAccess().getAssignmentParserRuleCall_1()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Model__Alternatives" |
| |
| |
| // $ANTLR start "rule__DTKey__Alternatives" |
| // InternalDTML.g:373:1: rule__DTKey__Alternatives : ( ( 'DataType' ) | ( 'CommObject' ) ); |
| public final void rule__DTKey__Alternatives() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:377:1: ( ( 'DataType' ) | ( 'CommObject' ) ) |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==14) ) { |
| alt3=1; |
| } |
| else if ( (LA3_0==15) ) { |
| alt3=2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 3, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt3) { |
| case 1 : |
| // InternalDTML.g:378:2: ( 'DataType' ) |
| { |
| // InternalDTML.g:378:2: ( 'DataType' ) |
| // InternalDTML.g:379:3: 'DataType' |
| { |
| before(grammarAccess.getDTKeyAccess().getDataTypeKeyword_0()); |
| match(input,14,FOLLOW_2); |
| after(grammarAccess.getDTKeyAccess().getDataTypeKeyword_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:384:2: ( 'CommObject' ) |
| { |
| // InternalDTML.g:384:2: ( 'CommObject' ) |
| // InternalDTML.g:385:3: 'CommObject' |
| { |
| before(grammarAccess.getDTKeyAccess().getCommObjectKeyword_1()); |
| match(input,15,FOLLOW_2); |
| after(grammarAccess.getDTKeyAccess().getCommObjectKeyword_1()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTKey__Alternatives" |
| |
| |
| // $ANTLR start "rule__Property__Alternatives_2_1" |
| // InternalDTML.g:394:1: rule__Property__Alternatives_2_1 : ( ( ( rule__Property__TypeAssignment_2_1_0 ) ) | ( ( rule__Property__TypeUndefinedAssignment_2_1_1 ) ) ); |
| public final void rule__Property__Alternatives_2_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:398:1: ( ( ( rule__Property__TypeAssignment_2_1_0 ) ) | ( ( rule__Property__TypeUndefinedAssignment_2_1_1 ) ) ) |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( (LA4_0==RULE_ID) ) { |
| alt4=1; |
| } |
| else if ( (LA4_0==29) ) { |
| alt4=2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 4, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt4) { |
| case 1 : |
| // InternalDTML.g:399:2: ( ( rule__Property__TypeAssignment_2_1_0 ) ) |
| { |
| // InternalDTML.g:399:2: ( ( rule__Property__TypeAssignment_2_1_0 ) ) |
| // InternalDTML.g:400:3: ( rule__Property__TypeAssignment_2_1_0 ) |
| { |
| before(grammarAccess.getPropertyAccess().getTypeAssignment_2_1_0()); |
| // InternalDTML.g:401:3: ( rule__Property__TypeAssignment_2_1_0 ) |
| // InternalDTML.g:401:4: rule__Property__TypeAssignment_2_1_0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__TypeAssignment_2_1_0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getTypeAssignment_2_1_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:405:2: ( ( rule__Property__TypeUndefinedAssignment_2_1_1 ) ) |
| { |
| // InternalDTML.g:405:2: ( ( rule__Property__TypeUndefinedAssignment_2_1_1 ) ) |
| // InternalDTML.g:406:3: ( rule__Property__TypeUndefinedAssignment_2_1_1 ) |
| { |
| before(grammarAccess.getPropertyAccess().getTypeUndefinedAssignment_2_1_1()); |
| // InternalDTML.g:407:3: ( rule__Property__TypeUndefinedAssignment_2_1_1 ) |
| // InternalDTML.g:407:4: rule__Property__TypeUndefinedAssignment_2_1_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__TypeUndefinedAssignment_2_1_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getTypeUndefinedAssignment_2_1_1()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Alternatives_2_1" |
| |
| |
| // $ANTLR start "rule__ExpressionString__Alternatives" |
| // InternalDTML.g:415:1: rule__ExpressionString__Alternatives : ( ( RULE_ID ) | ( '[' ) | ( ']' ) | ( '-' ) | ( ',' ) | ( RULE_INT ) | ( RULE_DOUBLE ) ); |
| public final void rule__ExpressionString__Alternatives() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:419:1: ( ( RULE_ID ) | ( '[' ) | ( ']' ) | ( '-' ) | ( ',' ) | ( RULE_INT ) | ( RULE_DOUBLE ) ) |
| int alt5=7; |
| switch ( input.LA(1) ) { |
| case RULE_ID: |
| { |
| alt5=1; |
| } |
| break; |
| case 16: |
| { |
| alt5=2; |
| } |
| break; |
| case 17: |
| { |
| alt5=3; |
| } |
| break; |
| case 18: |
| { |
| alt5=4; |
| } |
| break; |
| case 19: |
| { |
| alt5=5; |
| } |
| break; |
| case RULE_INT: |
| { |
| alt5=6; |
| } |
| break; |
| case RULE_DOUBLE: |
| { |
| alt5=7; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 5, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt5) { |
| case 1 : |
| // InternalDTML.g:420:2: ( RULE_ID ) |
| { |
| // InternalDTML.g:420:2: ( RULE_ID ) |
| // InternalDTML.g:421:3: RULE_ID |
| { |
| before(grammarAccess.getExpressionStringAccess().getIDTerminalRuleCall_0()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getIDTerminalRuleCall_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:426:2: ( '[' ) |
| { |
| // InternalDTML.g:426:2: ( '[' ) |
| // InternalDTML.g:427:3: '[' |
| { |
| before(grammarAccess.getExpressionStringAccess().getLeftSquareBracketKeyword_1()); |
| match(input,16,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getLeftSquareBracketKeyword_1()); |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalDTML.g:432:2: ( ']' ) |
| { |
| // InternalDTML.g:432:2: ( ']' ) |
| // InternalDTML.g:433:3: ']' |
| { |
| before(grammarAccess.getExpressionStringAccess().getRightSquareBracketKeyword_2()); |
| match(input,17,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getRightSquareBracketKeyword_2()); |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalDTML.g:438:2: ( '-' ) |
| { |
| // InternalDTML.g:438:2: ( '-' ) |
| // InternalDTML.g:439:3: '-' |
| { |
| before(grammarAccess.getExpressionStringAccess().getHyphenMinusKeyword_3()); |
| match(input,18,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getHyphenMinusKeyword_3()); |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // InternalDTML.g:444:2: ( ',' ) |
| { |
| // InternalDTML.g:444:2: ( ',' ) |
| // InternalDTML.g:445:3: ',' |
| { |
| before(grammarAccess.getExpressionStringAccess().getCommaKeyword_4()); |
| match(input,19,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getCommaKeyword_4()); |
| |
| } |
| |
| |
| } |
| break; |
| case 6 : |
| // InternalDTML.g:450:2: ( RULE_INT ) |
| { |
| // InternalDTML.g:450:2: ( RULE_INT ) |
| // InternalDTML.g:451:3: RULE_INT |
| { |
| before(grammarAccess.getExpressionStringAccess().getINTTerminalRuleCall_5()); |
| match(input,RULE_INT,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getINTTerminalRuleCall_5()); |
| |
| } |
| |
| |
| } |
| break; |
| case 7 : |
| // InternalDTML.g:456:2: ( RULE_DOUBLE ) |
| { |
| // InternalDTML.g:456:2: ( RULE_DOUBLE ) |
| // InternalDTML.g:457:3: RULE_DOUBLE |
| { |
| before(grammarAccess.getExpressionStringAccess().getDOUBLETerminalRuleCall_6()); |
| match(input,RULE_DOUBLE,FOLLOW_2); |
| after(grammarAccess.getExpressionStringAccess().getDOUBLETerminalRuleCall_6()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__ExpressionString__Alternatives" |
| |
| |
| // $ANTLR start "rule__Value__Alternatives" |
| // InternalDTML.g:466:1: rule__Value__Alternatives : ( ( ( rule__Value__StrAssignment_0 ) ) | ( ( rule__Value__IvalAssignment_1 ) ) | ( ( rule__Value__DvalAssignment_2 ) ) ); |
| public final void rule__Value__Alternatives() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:470:1: ( ( ( rule__Value__StrAssignment_0 ) ) | ( ( rule__Value__IvalAssignment_1 ) ) | ( ( rule__Value__DvalAssignment_2 ) ) ) |
| int alt6=3; |
| switch ( input.LA(1) ) { |
| case RULE_STRING: |
| { |
| alt6=1; |
| } |
| break; |
| case RULE_INT: |
| { |
| alt6=2; |
| } |
| break; |
| case RULE_DOUBLE: |
| { |
| alt6=3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 6, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt6) { |
| case 1 : |
| // InternalDTML.g:471:2: ( ( rule__Value__StrAssignment_0 ) ) |
| { |
| // InternalDTML.g:471:2: ( ( rule__Value__StrAssignment_0 ) ) |
| // InternalDTML.g:472:3: ( rule__Value__StrAssignment_0 ) |
| { |
| before(grammarAccess.getValueAccess().getStrAssignment_0()); |
| // InternalDTML.g:473:3: ( rule__Value__StrAssignment_0 ) |
| // InternalDTML.g:473:4: rule__Value__StrAssignment_0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Value__StrAssignment_0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getValueAccess().getStrAssignment_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:477:2: ( ( rule__Value__IvalAssignment_1 ) ) |
| { |
| // InternalDTML.g:477:2: ( ( rule__Value__IvalAssignment_1 ) ) |
| // InternalDTML.g:478:3: ( rule__Value__IvalAssignment_1 ) |
| { |
| before(grammarAccess.getValueAccess().getIvalAssignment_1()); |
| // InternalDTML.g:479:3: ( rule__Value__IvalAssignment_1 ) |
| // InternalDTML.g:479:4: rule__Value__IvalAssignment_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Value__IvalAssignment_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getValueAccess().getIvalAssignment_1()); |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalDTML.g:483:2: ( ( rule__Value__DvalAssignment_2 ) ) |
| { |
| // InternalDTML.g:483:2: ( ( rule__Value__DvalAssignment_2 ) ) |
| // InternalDTML.g:484:3: ( rule__Value__DvalAssignment_2 ) |
| { |
| before(grammarAccess.getValueAccess().getDvalAssignment_2()); |
| // InternalDTML.g:485:3: ( rule__Value__DvalAssignment_2 ) |
| // InternalDTML.g:485:4: rule__Value__DvalAssignment_2 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Value__DvalAssignment_2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getValueAccess().getDvalAssignment_2()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Value__Alternatives" |
| |
| |
| // $ANTLR start "rule__UnlimitedLiteral__Alternatives" |
| // InternalDTML.g:493:1: rule__UnlimitedLiteral__Alternatives : ( ( RULE_INT ) | ( '*' ) ); |
| public final void rule__UnlimitedLiteral__Alternatives() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:497:1: ( ( RULE_INT ) | ( '*' ) ) |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0==RULE_INT) ) { |
| alt7=1; |
| } |
| else if ( (LA7_0==20) ) { |
| alt7=2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 7, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt7) { |
| case 1 : |
| // InternalDTML.g:498:2: ( RULE_INT ) |
| { |
| // InternalDTML.g:498:2: ( RULE_INT ) |
| // InternalDTML.g:499:3: RULE_INT |
| { |
| before(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); |
| match(input,RULE_INT,FOLLOW_2); |
| after(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalDTML.g:504:2: ( '*' ) |
| { |
| // InternalDTML.g:504:2: ( '*' ) |
| // InternalDTML.g:505:3: '*' |
| { |
| before(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); |
| match(input,20,FOLLOW_2); |
| after(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__UnlimitedLiteral__Alternatives" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__0" |
| // InternalDTML.g:514:1: rule__DTModel__Group__0 : rule__DTModel__Group__0__Impl rule__DTModel__Group__1 ; |
| public final void rule__DTModel__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:518:1: ( rule__DTModel__Group__0__Impl rule__DTModel__Group__1 ) |
| // InternalDTML.g:519:2: rule__DTModel__Group__0__Impl rule__DTModel__Group__1 |
| { |
| pushFollow(FOLLOW_4); |
| rule__DTModel__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__0" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__0__Impl" |
| // InternalDTML.g:526:1: rule__DTModel__Group__0__Impl : ( ruleDTKey ) ; |
| public final void rule__DTModel__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:530:1: ( ( ruleDTKey ) ) |
| // InternalDTML.g:531:1: ( ruleDTKey ) |
| { |
| // InternalDTML.g:531:1: ( ruleDTKey ) |
| // InternalDTML.g:532:2: ruleDTKey |
| { |
| before(grammarAccess.getDTModelAccess().getDTKeyParserRuleCall_0()); |
| pushFollow(FOLLOW_2); |
| ruleDTKey(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getDTModelAccess().getDTKeyParserRuleCall_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__1" |
| // InternalDTML.g:541:1: rule__DTModel__Group__1 : rule__DTModel__Group__1__Impl rule__DTModel__Group__2 ; |
| public final void rule__DTModel__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:545:1: ( rule__DTModel__Group__1__Impl rule__DTModel__Group__2 ) |
| // InternalDTML.g:546:2: rule__DTModel__Group__1__Impl rule__DTModel__Group__2 |
| { |
| pushFollow(FOLLOW_5); |
| rule__DTModel__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__1" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__1__Impl" |
| // InternalDTML.g:553:1: rule__DTModel__Group__1__Impl : ( ( rule__DTModel__NameAssignment_1 ) ) ; |
| public final void rule__DTModel__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:557:1: ( ( ( rule__DTModel__NameAssignment_1 ) ) ) |
| // InternalDTML.g:558:1: ( ( rule__DTModel__NameAssignment_1 ) ) |
| { |
| // InternalDTML.g:558:1: ( ( rule__DTModel__NameAssignment_1 ) ) |
| // InternalDTML.g:559:2: ( rule__DTModel__NameAssignment_1 ) |
| { |
| before(grammarAccess.getDTModelAccess().getNameAssignment_1()); |
| // InternalDTML.g:560:2: ( rule__DTModel__NameAssignment_1 ) |
| // InternalDTML.g:560:3: rule__DTModel__NameAssignment_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__DTModel__NameAssignment_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getDTModelAccess().getNameAssignment_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__2" |
| // InternalDTML.g:568:1: rule__DTModel__Group__2 : rule__DTModel__Group__2__Impl rule__DTModel__Group__3 ; |
| public final void rule__DTModel__Group__2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:572:1: ( rule__DTModel__Group__2__Impl rule__DTModel__Group__3 ) |
| // InternalDTML.g:573:2: rule__DTModel__Group__2__Impl rule__DTModel__Group__3 |
| { |
| pushFollow(FOLLOW_6); |
| rule__DTModel__Group__2__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__3(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__2" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__2__Impl" |
| // InternalDTML.g:580:1: rule__DTModel__Group__2__Impl : ( '{' ) ; |
| public final void rule__DTModel__Group__2__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:584:1: ( ( '{' ) ) |
| // InternalDTML.g:585:1: ( '{' ) |
| { |
| // InternalDTML.g:585:1: ( '{' ) |
| // InternalDTML.g:586:2: '{' |
| { |
| before(grammarAccess.getDTModelAccess().getLeftCurlyBracketKeyword_2()); |
| match(input,21,FOLLOW_2); |
| after(grammarAccess.getDTModelAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__2__Impl" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__3" |
| // InternalDTML.g:595:1: rule__DTModel__Group__3 : rule__DTModel__Group__3__Impl rule__DTModel__Group__4 ; |
| public final void rule__DTModel__Group__3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:599:1: ( rule__DTModel__Group__3__Impl rule__DTModel__Group__4 ) |
| // InternalDTML.g:600:2: rule__DTModel__Group__3__Impl rule__DTModel__Group__4 |
| { |
| pushFollow(FOLLOW_6); |
| rule__DTModel__Group__3__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__4(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__3" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__3__Impl" |
| // InternalDTML.g:607:1: rule__DTModel__Group__3__Impl : ( ( rule__DTModel__AttributesAssignment_3 )* ) ; |
| public final void rule__DTModel__Group__3__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:611:1: ( ( ( rule__DTModel__AttributesAssignment_3 )* ) ) |
| // InternalDTML.g:612:1: ( ( rule__DTModel__AttributesAssignment_3 )* ) |
| { |
| // InternalDTML.g:612:1: ( ( rule__DTModel__AttributesAssignment_3 )* ) |
| // InternalDTML.g:613:2: ( rule__DTModel__AttributesAssignment_3 )* |
| { |
| before(grammarAccess.getDTModelAccess().getAttributesAssignment_3()); |
| // InternalDTML.g:614:2: ( rule__DTModel__AttributesAssignment_3 )* |
| loop8: |
| do { |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( (LA8_0==23) ) { |
| alt8=1; |
| } |
| |
| |
| switch (alt8) { |
| case 1 : |
| // InternalDTML.g:614:3: rule__DTModel__AttributesAssignment_3 |
| { |
| pushFollow(FOLLOW_7); |
| rule__DTModel__AttributesAssignment_3(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| default : |
| break loop8; |
| } |
| } while (true); |
| |
| after(grammarAccess.getDTModelAccess().getAttributesAssignment_3()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__3__Impl" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__4" |
| // InternalDTML.g:622:1: rule__DTModel__Group__4 : rule__DTModel__Group__4__Impl ; |
| public final void rule__DTModel__Group__4() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:626:1: ( rule__DTModel__Group__4__Impl ) |
| // InternalDTML.g:627:2: rule__DTModel__Group__4__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__DTModel__Group__4__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__4" |
| |
| |
| // $ANTLR start "rule__DTModel__Group__4__Impl" |
| // InternalDTML.g:633:1: rule__DTModel__Group__4__Impl : ( '}' ) ; |
| public final void rule__DTModel__Group__4__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:637:1: ( ( '}' ) ) |
| // InternalDTML.g:638:1: ( '}' ) |
| { |
| // InternalDTML.g:638:1: ( '}' ) |
| // InternalDTML.g:639:2: '}' |
| { |
| before(grammarAccess.getDTModelAccess().getRightCurlyBracketKeyword_4()); |
| match(input,22,FOLLOW_2); |
| after(grammarAccess.getDTModelAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__Group__4__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__0" |
| // InternalDTML.g:649:1: rule__Property__Group__0 : rule__Property__Group__0__Impl rule__Property__Group__1 ; |
| public final void rule__Property__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:653:1: ( rule__Property__Group__0__Impl rule__Property__Group__1 ) |
| // InternalDTML.g:654:2: rule__Property__Group__0__Impl rule__Property__Group__1 |
| { |
| pushFollow(FOLLOW_4); |
| rule__Property__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__0" |
| |
| |
| // $ANTLR start "rule__Property__Group__0__Impl" |
| // InternalDTML.g:661:1: rule__Property__Group__0__Impl : ( 'attribute' ) ; |
| public final void rule__Property__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:665:1: ( ( 'attribute' ) ) |
| // InternalDTML.g:666:1: ( 'attribute' ) |
| { |
| // InternalDTML.g:666:1: ( 'attribute' ) |
| // InternalDTML.g:667:2: 'attribute' |
| { |
| before(grammarAccess.getPropertyAccess().getAttributeKeyword_0()); |
| match(input,23,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getAttributeKeyword_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__1" |
| // InternalDTML.g:676:1: rule__Property__Group__1 : rule__Property__Group__1__Impl rule__Property__Group__2 ; |
| public final void rule__Property__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:680:1: ( rule__Property__Group__1__Impl rule__Property__Group__2 ) |
| // InternalDTML.g:681:2: rule__Property__Group__1__Impl rule__Property__Group__2 |
| { |
| pushFollow(FOLLOW_8); |
| rule__Property__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__1" |
| |
| |
| // $ANTLR start "rule__Property__Group__1__Impl" |
| // InternalDTML.g:688:1: rule__Property__Group__1__Impl : ( ( rule__Property__NameAssignment_1 ) ) ; |
| public final void rule__Property__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:692:1: ( ( ( rule__Property__NameAssignment_1 ) ) ) |
| // InternalDTML.g:693:1: ( ( rule__Property__NameAssignment_1 ) ) |
| { |
| // InternalDTML.g:693:1: ( ( rule__Property__NameAssignment_1 ) ) |
| // InternalDTML.g:694:2: ( rule__Property__NameAssignment_1 ) |
| { |
| before(grammarAccess.getPropertyAccess().getNameAssignment_1()); |
| // InternalDTML.g:695:2: ( rule__Property__NameAssignment_1 ) |
| // InternalDTML.g:695:3: rule__Property__NameAssignment_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__NameAssignment_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getNameAssignment_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__2" |
| // InternalDTML.g:703:1: rule__Property__Group__2 : rule__Property__Group__2__Impl rule__Property__Group__3 ; |
| public final void rule__Property__Group__2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:707:1: ( rule__Property__Group__2__Impl rule__Property__Group__3 ) |
| // InternalDTML.g:708:2: rule__Property__Group__2__Impl rule__Property__Group__3 |
| { |
| pushFollow(FOLLOW_8); |
| rule__Property__Group__2__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__3(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__2" |
| |
| |
| // $ANTLR start "rule__Property__Group__2__Impl" |
| // InternalDTML.g:715:1: rule__Property__Group__2__Impl : ( ( rule__Property__Group_2__0 )? ) ; |
| public final void rule__Property__Group__2__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:719:1: ( ( ( rule__Property__Group_2__0 )? ) ) |
| // InternalDTML.g:720:1: ( ( rule__Property__Group_2__0 )? ) |
| { |
| // InternalDTML.g:720:1: ( ( rule__Property__Group_2__0 )? ) |
| // InternalDTML.g:721:2: ( rule__Property__Group_2__0 )? |
| { |
| before(grammarAccess.getPropertyAccess().getGroup_2()); |
| // InternalDTML.g:722:2: ( rule__Property__Group_2__0 )? |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==24) ) { |
| alt9=1; |
| } |
| switch (alt9) { |
| case 1 : |
| // InternalDTML.g:722:3: rule__Property__Group_2__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_2__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__2__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__3" |
| // InternalDTML.g:730:1: rule__Property__Group__3 : rule__Property__Group__3__Impl rule__Property__Group__4 ; |
| public final void rule__Property__Group__3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:734:1: ( rule__Property__Group__3__Impl rule__Property__Group__4 ) |
| // InternalDTML.g:735:2: rule__Property__Group__3__Impl rule__Property__Group__4 |
| { |
| pushFollow(FOLLOW_8); |
| rule__Property__Group__3__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__4(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__3" |
| |
| |
| // $ANTLR start "rule__Property__Group__3__Impl" |
| // InternalDTML.g:742:1: rule__Property__Group__3__Impl : ( ( rule__Property__MultiplicityAssignment_3 )? ) ; |
| public final void rule__Property__Group__3__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:746:1: ( ( ( rule__Property__MultiplicityAssignment_3 )? ) ) |
| // InternalDTML.g:747:1: ( ( rule__Property__MultiplicityAssignment_3 )? ) |
| { |
| // InternalDTML.g:747:1: ( ( rule__Property__MultiplicityAssignment_3 )? ) |
| // InternalDTML.g:748:2: ( rule__Property__MultiplicityAssignment_3 )? |
| { |
| before(grammarAccess.getPropertyAccess().getMultiplicityAssignment_3()); |
| // InternalDTML.g:749:2: ( rule__Property__MultiplicityAssignment_3 )? |
| int alt10=2; |
| int LA10_0 = input.LA(1); |
| |
| if ( (LA10_0==16) ) { |
| alt10=1; |
| } |
| switch (alt10) { |
| case 1 : |
| // InternalDTML.g:749:3: rule__Property__MultiplicityAssignment_3 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__MultiplicityAssignment_3(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getMultiplicityAssignment_3()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__3__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__4" |
| // InternalDTML.g:757:1: rule__Property__Group__4 : rule__Property__Group__4__Impl rule__Property__Group__5 ; |
| public final void rule__Property__Group__4() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:761:1: ( rule__Property__Group__4__Impl rule__Property__Group__5 ) |
| // InternalDTML.g:762:2: rule__Property__Group__4__Impl rule__Property__Group__5 |
| { |
| pushFollow(FOLLOW_8); |
| rule__Property__Group__4__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__5(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__4" |
| |
| |
| // $ANTLR start "rule__Property__Group__4__Impl" |
| // InternalDTML.g:769:1: rule__Property__Group__4__Impl : ( ( rule__Property__Group_4__0 )? ) ; |
| public final void rule__Property__Group__4__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:773:1: ( ( ( rule__Property__Group_4__0 )? ) ) |
| // InternalDTML.g:774:1: ( ( rule__Property__Group_4__0 )? ) |
| { |
| // InternalDTML.g:774:1: ( ( rule__Property__Group_4__0 )? ) |
| // InternalDTML.g:775:2: ( rule__Property__Group_4__0 )? |
| { |
| before(grammarAccess.getPropertyAccess().getGroup_4()); |
| // InternalDTML.g:776:2: ( rule__Property__Group_4__0 )? |
| int alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0==25) ) { |
| alt11=1; |
| } |
| switch (alt11) { |
| case 1 : |
| // InternalDTML.g:776:3: rule__Property__Group_4__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_4__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getGroup_4()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__4__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group__5" |
| // InternalDTML.g:784:1: rule__Property__Group__5 : rule__Property__Group__5__Impl ; |
| public final void rule__Property__Group__5() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:788:1: ( rule__Property__Group__5__Impl ) |
| // InternalDTML.g:789:2: rule__Property__Group__5__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group__5__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__5" |
| |
| |
| // $ANTLR start "rule__Property__Group__5__Impl" |
| // InternalDTML.g:795:1: rule__Property__Group__5__Impl : ( ( rule__Property__CommentAssignment_5 )? ) ; |
| public final void rule__Property__Group__5__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:799:1: ( ( ( rule__Property__CommentAssignment_5 )? ) ) |
| // InternalDTML.g:800:1: ( ( rule__Property__CommentAssignment_5 )? ) |
| { |
| // InternalDTML.g:800:1: ( ( rule__Property__CommentAssignment_5 )? ) |
| // InternalDTML.g:801:2: ( rule__Property__CommentAssignment_5 )? |
| { |
| before(grammarAccess.getPropertyAccess().getCommentAssignment_5()); |
| // InternalDTML.g:802:2: ( rule__Property__CommentAssignment_5 )? |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( (LA12_0==RULE_VSL_COMMENT) ) { |
| alt12=1; |
| } |
| switch (alt12) { |
| case 1 : |
| // InternalDTML.g:802:3: rule__Property__CommentAssignment_5 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__CommentAssignment_5(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getCommentAssignment_5()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group__5__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group_2__0" |
| // InternalDTML.g:811:1: rule__Property__Group_2__0 : rule__Property__Group_2__0__Impl rule__Property__Group_2__1 ; |
| public final void rule__Property__Group_2__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:815:1: ( rule__Property__Group_2__0__Impl rule__Property__Group_2__1 ) |
| // InternalDTML.g:816:2: rule__Property__Group_2__0__Impl rule__Property__Group_2__1 |
| { |
| pushFollow(FOLLOW_9); |
| rule__Property__Group_2__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_2__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_2__0" |
| |
| |
| // $ANTLR start "rule__Property__Group_2__0__Impl" |
| // InternalDTML.g:823:1: rule__Property__Group_2__0__Impl : ( ':' ) ; |
| public final void rule__Property__Group_2__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:827:1: ( ( ':' ) ) |
| // InternalDTML.g:828:1: ( ':' ) |
| { |
| // InternalDTML.g:828:1: ( ':' ) |
| // InternalDTML.g:829:2: ':' |
| { |
| before(grammarAccess.getPropertyAccess().getColonKeyword_2_0()); |
| match(input,24,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getColonKeyword_2_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_2__0__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group_2__1" |
| // InternalDTML.g:838:1: rule__Property__Group_2__1 : rule__Property__Group_2__1__Impl ; |
| public final void rule__Property__Group_2__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:842:1: ( rule__Property__Group_2__1__Impl ) |
| // InternalDTML.g:843:2: rule__Property__Group_2__1__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_2__1__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_2__1" |
| |
| |
| // $ANTLR start "rule__Property__Group_2__1__Impl" |
| // InternalDTML.g:849:1: rule__Property__Group_2__1__Impl : ( ( rule__Property__Alternatives_2_1 ) ) ; |
| public final void rule__Property__Group_2__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:853:1: ( ( ( rule__Property__Alternatives_2_1 ) ) ) |
| // InternalDTML.g:854:1: ( ( rule__Property__Alternatives_2_1 ) ) |
| { |
| // InternalDTML.g:854:1: ( ( rule__Property__Alternatives_2_1 ) ) |
| // InternalDTML.g:855:2: ( rule__Property__Alternatives_2_1 ) |
| { |
| before(grammarAccess.getPropertyAccess().getAlternatives_2_1()); |
| // InternalDTML.g:856:2: ( rule__Property__Alternatives_2_1 ) |
| // InternalDTML.g:856:3: rule__Property__Alternatives_2_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Alternatives_2_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getAlternatives_2_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_2__1__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group_4__0" |
| // InternalDTML.g:865:1: rule__Property__Group_4__0 : rule__Property__Group_4__0__Impl rule__Property__Group_4__1 ; |
| public final void rule__Property__Group_4__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:869:1: ( rule__Property__Group_4__0__Impl rule__Property__Group_4__1 ) |
| // InternalDTML.g:870:2: rule__Property__Group_4__0__Impl rule__Property__Group_4__1 |
| { |
| pushFollow(FOLLOW_10); |
| rule__Property__Group_4__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_4__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_4__0" |
| |
| |
| // $ANTLR start "rule__Property__Group_4__0__Impl" |
| // InternalDTML.g:877:1: rule__Property__Group_4__0__Impl : ( '=' ) ; |
| public final void rule__Property__Group_4__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:881:1: ( ( '=' ) ) |
| // InternalDTML.g:882:1: ( '=' ) |
| { |
| // InternalDTML.g:882:1: ( '=' ) |
| // InternalDTML.g:883:2: '=' |
| { |
| before(grammarAccess.getPropertyAccess().getEqualsSignKeyword_4_0()); |
| match(input,25,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getEqualsSignKeyword_4_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_4__0__Impl" |
| |
| |
| // $ANTLR start "rule__Property__Group_4__1" |
| // InternalDTML.g:892:1: rule__Property__Group_4__1 : rule__Property__Group_4__1__Impl ; |
| public final void rule__Property__Group_4__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:896:1: ( rule__Property__Group_4__1__Impl ) |
| // InternalDTML.g:897:2: rule__Property__Group_4__1__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__Group_4__1__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_4__1" |
| |
| |
| // $ANTLR start "rule__Property__Group_4__1__Impl" |
| // InternalDTML.g:903:1: rule__Property__Group_4__1__Impl : ( ( rule__Property__ValueAssignment_4_1 ) ) ; |
| public final void rule__Property__Group_4__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:907:1: ( ( ( rule__Property__ValueAssignment_4_1 ) ) ) |
| // InternalDTML.g:908:1: ( ( rule__Property__ValueAssignment_4_1 ) ) |
| { |
| // InternalDTML.g:908:1: ( ( rule__Property__ValueAssignment_4_1 ) ) |
| // InternalDTML.g:909:2: ( rule__Property__ValueAssignment_4_1 ) |
| { |
| before(grammarAccess.getPropertyAccess().getValueAssignment_4_1()); |
| // InternalDTML.g:910:2: ( rule__Property__ValueAssignment_4_1 ) |
| // InternalDTML.g:910:3: rule__Property__ValueAssignment_4_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Property__ValueAssignment_4_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getValueAssignment_4_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__Group_4__1__Impl" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__0" |
| // InternalDTML.g:919:1: rule__Assignment__Group__0 : rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ; |
| public final void rule__Assignment__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:923:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ) |
| // InternalDTML.g:924:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1 |
| { |
| pushFollow(FOLLOW_11); |
| rule__Assignment__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Assignment__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__0" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__0__Impl" |
| // InternalDTML.g:931:1: rule__Assignment__Group__0__Impl : ( ( rule__Assignment__NameAssignment_0 ) ) ; |
| public final void rule__Assignment__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:935:1: ( ( ( rule__Assignment__NameAssignment_0 ) ) ) |
| // InternalDTML.g:936:1: ( ( rule__Assignment__NameAssignment_0 ) ) |
| { |
| // InternalDTML.g:936:1: ( ( rule__Assignment__NameAssignment_0 ) ) |
| // InternalDTML.g:937:2: ( rule__Assignment__NameAssignment_0 ) |
| { |
| before(grammarAccess.getAssignmentAccess().getNameAssignment_0()); |
| // InternalDTML.g:938:2: ( rule__Assignment__NameAssignment_0 ) |
| // InternalDTML.g:938:3: rule__Assignment__NameAssignment_0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Assignment__NameAssignment_0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getAssignmentAccess().getNameAssignment_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__1" |
| // InternalDTML.g:946:1: rule__Assignment__Group__1 : rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ; |
| public final void rule__Assignment__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:950:1: ( rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ) |
| // InternalDTML.g:951:2: rule__Assignment__Group__1__Impl rule__Assignment__Group__2 |
| { |
| pushFollow(FOLLOW_12); |
| rule__Assignment__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Assignment__Group__2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__1" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__1__Impl" |
| // InternalDTML.g:958:1: rule__Assignment__Group__1__Impl : ( '=' ) ; |
| public final void rule__Assignment__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:962:1: ( ( '=' ) ) |
| // InternalDTML.g:963:1: ( '=' ) |
| { |
| // InternalDTML.g:963:1: ( '=' ) |
| // InternalDTML.g:964:2: '=' |
| { |
| before(grammarAccess.getAssignmentAccess().getEqualsSignKeyword_1()); |
| match(input,25,FOLLOW_2); |
| after(grammarAccess.getAssignmentAccess().getEqualsSignKeyword_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__2" |
| // InternalDTML.g:973:1: rule__Assignment__Group__2 : rule__Assignment__Group__2__Impl rule__Assignment__Group__3 ; |
| public final void rule__Assignment__Group__2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:977:1: ( rule__Assignment__Group__2__Impl rule__Assignment__Group__3 ) |
| // InternalDTML.g:978:2: rule__Assignment__Group__2__Impl rule__Assignment__Group__3 |
| { |
| pushFollow(FOLLOW_13); |
| rule__Assignment__Group__2__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__Assignment__Group__3(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__2" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__2__Impl" |
| // InternalDTML.g:985:1: rule__Assignment__Group__2__Impl : ( ( rule__Assignment__ExpressionAssignment_2 ) ) ; |
| public final void rule__Assignment__Group__2__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:989:1: ( ( ( rule__Assignment__ExpressionAssignment_2 ) ) ) |
| // InternalDTML.g:990:1: ( ( rule__Assignment__ExpressionAssignment_2 ) ) |
| { |
| // InternalDTML.g:990:1: ( ( rule__Assignment__ExpressionAssignment_2 ) ) |
| // InternalDTML.g:991:2: ( rule__Assignment__ExpressionAssignment_2 ) |
| { |
| before(grammarAccess.getAssignmentAccess().getExpressionAssignment_2()); |
| // InternalDTML.g:992:2: ( rule__Assignment__ExpressionAssignment_2 ) |
| // InternalDTML.g:992:3: rule__Assignment__ExpressionAssignment_2 |
| { |
| pushFollow(FOLLOW_2); |
| rule__Assignment__ExpressionAssignment_2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getAssignmentAccess().getExpressionAssignment_2()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__2__Impl" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__3" |
| // InternalDTML.g:1000:1: rule__Assignment__Group__3 : rule__Assignment__Group__3__Impl ; |
| public final void rule__Assignment__Group__3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1004:1: ( rule__Assignment__Group__3__Impl ) |
| // InternalDTML.g:1005:2: rule__Assignment__Group__3__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__Assignment__Group__3__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__3" |
| |
| |
| // $ANTLR start "rule__Assignment__Group__3__Impl" |
| // InternalDTML.g:1011:1: rule__Assignment__Group__3__Impl : ( ';' ) ; |
| public final void rule__Assignment__Group__3__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1015:1: ( ( ';' ) ) |
| // InternalDTML.g:1016:1: ( ';' ) |
| { |
| // InternalDTML.g:1016:1: ( ';' ) |
| // InternalDTML.g:1017:2: ';' |
| { |
| before(grammarAccess.getAssignmentAccess().getSemicolonKeyword_3()); |
| match(input,26,FOLLOW_2); |
| after(grammarAccess.getAssignmentAccess().getSemicolonKeyword_3()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__Group__3__Impl" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__0" |
| // InternalDTML.g:1027:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; |
| public final void rule__QualifiedName__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1031:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) |
| // InternalDTML.g:1032:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 |
| { |
| pushFollow(FOLLOW_14); |
| rule__QualifiedName__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__0" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__0__Impl" |
| // InternalDTML.g:1039:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ; |
| public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1043:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) ) |
| // InternalDTML.g:1044:1: ( ( rule__QualifiedName__PathAssignment_0 ) ) |
| { |
| // InternalDTML.g:1044:1: ( ( rule__QualifiedName__PathAssignment_0 ) ) |
| // InternalDTML.g:1045:2: ( rule__QualifiedName__PathAssignment_0 ) |
| { |
| before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); |
| // InternalDTML.g:1046:2: ( rule__QualifiedName__PathAssignment_0 ) |
| // InternalDTML.g:1046:3: rule__QualifiedName__PathAssignment_0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__PathAssignment_0(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__1" |
| // InternalDTML.g:1054:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ; |
| public final void rule__QualifiedName__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1058:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ) |
| // InternalDTML.g:1059:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 |
| { |
| pushFollow(FOLLOW_4); |
| rule__QualifiedName__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__Group__2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__1" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__1__Impl" |
| // InternalDTML.g:1066:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ; |
| public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1070:1: ( ( '::' ) ) |
| // InternalDTML.g:1071:1: ( '::' ) |
| { |
| // InternalDTML.g:1071:1: ( '::' ) |
| // InternalDTML.g:1072:2: '::' |
| { |
| before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); |
| match(input,27,FOLLOW_2); |
| after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__2" |
| // InternalDTML.g:1081:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ; |
| public final void rule__QualifiedName__Group__2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1085:1: ( rule__QualifiedName__Group__2__Impl ) |
| // InternalDTML.g:1086:2: rule__QualifiedName__Group__2__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__Group__2__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__2" |
| |
| |
| // $ANTLR start "rule__QualifiedName__Group__2__Impl" |
| // InternalDTML.g:1092:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ; |
| public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1096:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ) |
| // InternalDTML.g:1097:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? ) |
| { |
| // InternalDTML.g:1097:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? ) |
| // InternalDTML.g:1098:2: ( rule__QualifiedName__RemainingAssignment_2 )? |
| { |
| before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); |
| // InternalDTML.g:1099:2: ( rule__QualifiedName__RemainingAssignment_2 )? |
| int alt13=2; |
| int LA13_0 = input.LA(1); |
| |
| if ( (LA13_0==RULE_ID) ) { |
| int LA13_1 = input.LA(2); |
| |
| if ( (LA13_1==27) ) { |
| alt13=1; |
| } |
| } |
| switch (alt13) { |
| case 1 : |
| // InternalDTML.g:1099:3: rule__QualifiedName__RemainingAssignment_2 |
| { |
| pushFollow(FOLLOW_2); |
| rule__QualifiedName__RemainingAssignment_2(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__Group__2__Impl" |
| |
| |
| // $ANTLR start "rule__TypeRule__Group__0" |
| // InternalDTML.g:1108:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ; |
| public final void rule__TypeRule__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1112:1: ( rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ) |
| // InternalDTML.g:1113:2: rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 |
| { |
| pushFollow(FOLLOW_4); |
| rule__TypeRule__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__TypeRule__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__Group__0" |
| |
| |
| // $ANTLR start "rule__TypeRule__Group__0__Impl" |
| // InternalDTML.g:1120:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ; |
| public final void rule__TypeRule__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1124:1: ( ( ( rule__TypeRule__PathAssignment_0 )? ) ) |
| // InternalDTML.g:1125:1: ( ( rule__TypeRule__PathAssignment_0 )? ) |
| { |
| // InternalDTML.g:1125:1: ( ( rule__TypeRule__PathAssignment_0 )? ) |
| // InternalDTML.g:1126:2: ( rule__TypeRule__PathAssignment_0 )? |
| { |
| before(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); |
| // InternalDTML.g:1127:2: ( rule__TypeRule__PathAssignment_0 )? |
| int alt14=2; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==RULE_ID) ) { |
| int LA14_1 = input.LA(2); |
| |
| if ( (LA14_1==27) ) { |
| alt14=1; |
| } |
| } |
| switch (alt14) { |
| case 1 : |
| // InternalDTML.g:1127:3: rule__TypeRule__PathAssignment_0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__TypeRule__PathAssignment_0(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__TypeRule__Group__1" |
| // InternalDTML.g:1135:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ; |
| public final void rule__TypeRule__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1139:1: ( rule__TypeRule__Group__1__Impl ) |
| // InternalDTML.g:1140:2: rule__TypeRule__Group__1__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__TypeRule__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__Group__1" |
| |
| |
| // $ANTLR start "rule__TypeRule__Group__1__Impl" |
| // InternalDTML.g:1146:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ; |
| public final void rule__TypeRule__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1150:1: ( ( ( rule__TypeRule__TypeAssignment_1 ) ) ) |
| // InternalDTML.g:1151:1: ( ( rule__TypeRule__TypeAssignment_1 ) ) |
| { |
| // InternalDTML.g:1151:1: ( ( rule__TypeRule__TypeAssignment_1 ) ) |
| // InternalDTML.g:1152:2: ( rule__TypeRule__TypeAssignment_1 ) |
| { |
| before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); |
| // InternalDTML.g:1153:2: ( rule__TypeRule__TypeAssignment_1 ) |
| // InternalDTML.g:1153:3: rule__TypeRule__TypeAssignment_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__TypeRule__TypeAssignment_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__0" |
| // InternalDTML.g:1162:1: rule__MultiplicityRule__Group__0 : rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ; |
| public final void rule__MultiplicityRule__Group__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1166:1: ( rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ) |
| // InternalDTML.g:1167:2: rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 |
| { |
| pushFollow(FOLLOW_15); |
| rule__MultiplicityRule__Group__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__0" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__0__Impl" |
| // InternalDTML.g:1174:1: rule__MultiplicityRule__Group__0__Impl : ( '[' ) ; |
| public final void rule__MultiplicityRule__Group__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1178:1: ( ( '[' ) ) |
| // InternalDTML.g:1179:1: ( '[' ) |
| { |
| // InternalDTML.g:1179:1: ( '[' ) |
| // InternalDTML.g:1180:2: '[' |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); |
| match(input,16,FOLLOW_2); |
| after(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__0__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__1" |
| // InternalDTML.g:1189:1: rule__MultiplicityRule__Group__1 : rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ; |
| public final void rule__MultiplicityRule__Group__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1193:1: ( rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ) |
| // InternalDTML.g:1194:2: rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 |
| { |
| pushFollow(FOLLOW_16); |
| rule__MultiplicityRule__Group__1__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group__2(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__1" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__1__Impl" |
| // InternalDTML.g:1201:1: rule__MultiplicityRule__Group__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ; |
| public final void rule__MultiplicityRule__Group__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1205:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ) |
| // InternalDTML.g:1206:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) |
| { |
| // InternalDTML.g:1206:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) |
| // InternalDTML.g:1207:2: ( rule__MultiplicityRule__BoundsAssignment_1 ) |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); |
| // InternalDTML.g:1208:2: ( rule__MultiplicityRule__BoundsAssignment_1 ) |
| // InternalDTML.g:1208:3: rule__MultiplicityRule__BoundsAssignment_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__BoundsAssignment_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__1__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__2" |
| // InternalDTML.g:1216:1: rule__MultiplicityRule__Group__2 : rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ; |
| public final void rule__MultiplicityRule__Group__2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1220:1: ( rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ) |
| // InternalDTML.g:1221:2: rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 |
| { |
| pushFollow(FOLLOW_16); |
| rule__MultiplicityRule__Group__2__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group__3(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__2" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__2__Impl" |
| // InternalDTML.g:1228:1: rule__MultiplicityRule__Group__2__Impl : ( ( rule__MultiplicityRule__Group_2__0 )? ) ; |
| public final void rule__MultiplicityRule__Group__2__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1232:1: ( ( ( rule__MultiplicityRule__Group_2__0 )? ) ) |
| // InternalDTML.g:1233:1: ( ( rule__MultiplicityRule__Group_2__0 )? ) |
| { |
| // InternalDTML.g:1233:1: ( ( rule__MultiplicityRule__Group_2__0 )? ) |
| // InternalDTML.g:1234:2: ( rule__MultiplicityRule__Group_2__0 )? |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); |
| // InternalDTML.g:1235:2: ( rule__MultiplicityRule__Group_2__0 )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( (LA15_0==28) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // InternalDTML.g:1235:3: rule__MultiplicityRule__Group_2__0 |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group_2__0(); |
| |
| state._fsp--; |
| |
| |
| } |
| break; |
| |
| } |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__2__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__3" |
| // InternalDTML.g:1243:1: rule__MultiplicityRule__Group__3 : rule__MultiplicityRule__Group__3__Impl ; |
| public final void rule__MultiplicityRule__Group__3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1247:1: ( rule__MultiplicityRule__Group__3__Impl ) |
| // InternalDTML.g:1248:2: rule__MultiplicityRule__Group__3__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group__3__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__3" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group__3__Impl" |
| // InternalDTML.g:1254:1: rule__MultiplicityRule__Group__3__Impl : ( ']' ) ; |
| public final void rule__MultiplicityRule__Group__3__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1258:1: ( ( ']' ) ) |
| // InternalDTML.g:1259:1: ( ']' ) |
| { |
| // InternalDTML.g:1259:1: ( ']' ) |
| // InternalDTML.g:1260:2: ']' |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); |
| match(input,17,FOLLOW_2); |
| after(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group__3__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group_2__0" |
| // InternalDTML.g:1270:1: rule__MultiplicityRule__Group_2__0 : rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ; |
| public final void rule__MultiplicityRule__Group_2__0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1274:1: ( rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ) |
| // InternalDTML.g:1275:2: rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 |
| { |
| pushFollow(FOLLOW_15); |
| rule__MultiplicityRule__Group_2__0__Impl(); |
| |
| state._fsp--; |
| |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group_2__1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group_2__0" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group_2__0__Impl" |
| // InternalDTML.g:1282:1: rule__MultiplicityRule__Group_2__0__Impl : ( '..' ) ; |
| public final void rule__MultiplicityRule__Group_2__0__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1286:1: ( ( '..' ) ) |
| // InternalDTML.g:1287:1: ( '..' ) |
| { |
| // InternalDTML.g:1287:1: ( '..' ) |
| // InternalDTML.g:1288:2: '..' |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); |
| match(input,28,FOLLOW_2); |
| after(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group_2__0__Impl" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group_2__1" |
| // InternalDTML.g:1297:1: rule__MultiplicityRule__Group_2__1 : rule__MultiplicityRule__Group_2__1__Impl ; |
| public final void rule__MultiplicityRule__Group_2__1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1301:1: ( rule__MultiplicityRule__Group_2__1__Impl ) |
| // InternalDTML.g:1302:2: rule__MultiplicityRule__Group_2__1__Impl |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__Group_2__1__Impl(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group_2__1" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__Group_2__1__Impl" |
| // InternalDTML.g:1308:1: rule__MultiplicityRule__Group_2__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ; |
| public final void rule__MultiplicityRule__Group_2__1__Impl() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1312:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ) |
| // InternalDTML.g:1313:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) |
| { |
| // InternalDTML.g:1313:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) |
| // InternalDTML.g:1314:2: ( rule__MultiplicityRule__BoundsAssignment_2_1 ) |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); |
| // InternalDTML.g:1315:2: ( rule__MultiplicityRule__BoundsAssignment_2_1 ) |
| // InternalDTML.g:1315:3: rule__MultiplicityRule__BoundsAssignment_2_1 |
| { |
| pushFollow(FOLLOW_2); |
| rule__MultiplicityRule__BoundsAssignment_2_1(); |
| |
| state._fsp--; |
| |
| |
| } |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__Group_2__1__Impl" |
| |
| |
| // $ANTLR start "rule__DTModel__NameAssignment_1" |
| // InternalDTML.g:1324:1: rule__DTModel__NameAssignment_1 : ( RULE_ID ) ; |
| public final void rule__DTModel__NameAssignment_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1328:1: ( ( RULE_ID ) ) |
| // InternalDTML.g:1329:2: ( RULE_ID ) |
| { |
| // InternalDTML.g:1329:2: ( RULE_ID ) |
| // InternalDTML.g:1330:3: RULE_ID |
| { |
| before(grammarAccess.getDTModelAccess().getNameIDTerminalRuleCall_1_0()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getDTModelAccess().getNameIDTerminalRuleCall_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__NameAssignment_1" |
| |
| |
| // $ANTLR start "rule__DTModel__AttributesAssignment_3" |
| // InternalDTML.g:1339:1: rule__DTModel__AttributesAssignment_3 : ( ruleProperty ) ; |
| public final void rule__DTModel__AttributesAssignment_3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1343:1: ( ( ruleProperty ) ) |
| // InternalDTML.g:1344:2: ( ruleProperty ) |
| { |
| // InternalDTML.g:1344:2: ( ruleProperty ) |
| // InternalDTML.g:1345:3: ruleProperty |
| { |
| before(grammarAccess.getDTModelAccess().getAttributesPropertyParserRuleCall_3_0()); |
| pushFollow(FOLLOW_2); |
| ruleProperty(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getDTModelAccess().getAttributesPropertyParserRuleCall_3_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__DTModel__AttributesAssignment_3" |
| |
| |
| // $ANTLR start "rule__Property__NameAssignment_1" |
| // InternalDTML.g:1354:1: rule__Property__NameAssignment_1 : ( RULE_ID ) ; |
| public final void rule__Property__NameAssignment_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1358:1: ( ( RULE_ID ) ) |
| // InternalDTML.g:1359:2: ( RULE_ID ) |
| { |
| // InternalDTML.g:1359:2: ( RULE_ID ) |
| // InternalDTML.g:1360:3: RULE_ID |
| { |
| before(grammarAccess.getPropertyAccess().getNameIDTerminalRuleCall_1_0()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getNameIDTerminalRuleCall_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__NameAssignment_1" |
| |
| |
| // $ANTLR start "rule__Property__TypeAssignment_2_1_0" |
| // InternalDTML.g:1369:1: rule__Property__TypeAssignment_2_1_0 : ( ruleTypeRule ) ; |
| public final void rule__Property__TypeAssignment_2_1_0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1373:1: ( ( ruleTypeRule ) ) |
| // InternalDTML.g:1374:2: ( ruleTypeRule ) |
| { |
| // InternalDTML.g:1374:2: ( ruleTypeRule ) |
| // InternalDTML.g:1375:3: ruleTypeRule |
| { |
| before(grammarAccess.getPropertyAccess().getTypeTypeRuleParserRuleCall_2_1_0_0()); |
| pushFollow(FOLLOW_2); |
| ruleTypeRule(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getPropertyAccess().getTypeTypeRuleParserRuleCall_2_1_0_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__TypeAssignment_2_1_0" |
| |
| |
| // $ANTLR start "rule__Property__TypeUndefinedAssignment_2_1_1" |
| // InternalDTML.g:1384:1: rule__Property__TypeUndefinedAssignment_2_1_1 : ( ( '<Undefined>' ) ) ; |
| public final void rule__Property__TypeUndefinedAssignment_2_1_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1388:1: ( ( ( '<Undefined>' ) ) ) |
| // InternalDTML.g:1389:2: ( ( '<Undefined>' ) ) |
| { |
| // InternalDTML.g:1389:2: ( ( '<Undefined>' ) ) |
| // InternalDTML.g:1390:3: ( '<Undefined>' ) |
| { |
| before(grammarAccess.getPropertyAccess().getTypeUndefinedUndefinedKeyword_2_1_1_0()); |
| // InternalDTML.g:1391:3: ( '<Undefined>' ) |
| // InternalDTML.g:1392:4: '<Undefined>' |
| { |
| before(grammarAccess.getPropertyAccess().getTypeUndefinedUndefinedKeyword_2_1_1_0()); |
| match(input,29,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getTypeUndefinedUndefinedKeyword_2_1_1_0()); |
| |
| } |
| |
| after(grammarAccess.getPropertyAccess().getTypeUndefinedUndefinedKeyword_2_1_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__TypeUndefinedAssignment_2_1_1" |
| |
| |
| // $ANTLR start "rule__Property__MultiplicityAssignment_3" |
| // InternalDTML.g:1403:1: rule__Property__MultiplicityAssignment_3 : ( ruleMultiplicityRule ) ; |
| public final void rule__Property__MultiplicityAssignment_3() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1407:1: ( ( ruleMultiplicityRule ) ) |
| // InternalDTML.g:1408:2: ( ruleMultiplicityRule ) |
| { |
| // InternalDTML.g:1408:2: ( ruleMultiplicityRule ) |
| // InternalDTML.g:1409:3: ruleMultiplicityRule |
| { |
| before(grammarAccess.getPropertyAccess().getMultiplicityMultiplicityRuleParserRuleCall_3_0()); |
| pushFollow(FOLLOW_2); |
| ruleMultiplicityRule(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getPropertyAccess().getMultiplicityMultiplicityRuleParserRuleCall_3_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__MultiplicityAssignment_3" |
| |
| |
| // $ANTLR start "rule__Property__ValueAssignment_4_1" |
| // InternalDTML.g:1418:1: rule__Property__ValueAssignment_4_1 : ( ruleValue ) ; |
| public final void rule__Property__ValueAssignment_4_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1422:1: ( ( ruleValue ) ) |
| // InternalDTML.g:1423:2: ( ruleValue ) |
| { |
| // InternalDTML.g:1423:2: ( ruleValue ) |
| // InternalDTML.g:1424:3: ruleValue |
| { |
| before(grammarAccess.getPropertyAccess().getValueValueParserRuleCall_4_1_0()); |
| pushFollow(FOLLOW_2); |
| ruleValue(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getPropertyAccess().getValueValueParserRuleCall_4_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__ValueAssignment_4_1" |
| |
| |
| // $ANTLR start "rule__Property__CommentAssignment_5" |
| // InternalDTML.g:1433:1: rule__Property__CommentAssignment_5 : ( RULE_VSL_COMMENT ) ; |
| public final void rule__Property__CommentAssignment_5() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1437:1: ( ( RULE_VSL_COMMENT ) ) |
| // InternalDTML.g:1438:2: ( RULE_VSL_COMMENT ) |
| { |
| // InternalDTML.g:1438:2: ( RULE_VSL_COMMENT ) |
| // InternalDTML.g:1439:3: RULE_VSL_COMMENT |
| { |
| before(grammarAccess.getPropertyAccess().getCommentVSL_COMMENTTerminalRuleCall_5_0()); |
| match(input,RULE_VSL_COMMENT,FOLLOW_2); |
| after(grammarAccess.getPropertyAccess().getCommentVSL_COMMENTTerminalRuleCall_5_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Property__CommentAssignment_5" |
| |
| |
| // $ANTLR start "rule__Assignment__NameAssignment_0" |
| // InternalDTML.g:1448:1: rule__Assignment__NameAssignment_0 : ( RULE_ID ) ; |
| public final void rule__Assignment__NameAssignment_0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1452:1: ( ( RULE_ID ) ) |
| // InternalDTML.g:1453:2: ( RULE_ID ) |
| { |
| // InternalDTML.g:1453:2: ( RULE_ID ) |
| // InternalDTML.g:1454:3: RULE_ID |
| { |
| before(grammarAccess.getAssignmentAccess().getNameIDTerminalRuleCall_0_0()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getAssignmentAccess().getNameIDTerminalRuleCall_0_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__NameAssignment_0" |
| |
| |
| // $ANTLR start "rule__Assignment__ExpressionAssignment_2" |
| // InternalDTML.g:1463:1: rule__Assignment__ExpressionAssignment_2 : ( ruleExpressionString ) ; |
| public final void rule__Assignment__ExpressionAssignment_2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1467:1: ( ( ruleExpressionString ) ) |
| // InternalDTML.g:1468:2: ( ruleExpressionString ) |
| { |
| // InternalDTML.g:1468:2: ( ruleExpressionString ) |
| // InternalDTML.g:1469:3: ruleExpressionString |
| { |
| before(grammarAccess.getAssignmentAccess().getExpressionExpressionStringParserRuleCall_2_0()); |
| pushFollow(FOLLOW_2); |
| ruleExpressionString(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getAssignmentAccess().getExpressionExpressionStringParserRuleCall_2_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Assignment__ExpressionAssignment_2" |
| |
| |
| // $ANTLR start "rule__Value__StrAssignment_0" |
| // InternalDTML.g:1478:1: rule__Value__StrAssignment_0 : ( RULE_STRING ) ; |
| public final void rule__Value__StrAssignment_0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1482:1: ( ( RULE_STRING ) ) |
| // InternalDTML.g:1483:2: ( RULE_STRING ) |
| { |
| // InternalDTML.g:1483:2: ( RULE_STRING ) |
| // InternalDTML.g:1484:3: RULE_STRING |
| { |
| before(grammarAccess.getValueAccess().getStrSTRINGTerminalRuleCall_0_0()); |
| match(input,RULE_STRING,FOLLOW_2); |
| after(grammarAccess.getValueAccess().getStrSTRINGTerminalRuleCall_0_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Value__StrAssignment_0" |
| |
| |
| // $ANTLR start "rule__Value__IvalAssignment_1" |
| // InternalDTML.g:1493:1: rule__Value__IvalAssignment_1 : ( RULE_INT ) ; |
| public final void rule__Value__IvalAssignment_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1497:1: ( ( RULE_INT ) ) |
| // InternalDTML.g:1498:2: ( RULE_INT ) |
| { |
| // InternalDTML.g:1498:2: ( RULE_INT ) |
| // InternalDTML.g:1499:3: RULE_INT |
| { |
| before(grammarAccess.getValueAccess().getIvalINTTerminalRuleCall_1_0()); |
| match(input,RULE_INT,FOLLOW_2); |
| after(grammarAccess.getValueAccess().getIvalINTTerminalRuleCall_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Value__IvalAssignment_1" |
| |
| |
| // $ANTLR start "rule__Value__DvalAssignment_2" |
| // InternalDTML.g:1508:1: rule__Value__DvalAssignment_2 : ( RULE_DOUBLE ) ; |
| public final void rule__Value__DvalAssignment_2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1512:1: ( ( RULE_DOUBLE ) ) |
| // InternalDTML.g:1513:2: ( RULE_DOUBLE ) |
| { |
| // InternalDTML.g:1513:2: ( RULE_DOUBLE ) |
| // InternalDTML.g:1514:3: RULE_DOUBLE |
| { |
| before(grammarAccess.getValueAccess().getDvalDOUBLETerminalRuleCall_2_0()); |
| match(input,RULE_DOUBLE,FOLLOW_2); |
| after(grammarAccess.getValueAccess().getDvalDOUBLETerminalRuleCall_2_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__Value__DvalAssignment_2" |
| |
| |
| // $ANTLR start "rule__QualifiedName__PathAssignment_0" |
| // InternalDTML.g:1523:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ; |
| public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1527:1: ( ( ( RULE_ID ) ) ) |
| // InternalDTML.g:1528:2: ( ( RULE_ID ) ) |
| { |
| // InternalDTML.g:1528:2: ( ( RULE_ID ) ) |
| // InternalDTML.g:1529:3: ( RULE_ID ) |
| { |
| before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); |
| // InternalDTML.g:1530:3: ( RULE_ID ) |
| // InternalDTML.g:1531:4: RULE_ID |
| { |
| before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); |
| |
| } |
| |
| after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__PathAssignment_0" |
| |
| |
| // $ANTLR start "rule__QualifiedName__RemainingAssignment_2" |
| // InternalDTML.g:1542:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ; |
| public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1546:1: ( ( ruleQualifiedName ) ) |
| // InternalDTML.g:1547:2: ( ruleQualifiedName ) |
| { |
| // InternalDTML.g:1547:2: ( ruleQualifiedName ) |
| // InternalDTML.g:1548:3: ruleQualifiedName |
| { |
| before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); |
| pushFollow(FOLLOW_2); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__QualifiedName__RemainingAssignment_2" |
| |
| |
| // $ANTLR start "rule__TypeRule__PathAssignment_0" |
| // InternalDTML.g:1557:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ; |
| public final void rule__TypeRule__PathAssignment_0() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1561:1: ( ( ruleQualifiedName ) ) |
| // InternalDTML.g:1562:2: ( ruleQualifiedName ) |
| { |
| // InternalDTML.g:1562:2: ( ruleQualifiedName ) |
| // InternalDTML.g:1563:3: ruleQualifiedName |
| { |
| before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); |
| pushFollow(FOLLOW_2); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__PathAssignment_0" |
| |
| |
| // $ANTLR start "rule__TypeRule__TypeAssignment_1" |
| // InternalDTML.g:1572:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ; |
| public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1576:1: ( ( ( RULE_ID ) ) ) |
| // InternalDTML.g:1577:2: ( ( RULE_ID ) ) |
| { |
| // InternalDTML.g:1577:2: ( ( RULE_ID ) ) |
| // InternalDTML.g:1578:3: ( RULE_ID ) |
| { |
| before(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); |
| // InternalDTML.g:1579:3: ( RULE_ID ) |
| // InternalDTML.g:1580:4: RULE_ID |
| { |
| before(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1()); |
| match(input,RULE_ID,FOLLOW_2); |
| after(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1()); |
| |
| } |
| |
| after(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__TypeRule__TypeAssignment_1" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_1" |
| // InternalDTML.g:1591:1: rule__MultiplicityRule__BoundsAssignment_1 : ( ruleBoundSpecification ) ; |
| public final void rule__MultiplicityRule__BoundsAssignment_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1595:1: ( ( ruleBoundSpecification ) ) |
| // InternalDTML.g:1596:2: ( ruleBoundSpecification ) |
| { |
| // InternalDTML.g:1596:2: ( ruleBoundSpecification ) |
| // InternalDTML.g:1597:3: ruleBoundSpecification |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); |
| pushFollow(FOLLOW_2); |
| ruleBoundSpecification(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_1" |
| |
| |
| // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_2_1" |
| // InternalDTML.g:1606:1: rule__MultiplicityRule__BoundsAssignment_2_1 : ( ruleBoundSpecification ) ; |
| public final void rule__MultiplicityRule__BoundsAssignment_2_1() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1610:1: ( ( ruleBoundSpecification ) ) |
| // InternalDTML.g:1611:2: ( ruleBoundSpecification ) |
| { |
| // InternalDTML.g:1611:2: ( ruleBoundSpecification ) |
| // InternalDTML.g:1612:3: ruleBoundSpecification |
| { |
| before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); |
| pushFollow(FOLLOW_2); |
| ruleBoundSpecification(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_2_1" |
| |
| |
| // $ANTLR start "rule__BoundSpecification__ValueAssignment" |
| // InternalDTML.g:1621:1: rule__BoundSpecification__ValueAssignment : ( ruleUnlimitedLiteral ) ; |
| public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException { |
| |
| int stackSize = keepStackSize(); |
| |
| try { |
| // InternalDTML.g:1625:1: ( ( ruleUnlimitedLiteral ) ) |
| // InternalDTML.g:1626:2: ( ruleUnlimitedLiteral ) |
| { |
| // InternalDTML.g:1626:2: ( ruleUnlimitedLiteral ) |
| // InternalDTML.g:1627:3: ruleUnlimitedLiteral |
| { |
| before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); |
| pushFollow(FOLLOW_2); |
| ruleUnlimitedLiteral(); |
| |
| state._fsp--; |
| |
| after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); |
| |
| } |
| |
| |
| } |
| |
| } |
| catch (RecognitionException re) { |
| reportError(re); |
| recover(input,re); |
| } |
| finally { |
| |
| restoreStackSize(stackSize); |
| |
| } |
| return ; |
| } |
| // $ANTLR end "rule__BoundSpecification__ValueAssignment" |
| |
| // Delegated rules |
| |
| |
| |
| |
| 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[]{0x00000000000F0072L}); |
| public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L}); |
| public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000C00000L}); |
| public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000800002L}); |
| public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000003010080L}); |
| public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000020000010L}); |
| public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000160L}); |
| public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000002000000L}); |
| public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000000F0070L}); |
| public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000004000000L}); |
| public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000100020L}); |
| public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000010020000L}); |
| |
| } |