ConstFold

object ConstFold
class Object
trait Matchable
class Any

Value members

Concrete methods

def Apply[T <: Apply](tree: T)(using Context): T
def Select[T <: Select](tree: T)(using Context): T
def apply[T <: Tree](tree: T)(using Context): T

If tree is a constant operation, replace with result.

If tree is a constant operation, replace with result.

Concrete fields