scala.reflect.base.Trees

FunctionExtractor

abstract class FunctionExtractor extends AnyRef

An extractor class to create and pattern match with syntax Function(vparams, body). This AST node corresponds to the following Scala code:

vparams => body

The symbol of a Function is a synthetic value of name nme.ANON_FUN_NAME It is the owner of the function's parameters.

Source
Trees.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FunctionExtractor
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FunctionExtractor()

Abstract Value Members

  1. abstract def apply(vparams: List[ValDef], body: Tree): Function

  2. abstract def unapply(function: Function): Option[(List[ValDef], Tree)]