org.jetbrains.jet.lang.diagnostics
Class PositioningStrategy<E extends com.intellij.psi.PsiElement>

java.lang.Object
  extended by org.jetbrains.jet.lang.diagnostics.PositioningStrategy<E>

public class PositioningStrategy<E extends com.intellij.psi.PsiElement>
extends java.lang.Object


Constructor Summary
PositioningStrategy()
           
 
Method Summary
protected static boolean hasSyntaxErrors(com.intellij.psi.PsiElement psiElement)
           
 boolean isValid(E element)
           
 java.util.List<com.intellij.openapi.util.TextRange> mark(E element)
           
protected static java.util.List<com.intellij.openapi.util.TextRange> markElement(com.intellij.psi.PsiElement element)
           
protected static java.util.List<com.intellij.openapi.util.TextRange> markNode(com.intellij.lang.ASTNode node)
           
protected static java.util.List<com.intellij.openapi.util.TextRange> markRange(com.intellij.openapi.util.TextRange range)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositioningStrategy

public PositioningStrategy()
Method Detail

mark

@NotNull
public java.util.List<com.intellij.openapi.util.TextRange> mark(@NotNull
                                                                        E element)

isValid

public boolean isValid(@NotNull
                       E element)

markElement

@NotNull
protected static java.util.List<com.intellij.openapi.util.TextRange> markElement(@NotNull
                                                                                         com.intellij.psi.PsiElement element)

markNode

@NotNull
protected static java.util.List<com.intellij.openapi.util.TextRange> markNode(@NotNull
                                                                                      com.intellij.lang.ASTNode node)

markRange

@NotNull
protected static java.util.List<com.intellij.openapi.util.TextRange> markRange(@NotNull
                                                                                       com.intellij.openapi.util.TextRange range)

hasSyntaxErrors

protected static boolean hasSyntaxErrors(@NotNull
                                         com.intellij.psi.PsiElement psiElement)