Instance
Attributes
- Graph
-
- Supertypes
- Known subtypes
- Self type
-
Instance[T]
Members list
Type members
Classlikes
Fold f
over all tree nodes, in depth-first, prefix order
Fold f
over all tree nodes, in depth-first, prefix order
Attributes
- Supertypes
Fold f
over all tree nodes, in depth-first, prefix order, but don't visit subtrees where f
returns a different result for the root, i.e. f(x, root) ne x
.
Fold f
over all tree nodes, in depth-first, prefix order, but don't visit subtrees where f
returns a different result for the root, i.e. f(x, root) ne x
.
Attributes
- Supertypes
Attributes
- Supertypes
- Known subtypes
-
class DeepFolder[X]class ShallowFolder[X]class TreeTraverserclass Extractorclass InitTreeTraverserobject TreeNodeCheckerclass UntypedTreeAccumulator[X]class UntypedDeepFolder[X]class UntypedTreeTraverserobject hasSkolemShow all
- Self type
A class for copying trees. The copy methods avoid creating a new tree If all arguments stay the same.
A class for copying trees. The copy methods avoid creating a new tree If all arguments stay the same.
Note: Some of the copy methods take a context. These are exactly those methods that are overridden in TypedTreeCopier so that they selectively retype themselves. Retyping needs a context.
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
- Known subtypes
-
class TreeTypeMapclass TreeMapWithImplicitsclass TreeMapWithStagesclass CrossStageSafetyclass Transformerclass PostTyperTransformerclass UntypedTreeMapclass MakeInlineableMapclass MakeInlineableDirectclass MakeInlineablePassingclass TailRecEliminationShow all
- Self type
Attributes
- Supertypes
- Known subtypes
Types
Value members
Abstract methods
Delegate to FunProto or FunProtoTyped depending on whether the prefix is untpd
or tpd
.
Delegate to FunProto or FunProtoTyped depending on whether the prefix is untpd
or tpd
.
Attributes
Concrete methods
Construct the application $receiver.$method[$targs]($args)
using overloading resolution to find a matching overload of $method
if necessary. This is useful when overloading resolution needs to be performed in a phase after typer. Note that this will not perform any kind of implicit search.
Construct the application $receiver.$method[$targs]($args)
using overloading resolution to find a matching overload of $method
if necessary. This is useful when overloading resolution needs to be performed in a phase after typer. Note that this will not perform any kind of implicit search.
Value parameters
- expectedType
-
An expected type of the application used to guide overloading resolution
Attributes
For untyped trees, this is just the identity. For typed trees, a context derived form ctx
that records call
as the innermost enclosing call for which the inlined version is currently processed.
For untyped trees, this is just the identity. For typed trees, a context derived form ctx
that records call
as the innermost enclosing call for which the inlined version is currently processed.
Attributes
If tparams
is non-empty, add it to the left paramss
, merging it with a leading type parameter list of paramss
, if one exists.
If tparams
is non-empty, add it to the left paramss
, merging it with a leading type parameter list of paramss
, if one exists.
Attributes
Hook to indicate that a transform of some subtree should be skipped
Hook to indicate that a transform of some subtree should be skipped
Attributes
The context to use when transforming a tree. It ensures that the source is correct, and that the local context is used if that's necessary for transforming the whole tree. TODO: ensure transform is always called with the correct context as argument
The context to use when transforming a tree. It ensures that the source is correct, and that the local context is used if that's necessary for transforming the whole tree. TODO: ensure transform is always called with the correct context as argument
Attributes
- See also