untpd
Attributes
- Graph
-
- Supertypes
- Self type
-
untpd.type
Members list
Type members
Classlikes
{x1, ..., xN} T (only relevant under captureChecking)
{x1, ..., xN} T (only relevant under captureChecking)
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Short-lived usage in typer, does not need copy/transform/fold infrastructure
Short-lived usage in typer, does not need copy/transform/fold infrastructure
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
A type tree that gets its type from some other tree's symbol. Enters the type tree in the References attachment of the from
tree as a side effect.
A type tree that gets its type from some other tree's symbol. Enters the type tree in the References attachment of the from
tree as a side effect.
Attributes
- Supertypes
-
trait Serializableclass DenotingTree[Untyped]trait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
- Known subtypes
An untyped template with a derives clause. Derived parents are added to the end of the parents
list. derivedCount
keeps track of how many there are. This representation was chosen because it balances two concerns:
An untyped template with a derives clause. Derived parents are added to the end of the parents
list. derivedCount
keeps track of how many there are. This representation was chosen because it balances two concerns:
- maximize overlap between DerivingTemplate and Template for code streamlining
- keep invariant that elements of untyped trees align with source positions
Attributes
- Supertypes
-
trait Serializabletrait WithLazyFieldsclass DenotingTree[Untyped]trait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait WithoutTypeOrPos[Untyped]trait Serializableclass DenotingTree[Untyped]trait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
- Self type
-
EmptyTypeIdent.type
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
A function type or closure
A function type or closure
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class FunctionWithModsclass WildcardFunction
A function type or closure with implicit
, erased
, or given
modifiers
A function type or closure with implicit
, erased
, or given
modifiers
Attributes
- Supertypes
-
class Functiontrait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
An enum to control checking or filtering of patterns in GenFrom trees
An enum to control checking or filtering of patterns in GenFrom trees
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializableclass OpTreetrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
An interpolated string
An interpolated string
Value parameters
- segments
-
a list of two element tickets consisting of string literal and argument tree, possibly with a simple string literal as last element of the list
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Mod is intended to record syntactic information about modifiers, it's NOT a replacement of FlagSet.
Mod is intended to record syntactic information about modifiers, it's NOT a replacement of FlagSet.
For any query about semantic information, check flags
instead.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Modifiers and annotations for definitions
Modifiers and annotations for definitions
Value parameters
- annotations
-
The annotations preceding the modifiers
- flags
-
The set flags
- privateWithin
-
If a private or protected has is followed by a qualifier [q], the name q, "" as a typename otherwise.
Attributes
- Supertypes
mods object name impl
mods object name impl
Attributes
- Supertypes
-
trait Serializableclass NamedDefTree[Untyped]trait WithEndMarker[Untyped]class DenotingTree[Untyped]trait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializableclass DenotingTree[Untyped]trait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
A polymorphic function type
A polymorphic function type
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializableclass OpTreetrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializableclass OpTreetrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
A typed subtree of an untyped tree needs to be wrapped in a TypedSplice
A typed subtree of an untyped tree needs to be wrapped in a TypedSplice
Value parameters
- isExtensionReceiver
-
The splice was created from the receiver
e
in an extension method calle.f(...)
- owner
-
The current owner at the time the tree was defined
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
- Self type
-
TypedSplice.type
Fold f
over all tree nodes, in depth-first, prefix order
Fold f
over all tree nodes, in depth-first, prefix order
Attributes
- Supertypes
Attributes
- Supertypes
- Known subtypes
-
class UntypedDeepFolder[X]class UntypedTreeTraverser
- Self type
Attributes
- Supertypes
Attributes
- Supertypes
-
class UntypedTreeAccumulator[Unit]class TreeAccumulator[Unit]class Objecttrait Matchableclass Any
A function created from a wildcard expression
A function created from a wildcard expression
Value parameters
- body
-
the function body where wildcards are replaced by references to synthetic parameters. This is equivalent to Function, except that forms a special case for the overlapping positions tests.
- placeholderParams
-
a list of definitions of synthetic parameters.
Attributes
- Supertypes
-
class Functiontrait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
A block generated by the XML parser, only treated specially by Positioned#checkPos
A block generated by the XML parser, only treated specially by Positioned#checkPos
Attributes
- Supertypes
-
trait Serializabletrait Showabletrait Containertrait LinkSourceclass Positionedtrait Cloneabletrait Producttrait Equalstrait SrcPosclass Objecttrait Matchableclass AnyShow all
Inherited classlikes
Fold f
over all tree nodes, in depth-first, prefix order
Fold f
over all tree nodes, in depth-first, prefix order
Attributes
- Inherited from:
- Instance
- Supertypes
An extractor for trees of the form id
or id: T
An extractor for trees of the form id
or id: T
Attributes
- Inherited from:
- UntypedTreeInfo
- Supertypes
Under pureFunctions: A builder and extractor for => T
, which is an alias for {*}-> T
. Only trees of the form => T
are matched; trees written directly as {*}-> T
are ignored by the extractor.
Under pureFunctions: A builder and extractor for => T
, which is an alias for {*}-> T
. Only trees of the form => T
are matched; trees written directly as {*}-> T
are ignored by the extractor.
Attributes
- Inherited from:
- UntypedTreeInfo
- 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
- Inherited from:
- Instance
- Supertypes
Attributes
- Inherited from:
- Instance
- Supertypes
- Known subtypes
-
class DeepFolder[X]class ShallowFolder[X]class TreeTraverserclass Setupclass Extractorclass InitTreeTraverserobject TreeNodeChecker.typeclass UntypedTreeAccumulator[X]class UntypedDeepFolder[X]class UntypedTreeTraverserobject hasSkolem.typeShow all
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
- Inherited from:
- Instance
- Supertypes
- Known subtypes
Attributes
- Inherited from:
- Instance
- Supertypes
- Known subtypes
-
class TreeTypeMapclass TreeMapWithImplicitsclass TreeMapWithStagesclass PCPCheckAndHealclass Transformerclass PostTyperTransformerclass UntypedTreeMapclass MakeInlineableMapclass MakeInlineableDirectclass MakeInlineablePassingclass TailRecEliminationShow all
Attributes
- Inherited from:
- Instance
- Supertypes
- Known subtypes
Inherited types
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Info of a variable in a pattern: The named tree and its type
Info of a variable in a pattern: The named tree and its type
Attributes
- Inherited from:
- UntypedTreeInfo
Value members
Concrete methods
new T(args1)...(args_n) ==> new T.
new T(args1)...(args_n) ==> new T.
where Ts
are the class type arguments of T
or its class type alias. Note: we also keep any type arguments as parts of T
. This is necessary to allow navigation into these arguments from the IDE, and to do the right thing in PrepareInlineable.
Attributes
The context to use when mapping or accumulating over a tree
The context to use when mapping or accumulating over a tree
Attributes
A new expression with constrictor and possibly type arguments. See New(tpt, argss)
for details.
A new expression with constrictor and possibly type arguments. See New(tpt, argss)
for details.
Attributes
A reference to given definition. If definition is a repeated parameter, the reference will be a repeated argument.
A reference to given definition. If definition is a repeated parameter, the reference will be a repeated argument.
Attributes
A repeated argument such as arg: _*
A repeated argument such as arg: _*
Attributes
Inherited methods
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
All term arguments of an application in a single flattened list
All type and value parameter symbols of this DefDef
Attributes
- Inherited from:
- TreeInfo
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
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
The largest subset of {NoInits, PureInterface} that a trait or class with this body can have as flags.
The largest subset of {NoInits, PureInterface} that a trait or class with this body can have as flags.
Attributes
- Inherited from:
- UntypedTreeInfo
Does this CaseDef catch everything of a certain Type?
Does this CaseDef catch Throwable?
The first constructor definition in stats
Checks whether predicate p
is true for all result parts of this expression, where we zoom into Ifs, Matches, and Blocks.
Checks whether predicate p
is true for all result parts of this expression, where we zoom into Ifs, Matches, and Blocks.
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- UntypedTreeInfo
Is tree explicitly parameterized with type arguments?
Does this list contain a named argument tree?
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
- Inherited from:
- Instance
Is tree a backquoted identifier or definition
Is tree a type tree of the form => T
or (under pureFunctions) {refs}-> T
?
Is tree a type tree of the form => T
or (under pureFunctions) {refs}-> T
?
Attributes
- Inherited from:
- TreeInfo
Is tree
an context function or closure, possibly nested in a block?
Is tree
an context function or closure, possibly nested in a block?
Attributes
- Inherited from:
- UntypedTreeInfo
Attributes
- Inherited from:
- TreeInfo
Is this pattern node a catch-all (wildcard or variable) pattern?
Is this pattern node a catch-all (wildcard or variable) pattern?
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- UntypedTreeInfo
Attributes
- Inherited from:
- UntypedTreeInfo
Is this case guarded?
Attributes
- Inherited from:
- TreeInfo
Is tpt a vararg type of the form T* or => T*?
Is tree a self constructor call this(...)? I.e. a call to a constructor of the same object?
Is tree a self constructor call this(...)? I.e. a call to a constructor of the same object?
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- TreeInfo
Is tree a super constructor call?
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- Instance
Is tree an application with result this.type
? Accept b.addOne(x)
and also xs(i) += x
where the op is an assignment operator.
Is tree an application with result this.type
? Accept b.addOne(x)
and also xs(i) += x
where the op is an assignment operator.
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- TreeInfo
Is this parameter list a using clause?
Attributes
- Inherited from:
- TreeInfo
Is tree a variable pattern?
Is the argument a wildcard argument of the form _
or x @ _
?
Is this argument node of the form
Is this argument node of the form
Attributes
- Inherited from:
- TreeInfo
Does this argument list end with an argument of the form
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
- Inherited from:
- Instance
If path
looks like a language import, Some(name)
where name is experimental
if that sub-module is imported, and the empty term name otherwise.
If path
looks like a language import, Some(name)
where name is experimental
if that sub-module is imported, and the empty term name otherwise.
Attributes
- Inherited from:
- TreeInfo
The method part of an application node, possibly enclosed in a block with only valdefs as statements. the reason for also considering blocks is that named arguments can transform a call into a block, e.g.
The method part of an application node, possibly enclosed in a block with only valdefs as statements. the reason for also considering blocks is that named arguments can transform a call into a block, e.g.
Attributes
- Inherited from:
- TreeInfo
The number of arguments in an application
The largest subset of {NoInits, PureInterface} that a trait or class with these parents can have as flags.
The largest subset of {NoInits, PureInterface} that a trait or class with these parents can have as flags.
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- Instance
Attributes
- Inherited from:
- Instance
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
- Inherited from:
- Instance
Attributes
- Inherited from:
- TreeInfo
If this is an application, its function part, stripping all Apply nodes (but leaving TypeApply nodes in). Otherwise the tree itself.
If this is an application, its function part, stripping all Apply nodes (but leaving TypeApply nodes in). Otherwise the tree itself.
Attributes
- Inherited from:
- TreeInfo
If this is a block, its expression part
Strip => T
to T
and (under pureFunctions) {refs}-> T
to T
Attributes
- Inherited from:
- TreeInfo
Attributes
- Inherited from:
- TreeInfo
The term arguments of a possibly curried call
Attributes
- Inherited from:
- Instance
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
- Inherited from:
- Instance
The type arguments of a possibly curried call
The underlying pattern ignoring any bindings
The underlying tree when stripping any TypedSplice or Parens nodes
The underlying tree when stripping any TypedSplice or Parens nodes
Attributes
- Definition Classes
- Inherited from:
- UntypedTreeInfo
Concrete fields
Property key for contextual Apply trees of the form fn given arg
Property key for contextual Apply trees of the form fn given arg
Attributes
Property key for TypeTrees marked with TypeRefOfSym or InfoOfSym which contains the symbol of the original tree from which this TypeTree is derived.
Property key for TypeTrees marked with TypeRefOfSym or InfoOfSym which contains the symbol of the original tree from which this TypeTree is derived.
Attributes
Property key containing TypeTrees whose type is computed from the symbol in this type. These type trees have marker trees TypeRefOfSym or InfoOfSym as their originals.
Property key containing TypeTrees whose type is computed from the symbol in this type. These type trees have marker trees TypeRefOfSym or InfoOfSym as their originals.