BeginStatement Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable, DefaultMember('Item')] BeginStatement = public class(Statement)
BeginStatement represents a block statement, a begin/end statement in code. It holds a list of statements, and optionally a list of local variables introduced inside this statement. All local variables created here can be referenced by using a NamedLocalValue or a BeginLocalValue Class.
Namespace: Cirrus Statements
Members
| | |
|---|---|
| constructor(params aItems: array of Statement) | Constructor |
| constructor(aLocals: sequence of LocalVariable; params aItems: array of Statement) | Constructor |
| constructor | Constructor |
| Add(aItem: Statement) | Add a new statement to the list |
| Clear | Clear the statement list |
| Remove(aItem: Statement) | Remove a specific statement |
| RemoveAt(no: Integer) | Remove a specific statement |
Properties
| | |
|---|---|
| Count: Integer | Returns the number of elements in this statement collection |
| Item[no: Integer]: Statement | Indexer to access the statement by number |
| Locals: List<LocalVariable> | List of local variables in this statement |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Statement Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To