Permalink
Browse files

Tests for Xtend Scoping API are green

  • Loading branch information...
1 parent 1b95e63 commit 1bf10c8a3f4f2b5cac5886e18ab2d2a926f32e5e szarnekow committed Feb 6, 2009
Showing with 64 additions and 20,418 deletions.
  1. +18 −7 plugins/org.eclipse.xtext.xtend/src/org/eclipse/xtext/xtend/crossref/AbstractXtendScopeProvider.java
  2. +20 −14 ....eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/GenXtextGrammarTestLanguageScopeProvider.ext
  3. +3 −3 tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/XtextTest.ecore
  4. +0 −47 .../xtext/parser/keywords/keywordsTestLanguage/KeywordsTestLanguage/KeywordsTestLanguageFactory.java
  5. +0 −239 .../xtext/parser/keywords/keywordsTestLanguage/KeywordsTestLanguage/KeywordsTestLanguagePackage.java
  6. +0 −136 ...ts/src-gen/org/eclipse/xtext/parser/keywords/keywordsTestLanguage/KeywordsTestLanguage/Model.java
  7. +0 −110 ...rser/keywords/keywordsTestLanguage/KeywordsTestLanguage/impl/KeywordsTestLanguageFactoryImpl.java
  8. +0 −232 ...rser/keywords/keywordsTestLanguage/KeywordsTestLanguage/impl/KeywordsTestLanguagePackageImpl.java
  9. +0 −349 ...n/org/eclipse/xtext/parser/keywords/keywordsTestLanguage/KeywordsTestLanguage/impl/ModelImpl.java
  10. +0 −136 ...r/keywords/keywordsTestLanguage/KeywordsTestLanguage/util/KeywordsTestLanguageAdapterFactory.java
  11. +0 −142 ...xt/parser/keywords/keywordsTestLanguage/KeywordsTestLanguage/util/KeywordsTestLanguageSwitch.java
  12. +1 −0 ...xtend.tests/src-gen/org/eclipse/xtext/testlanguages/GenContentAssistTestLanguageScopeProvider.ext
  13. +8 −5 ...nd.tests/src-gen/org/eclipse/xtext/testlanguages/GenReferenceGrammarTestLanguageScopeProvider.ext
  14. +3 −3 tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/ReferenceGrammar.ecore
  15. +0 −55 ...eclipse/xtext/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/AbstractRule.java
  16. +0 −55 ...pse/xtext/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/AbstractRuleCall.java
  17. +0 −83 ...nguages/contentAssistTestLanguage/contentAssistTestLanguage/ContentAssistTestLanguageFactory.java
  18. +0 −442 ...nguages/contentAssistTestLanguage/contentAssistTestLanguage/ContentAssistTestLanguagePackage.java
  19. +0 −45 ...ext/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/FirstAbstractRuleChild.java
  20. +0 −54 ...xt/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/SecondAbstractRuleChild.java
  21. +0 −47 ...en/org/eclipse/xtext/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/Start.java
  22. +0 −177 .../testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/impl/AbstractRuleCallImpl.java
  23. +0 −181 ...text/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/impl/AbstractRuleImpl.java
  24. +0 −158 ...ontentAssistTestLanguage/contentAssistTestLanguage/impl/ContentAssistTestLanguageFactoryImpl.java
  25. +0 −335 ...ontentAssistTestLanguage/contentAssistTestLanguage/impl/ContentAssistTestLanguagePackageImpl.java
  26. +0 −169 ...anguages/contentAssistTestLanguage/contentAssistTestLanguage/impl/FirstAbstractRuleChildImpl.java
  27. +0 −197 ...nguages/contentAssistTestLanguage/contentAssistTestLanguage/impl/SecondAbstractRuleChildImpl.java
  28. +0 −171 ...lipse/xtext/testlanguages/contentAssistTestLanguage/contentAssistTestLanguage/impl/StartImpl.java
  29. +0 −216 ...entAssistTestLanguage/contentAssistTestLanguage/util/ContentAssistTestLanguageAdapterFactory.java
  30. +0 −236 ...ges/contentAssistTestLanguage/contentAssistTestLanguage/util/ContentAssistTestLanguageSwitch.java
  31. +0 −22 ...en/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Erwachsener.java
  32. +0 −128 ...rc-gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Familie.java
  33. +0 −23 .../src-gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Farbe.java
  34. +0 −22 ...s/src-gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Kind.java
  35. +0 −82 ...src-gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Person.java
  36. +0 −101 ...se/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/ReferenceGrammarFactory.java
  37. +0 −790 ...se/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/ReferenceGrammarPackage.java
  38. +0 −152 ...gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Spielplatz.java
  39. +0 −82 ...-gen/org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/Spielzeug.java
  40. +0 −46 ...lipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/ErwachsenerImpl.java
  41. +0 −357 ...g/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/FamilieImpl.java
  42. +0 −48 ...org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/FarbeImpl.java
  43. +0 −46 .../org/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/KindImpl.java
  44. +0 −237 ...rg/eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/PersonImpl.java
  45. +0 −182 ...testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/ReferenceGrammarFactoryImpl.java
  46. +0 −487 ...testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/ReferenceGrammarPackageImpl.java
  47. +0 −417 ...clipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/SpielplatzImpl.java
  48. +0 −269 ...eclipse/xtext/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/impl/SpielzeugImpl.java
  49. +0 −256 ...tlanguages/referenceGrammarTestLanguage/ReferenceGrammar/util/ReferenceGrammarAdapterFactory.java
  50. +0 −282 ...text/testlanguages/referenceGrammarTestLanguage/ReferenceGrammar/util/ReferenceGrammarSwitch.java
  51. +0 −47 ....xtend.tests/src-gen/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/Model.java
  52. +0 −101 ...t.xtend.tests/src-gen/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/Node.java
  53. +0 −56 ...en/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/TreeTestLanguageFactory.java
  54. +0 −279 ...en/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/TreeTestLanguagePackage.java
  55. +0 −171 ...sts/src-gen/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/impl/ModelImpl.java
  56. +0 −299 ...ests/src-gen/org/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/impl/NodeImpl.java
  57. +0 −122 ...lipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/impl/TreeTestLanguageFactoryImpl.java
  58. +0 −255 ...lipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/impl/TreeTestLanguagePackageImpl.java
  59. +0 −156 ...se/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/util/TreeTestLanguageAdapterFactory.java
  60. +0 −165 ...rg/eclipse/xtext/testlanguages/treeTestLanguage/TreeTestLanguage/util/TreeTestLanguageSwitch.java
  61. +0 −55 ...ext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/AbstractElement.java
  62. +0 −83 ...ts/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/AbstractMetamodelDeclaration.java
  63. +0 −54 ...tend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/AbstractNegatedToken.java
  64. +0 −82 ....xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/AbstractRule.java
  65. +0 −108 ...clipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Action.java
  66. +0 −45 ....xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Alternatives.java
  67. +0 −108 ...se.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Assignment.java
  68. +0 −81 ...text.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/CharacterRange.java
  69. +0 −81 ...text.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/CrossReference.java
  70. +0 −54 ....xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/GeneratedMetamodel.java
  71. +0 −125 ...lipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Grammar.java
  72. +0 −45 ...eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Group.java
  73. +0 −54 ...lipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Keyword.java
  74. +0 −54 ...pse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/LexerRule.java
  75. +0 −22 ....xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/NegatedToken.java
  76. +0 −126 ...se.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/ParserRule.java
  77. +0 −22 ...xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/ReferencedMetamodel.java
  78. +0 −54 ...ipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/RuleCall.java
  79. +0 −83 ...lipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/TypeRef.java
  80. +0 −22 ...pse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/UpToToken.java
  81. +0 −54 ...ipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/Wildcard.java
  82. +0 −227 ...xt.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/XtextTestFactory.java
  83. +0 −2,058 ...xt.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/XtextTestPackage.java
  84. +0 −181 ....tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AbstractElementImpl.java
  85. +0 −248 ...n/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AbstractMetamodelDeclarationImpl.java
  86. +0 −197 ...s/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AbstractNegatedTokenImpl.java
  87. +0 −269 ...end.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AbstractRuleImpl.java
  88. +0 −324 ...ext.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/ActionImpl.java
  89. +0 −169 ...end.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AlternativesImpl.java
  90. +0 −324 ...xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/AssignmentImpl.java
  91. +0 −268 ...d.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/CharacterRangeImpl.java
  92. +0 −263 ...d.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/CrossReferenceImpl.java
  93. +0 −180 ...sts/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/GeneratedMetamodelImpl.java
  94. +0 −360 ...xt.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/GrammarImpl.java
  95. +0 −169 ...text.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/GroupImpl.java
  96. +0 −180 ...xt.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/KeywordImpl.java
  97. +0 −180 ....xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/LexerRuleImpl.java
  98. +0 −46 ...end.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/NegatedTokenImpl.java
  99. +0 −368 ...xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/ParserRuleImpl.java
  100. +0 −46 ...ts/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/ReferencedMetamodelImpl.java
  101. +0 −176 ...t.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/RuleCallImpl.java
  102. +0 −243 ...xt.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/TypeRefImpl.java
  103. +0 −46 ....xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/UpToTokenImpl.java
  104. +0 −180 ...t.xtend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/WildcardImpl.java
  105. +0 −350 ...tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/XtextTestFactoryImpl.java
  106. +0 −1,049 ...tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/impl/XtextTestPackageImpl.java
  107. +0 −536 ...ts/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/util/XtextTestAdapterFactory.java
  108. +0 −620 ...tend.tests/src-gen/org/eclipse/xtext/xtextGrammarTestLanguage/XtextTest/util/XtextTestSwitch.java
  109. +0 −2 tests/org.eclipse.xtext.xtend.tests/src/org/eclipse/xtext/XtextGrammarTestLanguageUIModule.java
  110. +0 −2 ...eclipse.xtext.xtend.tests/src/org/eclipse/xtext/parser/keywords/KeywordsTestLanguageUIModule.java
  111. +0 −2 ...ipse.xtext.xtend.tests/src/org/eclipse/xtext/testlanguages/ContentAssistTestLanguageUIModule.java
  112. +0 −2 ...e.xtext.xtend.tests/src/org/eclipse/xtext/testlanguages/ReferenceGrammarTestLanguageUIModule.java
  113. +0 −2 ...s/org.eclipse.xtext.xtend.tests/src/org/eclipse/xtext/testlanguages/TreeTestLanguageUIModule.java
  114. +10 −14 tests/org.eclipse.xtext.xtend.tests/src/org/eclipse/xtext/xtend/crossref/CrossrefTest.java
  115. +1 −1 ...xtext.xtend.tests/src/org/eclipse/xtext/xtend/tests/GenerateAllTestGrammarsWithXtendServices.java
