C# Class Fanx.Fcode.FTypeRef

FTypeRef stores a typeRef structure used to reference type signatures.
ファイルを表示 Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
mask int
podName string
signature string
stackType int
typeName string

Public Methods

Method Description
FTypeRef ( string podName, string typeName, string sig ) : Fanx.Util
ToString ( ) : string
isBool ( ) : bool

Is this sys::Bool or sys::Bool?

isBoolPrimitive ( ) : bool

Is this sys::Bool, boolean primitive

isErr ( ) : bool

Is this sys::Err or sys::Err?

isFloat ( ) : bool

Is this sys::Float or sys::Float?

isFloatPrimitive ( ) : bool

Is this sys::Float, double primitive

isGenericInstance ( ) : bool

Is this a parameterized generic instance like Str[]

isInt ( ) : bool

Is this sys::Int or sys::Int?

isIntPrimitive ( ) : bool

Is this sys::Int, long primitive

isNullable ( ) : bool

Is this a nullable type.

isObj ( ) : bool

Is this sys::Obj or sys::Obj?

isRef ( ) : bool

Is this a reference (boxed) type?

isWide ( ) : bool

Is this a wide stack type (double or long)

isWide ( int stackType ) : bool
nname ( ) : string

.NET type name: Fan.Sys.Duration, System.Boolean

nnameBoxed ( ) : string

.NET type name, but if this is a primitive return its boxed class name.

read ( FStore input ) : FTypeRef

Method Details

FTypeRef() public method

public FTypeRef ( string podName, string typeName, string sig ) : Fanx.Util
podName string
typeName string
sig string
return Fanx.Util

ToString() public method

public ToString ( ) : string
return string

isBool() public method

Is this sys::Bool or sys::Bool?
public isBool ( ) : bool
return bool

isBoolPrimitive() public method

Is this sys::Bool, boolean primitive
public isBoolPrimitive ( ) : bool
return bool

isErr() public method

Is this sys::Err or sys::Err?
public isErr ( ) : bool
return bool

isFloat() public method

Is this sys::Float or sys::Float?
public isFloat ( ) : bool
return bool

isFloatPrimitive() public method

Is this sys::Float, double primitive
public isFloatPrimitive ( ) : bool
return bool

isGenericInstance() public method

Is this a parameterized generic instance like Str[]
public isGenericInstance ( ) : bool
return bool

isInt() public method

Is this sys::Int or sys::Int?
public isInt ( ) : bool
return bool

isIntPrimitive() public method

Is this sys::Int, long primitive
public isIntPrimitive ( ) : bool
return bool

isNullable() public method

Is this a nullable type.
public isNullable ( ) : bool
return bool

isObj() public method

Is this sys::Obj or sys::Obj?
public isObj ( ) : bool
return bool

isRef() public method

Is this a reference (boxed) type?
public isRef ( ) : bool
return bool

isWide() public method

Is this a wide stack type (double or long)
public isWide ( ) : bool
return bool

isWide() public static method

public static isWide ( int stackType ) : bool
stackType int
return bool

nname() public method

.NET type name: Fan.Sys.Duration, System.Boolean
public nname ( ) : string
return string

nnameBoxed() public method

.NET type name, but if this is a primitive return its boxed class name.
public nnameBoxed ( ) : string
return string

read() public static method

public static read ( FStore input ) : FTypeRef
input FStore
return FTypeRef

Property Details

mask public_oe property

public int mask
return int

podName public_oe property

public string podName
return string

signature public_oe property

public string signature
return string

stackType public_oe property

public int stackType
return int

typeName public_oe property

public string typeName
return string