newLeafNode(lv_custom_0_0, grammarAccess.getSimpleTypeAccess().getCustomDomainKeyword_0_0_0()); newLeafNode(otherlv_1, grammarAccess.getSimpleTypeAccess().getTypeKeyword_0_1()); newLeafNode(lv_name_2_0, grammarAccess.getSimpleTypeAccess().getNameIDTerminalRuleCall_0_2_0()); newLeafNode(otherlv_3, grammarAccess.getSimpleTypeAccess().getLeftParenthesisKeyword_0_3_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getTypeParameterParameterDefinitionParserRuleCall_0_3_1_0()); newLeafNode(otherlv_5, grammarAccess.getSimpleTypeAccess().getCommaKeyword_0_3_2_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getTypeParameterParameterDefinitionParserRuleCall_0_3_2_1_0()); newLeafNode(otherlv_7, grammarAccess.getSimpleTypeAccess().getRightParenthesisKeyword_0_3_3()); newLeafNode(otherlv_8, grammarAccess.getSimpleTypeAccess().getValidationKeyword_0_4_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getValidatorReferenceValidatorReferenceParserRuleCall_0_4_1_0()); newLeafNode(otherlv_10, grammarAccess.getSimpleTypeAccess().getEditorKeyword_0_5_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getEditorEditorCrossReference_0_5_1_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getTypeDefinitionTypeDefinitionParserRuleCall_0_6_0()); newCompositeNode(grammarAccess.getSimpleTypeAccess().getEnumTypeParserRuleCall_1());
c.setLinewrap(1).before(f.getSimpleTypeAccess().getTypeKeyword_0_1()); c.setNoSpace().around(f.getSimpleTypeAccess().getLeftParenthesisKeyword_0_3_0()); c.setNoSpace().around(f.getSimpleTypeAccess().getCommaKeyword_0_3_2_0()); c.setNoSpace().before(f.getSimpleTypeAccess().getRightParenthesisKeyword_0_3_3());
public ParserRule getSimpleTypeRule() { return getSimpleTypeAccess().getRule(); }
public ParserRule getSimpleTypeRule() { return getSimpleTypeAccess().getRule(); }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("editor",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("editor"); if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl IEObjectConsumer param = createEObjectConsumer((EObject)value); if(param.isInstanceOf(grammarAccess.getSimpleTypeAccess().getEditorEditorCrossReference_0_5_1_0().getType().getClassifier())) { type = AssignmentType.CROSS_REFERENCE; element = grammarAccess.getSimpleTypeAccess().getEditorEditorCrossReference_0_5_1_0(); return obj; } } return null; }
@Override public Keyword getGrammarElement() { return grammarAccess.getSimpleTypeAccess().getEditorKeyword_0_5_0(); }
@Override public Assignment getGrammarElement() { return grammarAccess.getSimpleTypeAccess().getEditorAssignment_0_5_1(); }
@Override public Alternatives getGrammarElement() { return grammarAccess.getSimpleTypeAccess().getAlternatives(); }
public ParserRule getSimpleTypeRule() { return getSimpleTypeAccess().getRule(); }
public SimpleTypeElements getSimpleTypeAccess() { return (pSimpleType != null) ? pSimpleType : (pSimpleType = new SimpleTypeElements()); }
@Override public Assignment getGrammarElement() { return grammarAccess.getSimpleTypeAccess().getCustomAssignment_0_0(); }
@Override public Keyword getGrammarElement() { return grammarAccess.getSimpleTypeAccess().getCommaKeyword_0_3_2_0(); }
@Override public IEObjectConsumer tryConsume() { if((value = eObjectConsumer.getConsumable("custom",false)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("custom"); if(Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl type = AssignmentType.KEYWORD; element = grammarAccess.getSimpleTypeAccess().getCustomDomainKeyword_0_0_0(); return obj; } return null; }