Merge pull request #61 from eclipse/cd_bf398890

Bugfix 398890
This commit is contained in:
Christian Dietrich 2016-07-31 22:21:51 +02:00 committed by GitHub
commit 291722e5ff
125 changed files with 1971 additions and 1074 deletions

View file

@ -164,7 +164,7 @@ public class DummyTestLanguageGrammarAccess extends AbstractGrammarElementFinder
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -181,7 +181,7 @@ public class EnumAndReferenceTestLanguageGrammarAccess extends AbstractGrammarEl
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -243,7 +243,7 @@ public class EnumRulesTestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -278,7 +278,7 @@ public class MultiRuleEnumTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -225,7 +225,7 @@ public class FormatterTestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -815,7 +815,7 @@ public class RegionAccessTestLanguageGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -130,7 +130,7 @@ public class EcoreFragmentTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -182,7 +182,7 @@ public class SubTestLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -152,7 +152,7 @@ public class SuperTestLanguageGrammarAccess extends AbstractGrammarElementFinder
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -204,7 +204,7 @@ public class GrammarAccessTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -51,7 +51,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
private final Assignment cElementsAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cElementsOverridableParserRuleParserRuleCall_1_0 = (RuleCall)cElementsAssignment_1.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / AbstractCallOverridenParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallOverridenParserRule mm::AModel:
// 'overridemodel' elements+=OverridableParserRule*
@Override public ParserRule getRule() { return rule; }
@ -120,7 +120,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
private final Assignment cElementsAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cElementsExtendableParserRuleParserRuleCall_1_0 = (RuleCall)cElementsAssignment_1.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / AbstractCallExtendedParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallExtendedParserRule mm::AModel:
// 'extendedmodel' elements+=ExtendableParserRule*
@Override public ParserRule getRule() { return rule; }
@ -226,7 +226,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getInheritedParserRuleAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / AbstractCallOverridenParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallOverridenParserRule mm::AModel:
// 'overridemodel' elements+=OverridableParserRule*
public AbstractCallOverridenParserRuleElements getAbstractCallOverridenParserRuleAccess() {
return pAbstractCallOverridenParserRule;
@ -256,7 +256,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getOverridableParserRule2Access().getRule();
}
/// * SuppressWarnings[noInstantiation] * / AbstractCallExtendedParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallExtendedParserRule mm::AModel:
// 'extendedmodel' elements+=ExtendableParserRule*
public AbstractCallExtendedParserRuleElements getAbstractCallExtendedParserRuleAccess() {
return pAbstractCallExtendedParserRule;
@ -302,7 +302,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -156,7 +156,7 @@ public class BaseInheritanceTestLanguageGrammarAccess extends AbstractGrammarEle
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -483,7 +483,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getInheritedParserRuleAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / AbstractCallOverridenParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallOverridenParserRule mm::AModel:
// 'overridemodel' elements+=super::OverridableParserRule*
public AbstractTestLanguageGrammarAccess.AbstractCallOverridenParserRuleElements getAbstractCallOverridenParserRuleAccess() {
return gaAbstractTestLanguage.getAbstractCallOverridenParserRuleAccess();
@ -493,7 +493,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getAbstractCallOverridenParserRuleAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / AbstractCallExtendedParserRule mm::AModel:
///* SuppressWarnings[noInstantiation] */ AbstractCallExtendedParserRule mm::AModel:
// 'extendedmodel' elements+=super::ExtendableParserRule*
public AbstractTestLanguageGrammarAccess.AbstractCallExtendedParserRuleElements getAbstractCallExtendedParserRuleAccess() {
return gaAbstractTestLanguage.getAbstractCallExtendedParserRuleAccess();
@ -529,7 +529,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -183,7 +183,7 @@ public class InheritanceTest2LanguageGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -263,7 +263,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -192,7 +192,7 @@ public class InheritanceTestLanguageGrammarAccess extends AbstractGrammarElement
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -466,7 +466,7 @@ public class IndexTestLanguageGrammarAccess extends AbstractGrammarElementFinder
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -280,7 +280,7 @@ public class Bug311337TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -68,10 +68,10 @@ public class LazyLinkingTestLanguageGrammarAccess extends AbstractGrammarElement
private final RuleCall cUnresolvedProxyPropertyUnresolvedProxyPropertyParserRuleCall_6_0 = (RuleCall)cUnresolvedProxyPropertyAssignment_6.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7);
/// *
///*
// * SuppressWarnings[BidirectionalReference]
// * SuppressWarnings[potentialOverride]
// * / Type:
// */ Type:
// 'type' name=ID ('extends' ^extends=[Type] '.' parentId=[Property])? ('for' parentId=[Property] 'in' ^extends=[Type])?
// '{'
// properties+=Property*
@ -297,10 +297,10 @@ public class LazyLinkingTestLanguageGrammarAccess extends AbstractGrammarElement
return getModelAccess().getRule();
}
/// *
///*
// * SuppressWarnings[BidirectionalReference]
// * SuppressWarnings[potentialOverride]
// * / Type:
// */ Type:
// 'type' name=ID ('extends' ^extends=[Type] '.' parentId=[Property])? ('for' parentId=[Property] 'in' ^extends=[Type])?
// '{'
// properties+=Property*
@ -354,7 +354,7 @@ public class LazyLinkingTestLanguageGrammarAccess extends AbstractGrammarElement
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -173,7 +173,7 @@ public class AbstractIgnoreCaseLinkingTestLanguageGrammarAccess extends Abstract
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -52,7 +52,7 @@ public class Bug287988TestLanguageGrammarAccess extends AbstractGrammarElementFi
private final Assignment cAttributesAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cAttributesActionAttributeParserRuleCall_5_1_0 = (RuleCall)cAttributesAssignment_5_1.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// 'actions' attributes+=BaseAttribute* | 'simple' attributes+=SimpleAttribute* | 'rulecall'
// attributes+=RuleCallAttribute* | 'rulecall2' attributes+=RuleCallAttribute2* | 'rulecall3'
// attributes+=RuleCallAttribute3* | 'inlinedActions' attributes+=ActionAttribute*;
@ -666,7 +666,7 @@ public class Bug287988TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// 'actions' attributes+=BaseAttribute* | 'simple' attributes+=SimpleAttribute* | 'rulecall'
// attributes+=RuleCallAttribute* | 'rulecall2' attributes+=RuleCallAttribute2* | 'rulecall3'
// attributes+=RuleCallAttribute3* | 'inlinedActions' attributes+=ActionAttribute*;
@ -818,7 +818,7 @@ public class Bug287988TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -170,7 +170,7 @@ public class Bug289059TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -238,7 +238,7 @@ public class Bug313089TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -194,7 +194,7 @@ public class Bug362902GrammarAccess extends AbstractGrammarElementFinder {
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -169,7 +169,7 @@ public class IgnoreCaseImportsTestLanguageGrammarAccess extends AbstractGrammarE
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -169,7 +169,7 @@ public class IgnoreCaseNamespacesTestLanguageGrammarAccess extends AbstractGramm
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -210,7 +210,7 @@ public class ImportUriTestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -254,7 +254,7 @@ public class LangATestLanguageGrammarAccess extends AbstractGrammarElementFinder
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1090,7 +1090,7 @@ public class EcoreReferenceTestLanguageGrammarAccess extends AbstractGrammarElem
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -179,7 +179,7 @@ public class MetamodelRefTestLanguageGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -147,7 +147,7 @@ public class MultiGenMMTestLanguageGrammarAccess extends AbstractGrammarElementF
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -211,7 +211,7 @@ public class Bug289515TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -238,7 +238,7 @@ public class Bug289524ExTestLanguageGrammarAccess extends AbstractGrammarElement
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -238,7 +238,7 @@ public class Bug289524TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -35,7 +35,7 @@ public class Bug296889ExTestLanguageGrammarAccess extends AbstractGrammarElement
private final Assignment cValuesAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cValuesDataTypeExpressionParserRuleCall_1_1_0 = (RuleCall)cValuesAssignment_1_1.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// "Model" expressions+=Expression* | "DataType" values+=DataTypeExpression*;
@Override public ParserRule getRule() { return rule; }
@ -297,7 +297,7 @@ public class Bug296889ExTestLanguageGrammarAccess extends AbstractGrammarElement
}
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// "Model" expressions+=Expression* | "DataType" values+=DataTypeExpression*;
public ModelElements getModelAccess() {
return pModel;
@ -407,7 +407,7 @@ public class Bug296889ExTestLanguageGrammarAccess extends AbstractGrammarElement
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -35,7 +35,7 @@ public class Bug296889TestLanguageGrammarAccess extends AbstractGrammarElementFi
private final Assignment cValuesAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cValuesDataTypeExpressionParserRuleCall_1_1_0 = (RuleCall)cValuesAssignment_1_1.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// "Model" expressions+=Expression* | "DataType" values+=DataTypeExpression*;
@Override public ParserRule getRule() { return rule; }
@ -297,7 +297,7 @@ public class Bug296889TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
/// * SuppressWarnings[noInstantiation] * / Model:
///* SuppressWarnings[noInstantiation] */ Model:
// "Model" expressions+=Expression* | "DataType" values+=DataTypeExpression*;
public ModelElements getModelAccess() {
return pModel;
@ -407,7 +407,7 @@ public class Bug296889TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -121,7 +121,7 @@ public class Bug299237TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -499,7 +499,7 @@ public class Bug378967TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -160,7 +160,7 @@ public class Bug443221TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -561,7 +561,7 @@ public class AssignmentsTestLanguageGrammarAccess extends AbstractGrammarElement
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -307,7 +307,7 @@ public class Bug287184TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -424,7 +424,7 @@ public class Bug288432TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -112,7 +112,7 @@ public class Bug419429GrammarAccess extends AbstractGrammarElementFinder {
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -451,7 +451,7 @@ public class DatatypeRulesTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1867,7 +1867,7 @@ public class EpatchTestLanguageGrammarAccess extends AbstractGrammarElementFinde
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -321,7 +321,7 @@ public class FragmentTestLanguageExGrammarAccess extends AbstractGrammarElementF
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1019,7 +1019,7 @@ public class FragmentTestLanguageGrammarAccess extends AbstractGrammarElementFin
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -196,7 +196,7 @@ public class IndentationAwareTestLanguageGrammarAccess extends AbstractGrammarEl
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -171,7 +171,7 @@ public class KeywordsTestLanguageGrammarAccess extends AbstractGrammarElementFin
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -795,7 +795,7 @@ public class NoParametersTestLanguageGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -200,7 +200,7 @@ public class ParametersTestLanguageExGrammarAccess extends AbstractGrammarElemen
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -602,7 +602,7 @@ public class ParametersTestLanguageGrammarAccess extends AbstractGrammarElementF
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -662,7 +662,7 @@ public class TwoParametersTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -335,7 +335,7 @@ public class Bug297105TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -238,7 +238,7 @@ public class Bug317840TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -509,7 +509,7 @@ public class HiddenTerminalsTestLanguageGrammarAccess extends AbstractGrammarEle
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return tML_COMMENT;
}

View file

@ -200,7 +200,7 @@ public class TerminalRulesTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return tML_COMMENT;
}

View file

@ -202,7 +202,7 @@ public class UnicodeTestLanguageGrammarAccess extends AbstractGrammarElementFind
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -585,7 +585,7 @@ public class XtextTerminalsTestLanguageGrammarAccess extends AbstractGrammarElem
private final Keyword cCardinalityAsteriskKeyword_1_0_1 = (Keyword)cCardinalityAlternatives_1_0.eContents().get(1);
private final Keyword cCardinalityPlusSignKeyword_1_0_2 = (Keyword)cCardinalityAlternatives_1_0.eContents().get(2);
/// * SuppressWarnings[potentialOverride] * / AbstractTokenWithCardinality AbstractElement:
///* SuppressWarnings[potentialOverride] */ AbstractTokenWithCardinality AbstractElement:
// (Assignment | AbstractTerminal) cardinality=('?' | '*' | '+')?
@Override public ParserRule getRule() { return rule; }
@ -1094,7 +1094,7 @@ public class XtextTerminalsTestLanguageGrammarAccess extends AbstractGrammarElem
private final Keyword cCardinalityAsteriskKeyword_1_0_1 = (Keyword)cCardinalityAlternatives_1_0.eContents().get(1);
private final Keyword cCardinalityPlusSignKeyword_1_0_2 = (Keyword)cCardinalityAlternatives_1_0.eContents().get(2);
/// * SuppressWarnings[potentialOverride] * / TerminalToken AbstractElement:
///* SuppressWarnings[potentialOverride] */ TerminalToken AbstractElement:
// TerminalTokenElement cardinality=('?' | '*' | '+')?
@Override public ParserRule getRule() { return rule; }
@ -1668,7 +1668,7 @@ public class XtextTerminalsTestLanguageGrammarAccess extends AbstractGrammarElem
return getAbstractTokenAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / AbstractTokenWithCardinality AbstractElement:
///* SuppressWarnings[potentialOverride] */ AbstractTokenWithCardinality AbstractElement:
// (Assignment | AbstractTerminal) cardinality=('?' | '*' | '+')?
public AbstractTokenWithCardinalityElements getAbstractTokenWithCardinalityAccess() {
return pAbstractTokenWithCardinality;
@ -1820,7 +1820,7 @@ public class XtextTerminalsTestLanguageGrammarAccess extends AbstractGrammarElem
return getTerminalGroupAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / TerminalToken AbstractElement:
///* SuppressWarnings[potentialOverride] */ TerminalToken AbstractElement:
// TerminalTokenElement cardinality=('?' | '*' | '+')?
public TerminalTokenElements getTerminalTokenAccess() {
return pTerminalToken;
@ -1952,7 +1952,7 @@ public class XtextTerminalsTestLanguageGrammarAccess extends AbstractGrammarElem
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return tML_COMMENT;
}

View file

@ -376,7 +376,7 @@ public class BacktrackingBug325745TestLanguageGrammarAccess extends AbstractGram
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -166,7 +166,7 @@ public class ExBacktrackingBug325745TestLanguageGrammarAccess extends AbstractGr
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -137,7 +137,7 @@ public class ExUnorderedGroupsTestLanguageGrammarAccess extends AbstractGrammarE
return getUnorderedDatatypeAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / UnorderedSerialization:
///* SuppressWarnings[potentialOverride] */ UnorderedSerialization:
// {UnorderedSerialization} ('1' first?='a'? & second?='b'? & third?='c'? & forth?='d'?
// | '2' (firstAsList+='a' & secondAsList+='b')*
// | '3' (firstAsList+='a'+ & second?='b')*);
@ -169,7 +169,7 @@ public class ExUnorderedGroupsTestLanguageGrammarAccess extends AbstractGrammarE
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -166,7 +166,7 @@ public class SimpleBacktrackingBug325745TestLanguageGrammarAccess extends Abstra
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -137,7 +137,7 @@ public class SimpleUnorderedGroupsTestLanguageGrammarAccess extends AbstractGram
return getUnorderedDatatypeAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / UnorderedSerialization:
///* SuppressWarnings[potentialOverride] */ UnorderedSerialization:
// {UnorderedSerialization} ('1' first?='a'? & second?='b'? & third?='c'? & forth?='d'?
// | '2' (firstAsList+='a' & secondAsList+='b')*
// | '3' (firstAsList+='a'+ & second?='b')*);
@ -169,7 +169,7 @@ public class SimpleUnorderedGroupsTestLanguageGrammarAccess extends AbstractGram
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1045,7 +1045,7 @@ public class UnorderedGroupsTestLanguageGrammarAccess extends AbstractGrammarEle
private final Assignment cSecondAssignment_1_2_1_1 = (Assignment)cUnorderedGroup_1_2_1.eContents().get(1);
private final Keyword cSecondBKeyword_1_2_1_1_0 = (Keyword)cSecondAssignment_1_2_1_1.eContents().get(0);
/// * SuppressWarnings[potentialOverride] * / UnorderedSerialization:
///* SuppressWarnings[potentialOverride] */ UnorderedSerialization:
// {UnorderedSerialization} ('1' first?='a'? & second?='b'? & third?='c'? & forth?='d'?
// | '2' (firstAsList+='a' & secondAsList+='b')*
// | '3' (firstAsList+='a'+ & second?='b')*);
@ -1233,7 +1233,7 @@ public class UnorderedGroupsTestLanguageGrammarAccess extends AbstractGrammarEle
return getUnorderedDatatypeAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / UnorderedSerialization:
///* SuppressWarnings[potentialOverride] */ UnorderedSerialization:
// {UnorderedSerialization} ('1' first?='a'? & second?='b'? & third?='c'? & forth?='d'?
// | '2' (firstAsList+='a' & secondAsList+='b')*
// | '3' (firstAsList+='a'+ & second?='b')*);
@ -1265,7 +1265,7 @@ public class UnorderedGroupsTestLanguageGrammarAccess extends AbstractGrammarEle
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1183,7 +1183,7 @@ public class FormatterTestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -173,7 +173,7 @@ public class Bug305397GrammarAccess extends AbstractGrammarElementFinder {
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -165,7 +165,7 @@ public class CommentAssociationTestLanguageGrammarAccess extends AbstractGrammar
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -237,7 +237,7 @@ public class Bug299395TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -212,7 +212,7 @@ public class Bug302128TestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -144,7 +144,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
private final Assignment cEmAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final Keyword cEmExclamationMarkKeyword_3_0 = (Keyword)cEmAssignment_3.eContents().get(0);
/// * SuppressWarnings[potentialOverride] * / Parens Expression:
///* SuppressWarnings[potentialOverride] */ Parens Expression:
// '(' Op ')' em='!'?
@Override public ParserRule getRule() { return rule; }
@ -178,13 +178,13 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cTypeINTTerminalRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0);
/// * TODO not working yet
///* TODO not working yet
//StrangeStuff :
// '->' (foo=ID)? ({OtherStuff.strangeStuff=current} ',' bla=ID)? ({OtherStuff2.stuff=current} ',' bla2=ID)?;
// * / // disabled, because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=346685
//*/ // disabled, because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=346685
////TrickyA returns TypeA1: 'TA' TrickyA1 (name += ID)* ({TypeB.x=current} 'x' | {TypeC.x=current} 'y')? name+=STRING;
////TrickyA1 returns TypeD: name+=ID;
/// * SuppressWarnings[noInstantiation] * / TrickyB:
///* SuppressWarnings[noInstantiation] */ TrickyB:
// 'TB' (name=ID type+=INT)? type+=INT*;
@Override public ParserRule getRule() { return rule; }
@ -293,7 +293,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
private final Assignment cTypeAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cTypeIDTerminalRuleCall_3_0 = (RuleCall)cTypeAssignment_3.eContents().get(0);
/// * SuppressWarnings[noInstantiation] * / TrickyD:
///* SuppressWarnings[noInstantiation] */ TrickyD:
// 'TD' (name+=INT foo=STRING type+=ID)? (name+=INT type+=ID)? type+=ID*;
@Override public ParserRule getRule() { return rule; }
@ -364,7 +364,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
private final RuleCall cTypeIDTerminalRuleCall_3_1_0 = (RuleCall)cTypeAssignment_3_1.eContents().get(0);
//// 34 "abc" XX 123 "de" YY x 34 DD 45 CC
/// * SuppressWarnings[noInstantiation] * / TrickyE:
///* SuppressWarnings[noInstantiation] */ TrickyE:
// 'TE' (name+=INT foo+=STRING type+=ID)* 'x' (name+=INT type+=ID)*;
@Override public ParserRule getRule() { return rule; }
@ -505,7 +505,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
private final RuleCall cValsTrickyG2ParserRuleCall_1_1_1_0 = (RuleCall)cValsAssignment_1_1_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
/// * SuppressWarnings[noInstantiation] * / TrickyG1:
///* SuppressWarnings[noInstantiation] */ TrickyG1:
// '[' (vals+=TrickyG2 (',' vals+=TrickyG2)*)? ']';
@Override public ParserRule getRule() { return rule; }
@ -669,7 +669,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
return getAtomAccess().getRule();
}
/// * SuppressWarnings[potentialOverride] * / Parens Expression:
///* SuppressWarnings[potentialOverride] */ Parens Expression:
// '(' Op ')' em='!'?
public ParensElements getParensAccess() {
return pParens;
@ -679,13 +679,13 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
return getParensAccess().getRule();
}
/// * TODO not working yet
///* TODO not working yet
//StrangeStuff :
// '->' (foo=ID)? ({OtherStuff.strangeStuff=current} ',' bla=ID)? ({OtherStuff2.stuff=current} ',' bla2=ID)?;
// * / // disabled, because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=346685
//*/ // disabled, because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=346685
////TrickyA returns TypeA1: 'TA' TrickyA1 (name += ID)* ({TypeB.x=current} 'x' | {TypeC.x=current} 'y')? name+=STRING;
////TrickyA1 returns TypeD: name+=ID;
/// * SuppressWarnings[noInstantiation] * / TrickyB:
///* SuppressWarnings[noInstantiation] */ TrickyB:
// 'TB' (name=ID type+=INT)? type+=INT*;
public TrickyBElements getTrickyBAccess() {
return pTrickyB;
@ -705,7 +705,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
return getTrickyCAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / TrickyD:
///* SuppressWarnings[noInstantiation] */ TrickyD:
// 'TD' (name+=INT foo=STRING type+=ID)? (name+=INT type+=ID)? type+=ID*;
public TrickyDElements getTrickyDAccess() {
return pTrickyD;
@ -716,7 +716,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
}
//// 34 "abc" XX 123 "de" YY x 34 DD 45 CC
/// * SuppressWarnings[noInstantiation] * / TrickyE:
///* SuppressWarnings[noInstantiation] */ TrickyE:
// 'TE' (name+=INT foo+=STRING type+=ID)* 'x' (name+=INT type+=ID)*;
public TrickyEElements getTrickyEAccess() {
return pTrickyE;
@ -747,7 +747,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
return getTrickyGAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / TrickyG1:
///* SuppressWarnings[noInstantiation] */ TrickyG1:
// '[' (vals+=TrickyG2 (',' vals+=TrickyG2)*)? ']';
public TrickyG1Elements getTrickyG1Access() {
return pTrickyG1;
@ -787,7 +787,7 @@ public class ComplexReconstrTestLanguageGrammarAccess extends AbstractGrammarEle
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -154,7 +154,7 @@ public class SerializationBug269362TestLanguageGrammarAccess extends AbstractGra
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -189,7 +189,7 @@ public class SerializationErrorTestLanguageGrammarAccess extends AbstractGrammar
private final RuleCall cIndentIndentParserRuleCall_3_0 = (RuleCall)cIndentAssignment_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
/// * SuppressWarnings[noInstantiation] * / Indent:
///* SuppressWarnings[noInstantiation] */ Indent:
// "{" req=TwoRequired? opt=TwoOptions? indent+=Indent* "}";
@Override public ParserRule getRule() { return rule; }
@ -323,7 +323,7 @@ public class SerializationErrorTestLanguageGrammarAccess extends AbstractGrammar
return getTwoOptionsAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / Indent:
///* SuppressWarnings[noInstantiation] */ Indent:
// "{" req=TwoRequired? opt=TwoOptions? indent+=Indent* "}";
public IndentElements getIndentAccess() {
return pIndent;
@ -353,7 +353,7 @@ public class SerializationErrorTestLanguageGrammarAccess extends AbstractGrammar
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -268,7 +268,7 @@ public class TransientValuesTestGrammarAccess extends AbstractGrammarElementFind
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -423,7 +423,7 @@ public class UnassignedTextTestLanguageGrammarAccess extends AbstractGrammarElem
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -465,7 +465,7 @@ public class Bug385636GrammarAccess extends AbstractGrammarElementFinder {
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -378,7 +378,7 @@ public class EObjectAtOffsetTestLanguageGrammarAccess extends AbstractGrammarEle
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -107,7 +107,7 @@ public class LiveContainerBuilderIntegerationTestLanguageGrammarAccess extends A
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -107,7 +107,7 @@ public class LiveContainerTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -547,7 +547,7 @@ public class LocationProviderTestLanguageGrammarAccess extends AbstractGrammarEl
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -30,6 +30,8 @@
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="x15" eType="#//FragmentCallerType"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="x16" eType="#//Bug398890"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MandatoryKeywords">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
@ -98,6 +100,9 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="fragVal" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bug398890">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Add0" eSuperTypes="#//Exp0">
<eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//Exp0" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="right" eType="#//Exp0"

View file

@ -23,6 +23,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Model/x13"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Model/x14"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Model/x15"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Model/x16"/>
</genClasses>
<genClasses ecoreClass="SyntacticSequencerTestLanguage.ecore#//MandatoryKeywords">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SyntacticSequencerTestLanguage.ecore#//MandatoryKeywords/val1"/>
@ -82,6 +83,9 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SyntacticSequencerTestLanguage.ecore#//FragmentCallerType/val"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SyntacticSequencerTestLanguage.ecore#//FragmentCallerType/fragVal"/>
</genClasses>
<genClasses ecoreClass="SyntacticSequencerTestLanguage.ecore#//Bug398890">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SyntacticSequencerTestLanguage.ecore#//Bug398890/name"/>
</genClasses>
<genClasses ecoreClass="SyntacticSequencerTestLanguage.ecore#//Add0">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Add0/left"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SyntacticSequencerTestLanguage.ecore#//Add0/right"/>

View file

@ -375,6 +375,26 @@ ruleModel returns [EObject current=null]
}
)
)
|
(
(
{
newCompositeNode(grammarAccess.getModelAccess().getX16Bug398890ParserRuleCall_15_0());
}
lv_x16_15_0=ruleBug398890
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getModelRule());
}
set(
$current,
"x16",
lv_x16_15_0,
"org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Bug398890");
afterParserOrEnumRuleCall();
}
)
)
)
;
@ -2023,10 +2043,53 @@ ruleFragment1[EObject in_current] returns [EObject current=in_current]
)
;
// Entry rule entryRuleBug398890
entryRuleBug398890 returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getBug398890Rule()); }
iv_ruleBug398890=ruleBug398890
{ $current=$iv_ruleBug398890.current; }
EOF;
// Rule Bug398890
ruleBug398890 returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
this_C_COMMENT_END_0=RULE_C_COMMENT_END
{
newLeafNode(this_C_COMMENT_END_0, grammarAccess.getBug398890Access().getC_COMMENT_ENDTerminalRuleCall_0());
}
(
(
lv_name_1_0=RULE_ID
{
newLeafNode(lv_name_1_0, grammarAccess.getBug398890Access().getNameIDTerminalRuleCall_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getBug398890Rule());
}
setWithLastConsumed(
$current,
"name",
lv_name_1_0,
"org.eclipse.xtext.common.Terminals.ID");
}
)
)
)
;
RULE_TERMINAL_ID : '$1' RULE_ID;
RULE_BOOLEAN_TERMINAL_ID : '%1' RULE_ID;
RULE_C_COMMENT_END : '*/';
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_INT : ('0'..'9')+;

