IType

Overview

The IType interface is the base interface for any type in the compiler, both internal and external, including arrays, generics and anything else that is a type. The member query apis like GetField, GetMethods, GetEvents and GetProperties will also check the parent class and interfaces for that member, the GetConstructors call does not, as you cannot call an ancestor constructor on a sub-type unless it returns it.

Location


 

DelegateSignature

 

property DelegateSignature: IMethod read;

 

IMethod DelegateSignature { get; }

 

var DelegateSignature: IMethod { get{} }

 

IMethod DelegateSignature { __get; }

 

ReadOnly Property DelegateSignature() As IMethod

ExtensionTypeFor

 

property ExtensionTypeFor: IType read;

 

IType ExtensionTypeFor { get; }

 

var ExtensionTypeFor: IType { get{} }

 

IType ExtensionTypeFor { __get; }

 

ReadOnly Property ExtensionTypeFor() As IType

Fullname

The full name of the type including any type parameters or array specifiers

 

property Fullname: String read;

 

String Fullname { get; }

 

var Fullname: String { get{} }

 

String Fullname { __get; }

 

ReadOnly Property Fullname() As String

GetBinaryOperators

Returns a list of operator overload methods

 

method GetBinaryOperators(operator: BinaryOperator): array of IMethod

 

IMethod[] GetBinaryOperators(BinaryOperator operator)

 

func GetBinaryOperators(_ operator: BinaryOperator) -> IMethod...

 

IMethod[] GetBinaryOperators(BinaryOperator operator)

 

Function GetBinaryOperators(operator As BinaryOperator) As IMethod()

Parameters:

  • operator: Operator to look for

GetConstant

Returns a constant by name

 

method GetConstant(name: String): IConstant

 

IConstant GetConstant(String name)

 

func GetConstant(_ name: String) -> IConstant

 

IConstant GetConstant(String name)

 

Function GetConstant(name As String) As IConstant

Parameters:

  • name: name of the member to search

GetConstructors

Returns all constructors for this class or nil

 

method GetConstructors: array of IMethod

 

IMethod[] GetConstructors()

 

func GetConstructors() -> IMethod...

 

IMethod[] GetConstructors()

 

Function GetConstructors() As IMethod()

GetEventForMethod

 

method GetEventForMethod(method: IMethod): IEvent

 

IEvent GetEventForMethod(IMethod method)

 

func GetEventForMethod(_ method: IMethod) -> IEvent

 

IEvent GetEventForMethod(IMethod method)

 

Function GetEventForMethod(method As IMethod) As IEvent

Parameters:

  • method:

GetEvents

Searches through the class for events

 

method GetEvents(name: String): array of IEvent

 

IEvent[] GetEvents(String name)

 

func GetEvents(_ name: String) -> IEvent...

 

IEvent[] GetEvents(String name)

 

Function GetEvents(name As String) As IEvent()

Parameters:

  • name: name of the member to search

GetField

Searches for a field by name

 

method GetField(name: String): IField

 

IField GetField(String name)

 

func GetField(_ name: String) -> IField

 

IField GetField(String name)

 

Function GetField(name As String) As IField

Parameters:

  • name: name of the member to search

GetImplements

Returns the implements for this type by index

 

method GetImplements(no: Int32): IImplements

 

IImplements GetImplements(Int32 no)

 

func GetImplements(_ no: Int32) -> IImplements

 

IImplements GetImplements(Int32 no)

 

Function GetImplements(no As Int32) As IImplements

Parameters:

  • no: index

GetInterface

Returns the interfaces this type implements by index

 

method GetInterface(no: Int32): IType

 

IType GetInterface(Int32 no)

 

func GetInterface(_ no: Int32) -> IType

 

IType GetInterface(Int32 no)

 

Function GetInterface(no As Int32) As IType

Parameters:

  • no: index

GetMembers

Returns all members in this class

 

method GetMembers: array of IMember

 

IMember[] GetMembers()

 

func GetMembers() -> IMember...

 

IMember[] GetMembers()

 

Function GetMembers() As IMember()

GetMethod (String, array of IType, array of ParameterModifier): IMethod

Returns the instance method matching this signature

 

