Dotty Documentation

0.13.0-bin-SNAPSHOT

object NavigateAST
extends Object

[-] Constructors

[-] Members

[+] def pathTo ( span: Span , from: Positioned , skipZeroExtent: Boolean ) ( implicit ctx: Context ) : List [ Positioned ]

The reverse path from node from to the node that closest encloses span, or Nil if no such path exists. If a non-empty path is returned it starts with the node closest enclosing span and ends with from.

[+] def pathTo$default$3 : Boolean

The reverse path from node from to the node that closest encloses span, or Nil if no such path exists. If a non-empty path is returned it starts with the node closest enclosing span and ends with from.

[+] def toUntyped ( tree: Tree ) ( implicit ctx: Context ) : Tree

The untyped tree corresponding to typed tree tree in the compilation unit specified by ctx

[+] def untypedPath ( tree: Tree , exactMatch: Boolean ) ( implicit ctx: Context ) : List [ Positioned ]

The reverse path of untyped trees starting with a tree that closest matches tree and ending in the untyped tree at the root of the compilation unit specified by ctx.

[+] def untypedPath ( span: Span ) ( implicit ctx: Context ) : List [ Positioned ]

The reverse part of the untyped root of the compilation unit of ctx to the given span.

[+] def untypedPath$default$2 : Boolean

The reverse path of untyped trees starting with a tree that closest matches tree and ending in the untyped tree at the root of the compilation unit specified by ctx.