before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__ValidID__Alternatives1183); after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); before(grammarAccess.getValidIDAccess().getForKeyword_1()); match(input,KEYWORD_11,FOLLOW_KEYWORD_11_in_rule__ValidID__Alternatives1201); after(grammarAccess.getValidIDAccess().getForKeyword_1()); before(grammarAccess.getValidIDAccess().getTemplatesKeyword_2()); match(input,KEYWORD_12,FOLLOW_KEYWORD_12_in_rule__ValidID__Alternatives1221); after(grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
@Inject public CodetemplatesGrammarAccess(GrammarProvider grammarProvider) { this.grammar = internalFindGrammar(grammarProvider); this.pCodetemplates = new CodetemplatesElements(); this.pCodetemplate = new CodetemplateElements(); this.pTemplateBodyWithQuotes = new TemplateBodyWithQuotesElements(); this.pTemplateBody = new TemplateBodyElements(); this.pTemplatePart = new TemplatePartElements(); this.pVariableOrDollar = new VariableOrDollarElements(); this.pVariable = new VariableElements(); this.pValidID = new ValidIDElements(); this.pFQN = new FQNElements(); this.pLiteral = new LiteralElements(); this.pLiteralValue = new LiteralValueElements(); this.pDollar = new DollarElements(); this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.codetemplates.Codetemplates.ID"); this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.codetemplates.Codetemplates.STRING"); this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.codetemplates.Codetemplates.WS"); this.tANY_OTHER = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.codetemplates.Codetemplates.ANY_OTHER"); }
before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__ValidID__Alternatives1117); after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); before(grammarAccess.getValidIDAccess().getForKeyword_1()); match(input,KEYWORD_13,FOLLOW_KEYWORD_13_in_rule__ValidID__Alternatives1135); after(grammarAccess.getValidIDAccess().getForKeyword_1()); before(grammarAccess.getValidIDAccess().getTemplatesKeyword_2()); match(input,KEYWORD_14,FOLLOW_KEYWORD_14_in_rule__ValidID__Alternatives1155); after(grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); newLeafNode(kw, grammarAccess.getValidIDAccess().getForKeyword_1()); newLeafNode(kw, grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); newLeafNode(kw, grammarAccess.getValidIDAccess().getForKeyword_1()); newLeafNode(kw, grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); newLeafNode(kw, grammarAccess.getValidIDAccess().getForKeyword_1()); newLeafNode(kw, grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall_0()); newLeafNode(kw, grammarAccess.getValidIDAccess().getForKeyword_1()); newLeafNode(kw, grammarAccess.getValidIDAccess().getTemplatesKeyword_2());
put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); put(grammarAccess.getLiteralValueAccess().getAlternatives(), "rule__LiteralValue__Alternatives"); put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1");
put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1"); put(grammarAccess.getCodetemplatesAccess().getGroup(), "rule__Codetemplates__Group__0");
before(grammarAccess.getValidIDAccess().getAlternatives()); after(grammarAccess.getValidIDAccess().getAlternatives());
before(grammarAccess.getValidIDAccess().getAlternatives()); after(grammarAccess.getValidIDAccess().getAlternatives());
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ValidIDElements getValidIDAccess() { return (pValidID != null) ? pValidID : (pValidID = new ValidIDElements()); }