Value

trait Value

Common interface for the values that can be stored in Transient nodes.

class Object
trait Matchable
class Any

Value members

Abstract methods

Prints the IR representation of this transient node. This method is called by the IR printers when encountering a Transient node.

Prints the IR representation of this transient node. This method is called by the IR printers when encountering a Transient node.

Value Params
out

The IRTreePrinter to which the transient node must be printed. It can be used to print raw strings or nested IR nodes.

def transform(transformer: Transformer, isStat: Boolean)(implicit pos: Position): Tree

Transforms this transient value.

Transforms this transient value.

Implementations should transform contained trees and potentially adjust the result.

def traverse(traverser: Traverser): Unit

Traverses this transient value.

Traverses this transient value.

Implementations should delegate traversal to contained trees.

Abstract fields

val tpe: Type

Type of this transient value.

Type of this transient value.