View file

@ -1,42 +1,42 @@
'!'=39
'#1'=13
'#10'=31
'#11'=32
'#12'=33
'#13'=34
'#14'=40
'#15'=41
'#2'=18
'#3'=20
'#4'=23
'#5'=25
'#6'=26
'#7'=27
'#8'=29
'#9'=30
'('=21
')'=22
'*'=24
'+'=19
'kw1'=14
'kw2'=15
'kw3'=16
'kw4'=17
'kw5'=35
'kw6'=36
'kw7'=37
'kw8'=38
'matched'=28
RULE_ANY_OTHER=12
'!'=40
'#1'=14
'#10'=32
'#11'=33
'#12'=34
'#13'=35
'#14'=41
'#15'=42
'#2'=19
'#3'=21
'#4'=24
'#5'=26
'#6'=27
'#7'=28
'#8'=30
'#9'=31
'('=22
')'=23
'*'=25
'+'=20
'kw1'=15
'kw2'=16
'kw3'=17
'kw4'=18
'kw5'=36
'kw6'=37
'kw7'=38
'kw8'=39
'matched'=29
RULE_ANY_OTHER=13
RULE_BOOLEAN_TERMINAL_ID=7
RULE_C_COMMENT_END=8
RULE_ID=4
RULE_INT=6
RULE_ML_COMMENT=9
RULE_SL_COMMENT=10
RULE_STRING=8
RULE_ML_COMMENT=10
RULE_SL_COMMENT=11
RULE_STRING=9
RULE_TERMINAL_ID=5
RULE_WS=11
T__13=13
RULE_WS=12
T__14=14
T__15=15
T__16=16
@ -65,3 +65,4 @@ T__38=38
T__39=39
T__40=40
T__41=41
T__42=42

