KeywordDeclaration

Represents the value of a keyword statement.

Members

Functions

getFields
inout(FieldDeclaration[]) getFields()
Undocumented in source. Be warned that the author may not have intended to support it.
kind
TypeDeclaration.Kind kind()
type
inout(Type) type()

Ditto

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