public class ContextTypePDAProvider extends java.lang.Object implements IContextTypePDAProvider
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ContextTypePDAProvider.AbstractTypeTraverser |
protected static class |
ContextTypePDAProvider.FilterState |
protected static class |
ContextTypePDAProvider.StackItem |
protected static class |
ContextTypePDAProvider.TypeCollector |
protected static class |
ContextTypePDAProvider.TypeFilter |
| Modifier and Type | Field and Description |
|---|---|
protected SerializerPDA.SerializerPDACloneFactory |
factory |
protected org.eclipse.xtext.util.formallang.NfaUtil |
nfaUtil |
protected IContextPDAProvider |
pdaProvider |
protected org.eclipse.xtext.util.formallang.PdaUtil |
pdaUtil |
| Constructor and Description |
|---|
ContextTypePDAProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<org.eclipse.emf.ecore.EClass> |
collectTypes(org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> contextPda,
java.util.Map<ISerState,java.lang.Integer> distances) |
protected org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> |
filterByType(org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> contextPda,
org.eclipse.emf.ecore.EClass type,
java.util.Map<ISerState,java.lang.Integer> distances) |
SerializationContextMap<org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall>> |
getContextTypePDAs(Grammar grammar) |
protected ContextTypePDAProvider.TypeCollector |
newTypeCollector() |
protected ContextTypePDAProvider.TypeFilter |
newTypeFilter(org.eclipse.emf.ecore.EClass type) |
@Inject protected SerializerPDA.SerializerPDACloneFactory factory
@Inject protected IContextPDAProvider pdaProvider
@Inject protected org.eclipse.xtext.util.formallang.PdaUtil pdaUtil
@Inject protected org.eclipse.xtext.util.formallang.NfaUtil nfaUtil
protected java.util.Set<org.eclipse.emf.ecore.EClass> collectTypes(org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> contextPda, java.util.Map<ISerState,java.lang.Integer> distances)
protected org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> filterByType(org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> contextPda, org.eclipse.emf.ecore.EClass type, java.util.Map<ISerState,java.lang.Integer> distances)
public SerializationContextMap<org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall>> getContextTypePDAs(Grammar grammar)
getContextTypePDAs in interface IContextTypePDAProviderprotected ContextTypePDAProvider.TypeCollector newTypeCollector()
protected ContextTypePDAProvider.TypeFilter newTypeFilter(org.eclipse.emf.ecore.EClass type)