scalaz
.
example
.
transformers
.
typecheck
TypeCheckerWithExplicitTypesAST
object
TypeCheckerWithExplicitTypesAST
extends AnyRef
Source
TypeCheckerWithExplicitTypesAST.scala
Linear Supertypes
AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
TypeCheckerWithExplicitTypesAST
AnyRef
Any
Visibility
Public
All
Type Members
case class
App
(
f: Exp
,
arg: Exp
)
extends Exp with Product with Serializable
case class
Bool
(
b: Boolean
)
extends Literal with Product with Serializable
sealed
trait
Exp
extends AnyRef
case class
Fun
(
arg: String
,
argType: Type
,
body: Exp
)
extends Exp with Product with Serializable
case class
Id
(
name: String
)
extends Exp with Product with Serializable
case class
If
(
tst: Exp
,
thn: Exp
,
els: Exp
)
extends Exp with Product with Serializable
case class
Lit
(
l: Literal
)
extends Exp with Product with Serializable
trait
Literal
extends AnyRef
case class
Num
(
i: Int
)
extends Literal with Product with Serializable
case class
TyBuiltin
(
name: String
)
extends Type with Product with Serializable
case class
TyLam
(
f: Type
,
arg: Type
)
extends Type with Product with Serializable
case class
TyVar
(
name: String
)
extends Type with Product with Serializable
trait
Type
extends AnyRef
type
TypeEnv
=
Map
[String,
Type
]
Value Members
final
def
!=
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
: T0
Definition Classes
Any
val
boolT
:
TyBuiltin
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
final
def
eq
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
final
def
getClass
()
: java.lang.Class[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
litToTy
(
l:
Literal
)
:
Type
final
def
ne
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
numT
:
TyBuiltin
val
predef
: TypeEnv
final
def
synchronized
[
T0
]
(
arg0: ⇒ T0
)
: T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
Inherited from AnyRef
Inherited from
Any