IServices Interface

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


IServices = public interface

The services interface is an interface for the current project. It makes it possible to define new types, find existing ones and emit messages.

Namespace: Cirrus


Members

Method
Description
CreateArray(aSubType: IType): ISimpleArrayTypeCreates a new array type
CreateArray(aSubType: IType; aLowBounds, aHighBounds: array of Integer): IMultiDimArrayTypeCreates a new array type
CreateGenericInstance(aBaseType: IType; aParameters: array of IType): IGenericInstantiationTypeCreates a generic instantiation
CreateModifiedType(aModified, aModifier: IType):IModifiedTypeCreates a new ModOpt type; these types are hints to compilers
CreatePointer(aSubType: IType): IPointerTypeCreates an unmanaged pointer type
CreateReference(aSubType: IType): IManagedReferenceTypeCreates a managed reference type
CreateTypeDefinition(aNestedIn: ITypeDefinition; aName: String; aKind: TypeDefKind):ITypeDefinitionCreates a new nested type
CreateTypeDefinition(aNamspace, aName: String; aKind: TypeDefKind): ITypeDefinitionCreates a new nested type
EmitError(aPosition: IPosition; aMessage: String)Emits an error in the compiler
EmitError(aMessage: String)Emits an error in the compiler
EmitHint(aPosition: IPosition; aMessage: String)Emits a hint in the compiler
EmitHint(aMessage: String)Emits a hint in the compiler
EmitWarning(aPosition: IPosition; aMessage: String)Emits a warning in the compiler
EmitWarning(aMessage: String)Emits a warning in the compiler
FindType(aMessage: String):ITypeReferenceSearches for a type by name
GetType(aMessage: String):ITypeReferenceSearches for a type by name
IsDefined(aDefine: string): Boolean Returns true, if at this current source position, the define passed is set (case insensitive)


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox