- All Implemented Interfaces:
- Cloneable, Comparable<wybs.lang.SyntacticItem>, WyalFile.Type, WyalFile.Type.Primitive, wybs.lang.SyntacticElement, wybs.lang.SyntacticItem
- Enclosing interface:
- WyalFile.Type
public static class WyalFile.Type.Void
extends WyalFile.Type.Atom
implements WyalFile.Type.Primitive
A void type represents the type whose variables cannot exist! That is,
they cannot hold any possible value. Void is used to represent the return
type of a function which does not return anything. However, it is also
used to represent the element type of an empty list of set. NOTE:
the void type is a subtype of everything; that is, it is bottom in the
type lattice.
- Author:
- David J. Pearce