Term
extends ObjectSupertypes
ObjectMembers
extension_appliedTo
( self: Term ) ( arg: Term ) ( implicit ctx: Context ) : TermA unary apply node with given argument: tree(arg)
A unary apply node with given argument: tree(arg)
extension_appliedTo
( self: Term ) ( arg: Term , args:An apply node with given arguments: tree(arg, args0, ..., argsN)
An apply node with given arguments: tree(arg, args0, ..., argsN)
extension_appliedToArgs
( self: Term ) ( args: List[Term] ) ( implicit ctx: Context ) : ApplyAn 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))
extension_appliedToArgss
( self: Term ) ( argss: List[List[Term]] ) ( implicit ctx: Context ) : TermThe 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))
extension_appliedToNone
( self: Term ) ( implicit ctx: Context ) : ApplyThe current tree applied to (): tree()
The current tree applied to (): tree()
extension_appliedToType
( self: Term ) ( targ: Type ) ( implicit ctx: Context ) : TermThe current tree applied to given type argument: tree[targ]
The current tree applied to given type argument: tree[targ]
extension_appliedToTypeTrees
( self: Term ) ( targs: List[TypeTree] ) ( implicit ctx: Context ) : TermThe 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)]
extension_appliedToTypes
( self: Term ) ( targs: List[Type] ) ( implicit ctx: Context ) : TermThe current tree applied to given type arguments: tree[targ0, ..., targN]
The current tree applied to given type arguments: tree[targ0, ..., targN]
extension_etaExpand
( self: Term ) ( implicit ctx: Context ) : TermConverts a partally applied term into a lambda expression
Converts a partally applied term into a lambda expression
extension_seal
( self: Term ) ( implicit ctx: Context ) : Expr[Any]Convert Term
to an quoted.Expr[Any]
if the term is a valid expression or throws
Convert Term
to an quoted.Expr[Any]
if the term is a valid expression or throws
extension_sealOpt
( self: Term ) ( implicit ctx: Context ) : Option[Expr[Any]]Convert Term
to an quoted.Expr[Any]
if the term is a valid expression
Convert Term
to an quoted.Expr[Any]
if the term is a valid expression
extension_select
( self: Term ) ( sym: Symbol ) ( implicit ctx: Context ) : SelectA select node that selects the given symbol.
A select node that selects the given symbol.