BeginStatement Class

From The Oxygene Language Wiki

Jump to:navigation, search

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

Method
Description
constructor(params aItems: array of Statement)Constructor
constructor(aLocals: sequence of LocalVariable; params aItems: array of Statement)Constructor
constructorConstructor
Add(aItem: Statement)Add a new statement to the list
ClearClear the statement list
Remove(aItem: Statement)Remove a specific statement
RemoveAt(no: Integer)Remove a specific statement


Properties

Property
Description
Count: IntegerReturns the number of elements in this statement collection
Item[no: Integer]: StatementIndexer to access the statement by number
Locals: List<LocalVariable>List of local variables in this statement


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox