IServices Interface
From The Oxygene Language Wiki
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
| | |
|---|---|
| CreateArray(aSubType: IType): ISimpleArrayType | Creates a new array type |
| CreateArray(aSubType: IType; aLowBounds, aHighBounds: array of Integer): IMultiDimArrayType | Creates a new array type |
| CreateGenericInstance(aBaseType: IType; aParameters: array of IType): IGenericInstantiationType | Creates a generic instantiation |
| CreateModifiedType(aModified, aModifier: IType):IModifiedType | Creates a new ModOpt type; these types are hints to compilers |
| CreatePointer(aSubType: IType): IPointerType | Creates an unmanaged pointer type |
| CreateReference(aSubType: IType): IManagedReferenceType | Creates a managed reference type |
| CreateTypeDefinition(aNestedIn: ITypeDefinition; aName: String; aKind: TypeDefKind):ITypeDefinition | Creates a new nested type |
| CreateTypeDefinition(aNamspace, aName: String; aKind: TypeDefKind): ITypeDefinition | Creates 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):ITypeReference | Searches for a type by name |
| GetType(aMessage: String):ITypeReference | Searches 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
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To