TreeOps
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
this && that
, for boolean trees this
, that
this && that
, for boolean trees this
, that
Attributes
tree @annot
tree @annot
works differently for type trees and term trees
Attributes
A unary apply node with given argument: tree(arg)
A unary apply node with given argument: tree(arg)
Attributes
An apply node with given arguments: tree(arg, args0, ..., argsN)
An apply node with given arguments: tree(arg, args0, ..., argsN)
Attributes
An apply or type apply node with given argument list
An apply or type apply node with given argument list
Attributes
The current tree applied to given argument lists:
tree (argss(0)) ... (argss(argss.length -1))
The current tree applied to given argument lists:
tree (argss(0)) ... (argss(argss.length -1))
Attributes
The current tree applied to (): tree()
The current tree applied to (): tree()
Attributes
An apply node with given argument list tree(args(0), ..., args(args.length - 1))
An apply node with given argument list tree(args(0), ..., args(args.length - 1))
Attributes
The current tree applied to given type argument: tree[targ]
The current tree applied to given type argument: tree[targ]
Attributes
The current tree applied to given type argument: tree[targ]
The current tree applied to given type argument: tree[targ]
Attributes
The current tree applied to given type argument list: tree[targs(0), ..., targs(targs.length - 1)]
The current tree applied to given type argument list: tree[targs(0), ..., targs(targs.length - 1)]
Attributes
The current tree applied to given type arguments: tree[targ0, ..., targN]
The current tree applied to given type arguments: tree[targ0, ..., targN]
Attributes
An applied node that accepts only varargs as arguments
An applied node that accepts only varargs as arguments
Attributes
tree.asInstanceOf[tp
]
tree.asInstanceOf[tp
]
Attributes
The translation of tree = rhs
.
This is either the tree as an assignment, or a setter call.
The translation of tree = rhs
.
This is either the tree as an assignment, or a setter call.
Attributes
cast tree to tp
, assuming no exception is raised, i.e the operation is pure
cast tree to tp
, assuming no exception is raised, i.e the operation is pure
Attributes
cast tree to tp
, assuming no exception is raised, i.e the operation is pure
cast tree to tp
, assuming no exception is raised, i.e the operation is pure
Attributes
Set the owner of every definition in this tree which is not itself contained in this
tree to be newowner
Set the owner of every definition in this tree which is not itself contained in this
tree to be newowner
Attributes
Change owner from from
to to
. If from
is a weak owner, also change its
owner to to
, and continue until a non-weak owner is reached.
Change owner from from
to to
. If from
is a weak owner, also change its
owner to to
, and continue until a non-weak owner is reached.
Attributes
After phase trans
, set the owner of every definition in this tree that was formerly
owner by from
to to
.
After phase trans
, set the owner of every definition in this tree that was formerly
owner by from
to to
.
Attributes
Apply to ()
unless tree's widened type is parameterless
Apply to ()
unless tree's widened type is parameterless
Attributes
cast tree
to tp
(or its box/unbox/cast equivalent when after
erasure and value and non-value types are mixed),
unless tree's type already conforms to tp
.
cast tree
to tp
(or its box/unbox/cast equivalent when after
erasure and value and non-value types are mixed),
unless tree's type already conforms to tp
.
Attributes
Is there a subtree of this tree that satisfies predicate p
?
Is there a subtree of this tree that satisfies predicate p
?
Attributes
All subtrees of this tree that satisfy predicate p
.
All subtrees of this tree that satisfy predicate p
.
Attributes
Apply f
to each subtree of this tree
Apply f
to each subtree of this tree
Attributes
tree.isInstanceOf[tp]
, with special treatment of singleton types
tree.isInstanceOf[tp]
, with special treatment of singleton types
Attributes
this || that
, for boolean trees this
, that
this || that
, for boolean trees this
, that
Attributes
A synthetic select with that will be turned into an outer path by ExplicitOuter.
A synthetic select with that will be turned into an outer path by ExplicitOuter.
Attributes
- levels
How many outer levels to select
- tp
The type of the destination of the outer path.
A select node with the given selector name and a computed type
A select node with the given selector name and a computed type
Attributes
A select node with the given selector name such that the designated
member satisfies predicate p
. Useful for disambiguating overloaded members.
A select node with the given selector name such that the designated
member satisfies predicate p
. Useful for disambiguating overloaded members.
Attributes
A select node with the given type
A select node with the given type
Attributes
A select node that selects the given symbol. Note: Need to make sure this is in fact the symbol you would get when you select with the symbol's name, otherwise a data race may occur which would be flagged by -Yno-double-bindings.
A select node that selects the given symbol. Note: Need to make sure this is in fact the symbol you would get when you select with the symbol's name, otherwise a data race may occur which would be flagged by -Yno-double-bindings.
Attributes
A select node with the given selector name and signature and a computed type
A select node with the given selector name and signature and a computed type
Attributes
A select node with selector name and signature taken from sym
.
Note: Use this method instead of select(sym) if the referenced symbol
might be overridden in the type of the qualifier prefix. See note
on select(sym: Symbol).
A select node with selector name and signature taken from sym
.
Note: Use this method instead of select(sym) if the referenced symbol
might be overridden in the type of the qualifier prefix. See note
on select(sym: Symbol).
Attributes
Set this tree as the defTree
of its symbol and return this tree
Set this tree as the defTree
of its symbol and return this tree
Attributes
tree ne null
(might need a cast to be type correct)
tree ne null
(might need a cast to be type correct)
Attributes
Replace Ident nodes references to the underlying tree that defined them
Replace Ident nodes references to the underlying tree that defined them
Attributes
Replace Inlined nodes and InlineProxy references to underlying arguments
Replace Inlined nodes and InlineProxy references to underlying arguments
Attributes
If inititializer tree is _
, the default value of its type,
otherwise the tree itself.
If inititializer tree is _
, the default value of its type,
otherwise the tree itself.