newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0());
newCompositeNode(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0());
public final void rule__TemplateBody__PartsAssignment_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:2169:1: ( ( ruleLiteral ) ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2170:1: ( ruleLiteral ) { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2170:1: ( ruleLiteral ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalSingleCodetemplateParser.g:2171:1: ruleLiteral { before(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0()); pushFollow(FOLLOW_ruleLiteral_in_rule__TemplateBody__PartsAssignment_14306); ruleLiteral(); state._fsp--; after(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__TemplateBody__PartsAssignment_1"
public final void rule__TemplateBody__PartsAssignment_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:2467:1: ( ( ruleLiteral ) ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2468:1: ( ruleLiteral ) { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2468:1: ( ruleLiteral ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2469:1: ruleLiteral { before(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0()); pushFollow(FOLLOW_ruleLiteral_in_rule__TemplateBody__PartsAssignment_14897); ruleLiteral(); state._fsp--; after(grammarAccess.getTemplateBodyAccess().getPartsLiteralParserRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__TemplateBody__PartsAssignment_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_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_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_1_0(); consumed = obj; return param; } } return null; }