BetaReduce

dotty.tools.dotc.transform.BetaReduce$
See theBetaReduce companion class
object BetaReduce

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BetaReduce.type

Members list

Value members

Concrete methods

def apply(original: Tree, fn: Tree, args: List[Tree])(using Context): Tree

Beta-reduces a call to fn with arguments argSyms or returns tree

Beta-reduces a call to fn with arguments argSyms or returns tree

Attributes

def apply(ddef: DefDef, args: List[Tree])(using Context): Tree

Beta-reduces a call to ddef with arguments args

Beta-reduces a call to ddef with arguments args

Attributes

def reduceApplication(ddef: DefDef, args: List[Tree], bindings: ListBuffer[ValDef])(using Context): Tree

Beta-reduces a call to ddef with arguments args and registers new bindings

Beta-reduces a call to ddef with arguments args and registers new bindings

Attributes

Concrete fields

val name: String