Inlined

final case
class Inlined(expr: TermTree, caller: Option[TypeIdent], bindings: List[ValOrDefDef])(span: Span) extends TermTree

A tree representing inlined code.

Value Params
bindings

Bindings for proxies to be used in the inlined code The full inlined code is equivalent to { bindings; expr }

caller

The toplevel class from which the call was inlined.

expr

The inlined tree, minus bindings.

trait Serializable
trait Product
trait Equals
class TermTree
class Tree
class Object
trait Matchable
class Any

Value members

Concrete methods

final override
def withSpan(span: Span): Inlined
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def tpe(using Context): Type

The term type of this tree.

The term type of this tree.

Inherited from
TermTree
def walkTree(op: Tree => Unit): Unit
Inherited from
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree