package jetbrains.mps.console.tool;

/*Generated by MPS */

import jetbrains.mps.annotations.GeneratedClass;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.project.Project;
import jetbrains.mps.baseLanguage.closures.runtime._FunctionTypes;
import jetbrains.mps.ide.findusages.model.SearchResults;

@GeneratedClass(node = "r:de40a5a4-f08c-4c67-ac43-e1f5c384f7d6(jetbrains.mps.console.tool)/6852607286009617748", model = "r:de40a5a4-f08c-4c67-ac43-e1f5c384f7d6(jetbrains.mps.console.tool)")
public interface ConsoleStream {
  void addText(String text);
  void addNode(SNode node);
  void addNodeRef(SNode node);
  void addException(Throwable t);
  void addClosure(Runnable closure, String text);
  void addSequence(Project project, _FunctionTypes._return_P0_E0<? extends SearchResults> results, int resultsCount, String resultDescription);
  void commitResult();
}
