package types
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
FreshVarType(id: Int = 0) extends Type with Var[Type] with Product with Serializable
Fresh type variable.
-
case class
FunctionType(params: List[Term[Type]], ret: Term[Type]) extends Type with Cons[Type] with Product with Serializable
Function type.
-
case class
IntType() extends Type with Cons[Type] with Product with Serializable
Int type.
-
case class
PointerType(of: Term[Type]) extends Type with Cons[Type] with Product with Serializable
Pointer type.
-
case class
RecordType(args: List[Term[Type]])(implicit allFieldNames: List[String]) extends Type with Cons[Type] with Product with Serializable
Record type.
Record type.
A record type is represented as a term with a sub-term for every field name in the entire program. (This could be represented more concisely by using AbsentFieldType as a default.)
-
case class
RecursiveType(v: Var[Type], t: Term[Type]) extends Type with Mu[Type] with Product with Serializable
Recursive type (only created when closing terms).
-
sealed
trait
Type extends AnyRef
A type for a TIP variable or expression.
-
case class
VarType(node: AstNode) extends Type with Var[Type] with Product with Serializable
Type variable for a program variable or expression.