org.eclipse.xtext.generator.serializer
Class AbstractSemanticSequencer
java.lang.Object
org.eclipse.xtext.generator.serializer.GeneratedFile
org.eclipse.xtext.generator.serializer.AbstractSemanticSequencer
public class AbstractSemanticSequencer
- extends GeneratedFile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSemanticSequencer
public AbstractSemanticSequencer()
getQualifiedName
public java.lang.String getQualifiedName(Grammar grammar)
- Overrides:
getQualifiedName
in class GeneratedFile
sort
public <T extends org.eclipse.emf.ecore.ENamedElement> java.util.List<T> sort(java.lang.Iterable<T> iterable)
getAccessedPackages
public java.lang.Iterable<org.eclipse.emf.ecore.EPackage> getAccessedPackages()
getAccessedClasses
public java.lang.Iterable<org.eclipse.emf.ecore.EClass> getAccessedClasses(org.eclipse.emf.ecore.EPackage pkg)
getAccessedClasses
public java.lang.Iterable<org.eclipse.emf.ecore.EClass> getAccessedClasses()
getAccessedConstraints
public java.util.Map<IGrammarConstraintProvider.IConstraint,java.util.List<org.eclipse.emf.ecore.EObject>> getAccessedConstraints(org.eclipse.emf.ecore.EClass clazz)
getAccessedContexts
public java.util.Collection<org.eclipse.emf.ecore.EObject> getAccessedContexts(org.eclipse.emf.ecore.EClass clazz)
getAccessedContexts
public java.util.Collection<org.eclipse.emf.ecore.EObject> getAccessedContexts()
getAccessedConstraints
public java.util.Collection<IGrammarConstraintProvider.IConstraint> getAccessedConstraints()
getGrammars
public java.util.HashSet<Grammar> getGrammars(IGrammarConstraintProvider.IConstraintElement ele)
uses
public boolean uses(Grammar g1,
Grammar g2)
getMostConcreteGrammar
public Grammar getMostConcreteGrammar(IGrammarConstraintProvider.IConstraint constraint)
usesSuperGrammar
public boolean usesSuperGrammar()
getFileContents
public java.lang.CharSequence getFileContents()
- Overrides:
getFileContents
in class GeneratedFile
genMethodCreateSequence
public java.lang.CharSequence genMethodCreateSequence(JavaEMFFile file)
genMethodSequence
public java.lang.CharSequence genMethodSequence(JavaEMFFile file,
IGrammarConstraintProvider.IConstraint c)