MatchableLiteral

sealed

Marker for literals that can be used in a Match case.

Matchable literals are:

  • IntLiteral
  • StringLiteral
  • Null

See Match for the rationale about that specific set.

trait Literal
class Tree
class IRNode
class Object
trait Matchable
class Any
class Null

Value members

Inherited methods

Inherited from
IRNode
Inherited from
IRNode

Inherited fields

val tpe: Type
Inherited from
Tree