ILocal 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.


ILocal can be used to query or modify information about the locals defined in the current method.

ILocal = public interface


Namespace: Cirrus


Members

Property
Description
Use() Set this local to "used" and no warnings will be emitted about unused locals


Properties

Property
Description
Name: string Gets or sets the name of a local; if not set at all, no debug info will be created for this
Pinned: Boolean If set, the local will be considered "pinned" and will only be allowed to set once. The value it is set to won't be moved in memory by the QC until the method exits
ReadOnly: Boolean If set, the variable cannot be written to
&Type: IType The type of this local
Used: Boolean Returns if this local is used or not (cannot be set; use Use() to set to true)
Index: Integer Returns the index of this local


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox