Packages

object constfold extends ConstantFolder

Fold constants

Source
Global.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. constfold
  2. ConstantFolder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(tree: Global.Tree, pt: Global.Type, site: Global.Symbol): Global.Tree

    If tree is a constant value that can be converted to type pt, perform the conversion.

    If tree is a constant value that can be converted to type pt, perform the conversion.

    Definition Classes
    ConstantFolder
  2. def apply(tree: Global.Tree, site: Global.Symbol): Global.Tree

    If tree is a constant operation, replace with result.

    If tree is a constant operation, replace with result.

    Definition Classes
    ConstantFolder
  3. val global: Global.this.type
    Definition Classes
    constfoldConstantFolder
  4. object ConstantTerm
    Definition Classes
    ConstantFolder
  5. object FoldableTerm
    Definition Classes
    ConstantFolder