TermOps
extends Object with SerializableSupertypes
Object, SerializableMembers
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)
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)
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))
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))
appliedToNone
( self: Term ) ( implicit ctx: Context ) : ApplyThe current tree applied to (): tree()
The current tree applied to (): tree()
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]
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)]
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]
seal
( self: Term ) ( implicit ctx: Context ) : Expr[Any]Convert Term
to an quoted.Expr[Any]
Convert Term
to an quoted.Expr[Any]