@Override protected String getUnassignedRuleCallToken( EObject semanticObject, RuleCall ruleCall, INode node) { if (ruleCall.getRule() == grammarAccess.getASSIGNRule()) return getASSIGNToken(semanticObject, ruleCall, node); else if (ruleCall.getRule() == grammarAccess.getCLOSERule()) return getCLOSEToken(semanticObject, ruleCall, node); else if (ruleCall.getRule() == grammarAccess.getNEWLINERule()) return getNEWLINEToken(semanticObject, ruleCall, node); else if (ruleCall.getRule() == grammarAccess.getOPENRule()) return getOPENToken(semanticObject, ruleCall, node); return ""; }
@Inject protected void init(IGrammarAccess access) { grammarAccess = (ExampleGrammarAccess) access; match_Input_NEWLINETerminalRuleCall_1_a = new TokenAlias(true, true, grammarAccess.getInputAccess().getNEWLINETerminalRuleCall_1()); match_Line_ASSIGNTerminalRuleCall_1_p = new TokenAlias(true, false, grammarAccess.getLineAccess().getASSIGNTerminalRuleCall_1()); match_Section_NEWLINETerminalRuleCall_3_0_p = new TokenAlias( true, false, grammarAccess.getSectionAccess().getNEWLINETerminalRuleCall_3_0()); match_Section_NEWLINETerminalRuleCall_4_p = new TokenAlias( true, false, grammarAccess.getSectionAccess().getNEWLINETerminalRuleCall_4()); match_Section_OPENTerminalRuleCall_0_p = new TokenAlias(true, false, grammarAccess.getSectionAccess().getOPENTerminalRuleCall_0()); }