@@ -8,9 +8,12 @@
package org.eclipse.xtext.xtend.crossref;
import static org.eclipse.xtext.util.CollectionUtils.filter;
+import static org.eclipse.xtext.util.CollectionUtils.nextOrNull;
+import static org.eclipse.xtext.util.CollectionUtils.list;
+import java.util.Collection;
import java.util.Collections;
-import java.util.Iterator;
+import java.util.HashSet;
import java.util.List;
import org.apache.log4j.Logger;
@@ -31,12 +34,20 @@
private static final String SCOPE_EXTENSION_PREFIX = "scope_";
- public IScope getScope(EObject context, EReference reference) {
+ public IScope getScope(EObject context, final EReference reference) {
try {
List<IScopedElement> scopedElements = invokeExtension(extensionName(context, reference), Collections
.singletonList(context));
- // TODO: filter elements
- return new XtendScope(scopedElements);
+ final Collection<String> names = new HashSet<String>(scopedElements.size());
+ return new XtendScope(list(filter(scopedElements, new Filter<IScopedElement>() {
+ public boolean matches(IScopedElement param) {
+ boolean result = reference.getEReferenceType().isSuperTypeOf(param.element().eClass());
+ if (result) {
+ result = names.add(param.name());
+ }
+ return result;
+ }
+ })));
}
catch (Throwable e) {
log.error("Error invoking scope extension", e);
@@ -69,12 +80,12 @@ public IScope getOuterScope() {
}
public IScopedElement getScopedElement(final EObject element) {
- Iterator<IScopedElement> matchesIterator = filter(scopedElements, new Filter<IScopedElement>() {
+ Iterable<IScopedElement> allMatches = filter(scopedElements, new Filter<IScopedElement>() {
public boolean matches(IScopedElement param) {
return param.element().equals(element);
}
- }).iterator();
- return (matchesIterator.hasNext()) ? matchesIterator.next() : null;
+ });
+ return nextOrNull(allMatches);
}
}
@@ -17,33 +17,39 @@ extension org::eclipse::xtend::util::stdlib::io;
*/
+List[IScopedElement] scope_hiddenTokens(ParserRule this):
+ allElements().typeSelect(AbstractRule).collect(x | createScopedElement(x.referenceName(), x));
+
+List[IScopedElement] scope_hiddenTokens(emf::EObject this) :
+ allElements().collect(x | createScopedElement(x.referenceName(), x));
+
+List[IScopedElement] scope_rule(CrossReference this):
+ allElements().typeSelect(AbstractRule).collect(x | createScopedElement(x.referenceName(), x));
+
+List[IScopedElement] scope_rule(emf::EObject this) :
+ allElements().collect(x | createScopedElement(x.referenceName(), x));
+
List[IScopedElement] scope_ePackage(AbstractMetamodelDeclaration this):
allElements().typeSelect(ecore::EPackage).collect(x | createScopedElement(x.referenceName(), x));
+
List[IScopedElement] scope_ePackage(emf::EObject this) :
allElements().collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_rule(RuleCall this):
- allElements().typeSelect(AbstractRule).collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_rule(emf::EObject this) :
+List[IScopedElement] scope_metamodel(TypeRef this):
+ allElements().typeSelect(AbstractMetamodelDeclaration).collect(x | createScopedElement(x.referenceName(), x));
+
+List[IScopedElement] scope_metamodel(emf::EObject this) :
allElements().collect(x | createScopedElement(x.referenceName(), x));
List[IScopedElement] scope_type(TypeRef this):
allElements().typeSelect(ecore::EClassifier).collect(x | createScopedElement(x.referenceName(), x));
+
List[IScopedElement] scope_type(emf::EObject this) :
allElements().collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_rule(CrossReference this):
+List[IScopedElement] scope_rule(RuleCall this):
allElements().typeSelect(AbstractRule).collect(x | createScopedElement(x.referenceName(), x));
+
List[IScopedElement] scope_rule(emf::EObject this) :
allElements().collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_hiddenTokens(ParserRule this):
- allElements().typeSelect(AbstractRule).collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_hiddenTokens(emf::EObject this) :
- allElements().collect(x | createScopedElement(x.referenceName(), x));
-
-List[IScopedElement] scope_metamodel(TypeRef this):
- allElements().typeSelect(AbstractMetamodelDeclaration).collect(x | createScopedElement(x.referenceName(), x));
-List[IScopedElement] scope_metamodel(emf::EObject this) :
- allElements().collect(x | createScopedElement(x.referenceName(), x));
-
@@ -20,12 +20,12 @@
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractMetamodelDeclaration">
- <eStructuralFeatures xsi:type="ecore:EReference" name="ePackage">
- <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage"/>
- </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="alias">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ePackage">
+ <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EPackage"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GeneratedMetamodel" eSuperTypes="//AbstractMetamodelDeclaration">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name">
@@ -1,47 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: KeywordsTestLanguageFactory.java,v 1.1 2009/02/06 09:46:52 jkohnlein Exp $
- */
-package org.eclipse.xtext.parser.keywords.keywordsTestLanguage.KeywordsTestLanguage;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.xtext.parser.keywords.keywordsTestLanguage.KeywordsTestLanguage.KeywordsTestLanguagePackage
- * @generated
- */
-public interface KeywordsTestLanguageFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- KeywordsTestLanguageFactory eINSTANCE = org.eclipse.xtext.parser.keywords.keywordsTestLanguage.KeywordsTestLanguage.impl.KeywordsTestLanguageFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Model</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Model</em>'.
- * @generated
- */
- Model createModel();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- KeywordsTestLanguagePackage getKeywordsTestLanguagePackage();
-
-} //KeywordsTestLanguageFactory
Oops, something went wrong.

0 comments on commit 1bf10c8

Please sign in to comment.