BuiltinType

Represents a fundamental type.

Members

Functions

getFields
inout(FieldDeclaration[]) getFields()
kind
TypeDeclaration.Kind kind()
type
inout(Type) type()

The type of this declaration.

Variables

_type
Type _type;

The type of this declaration.

Inherited Members

From TypeDeclaration

Kind
enum Kind

Represents a type of TypeDeclaration.

id
int id;

The id of this Type.

symbol
string symbol;

The symbol name of this type.

kind
Kind kind()

Gets the kind of TypeDeclaration this object represents.

type
inout(Type) type()

Gets the Type associated with this TypeDeclaration.

getFields
inout(FieldDeclaration[]) getFields()

Gets all fields declared on this type.

getField
FieldDeclaration getField(int id)

Find a field by its id.

getField
FieldDeclaration getField(string symbol)

Find a field with its name.

Meta