View file

@ -23,6 +23,7 @@ import org.eclipse.xtext.serializer.syntacticsequencertest.AlternativeTransition
import org.eclipse.xtext.serializer.syntacticsequencertest.BooleanAlternative;
import org.eclipse.xtext.serializer.syntacticsequencertest.BooleanAlternativeLiteral;
import org.eclipse.xtext.serializer.syntacticsequencertest.BooleanValues;
import org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890;
import org.eclipse.xtext.serializer.syntacticsequencertest.FragmentCallerType;
import org.eclipse.xtext.serializer.syntacticsequencertest.LongAlternative;
import org.eclipse.xtext.serializer.syntacticsequencertest.MandatoryKeywords;
@ -76,6 +77,9 @@ public abstract class AbstractSyntacticSequencerTestLanguageSemanticSequencer ex
case SyntacticsequencertestPackage.BOOLEAN_VALUES:
sequence_BooleanValues(context, (BooleanValues) semanticObject);
return;
case SyntacticsequencertestPackage.BUG398890:
sequence_Bug398890(context, (Bug398890) semanticObject);
return;
case SyntacticsequencertestPackage.FRAGMENT_CALLER_TYPE:
sequence_Fragment1_FragmentCaller(context, (FragmentCallerType) semanticObject);
return;
@ -265,6 +269,24 @@ public abstract class AbstractSyntacticSequencerTestLanguageSemanticSequencer ex
}
/**
* Contexts:
* Bug398890 returns Bug398890
*
* Constraint:
* name=ID
*/
protected void sequence_Bug398890(ISerializationContext context, Bug398890 semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, SyntacticsequencertestPackage.Literals.BUG398890__NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SyntacticsequencertestPackage.Literals.BUG398890__NAME));
}
SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getBug398890Access().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
feeder.finish();
}
/**
* Contexts:
* FragmentCaller returns FragmentCallerType
@ -375,7 +397,8 @@ public abstract class AbstractSyntacticSequencerTestLanguageSemanticSequencer ex
* x12=BooleanValues |
* x13=LongAlternative |
* x14=ActionOnly |
* x15=FragmentCaller
* x15=FragmentCaller |
* x16=Bug398890
* )
*/
protected void sequence_Model(ISerializationContext context, Model semanticObject) {

View file

@ -76,6 +76,8 @@ public abstract class AbstractSyntacticSequencerTestLanguageSyntacticSequencer e
return getBOOLEAN_TERMINAL_IDToken(semanticObject, ruleCall, node);
else if (ruleCall.getRule() == grammarAccess.getBooleanDatatypeIDRule())
return getBooleanDatatypeIDToken(semanticObject, ruleCall, node);
else if (ruleCall.getRule() == grammarAccess.getC_COMMENT_ENDRule())
return getC_COMMENT_ENDToken(semanticObject, ruleCall, node);
else if (ruleCall.getRule() == grammarAccess.getIDRule())
return getIDToken(semanticObject, ruleCall, node);
else if (ruleCall.getRule() == grammarAccess.getKW1Rule())
@ -103,6 +105,15 @@ public abstract class AbstractSyntacticSequencerTestLanguageSyntacticSequencer e
return "";
}
/**
* terminal C_COMMENT_END: '*&#47;';
*/
protected String getC_COMMENT_ENDToken(EObject semanticObject, RuleCall ruleCall, INode node) {
if (node != null)
return getTokenText(node);
return "*/";
}
/**
* terminal ID : '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
*/