method GetMethod(name: String; args: array of IType; modifiers: array of ParameterModifier): IMethod

 

IMethod GetMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetMethod(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetMethod(name As String, args As IType(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: parameter types for this method
  • modifiers: modifiers for the parameters

GetMethod (String, array of String, array of ParameterModifier): IMethod

Returns the instance method matching this signature

 

method GetMethod(name: String; args: array of String; modifiers: array of ParameterModifier): IMethod

 

IMethod GetMethod(String name, String[] args, ParameterModifier[] modifiers)

 

func GetMethod(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetMethod(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetMethod(name As String, args As String(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: parameter types for this method
  • modifiers: modifiers for the parameters

GetMethods

Searches for a method and results the list of matches

 

method GetMethods(name: String): array of IMethod

 

IMethod[] GetMethods(String name)

 

func GetMethods(_ name: String) -> IMethod...

 

IMethod[] GetMethods(String name)

 

Function GetMethods(name As String) As IMethod()

Parameters:

  • name: name of the member to search

GetNestedClass (String): ITypeReference

Returns a nested class by index. The total number of items can be retrieved by accessing Count

 

method GetNestedClass(name: String): ITypeReference

 

ITypeReference GetNestedClass(String name)

 

func GetNestedClass(_ name: String) -> ITypeReference

 

ITypeReference GetNestedClass(String name)

 

Function GetNestedClass(name As String) As ITypeReference

Parameters:

  • name: name of the member to search

GetNestedClass (Int32): ITypeReference

Returns a nested class by index. The total number of items can be retrieved by accessing Count

 

method GetNestedClass(no: Int32): ITypeReference

 

ITypeReference GetNestedClass(Int32 no)

 

func GetNestedClass(_ no: Int32) -> ITypeReference

 

ITypeReference GetNestedClass(Int32 no)

 

Function GetNestedClass(no As Int32) As ITypeReference

Parameters:

  • no: index

GetOperators

Returns the unary operators by operator type

 

method GetOperators(operator: UnaryOperator): array of IMethod

 

IMethod[] GetOperators(UnaryOperator operator)

 

func GetOperators(_ operator: UnaryOperator) -> IMethod...

 

IMethod[] GetOperators(UnaryOperator operator)

 

Function GetOperators(operator As UnaryOperator) As IMethod()

Parameters:

  • operator: operator to look for

GetProperties

Searches for a property by name

 

method GetProperties(name: String): array of IProperty

 

IProperty[] GetProperties(String name)

 

func GetProperties(_ name: String) -> IProperty...

 

IProperty[] GetProperties(String name)

 

Function GetProperties(name As String) As IProperty()

Parameters:

  • name: name of the member to search

GetProperty (String, array of IType, array of ParameterModifier): IProperty

Returns the instance property matching this signature

 

method GetProperty(name: String; args: array of IType; modifiers: array of ParameterModifier): IProperty

 

IProperty GetProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetProperty(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetProperty(name As String, args As IType(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetProperty (String, array of String, array of ParameterModifier): IProperty

Returns the instance property matching this signature

 

method GetProperty(name: String; args: array of String; modifiers: array of ParameterModifier): IProperty

 

IProperty GetProperty(String name, String[] args, ParameterModifier[] modifiers)

 

func GetProperty(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetProperty(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetProperty(name As String, args As String(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetPropertyForMethod

 

method GetPropertyForMethod(method: IMethod): IProperty

 

IProperty GetPropertyForMethod(IMethod method)

 

func GetPropertyForMethod(_ method: IMethod) -> IProperty

 

IProperty GetPropertyForMethod(IMethod method)

 

Function GetPropertyForMethod(method As IMethod) As IProperty

Parameters:

  • method:

GetStaticEvents

Searches for a static event by name

 

method GetStaticEvents(name: String): array of IEvent

 

IEvent[] GetStaticEvents(String name)

 

func GetStaticEvents(_ name: String) -> IEvent...

 

IEvent[] GetStaticEvents(String name)

 

Function GetStaticEvents(name As String) As IEvent()

Parameters:

  • name: name of the member to search

GetStaticField

Searches for a static field by name

 

method GetStaticField(name: String): IField

 

IField GetStaticField(String name)

 

func GetStaticField(_ name: String) -> IField

 

IField GetStaticField(String name)

 

Function GetStaticField(name As String) As IField

Parameters:

  • name: name of the member to search

GetStaticMethod (String, array of IType, array of ParameterModifier): IMethod

Returns the static method matching this signature

 

method GetStaticMethod(name: String; args: array of IType; modifiers: array of ParameterModifier): IMethod

 

IMethod GetStaticMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetStaticMethod(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetStaticMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetStaticMethod(name As String, args As IType(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: argument types for the method
  • modifiers: parameter modifiers for the method

GetStaticMethod (String, array of String, array of ParameterModifier): IMethod

Returns the static method matching this signature

 

method GetStaticMethod(name: String; args: array of String; modifiers: array of ParameterModifier): IMethod

 

IMethod GetStaticMethod(String name, String[] args, ParameterModifier[] modifiers)

 

func GetStaticMethod(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetStaticMethod(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetStaticMethod(name As String, args As String(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: argument types for the method
  • modifiers: parameter modifiers for the method

GetStaticMethods

Searches for a static method by name

 

method GetStaticMethods(name: String): array of IMethod

 

IMethod[] GetStaticMethods(String name)

 

func GetStaticMethods(_ name: String) -> IMethod...

 

IMethod[] GetStaticMethods(String name)

 

Function GetStaticMethods(name As String) As IMethod()

Parameters:

  • name: name of the member to search

GetStaticProperties

Searches for a static property by name

 

method GetStaticProperties(name: String): array of IProperty

 

IProperty[] GetStaticProperties(String name)

 

func GetStaticProperties(_ name: String) -> IProperty...

 

IProperty[] GetStaticProperties(String name)

 

Function GetStaticProperties(name As String) As IProperty()

Parameters:

  • name: name of the member to search

GetStaticProperty (String, array of IType, array of ParameterModifier): IProperty

Returns the static property matching this signature

 

method GetStaticProperty(name: String; args: array of IType; modifiers: array of ParameterModifier): IProperty

 

IProperty GetStaticProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetStaticProperty(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetStaticProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetStaticProperty(name As String, args As IType(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetStaticProperty (String, array of String, array of ParameterModifier): IProperty

Returns the static property matching this signature

 

method GetStaticProperty(name: String; args: array of String; modifiers: array of ParameterModifier): IProperty

 

IProperty GetStaticProperty(String name, String[] args, ParameterModifier[] modifiers)

 

func GetStaticProperty(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetStaticProperty(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetStaticProperty(name As String, args As String(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

ImplementsCount

Number of implements in this class

 

property ImplementsCount: Int32 read;

 

Int32 ImplementsCount { get; }

 

var ImplementsCount: Int32 { get{} }

 

Int32 ImplementsCount { __get; }

 

ReadOnly Property ImplementsCount() As Int32

InterfaceCount

Number of interfaces this type implements

 

property InterfaceCount: Int32 read;

 

Int32 InterfaceCount { get; }

 

var InterfaceCount: Int32 { get{} }

 

Int32 InterfaceCount { __get; }

 

ReadOnly Property InterfaceCount() As Int32

IsAssignableFrom

Checks if the type in the parameter can be assigned to this type

 

method IsAssignableFrom(aType: IType): Boolean

 

Boolean IsAssignableFrom(IType aType)

 

func IsAssignableFrom(_ aType: IType) -> Boolean

 

Boolean IsAssignableFrom(IType aType)

 

Function IsAssignableFrom(aType As IType) As Boolean

Parameters:

  • aType: type to compare to

IsAssignableTo

Checks if this type can be assigned to the one in the parameter

 

method IsAssignableTo(aType: IType): Boolean

 

Boolean IsAssignableTo(IType aType)

 

func IsAssignableTo(_ aType: IType) -> Boolean

 

Boolean IsAssignableTo(IType aType)

 

Function IsAssignableTo(aType As IType) As Boolean

Parameters:

  • aType: type to compare to

IsDelegateBlock

 

property IsDelegateBlock: Boolean read;

 

Boolean IsDelegateBlock { get; }

 

var IsDelegateBlock: Boolean { get{} }

 

Boolean IsDelegateBlock { __get; }

 

ReadOnly Property IsDelegateBlock() As Boolean

IsInterface

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

 

ReadOnly Property IsInterface() As Boolean

IsReferenceType

Returns true if the type is a reference type. Note that false does not necessarily mean it is a value type, it could also be a generic type that can be either

 

property IsReferenceType: Boolean read;

 

Boolean IsReferenceType { get; }

 

var IsReferenceType: Boolean { get{} }

 

Boolean IsReferenceType { __get; }

 

ReadOnly Property IsReferenceType() As Boolean

IsRefStruct

 

property IsRefStruct: Boolean read;

 

Boolean IsRefStruct { get; }

 

var IsRefStruct: Boolean { get{} }

 

Boolean IsRefStruct { __get; }

 

ReadOnly Property IsRefStruct() As Boolean

IsValueType

Returns true if the type is a valuetype. Note that System.Enum and System.ValueType themselves are not valuetypes. Note that false does not necessarily mean it is a reference type, it could be a generic type that can be either

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

 

ReadOnly Property IsValueType() As Boolean

Kind

Returns the type kind

 

property Kind: TypeKind read;

 

TypeKind Kind { get; }

 

var Kind: TypeKind { get{} }

 

TypeKind Kind { __get; }

 

ReadOnly Property Kind() As TypeKind

MappedToType

 

property MappedToType: IType read;

 

IType MappedToType { get; }

 

var MappedToType: IType { get{} }

 

IType MappedToType { __get; }

 

ReadOnly Property MappedToType() As IType

Model

 

property Model: ClassModel read;

 

ClassModel Model { get; }

 

var Model: ClassModel { get{} }

 

ClassModel Model { __get; }

 

ReadOnly Property Model() As ClassModel

Module

 

property Module: Boolean read;

 

Boolean Module { get; }

 

var Module: Boolean { get{} }

 

Boolean Module { __get; }

 

ReadOnly Property Module() As Boolean

Name

Returns the name of this type without a namespace

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Namespace

Returns the namespace of this type without the type

 

property Namespace: String read;

 

String Namespace { get; }

 

var Namespace: String { get{} }

 

String Namespace { __get; }

 

ReadOnly Property Namespace() As String

NestedClassCount

Returns the number of nested classes

 

property NestedClassCount: Int32 read;

 

Int32 NestedClassCount { get; }

 

var NestedClassCount: Int32 { get{} }

 

Int32 NestedClassCount { __get; }

 

ReadOnly Property NestedClassCount() As Int32

ParentType

Returns the parent type

 

property ParentType: IType read;

 

IType ParentType { get; }

 

var ParentType: IType { get{} }

 

IType ParentType { __get; }

 

ReadOnly Property ParentType() As IType

SoftInterface

Returns if this type is a soft interface

 

property SoftInterface: Boolean read;

 

Boolean SoftInterface { get; }

 

var SoftInterface: Boolean { get{} }

 

Boolean SoftInterface { __get; }

 

ReadOnly Property SoftInterface() As Boolean

Static

Static class that is generally defined as an abstract and sealed class

 

property Static: Boolean read;

 

Boolean Static { get; }

 

var Static: Boolean { get{} }

 

Boolean Static { __get; }

 

ReadOnly Property Static() As Boolean

StructCopyCtor

 

property StructCopyCtor: IMethod read;

 

IMethod StructCopyCtor { get; }

 

var StructCopyCtor: IMethod { get{} }

 

IMethod StructCopyCtor { __get; }

 

ReadOnly Property StructCopyCtor() As IMethod

StructDtor

 

property StructDtor: IMethod read;

 

IMethod StructDtor { get; }

 

var StructDtor: IMethod { get{} }

 

IMethod StructDtor { __get; }

 

ReadOnly Property StructDtor() As IMethod

TypeCode

 

property TypeCode: Int32 read;

 

Int32 TypeCode { get; }

 

var TypeCode: Int32 { get{} }

 

Int32 TypeCode { __get; }

 

ReadOnly Property TypeCode() As Int32

 

DelegateSignature

 

property DelegateSignature: IMethod read;

 

IMethod DelegateSignature { get; }

 

var DelegateSignature: IMethod { get{} }

 

IMethod DelegateSignature { __get; }

 

ReadOnly Property DelegateSignature() As IMethod

ExtensionTypeFor

 

property ExtensionTypeFor: IType read;

 

IType ExtensionTypeFor { get; }

 

var ExtensionTypeFor: IType { get{} }

 

IType ExtensionTypeFor { __get; }

 

ReadOnly Property ExtensionTypeFor() As IType

Fullname

The full name of the type including any type parameters or array specifiers

 

property Fullname: String read;

 

String Fullname { get; }

 

var Fullname: String { get{} }

 

String Fullname { __get; }

 

ReadOnly Property Fullname() As String

ImplementsCount

Number of implements in this class

 

property ImplementsCount: Int32 read;

 

Int32 ImplementsCount { get; }

 

var ImplementsCount: Int32 { get{} }

 

Int32 ImplementsCount { __get; }

 

ReadOnly Property ImplementsCount() As Int32

InterfaceCount

Number of interfaces this type implements

 

property InterfaceCount: Int32 read;

 

Int32 InterfaceCount { get; }

 

var InterfaceCount: Int32 { get{} }

 

Int32 InterfaceCount { __get; }

 

ReadOnly Property InterfaceCount() As Int32

IsDelegateBlock

 

property IsDelegateBlock: Boolean read;

 

Boolean IsDelegateBlock { get; }

 

var IsDelegateBlock: Boolean { get{} }

 

Boolean IsDelegateBlock { __get; }

 

ReadOnly Property IsDelegateBlock() As Boolean

IsInterface

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

 

ReadOnly Property IsInterface() As Boolean

IsReferenceType

Returns true if the type is a reference type. Note that false does not necessarily mean it is a value type, it could also be a generic type that can be either

 

property IsReferenceType: Boolean read;

 

Boolean IsReferenceType { get; }

 

var IsReferenceType: Boolean { get{} }

 

Boolean IsReferenceType { __get; }

 

ReadOnly Property IsReferenceType() As Boolean

IsRefStruct

 

property IsRefStruct: Boolean read;

 

Boolean IsRefStruct { get; }

 

var IsRefStruct: Boolean { get{} }

 

Boolean IsRefStruct { __get; }

 

ReadOnly Property IsRefStruct() As Boolean

IsValueType

Returns true if the type is a valuetype. Note that System.Enum and System.ValueType themselves are not valuetypes. Note that false does not necessarily mean it is a reference type, it could be a generic type that can be either

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

 

ReadOnly Property IsValueType() As Boolean

Kind

Returns the type kind

 

property Kind: TypeKind read;

 

TypeKind Kind { get; }

 

var Kind: TypeKind { get{} }

 

TypeKind Kind { __get; }

 

ReadOnly Property Kind() As TypeKind

MappedToType

 

property MappedToType: IType read;

 

IType MappedToType { get; }

 

var MappedToType: IType { get{} }

 

IType MappedToType { __get; }

 

ReadOnly Property MappedToType() As IType

Model

 

property Model: ClassModel read;

 

ClassModel Model { get; }

 

var Model: ClassModel { get{} }

 

ClassModel Model { __get; }

 

ReadOnly Property Model() As ClassModel

Module

 

property Module: Boolean read;

 

Boolean Module { get; }

 

var Module: Boolean { get{} }

 

Boolean Module { __get; }

 

ReadOnly Property Module() As Boolean

Name

Returns the name of this type without a namespace

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

Namespace

Returns the namespace of this type without the type

 

property Namespace: String read;

 

String Namespace { get; }

 

var Namespace: String { get{} }

 

String Namespace { __get; }

 

ReadOnly Property Namespace() As String

NestedClassCount

Returns the number of nested classes

 

property NestedClassCount: Int32 read;

 

Int32 NestedClassCount { get; }

 

var NestedClassCount: Int32 { get{} }

 

Int32 NestedClassCount { __get; }

 

ReadOnly Property NestedClassCount() As Int32

ParentType

Returns the parent type

 

property ParentType: IType read;

 

IType ParentType { get; }

 

var ParentType: IType { get{} }

 

IType ParentType { __get; }

 

ReadOnly Property ParentType() As IType

SoftInterface

Returns if this type is a soft interface

 

property SoftInterface: Boolean read;

 

Boolean SoftInterface { get; }

 

var SoftInterface: Boolean { get{} }

 

Boolean SoftInterface { __get; }

 

ReadOnly Property SoftInterface() As Boolean

Static

Static class that is generally defined as an abstract and sealed class

 

property Static: Boolean read;

 

Boolean Static { get; }

 

var Static: Boolean { get{} }

 

Boolean Static { __get; }

 

ReadOnly Property Static() As Boolean

StructCopyCtor

 

property StructCopyCtor: IMethod read;

 

IMethod StructCopyCtor { get; }

 

var StructCopyCtor: IMethod { get{} }

 

IMethod StructCopyCtor { __get; }

 

ReadOnly Property StructCopyCtor() As IMethod

StructDtor

 

property StructDtor: IMethod read;

 

IMethod StructDtor { get; }

 

var StructDtor: IMethod { get{} }

 

IMethod StructDtor { __get; }

 

ReadOnly Property StructDtor() As IMethod

TypeCode

 

property TypeCode: Int32 read;

 

Int32 TypeCode { get; }

 

var TypeCode: Int32 { get{} }

 

Int32 TypeCode { __get; }

 

ReadOnly Property TypeCode() As Int32

 

GetBinaryOperators

Returns a list of operator overload methods

 

method GetBinaryOperators(operator: BinaryOperator): array of IMethod

 

IMethod[] GetBinaryOperators(BinaryOperator operator)

 

func GetBinaryOperators(_ operator: BinaryOperator) -> IMethod...

 

IMethod[] GetBinaryOperators(BinaryOperator operator)

 

Function GetBinaryOperators(operator As BinaryOperator) As IMethod()

Parameters:

  • operator: Operator to look for

GetConstant

Returns a constant by name

 

method GetConstant(name: String): IConstant

 

IConstant GetConstant(String name)

 

func GetConstant(_ name: String) -> IConstant

 

IConstant GetConstant(String name)

 

Function GetConstant(name As String) As IConstant

Parameters:

  • name: name of the member to search

GetConstructors

Returns all constructors for this class or nil

 

method GetConstructors: array of IMethod

 

IMethod[] GetConstructors()

 

func GetConstructors() -> IMethod...

 

IMethod[] GetConstructors()

 

Function GetConstructors() As IMethod()

GetEventForMethod

 

method GetEventForMethod(method: IMethod): IEvent

 

IEvent GetEventForMethod(IMethod method)

 

func GetEventForMethod(_ method: IMethod) -> IEvent

 

IEvent GetEventForMethod(IMethod method)

 

Function GetEventForMethod(method As IMethod) As IEvent

Parameters:

  • method:

GetEvents

Searches through the class for events

 

method GetEvents(name: String): array of IEvent

 

IEvent[] GetEvents(String name)

 

func GetEvents(_ name: String) -> IEvent...

 

IEvent[] GetEvents(String name)

 

Function GetEvents(name As String) As IEvent()

Parameters:

  • name: name of the member to search

GetField

Searches for a field by name

 

method GetField(name: String): IField

 

IField GetField(String name)

 

func GetField(_ name: String) -> IField

 

IField GetField(String name)

 

Function GetField(name As String) As IField

Parameters:

  • name: name of the member to search

GetImplements

Returns the implements for this type by index

 

method GetImplements(no: Int32): IImplements

 

IImplements GetImplements(Int32 no)

 

func GetImplements(_ no: Int32) -> IImplements

 

IImplements GetImplements(Int32 no)

 

Function GetImplements(no As Int32) As IImplements

Parameters:

  • no: index

GetInterface

Returns the interfaces this type implements by index

 

method GetInterface(no: Int32): IType

 

IType GetInterface(Int32 no)

 

func GetInterface(_ no: Int32) -> IType

 

IType GetInterface(Int32 no)

 

Function GetInterface(no As Int32) As IType

Parameters:

  • no: index

GetMembers

Returns all members in this class

 

method GetMembers: array of IMember

 

IMember[] GetMembers()

 

func GetMembers() -> IMember...

 

IMember[] GetMembers()

 

Function GetMembers() As IMember()

GetMethod (String, array of IType, array of ParameterModifier): IMethod

Returns the instance method matching this signature

 

method GetMethod(name: String; args: array of IType; modifiers: array of ParameterModifier): IMethod

 

IMethod GetMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetMethod(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetMethod(name As String, args As IType(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: parameter types for this method
  • modifiers: modifiers for the parameters

GetMethod (String, array of String, array of ParameterModifier): IMethod

Returns the instance method matching this signature

 

method GetMethod(name: String; args: array of String; modifiers: array of ParameterModifier): IMethod

 

IMethod GetMethod(String name, String[] args, ParameterModifier[] modifiers)

 

func GetMethod(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetMethod(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetMethod(name As String, args As String(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: parameter types for this method
  • modifiers: modifiers for the parameters

GetMethods

Searches for a method and results the list of matches

 

method GetMethods(name: String): array of IMethod

 

IMethod[] GetMethods(String name)

 

func GetMethods(_ name: String) -> IMethod...

 

IMethod[] GetMethods(String name)

 

Function GetMethods(name As String) As IMethod()

Parameters:

  • name: name of the member to search

GetNestedClass (String): ITypeReference

Returns a nested class by index. The total number of items can be retrieved by accessing Count

 

method GetNestedClass(name: String): ITypeReference

 

ITypeReference GetNestedClass(String name)

 

func GetNestedClass(_ name: String) -> ITypeReference

 

ITypeReference GetNestedClass(String name)

 

Function GetNestedClass(name As String) As ITypeReference

Parameters:

  • name: name of the member to search

GetNestedClass (Int32): ITypeReference

Returns a nested class by index. The total number of items can be retrieved by accessing Count

 

method GetNestedClass(no: Int32): ITypeReference

 

ITypeReference GetNestedClass(Int32 no)

 

func GetNestedClass(_ no: Int32) -> ITypeReference

 

ITypeReference GetNestedClass(Int32 no)

 

Function GetNestedClass(no As Int32) As ITypeReference

Parameters:

  • no: index

GetOperators

Returns the unary operators by operator type

 

method GetOperators(operator: UnaryOperator): array of IMethod

 

IMethod[] GetOperators(UnaryOperator operator)

 

func GetOperators(_ operator: UnaryOperator) -> IMethod...

 

IMethod[] GetOperators(UnaryOperator operator)

 

Function GetOperators(operator As UnaryOperator) As IMethod()

Parameters:

  • operator: operator to look for

GetProperties

Searches for a property by name

 

method GetProperties(name: String): array of IProperty

 

IProperty[] GetProperties(String name)

 

func GetProperties(_ name: String) -> IProperty...

 

IProperty[] GetProperties(String name)

 

Function GetProperties(name As String) As IProperty()

Parameters:

  • name: name of the member to search

GetProperty (String, array of IType, array of ParameterModifier): IProperty

Returns the instance property matching this signature

 

method GetProperty(name: String; args: array of IType; modifiers: array of ParameterModifier): IProperty

 

IProperty GetProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetProperty(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetProperty(name As String, args As IType(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetProperty (String, array of String, array of ParameterModifier): IProperty

Returns the instance property matching this signature

 

method GetProperty(name: String; args: array of String; modifiers: array of ParameterModifier): IProperty

 

IProperty GetProperty(String name, String[] args, ParameterModifier[] modifiers)

 

func GetProperty(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetProperty(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetProperty(name As String, args As String(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetPropertyForMethod

 

method GetPropertyForMethod(method: IMethod): IProperty

 

IProperty GetPropertyForMethod(IMethod method)

 

func GetPropertyForMethod(_ method: IMethod) -> IProperty

 

IProperty GetPropertyForMethod(IMethod method)

 

Function GetPropertyForMethod(method As IMethod) As IProperty

Parameters:

  • method:

GetStaticEvents

Searches for a static event by name

 

method GetStaticEvents(name: String): array of IEvent

 

IEvent[] GetStaticEvents(String name)

 

func GetStaticEvents(_ name: String) -> IEvent...

 

IEvent[] GetStaticEvents(String name)

 

Function GetStaticEvents(name As String) As IEvent()

Parameters:

  • name: name of the member to search

GetStaticField

Searches for a static field by name

 

method GetStaticField(name: String): IField

 

IField GetStaticField(String name)

 

func GetStaticField(_ name: String) -> IField

 

IField GetStaticField(String name)

 

Function GetStaticField(name As String) As IField

Parameters:

  • name: name of the member to search

GetStaticMethod (String, array of IType, array of ParameterModifier): IMethod

Returns the static method matching this signature

 

method GetStaticMethod(name: String; args: array of IType; modifiers: array of ParameterModifier): IMethod

 

IMethod GetStaticMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetStaticMethod(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetStaticMethod(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetStaticMethod(name As String, args As IType(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: argument types for the method
  • modifiers: parameter modifiers for the method

GetStaticMethod (String, array of String, array of ParameterModifier): IMethod

Returns the static method matching this signature

 

method GetStaticMethod(name: String; args: array of String; modifiers: array of ParameterModifier): IMethod

 

IMethod GetStaticMethod(String name, String[] args, ParameterModifier[] modifiers)

 

func GetStaticMethod(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IMethod

 

IMethod GetStaticMethod(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetStaticMethod(name As String, args As String(), modifiers As ParameterModifier()) As IMethod

Parameters:

  • name: name of the member to search
  • args: argument types for the method
  • modifiers: parameter modifiers for the method

GetStaticMethods

Searches for a static method by name

 

method GetStaticMethods(name: String): array of IMethod

 

IMethod[] GetStaticMethods(String name)

 

func GetStaticMethods(_ name: String) -> IMethod...

 

IMethod[] GetStaticMethods(String name)

 

Function GetStaticMethods(name As String) As IMethod()

Parameters:

  • name: name of the member to search

GetStaticProperties

Searches for a static property by name

 

method GetStaticProperties(name: String): array of IProperty

 

IProperty[] GetStaticProperties(String name)

 

func GetStaticProperties(_ name: String) -> IProperty...

 

IProperty[] GetStaticProperties(String name)

 

Function GetStaticProperties(name As String) As IProperty()

Parameters:

  • name: name of the member to search

GetStaticProperty (String, array of IType, array of ParameterModifier): IProperty

Returns the static property matching this signature

 

method GetStaticProperty(name: String; args: array of IType; modifiers: array of ParameterModifier): IProperty

 

IProperty GetStaticProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

func GetStaticProperty(_ name: String, _ args: IType..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetStaticProperty(String name, IType[] args, ParameterModifier[] modifiers)

 

Function GetStaticProperty(name As String, args As IType(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

GetStaticProperty (String, array of String, array of ParameterModifier): IProperty

Returns the static property matching this signature

 

method GetStaticProperty(name: String; args: array of String; modifiers: array of ParameterModifier): IProperty

 

IProperty GetStaticProperty(String name, String[] args, ParameterModifier[] modifiers)

 

func GetStaticProperty(_ name: String, _ args: String..., _ modifiers: ParameterModifier...) -> IProperty

 

IProperty GetStaticProperty(String name, String[] args, ParameterModifier[] modifiers)

 

Function GetStaticProperty(name As String, args As String(), modifiers As ParameterModifier()) As IProperty

Parameters:

  • name: name of the member to search
  • args: argument types for the property (or nil)
  • modifiers: argument modifiers for the property (or nil)

IsAssignableFrom

Checks if the type in the parameter can be assigned to this type

 

method IsAssignableFrom(aType: IType): Boolean

 

Boolean IsAssignableFrom(IType aType)

 

func IsAssignableFrom(_ aType: IType) -> Boolean

 

Boolean IsAssignableFrom(IType aType)

 

Function IsAssignableFrom(aType As IType) As Boolean

Parameters:

  • aType: type to compare to

IsAssignableTo

Checks if this type can be assigned to the one in the parameter

 

method IsAssignableTo(aType: IType): Boolean

 

Boolean IsAssignableTo(IType aType)

 

func IsAssignableTo(_ aType: IType) -> Boolean

 

Boolean IsAssignableTo(IType aType)

 

Function IsAssignableTo(aType As IType) As Boolean

Parameters:

  • aType: type to compare to