newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getDataTypeTypeCrossReference_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getDataTypeAndTypeParameterAccess().getLeftParenthesisKeyword_1_0()); newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getDataTypeAndTypeParameterAccess().getCommaKeyword_1_1_1_0()); newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_1_1_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getDataTypeAndTypeParameterAccess().getRightParenthesisKeyword_1_2());
c.setNoSpace().around(f.getDataTypeAndTypeParameterAccess().getLeftParenthesisKeyword_1_0()); c.setNoSpace().before(f.getDataTypeAndTypeParameterAccess().getRightParenthesisKeyword_1_2()); c.setNoSpace().around(f.getDataTypeAndTypeParameterAccess().getCommaKeyword_1_1_1_0());
newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getDataTypeTypeCrossReference_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getDataTypeAndTypeParameterAccess().getLeftParenthesisKeyword_1_0()); newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getDataTypeAndTypeParameterAccess().getCommaKeyword_1_1_1_0()); newCompositeNode(grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_1_1_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getDataTypeAndTypeParameterAccess().getRightParenthesisKeyword_1_2());
c.setNoSpace().around(f.getDataTypeAndTypeParameterAccess().getLeftParenthesisKeyword_1_0()); c.setNoSpace().around(f.getDataTypeAndTypeParameterAccess().getCommaKeyword_1_1_1_0()); c.setNoSpace().before(f.getDataTypeAndTypeParameterAccess().getRightParenthesisKeyword_1_2());
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("parameterValues",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameterValues"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getParameterValueRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; element = grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_1_1_0(); consumed = obj; return param; } } return null; }
public ParserRule getDataTypeAndTypeParameterRule() { return getDataTypeAndTypeParameterAccess().getRule(); }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("parameterValues",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("parameterValues"); if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getParameterValueRule().getType().getClassifier())) { type = AssignmentType.PARSER_RULE_CALL; element = grammarAccess.getDataTypeAndTypeParameterAccess().getParameterValuesParameterValueParserRuleCall_1_1_0_0(); consumed = obj; return param; } } return null; }
public DataTypeAndTypeParameterElements getDataTypeAndTypeParameterAccess() { return (pDataTypeAndTypeParameter != null) ? pDataTypeAndTypeParameter : (pDataTypeAndTypeParameter = new DataTypeAndTypeParameterElements()); }
public ParserRule getDataTypeAndTypeParameterRule() { return getDataTypeAndTypeParameterAccess().getRule(); }
@Override public Assignment getGrammarElement() { return grammarAccess.getDataTypeAndTypeParameterAccess().getDataTypeAssignment_0(); }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("dataType",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("dataType"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getDataTypeAndTypeParameterAccess().getDataTypeTypeCrossReference_0_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; element = grammarAccess.getDataTypeAndTypeParameterAccess().getDataTypeTypeCrossReference_0_0(); return obj; } } return null; }
public ParserRule getDataTypeAndTypeParameterRule() { return getDataTypeAndTypeParameterAccess().getRule(); }
@Override public Keyword getGrammarElement() { return grammarAccess.getDataTypeAndTypeParameterAccess().getCommaKeyword_1_1_1_0(); }
@Override public Keyword getGrammarElement() { return grammarAccess.getDataTypeAndTypeParameterAccess().getRightParenthesisKeyword_1_2(); }
@Override public Keyword getGrammarElement() { return grammarAccess.getDataTypeAndTypeParameterAccess().getLeftParenthesisKeyword_1_0(); }