Scala Compiler2.13.2 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package ast
  Definition Classes
    nsc
-  abstract class TreeBrowsers extends AnyRef

  Tree browsers can show the AST in a graphical and interactive way, useful for debugging and understanding.

  Tree browsers can show the AST in a graphical and interactive way, useful for debugging and understanding.

  Definition Classes
    ast
- ASTTreeModel
- BrowserFrame
- ProgramTree
- SwingBrowser
- TextInfoPanel
- TreeInfo
- TypePrinter
- UnitTree

c

scala.tools.nsc.ast.TreeBrowsers

# BrowserFrame

###

#### class BrowserFrame extends AnyRef

A window that can host the Tree widget and provide methods for displaying information

Source
  TreeBrowsers.scala

Linear Supertypes
AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. BrowserFrame
2. AnyRef
3. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new BrowserFrame(phaseName: String = "unknown")

### Type Members

1.  class ASTMenuBar extends JMenuBar

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from BrowserFrame toany2stringadd[BrowserFrame] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (BrowserFrame, B)
   Implicit
     This member is added by an implicit conversion from BrowserFrame toArrowAssoc[BrowserFrame] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  val bottomPane: JPanel
8.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
9.  def collapseAll(subtree: JTree): Unit
10.  def createFrame(latch: CountDownLatch): Unit

    Create a frame that displays the AST.

    Create a frame that displays the AST.

    latch

      The latch is used in order to stop the compilation thread until the user is done with the tree inspection. Swing creates its own threads when the frame is packed, and therefore execution would continue. However, this is not what we want, as the tree and especially symbols/types would change while the window is visible.

11.  def ensuring(cond: (BrowserFrame) => Boolean, msg: => Any): BrowserFrame
    Implicit
      This member is added by an implicit conversion from BrowserFrame toEnsuring[BrowserFrame] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  def ensuring(cond: (BrowserFrame) => Boolean): BrowserFrame
    Implicit
      This member is added by an implicit conversion from BrowserFrame toEnsuring[BrowserFrame] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: Boolean, msg: => Any): BrowserFrame
    Implicit
      This member is added by an implicit conversion from BrowserFrame toEnsuring[BrowserFrame] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: Boolean): BrowserFrame
    Implicit
      This member is added by an implicit conversion from BrowserFrame toEnsuring[BrowserFrame] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
16.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
17.  def expandAll(subtree: JTree): Unit
18.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
19.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from BrowserFrame toStringFormat[BrowserFrame] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
20.  val frame: JFrame
21.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
22.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
23.  val infoPanel: TextInfoPanel
24.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
25.  var jTree: JTree
26.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
27.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
29.  def setTreeModel(tm: ASTTreeModel): Unit
30.  var splitPane: JSplitPane
31.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
32.  val textArea: JTextArea
33.  def toString(): String
    Definition Classes
      AnyRef → Any
34.  val topLeftPane: JPanel
35.  val topRightPane: JPanel
36.  var treeModel: ASTTreeModel
37.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
38.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
39.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def →[B](y: B): (BrowserFrame, B)
   Implicit
     This member is added by an implicit conversion from BrowserFrame toArrowAssoc[BrowserFrame] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromBrowserFrame to any2stringadd[BrowserFrame]

### Inherited by implicit conversion StringFormat fromBrowserFrame to StringFormat[BrowserFrame]

### Inherited by implicit conversion Ensuring fromBrowserFrame to Ensuring[BrowserFrame]

### Inherited by implicit conversion ArrowAssoc fromBrowserFrame to ArrowAssoc[BrowserFrame]

### Ungrouped