View file

@ -931,7 +931,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -1185,7 +1185,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -44,7 +44,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm
private final RuleCall cEntitiesEntityParserRuleCall_1_0 = (RuleCall)cEntitiesAssignment_1.eContents().get(0);
private final Keyword cEndKeyword_2 = (Keyword)cGroup.eContents().get(2);
/// * SuppressWarnings[noInstantiation] * / DomainModel:
///* SuppressWarnings[noInstantiation] */ DomainModel:
// 'entities'
// entities+=Entity*
// 'end';
@ -150,7 +150,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm
return getModelAccess().getRule();
}
/// * SuppressWarnings[noInstantiation] * / DomainModel:
///* SuppressWarnings[noInstantiation] */ DomainModel:
// 'entities'
// entities+=Entity*
// 'end';
@ -193,7 +193,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -3252,7 +3252,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -57,16 +57,20 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
private final RuleCall cX14ActionOnlyParserRuleCall_13_0 = (RuleCall)cX14Assignment_13.eContents().get(0);
private final Assignment cX15Assignment_14 = (Assignment)cAlternatives.eContents().get(14);
private final RuleCall cX15FragmentCallerParserRuleCall_14_0 = (RuleCall)cX15Assignment_14.eContents().get(0);
private final Assignment cX16Assignment_15 = (Assignment)cAlternatives.eContents().get(15);
private final RuleCall cX16Bug398890ParserRuleCall_15_0 = (RuleCall)cX16Assignment_15.eContents().get(0);
//Model:
// x1=MandatoryKeywords | x2=Exp0 | x3=Exp1 | x4=Exp2 | x5=SingleCrossReference | x6=BooleanAlternative |
// x7=UnassignedDatatype | x8=OptionalSingleTransition | x9=OptionalManyTransition | x10=MandatoryManyTransition |
// x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller;
// x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller |
// x16=Bug398890;
@Override public ParserRule getRule() { return rule; }
//x1=MandatoryKeywords | x2=Exp0 | x3=Exp1 | x4=Exp2 | x5=SingleCrossReference | x6=BooleanAlternative |
//x7=UnassignedDatatype | x8=OptionalSingleTransition | x9=OptionalManyTransition | x10=MandatoryManyTransition |
//x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller
//x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller |
//x16=Bug398890
public Alternatives getAlternatives() { return cAlternatives; }
//x1=MandatoryKeywords
@ -158,6 +162,12 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
//FragmentCaller
public RuleCall getX15FragmentCallerParserRuleCall_14_0() { return cX15FragmentCallerParserRuleCall_14_0; }
//x16=Bug398890
public Assignment getX16Assignment_15() { return cX16Assignment_15; }
//Bug398890
public RuleCall getX16Bug398890ParserRuleCall_15_0() { return cX16Bug398890ParserRuleCall_15_0; }
}
public class MandatoryKeywordsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords");
@ -1176,6 +1186,29 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
//ID
public RuleCall getFragValIDTerminalRuleCall_0() { return cFragValIDTerminalRuleCall_0; }
}
public class Bug398890Elements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Bug398890");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cC_COMMENT_ENDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
//Bug398890:
// C_COMMENT_END name=ID;
@Override public ParserRule getRule() { return rule; }
//C_COMMENT_END name=ID
public Group getGroup() { return cGroup; }
//C_COMMENT_END
public RuleCall getC_COMMENT_ENDTerminalRuleCall_0() { return cC_COMMENT_ENDTerminalRuleCall_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
}
private final ModelElements pModel;
@ -1208,6 +1241,8 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
private final ActionOnlyElements pActionOnly;
private final FragmentCallerElements pFragmentCaller;
private final Fragment1Elements pFragment1;
private final Bug398890Elements pBug398890;
private final TerminalRule tC_COMMENT_END;
private final Grammar grammar;
@ -1248,6 +1283,8 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
this.pActionOnly = new ActionOnlyElements();
this.pFragmentCaller = new FragmentCallerElements();
this.pFragment1 = new Fragment1Elements();
this.pBug398890 = new Bug398890Elements();
this.tC_COMMENT_END = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.C_COMMENT_END");
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
@ -1280,7 +1317,8 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
//Model:
// x1=MandatoryKeywords | x2=Exp0 | x3=Exp1 | x4=Exp2 | x5=SingleCrossReference | x6=BooleanAlternative |
// x7=UnassignedDatatype | x8=OptionalSingleTransition | x9=OptionalManyTransition | x10=MandatoryManyTransition |
// x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller;
// x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller |
// x16=Bug398890;
public ModelElements getModelAccess() {
return pModel;
}
@ -1580,6 +1618,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
return getFragment1Access().getRule();
}
//Bug398890:
// C_COMMENT_END name=ID;
public Bug398890Elements getBug398890Access() {
return pBug398890;
}
public ParserRule getBug398890Rule() {
return getBug398890Access().getRule();
}
//terminal C_COMMENT_END:
// '*/';
public TerminalRule getC_COMMENT_ENDRule() {
return tC_COMMENT_END;
}
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
@ -1600,7 +1654,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar
}
//terminal ML_COMMENT:
// '/ *'->'* /';
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}

