Scala Compiler2.12.16 < 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
  Version

    1.0

- 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
Version

  1.0

Linear Supertypes
AnyRef, Any
 
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. All

### 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 to any2stringadd[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 to ArrowAssoc[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( ... ) @native()
9.  def collapseAll(subtree: JTree): Unit
10.  def createFrame(lock: Lock): Unit

    Create a frame that displays the AST.

    Create a frame that displays the AST.

    lock

      The lock 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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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: Any): 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.  val frame: JFrame
20.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
21.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
22.  val infoPanel: TextInfoPanel
23.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
24.  var jTree: JTree
25.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
26.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
27.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  def setTreeModel(tm: ASTTreeModel): Unit
29.  var splitPane: JSplitPane
30.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
31.  val textArea: JTextArea
32.  def toString(): String
    Definition Classes
      AnyRef → Any
33.  val topLeftPane: JPanel
34.  val topRightPane: JPanel
35.  var treeModel: ASTTreeModel
36.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
37.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
38.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
39.  def →[B](y: B): (BrowserFrame, B)
    Implicit
      This member is added by an implicit conversion from BrowserFrame to ArrowAssoc[BrowserFrame] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from BrowserFrame to StringFormat[BrowserFrame] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped