org.eclipse.xtext.serializer.analysis
Class SerializerPDAProvider.SerializerFollowerFunction

java.lang.Object
  extended by org.eclipse.xtext.util.formallang.FollowerFunctionImpl<AbstractElement,AbstractElement>
      extended by org.eclipse.xtext.serializer.analysis.SerializerPDAProvider.SerializerFollowerFunction
All Implemented Interfaces:
FollowerFunction<AbstractElement>
Enclosing class:
SerializerPDAProvider

protected static class SerializerPDAProvider.SerializerFollowerFunction
extends FollowerFunctionImpl<AbstractElement,AbstractElement>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.util.formallang.FollowerFunctionImpl
FollowerFunctionImpl.Direction, FollowerFunctionImpl.UnorderedStrategy
 
Field Summary
protected  Action actionCtx
           
protected  AbstractRule ruleCtx
           
protected  org.eclipse.emf.ecore.EClass type
           
 
Fields inherited from class org.eclipse.xtext.util.formallang.FollowerFunctionImpl
direction, filter, production, unorderedStrategy
 
Constructor Summary
SerializerPDAProvider.SerializerFollowerFunction(Production<AbstractElement,AbstractElement> production, org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass type)
           
 
Method Summary
 java.lang.Iterable<AbstractElement> getFollowers(AbstractElement element)
           
 java.lang.Iterable<AbstractElement> getStarts(AbstractElement root)
           
protected  java.lang.Boolean typeMatches(AbstractElement ele, java.util.Set<AbstractElement> visited)
           
 
Methods inherited from class org.eclipse.xtext.util.formallang.FollowerFunctionImpl
collectByParent, collectByParentSequence, collectChildren, collectChildrenAlternative, collectChildrenSequence, collectChildrenUnorderedAlt, collectElement, filter, getDirection, getFilter, getProduction, getUnorderedStrategy, orderedIterable, orderedList, setDirection, setFilter, setUnorderedStrategy, toList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionCtx

protected Action actionCtx

ruleCtx

protected AbstractRule ruleCtx

type

protected org.eclipse.emf.ecore.EClass type
Constructor Detail

SerializerPDAProvider.SerializerFollowerFunction

public SerializerPDAProvider.SerializerFollowerFunction(Production<AbstractElement,AbstractElement> production,
                                                        org.eclipse.emf.ecore.EObject context,
                                                        org.eclipse.emf.ecore.EClass type)
Method Detail

getFollowers

public java.lang.Iterable<AbstractElement> getFollowers(AbstractElement element)
Specified by:
getFollowers in interface FollowerFunction<AbstractElement>
Overrides:
getFollowers in class FollowerFunctionImpl<AbstractElement,AbstractElement>

getStarts

public java.lang.Iterable<AbstractElement> getStarts(AbstractElement root)
Specified by:
getStarts in interface FollowerFunction<AbstractElement>
Overrides:
getStarts in class FollowerFunctionImpl<AbstractElement,AbstractElement>

typeMatches

protected java.lang.Boolean typeMatches(AbstractElement ele,
                                        java.util.Set<AbstractElement> visited)