Literal

org.scalajs.ir.Trees.Literal
sealed trait Literal extends Tree

Marker for literals. Literals are always pure.

Attributes

Graph
Supertypes
class Tree
class IRNode
class Object
trait Matchable
class Any
Show all
Known subtypes
class ByteLiteral
class CharLiteral
class ClassOf
class FloatLiteral
class LongLiteral
class IntLiteral
class Null
class ShortLiteral
class Undefined
Show all

Members list

Value members

Inherited methods

def pos: Position

Attributes

Inherited from:
IRNode
def show: String

Attributes

Inherited from:
IRNode

Inherited fields

val tpe: Type

Attributes

Inherited from:
Tree