Dotty Documentation

0.11.0-bin-SNAPSHOT

case class SourceTree
extends Object with Product

A tree coming from source

tree can be either an Import or a NameTree.

[-] Constructors

SourceTree ( tree: Tree , source: SourceFile )

[-] Members

[+] val source : SourceFile
[+] val tree : Tree
[+] def namePos ( implicit ctx: Context ) : SourcePosition

The position of the name in tree

[+] final def pos ( implicit ctx: Context ) : SourcePosition

The position of tree