TermMethods
Extension methods of Term.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
Extensions
Extensions
A unary apply node with given argument: tree(arg).
A unary apply node with given argument: tree(arg).
Value parameters
- arg
-
the argument to apply
Attributes
- Source
- Quotes.scala
An apply node with given arguments: tree(arg, args0, ..., argsN).
An apply node with given arguments: tree(arg, args0, ..., argsN).
Value parameters
- arg
-
the first argument to apply
- args
-
the remaining arguments to apply
Attributes
- Source
- Quotes.scala
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)).
Value parameters
- args
-
the list of arguments to apply
Attributes
- Source
- Quotes.scala
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))
Value parameters
- argss
-
the list of argument lists to apply sequentially
Attributes
- Source
- Quotes.scala
The current tree applied to (): tree().
The current tree applied to given type argument: tree[targ].
The current tree applied to given type argument: tree[targ].
Value parameters
- targ
-
the type argument to apply
Attributes
- Source
- Quotes.scala
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)].
Value parameters
- targs
-
the type argument trees to apply
Attributes
- Source
- Quotes.scala
The current tree applied to given type arguments: tree[targ0, ..., targN].
The current tree applied to given type arguments: tree[targ0, ..., targN].
Value parameters
- targs
-
the type arguments to apply
Attributes
- Source
- Quotes.scala
The current tree applied to () unless the tree's widened type is parameterless or expects type parameters.
The current tree applied to () unless the tree's widened type is parameterless or expects type parameters.
Attributes
- Source
- Quotes.scala
Converts a partially applied term into a lambda expression.
Converts a partially applied term into a lambda expression.
Value parameters
- owner
-
the owner symbol of the generated lambda
Attributes
- Source
- Quotes.scala
A select node that selects the given symbol.
A select node that selects the given symbol.
Value parameters
- sym
-
the symbol of the member to select
Attributes
- Source
- Quotes.scala
TypeRepr of this term.
Replaces Ident nodes references to the underlying tree that defined them. The resulting tree is useful for inspection of the definition of some bindings.
Replaces Ident nodes references to the underlying tree that defined them. The resulting tree is useful for inspection of the definition of some bindings.
Warning: This tree may contain references that are out of scope and should not be used in the generated code. This method should only used to port Scala 2 that used to access their outer scope unsoundly.
Attributes
- Returns
-
the underlying term with inline proxy and val references resolved
- Source
- Quotes.scala
Replaces Inlined nodes and InlineProxy references to underlying arguments. The resulting tree is useful for inspection of the value or content of a non-inline argument.
Replaces Inlined nodes and InlineProxy references to underlying arguments. The resulting tree is useful for inspection of the value or content of a non-inline argument.
Warning: This tree may contain references that are out of scope and should not be used in the generated code. This method should only used to port Scala 2 that used to access their outer scope unsoundly.
Attributes
- Returns
-
the underlying term with
Inlinednodes andInlineProxyreferences removed - Source
- Quotes.scala