Packages

class BrowserFrame extends AnyRef

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

Source
TreeBrowsers.scala
Linear Supertypes
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. val bottomPane: JPanel
  2. def collapseAll(subtree: JTree): Unit
  3. 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.

  4. def expandAll(subtree: JTree): Unit
  5. val frame: JFrame
  6. val infoPanel: TextInfoPanel
  7. var jTree: JTree
  8. def setTreeModel(tm: ASTTreeModel): Unit
  9. var splitPane: JSplitPane
  10. val textArea: JTextArea
  11. val topLeftPane: JPanel
  12. val topRightPane: JPanel
  13. var treeModel: ASTTreeModel