View file

@ -0,0 +1,52 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.serializer.syntacticsequencertest;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Bug398890</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890#getName <em>Name</em>}</li>
* </ul>
*
* @see org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage#getBug398890()
* @model
* @generated
*/
public interface Bug398890 extends EObject
{
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage#getBug398890_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
} // Bug398890

View file

@ -29,6 +29,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX13 <em>X13</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX14 <em>X14</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX15 <em>X15</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX16 <em>X16</em>}</li>
* </ul>
*
* @see org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage#getModel()
@ -427,4 +428,30 @@ public interface Model extends EObject
*/
void setX15(FragmentCallerType value);
/**
* Returns the value of the '<em><b>X16</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>X16</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>X16</em>' containment reference.
* @see #setX16(Bug398890)
* @see org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage#getModel_X16()
* @model containment="true"
* @generated
*/
Bug398890 getX16();
/**
* Sets the value of the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX16 <em>X16</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>X16</em>' containment reference.
* @see #getX16()
* @generated
*/
void setX16(Bug398890 value);
} // Model

View file

@ -176,6 +176,15 @@ public interface SyntacticsequencertestFactory extends EFactory
*/
FragmentCallerType createFragmentCallerType();
/**
* Returns a new object of class '<em>Bug398890</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Bug398890</em>'.
* @generated
*/
Bug398890 createBug398890();
/**
* Returns a new object of class '<em>Add0</em>'.
* <!-- begin-user-doc -->

View file

@ -202,6 +202,15 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
int MODEL__X15 = 14;
/**
* The feature id for the '<em><b>X16</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int MODEL__X16 = 15;
/**
* The number of structural features of the '<em>Model</em>' class.
* <!-- begin-user-doc -->
@ -209,7 +218,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @generated
* @ordered
*/
int MODEL_FEATURE_COUNT = 15;
int MODEL_FEATURE_COUNT = 16;
/**
* The meta object id for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.MandatoryKeywordsImpl <em>Mandatory Keywords</em>}' class.
@ -785,6 +794,34 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
int FRAGMENT_CALLER_TYPE_FEATURE_COUNT = 3;
/**
* The meta object id for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.Bug398890Impl <em>Bug398890</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.Bug398890Impl
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getBug398890()
* @generated
*/
int BUG398890 = 17;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int BUG398890__NAME = 0;
/**
* The number of structural features of the '<em>Bug398890</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int BUG398890_FEATURE_COUNT = 1;
/**
* The meta object id for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.Add0Impl <em>Add0</em>}' class.
* <!-- begin-user-doc -->
@ -793,7 +830,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getAdd0()
* @generated
*/
int ADD0 = 17;
int ADD0 = 18;
/**
* The feature id for the '<em><b>Left</b></em>' containment reference.
@ -830,7 +867,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getVal0()
* @generated
*/
int VAL0 = 18;
int VAL0 = 19;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@ -858,7 +895,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getAdd1()
* @generated
*/
int ADD1 = 19;
int ADD1 = 20;
/**
* The feature id for the '<em><b>Left</b></em>' containment reference.
@ -895,7 +932,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getVal1()
* @generated
*/
int VAL1 = 20;
int VAL1 = 21;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@ -923,7 +960,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getAdd2()
* @generated
*/
int ADD2 = 21;
int ADD2 = 22;
/**
* The feature id for the '<em><b>Left</b></em>' containment reference.
@ -960,7 +997,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getMult2()
* @generated
*/
int MULT2 = 22;
int MULT2 = 23;
/**
* The feature id for the '<em><b>Left</b></em>' containment reference.
@ -997,7 +1034,7 @@ public interface SyntacticsequencertestPackage extends EPackage
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getVal2()
* @generated
*/
int VAL2 = 23;
int VAL2 = 24;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@ -1193,6 +1230,17 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
EReference getModel_X15();
/**
* Returns the meta object for the containment reference '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX16 <em>X16</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>X16</em>'.
* @see org.eclipse.xtext.serializer.syntacticsequencertest.Model#getX16()
* @see #getModel()
* @generated
*/
EReference getModel_X16();
/**
* Returns the meta object for class '{@link org.eclipse.xtext.serializer.syntacticsequencertest.MandatoryKeywords <em>Mandatory Keywords</em>}'.
* <!-- begin-user-doc -->
@ -1683,6 +1731,27 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
EAttribute getFragmentCallerType_FragVal();
/**
* Returns the meta object for class '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890 <em>Bug398890</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Bug398890</em>'.
* @see org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890
* @generated
*/
EClass getBug398890();
/**
* Returns the meta object for the attribute '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890#getName()
* @see #getBug398890()
* @generated
*/
EAttribute getBug398890_Name();
/**
* Returns the meta object for class '{@link org.eclipse.xtext.serializer.syntacticsequencertest.Add0 <em>Add0</em>}'.
* <!-- begin-user-doc -->
@ -2027,6 +2096,14 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
EReference MODEL__X15 = eINSTANCE.getModel_X15();
/**
* The meta object literal for the '<em><b>X16</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference MODEL__X16 = eINSTANCE.getModel_X16();
/**
* The meta object literal for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.MandatoryKeywordsImpl <em>Mandatory Keywords</em>}' class.
* <!-- begin-user-doc -->
@ -2427,6 +2504,24 @@ public interface SyntacticsequencertestPackage extends EPackage
*/
EAttribute FRAGMENT_CALLER_TYPE__FRAG_VAL = eINSTANCE.getFragmentCallerType_FragVal();
/**
* The meta object literal for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.Bug398890Impl <em>Bug398890</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.Bug398890Impl
* @see org.eclipse.xtext.serializer.syntacticsequencertest.impl.SyntacticsequencertestPackageImpl#getBug398890()
* @generated
*/
EClass BUG398890 = eINSTANCE.getBug398890();
/**
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute BUG398890__NAME = eINSTANCE.getBug398890_Name();
/**
* The meta object literal for the '{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.Add0Impl <em>Add0</em>}' class.
* <!-- begin-user-doc -->

View file

@ -0,0 +1,178 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.serializer.syntacticsequencertest.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890;
import org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Bug398890</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.Bug398890Impl#getName <em>Name</em>}</li>
* </ul>
*
* @generated
*/
public class Bug398890Impl extends MinimalEObjectImpl.Container implements Bug398890
{
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Bug398890Impl()
{
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass()
{
return SyntacticsequencertestPackage.Literals.BUG398890;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName()
{
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName)
{
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SyntacticsequencertestPackage.BUG398890__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
switch (featureID)
{
case SyntacticsequencertestPackage.BUG398890__NAME:
return getName();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue)
{
switch (featureID)
{
case SyntacticsequencertestPackage.BUG398890__NAME:
setName((String)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID)
{
switch (featureID)
{
case SyntacticsequencertestPackage.BUG398890__NAME:
setName(NAME_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID)
{
switch (featureID)
{
case SyntacticsequencertestPackage.BUG398890__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString()
{
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
result.append(name);
result.append(')');
return result.toString();
}
} //Bug398890Impl

View file

@ -16,6 +16,7 @@ import org.eclipse.xtext.serializer.syntacticsequencertest.ActionOnly;
import org.eclipse.xtext.serializer.syntacticsequencertest.AlternativeTransition;
import org.eclipse.xtext.serializer.syntacticsequencertest.BooleanAlternative;
import org.eclipse.xtext.serializer.syntacticsequencertest.BooleanValues;
import org.eclipse.xtext.serializer.syntacticsequencertest.Bug398890;
import org.eclipse.xtext.serializer.syntacticsequencertest.Exp0;
import org.eclipse.xtext.serializer.syntacticsequencertest.Exp1;
import org.eclipse.xtext.serializer.syntacticsequencertest.Exp2;
@ -53,6 +54,7 @@ import org.eclipse.xtext.serializer.syntacticsequencertest.UnassignedDatatype;
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.ModelImpl#getX13 <em>X13</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.ModelImpl#getX14 <em>X14</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.ModelImpl#getX15 <em>X15</em>}</li>
* <li>{@link org.eclipse.xtext.serializer.syntacticsequencertest.impl.ModelImpl#getX16 <em>X16</em>}</li>
* </ul>
*
* @generated
@ -209,6 +211,16 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
*/
protected FragmentCallerType x15;
/**
* The cached value of the '{@link #getX16() <em>X16</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getX16()
* @generated
* @ordered
*/
protected Bug398890 x16;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@ -950,6 +962,54 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
eNotify(new ENotificationImpl(this, Notification.SET, SyntacticsequencertestPackage.MODEL__X15, newX15, newX15));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Bug398890 getX16()
{
return x16;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetX16(Bug398890 newX16, NotificationChain msgs)
{
Bug398890 oldX16 = x16;
x16 = newX16;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SyntacticsequencertestPackage.MODEL__X16, oldX16, newX16);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setX16(Bug398890 newX16)
{
if (newX16 != x16)
{
NotificationChain msgs = null;
if (x16 != null)
msgs = ((InternalEObject)x16).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SyntacticsequencertestPackage.MODEL__X16, null, msgs);
if (newX16 != null)
msgs = ((InternalEObject)newX16).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SyntacticsequencertestPackage.MODEL__X16, null, msgs);
msgs = basicSetX16(newX16, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SyntacticsequencertestPackage.MODEL__X16, newX16, newX16));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@ -990,6 +1050,8 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
return basicSetX14(null, msgs);
case SyntacticsequencertestPackage.MODEL__X15:
return basicSetX15(null, msgs);
case SyntacticsequencertestPackage.MODEL__X16:
return basicSetX16(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@ -1034,6 +1096,8 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
return getX14();
case SyntacticsequencertestPackage.MODEL__X15:
return getX15();
case SyntacticsequencertestPackage.MODEL__X16:
return getX16();
}
return super.eGet(featureID, resolve, coreType);
}
@ -1093,6 +1157,9 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
case SyntacticsequencertestPackage.MODEL__X15:
setX15((FragmentCallerType)newValue);
return;
case SyntacticsequencertestPackage.MODEL__X16:
setX16((Bug398890)newValue);
return;
}
super.eSet(featureID, newValue);
}
@ -1152,6 +1219,9 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
case SyntacticsequencertestPackage.MODEL__X15:
setX15((FragmentCallerType)null);
return;
case SyntacticsequencertestPackage.MODEL__X16:
setX16((Bug398890)null);
return;
}
super.eUnset(featureID);
}
@ -1196,6 +1266,8 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model
return x14 != null;
case SyntacticsequencertestPackage.MODEL__X15:
return x15 != null;
case SyntacticsequencertestPackage.MODEL__X16:
return x16 != null;
}
return super.eIsSet(featureID);
}

Some files were not shown because too many files have changed in this diff Show more