Class TreeIteratorConstrains<N>


  • public class TreeIteratorConstrains<N>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TreeIteratorConstrains<com.intellij.lang.ASTNode> AST  
      static java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_FIRST_CHILD  
      static java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_LAST_CHILD  
      static TreeIteratorConstrains<com.intellij.lang.ASTNode> AST_LOOPS  
      static java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_NEXT_SIBLING  
      static java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_PARENT  
      static java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_PREV_SIBLING  
      static int ITERATE_CHILDREN  
      static int ITERATE_CHILDREN_REV  
      static int ITERATE_SIBLINGS  
      static int ITERATE_SIBLINGS_REV  
      static java.util.function.Predicate<java.lang.Object> LEAF_PSI  
      static int MAX_CONSTRAINTS  
      static java.util.function.Predicate<java.lang.Object> NOT_LEAF_PSI  
      static TreeIteratorConstrains<com.intellij.psi.PsiElement> PSI  
      static java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_FIRST_CHILD  
      static java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_LAST_CHILD  
      static TreeIteratorConstrains<com.intellij.psi.PsiElement> PSI_LOOPS  
      static java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_NEXT_SIBLING  
      static java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_PARENT  
      static java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_PREV_SIBLING  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <N> @NotNull TreeIteratorConstrains<N> createFor​(java.lang.Class<N> clazz, java.util.function.Function<? super N,​N> NEXT_SIBLING, java.util.function.Function<? super N,​N> PREV_SIBLING, java.util.function.Function<? super N,​N> FIRST_CHILD, java.util.function.Function<? super N,​N> LAST_CHILD, java.util.function.Function<? super N,​N> PARENT)  
      static <N> @Nullable TreeIteratorConstrains<N> getFor​(java.lang.Class<N> clazz)  
      com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateChildren()  
      com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateChildrenRev()  
      com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateSiblings()  
      com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateSiblingsRev()  
      static <T> java.util.function.Function<T,​T> NULL()  
      • Methods inherited from class java.lang.Object

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

      • NOT_LEAF_PSI

        public static final java.util.function.Predicate<java.lang.Object> NOT_LEAF_PSI
      • LEAF_PSI

        public static final java.util.function.Predicate<java.lang.Object> LEAF_PSI
      • PSI_NEXT_SIBLING

        public static final java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_NEXT_SIBLING
      • PSI_PREV_SIBLING

        public static final java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_PREV_SIBLING
      • PSI_FIRST_CHILD

        public static final java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_FIRST_CHILD
      • PSI_LAST_CHILD

        public static final java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_LAST_CHILD
      • PSI_PARENT

        public static final java.util.function.Function<? super com.intellij.psi.PsiElement,​com.intellij.psi.PsiElement> PSI_PARENT
      • AST_NEXT_SIBLING

        public static final java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_NEXT_SIBLING
      • AST_PREV_SIBLING

        public static final java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_PREV_SIBLING
      • AST_FIRST_CHILD

        public static final java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_FIRST_CHILD
      • AST_LAST_CHILD

        public static final java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_LAST_CHILD
      • AST_PARENT

        public static final java.util.function.Function<? super com.intellij.lang.ASTNode,​com.intellij.lang.ASTNode> AST_PARENT
    • Method Detail

      • getIterateSiblings

        public com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateSiblings()
      • getIterateSiblingsRev

        public com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateSiblingsRev()
      • getIterateChildren

        public com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateChildren()
      • getIterateChildrenRev

        public com.vladsch.flexmark.tree.iteration.IterationConditions<N> getIterateChildrenRev()
      • NULL

        public static <T> java.util.function.Function<T,​T> NULL()
      • getFor

        @Nullable
        public static <N> @Nullable TreeIteratorConstrains<N> getFor​(java.lang.Class<N> clazz)
      • createFor

        @NotNull
        public static <N> @NotNull TreeIteratorConstrains<N> createFor​(java.lang.Class<N> clazz,
                                                                       java.util.function.Function<? super N,​N> NEXT_SIBLING,
                                                                       java.util.function.Function<? super N,​N> PREV_SIBLING,
                                                                       java.util.function.Function<? super N,​N> FIRST_CHILD,
                                                                       java.util.function.Function<? super N,​N> LAST_CHILD,
                                                                       java.util.function.Function<? super N,​N> PARENT)