Fan

 

class

compiler::MapType

sys::Obj
  compiler::GenericType
    compiler::MapType

MapType models a parameterized Map type.

Slots

doParameterizeSource

override CType doParameterize(Int ch)

Overrides compiler::GenericType.doParameterize

fitsSource

override Bool fits(CType t)

Overrides compiler::CType.fits

Doc inherited from compiler::CType.fits

Does this type implement the specified type. If true, then this type is assignable to the specified type (although the converse is not necessarily true). All types (including mixin types) fit sys::Obj.

isGenericParameterSource

override Bool isGenericParameter()

Overrides compiler::CType.isGenericParameter

Doc inherited from compiler::CType.isGenericParameter

Return if this type is a generic parameter (such as V or K) in a generic type (List, Map, or Method). Generic parameters serve as place holders for the parameterization of the generic type. Fan has a predefined set of generic parameters which are always defined in the sys pod with a one character name.

kSource

readonly CType k

makeSource

new make(CType k, CType v)

signatureSource

override readonly Str signature

Overrides compiler::CType.signature

Doc inherited from compiler::CType.signature

This is the full signature of the type.

vSource

readonly CType v