Value

org.scalajs.ir.Trees.Transient.Value
trait Value

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object UndefinedParam.type

Members list

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 parameters

out

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

Attributes

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.

Attributes

def traverse(traverser: Traverser): Unit

Traverses this transient value.

Traverses this transient value.

Implementations should delegate traversal to contained trees.

Attributes

Abstract fields

val tpe: Type

Type of this transient value.

Type of this transient value.

Attributes