newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0());
public final void rule__TemplateBody__PartsAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2497:1: ( ( ruleLiteral ) ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2498:1: ( ruleLiteral ) { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2498:1: ( ruleLiteral ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2499:1: ruleLiteral { before(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0()); pushFollow(FOLLOW_ruleLiteral_in_rule__TemplateBody__PartsAssignment_2_14959); ruleLiteral(); state._fsp--; after(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__TemplateBody__PartsAssignment_2_1"
public final void rule__TemplateBody__PartsAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2199:1: ( ( ruleLiteral ) ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2200:1: ( ruleLiteral ) { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2200:1: ( ruleLiteral ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2201:1: ruleLiteral { before(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0()); pushFollow(FOLLOW_ruleLiteral_in_rule__TemplateBody__PartsAssignment_2_14368); ruleLiteral(); state._fsp--; after(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__TemplateBody__PartsAssignment_2_1"
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("parts",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parts"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getLiteralRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; element = grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0(); consumed = obj; return param; } } return null; }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("parts",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parts"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getLiteralRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; element = grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0(); consumed = obj; return param; } } return null; }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("parts",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parts"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getLiteralRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; element = grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_2_1_0(); consumed = obj; return param; } } return null; }