Class InsertionPointFinder


  • public class InsertionPointFinder
    extends java.lang.Object
    Since:
    2.13
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Set<org.eclipse.xtext.AbstractElement> collectAdjacent​(org.eclipse.xtext.serializer.analysis.ISerState start, java.util.function.Function<org.eclipse.xtext.serializer.analysis.ISerState,​java.util.List<? extends org.eclipse.xtext.serializer.analysis.ISerState>> followers)  
      org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion findInsertionPoint​(org.eclipse.xtext.serializer.ISerializationContext ctx, org.eclipse.xtext.formatting2.regionaccess.IEObjectRegion obj, org.eclipse.xtext.AbstractElement ins)  
      protected org.eclipse.xtext.serializer.analysis.ISerState findState​(org.eclipse.xtext.serializer.ISerializationContext ctx, org.eclipse.xtext.AbstractElement ele)  
      protected void init​(org.eclipse.xtext.serializer.analysis.IContextTypePDAProvider pdaProvider, org.eclipse.xtext.IGrammarAccess grammar)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InsertionPointFinder

        public InsertionPointFinder()
    • Method Detail

      • collectAdjacent

        protected java.util.Set<org.eclipse.xtext.AbstractElement> collectAdjacent​(org.eclipse.xtext.serializer.analysis.ISerState start,
                                                                                   java.util.function.Function<org.eclipse.xtext.serializer.analysis.ISerState,​java.util.List<? extends org.eclipse.xtext.serializer.analysis.ISerState>> followers)
      • findInsertionPoint

        public org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion findInsertionPoint​(org.eclipse.xtext.serializer.ISerializationContext ctx,
                                                                                           org.eclipse.xtext.formatting2.regionaccess.IEObjectRegion obj,
                                                                                           org.eclipse.xtext.AbstractElement ins)
      • findState

        protected org.eclipse.xtext.serializer.analysis.ISerState findState​(org.eclipse.xtext.serializer.ISerializationContext ctx,
                                                                            org.eclipse.xtext.AbstractElement ele)
      • init

        @Inject
        protected void init​(org.eclipse.xtext.serializer.analysis.IContextTypePDAProvider pdaProvider,
                            org.eclipse.xtext.IGrammarAccess grammar)