logo

class

compiler::FuncType

sys::Obj
  compiler::GenericType
    compiler::FuncType

FuncType models a parameterized Func type.

Slots

doParameterize

override CType doParameterize(Int ch)

Source

fits

override Bool fits(CType t)

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.

Source

isGenericParameter

override readonly Bool 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.

Source

make

new make(CType[] params, Str[] names, CType ret)

Source

names

readonly Str[] names

Source

params

readonly CType[] params

Source

ret

readonly CType ret

Source

signature

override readonly Str signature

This is the full signature of the type.

Source

toParamDefs

ParamDef[] toParamDefs(Location loc)

Source