CxTypeSimple

Description

sealed class Tinman.Core.Cx.CxTypeSimple

Derived from

CxType abstract

A reference to a simple built-in type that is represented by a single keyword:

bool
char
double
float
int
long
object
sbyte
short
string
void

Public / Constants

Bool


[ShutdownSurvive]
public static readonly attribute Bool → (CxTypeSimple)

The boolean type: bool

Char


[ShutdownSurvive]
public static readonly attribute Char → (CxTypeSimple)

The unicode character type: char

Double


[ShutdownSurvive]
public static readonly attribute Double → (CxTypeSimple)

The 64-bit floating-point number type (IEEE754): double

Float


[ShutdownSurvive]
public static readonly attribute Float → (CxTypeSimple)

The 32-bit floating-point number type (IEEE754): float

Int


[ShutdownSurvive]
public static readonly attribute Int → (CxTypeSimple)

The 32-bit signed integer type: int

Long


[ShutdownSurvive]
public static readonly attribute Long → (CxTypeSimple)

The 64-bit signed integer type: long

Obj


[ShutdownSurvive]
public static readonly attribute Obj → (CxTypeSimple)

The root reference type: object

SByte


[ShutdownSurvive]
public static readonly attribute SByte → (CxTypeSimple)

The 8-bit signed integer type: sbyte

Short


[ShutdownSurvive]
public static readonly attribute Short → (CxTypeSimple)

The 16-bit signed integer type: short

Str


[ShutdownSurvive]
public static readonly attribute Str → (CxTypeSimple)

The string type: string

Void


[ShutdownSurvive]
public static readonly attribute Void → (CxTypeSimple)

The void type (i.e. no type): void

Public / Constructors

ForKeyword


public static method ForKeyword → (1)

keyword in : string

The type keyword, see Keyword.

returns → CxTypeSimple

The CxTypeSimple object or null if keyword in is not a type keyword.

Returns the CxTypeSimple object for the given type keyword.

Public / Attributes

Keyword


public attribute Keyword → (get)

value : string

[not-empty]
The type keyword.

The simple type keyword.