org.jetbrains.jet.cli.common.messages
Class AnalyzerWithCompilerReport

java.lang.Object
  extended by org.jetbrains.jet.cli.common.messages.AnalyzerWithCompilerReport

public final class AnalyzerWithCompilerReport
extends java.lang.Object


Nested Class Summary
static class AnalyzerWithCompilerReport.SyntaxErrorReport
           
 
Constructor Summary
AnalyzerWithCompilerReport(MessageCollector collector)
           
 
Method Summary
 void analyzeAndReport(jet.Function0<AnalyzeExhaust> analyzer, java.util.Collection<JetFile> files)
           
 AnalyzeExhaust getAnalyzeExhaust()
           
 boolean hasErrors()
           
static boolean reportDiagnostics(BindingContext bindingContext, MessageCollector messageCollector)
           
static AnalyzerWithCompilerReport.SyntaxErrorReport reportSyntaxErrors(com.intellij.psi.PsiElement file, MessageCollector messageCollector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzerWithCompilerReport

public AnalyzerWithCompilerReport(@NotNull
                                  MessageCollector collector)
Method Detail

reportDiagnostics

public static boolean reportDiagnostics(@NotNull
                                        BindingContext bindingContext,
                                        @NotNull
                                        MessageCollector messageCollector)

reportSyntaxErrors

public static AnalyzerWithCompilerReport.SyntaxErrorReport reportSyntaxErrors(@NotNull
                                                                              com.intellij.psi.PsiElement file,
                                                                              @NotNull
                                                                              MessageCollector messageCollector)

getAnalyzeExhaust

@Nullable
public AnalyzeExhaust getAnalyzeExhaust()

hasErrors

public boolean hasErrors()

analyzeAndReport

public void analyzeAndReport(@NotNull
                             jet.Function0<AnalyzeExhaust> analyzer,
                             @NotNull
                             java.util.Collection<JetFile> files)