case class Thicket [ -T ]
extends Tree with WithoutTypeOrPos

Temporary class that results from translation of ModuleDefs (and possibly other statements). The contained trees will be integrated when transformed with a transform(List[Tree]) call.

Constructors

Thicket ( trees: List [ Tree [ T ] ] )

Members

[+] type ThisTree = [-T >: dotty.tools.dotc.ast.Trees.Untyped] => dotty.tools.dotc.ast.Trees.Thicket[T] (not handled)

The type constructor at the root of the tree

The type constructor at the root of the tree

[+] val trees : List [ Tree [ T ] ]
[+] def _1 : T1
[+] def copy ( trees: List [ Tree [ T ] ] ) : Thicket [ T ]
[+] def copy$default$1 : List [ Tree [ T ] ]
[+] override def foreachInThicket ( op: Tree [ T ] => Unit ) : Unit

If this is a thicket, perform op on each of its trees otherwise, perform op ion tree itself.

If this is a thicket, perform op on each of its trees otherwise, perform op ion tree itself.

[+] override def isEmpty : Boolean

Is this tree either the empty tree or the empty ValDef or an empty type ident?

Is this tree either the empty tree or the empty ValDef or an empty type ident?

[+] override def pos : Position

The item's position.

The item's position.

[+] override def toList : List [ Tree [ T ] ]

Convert tree to a list. Gives a singleton list, except for thickets which return their element trees.

Convert tree to a list. Gives a singleton list, except for thickets which return their element trees.

[+] override def toString : String
[+] override def withPos ( pos: Position ) : Thicket [ T ]

A positioned item like this one with the position set to pos. if the positioned item is source-derived, a clone is returned. If the positioned item is s...

A positioned item like this one with the position set to pos. if the positioned item is source-derived, a clone is returned. If the positioned item is synthetic, the position is updated destructively and the item itself is returned.