Dotty Documentation

0.5.0-bin-SNAPSHOT

case class SourceTree
extends Object with Product

A typechecked named tree coming from source

[-] Constructors

SourceTree ( tree: NameTree , source: SourceFile )

[-] Members

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

The position of the name in tree

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

The position of tree