Package ast.types

Types

Link copied to clipboard
class ListType(val type: Type) : Type

A type to specify a variable-size list containing elements of a single type.

Link copied to clipboard
class MapType(val keyType: Type, val valType: Type) : Type

A type to specify a variable-size mapping of keys of a single type to values of a single type.

Link copied to clipboard
class StructType(val name: Identifier) : Type

A type to specify an instance of a specific structure definition.

Link copied to clipboard
class VoidType : Type

A type to represent the absence of a value. Can only be used as the return type of a function or method.