CxStatementDo

Description

sealed class Tinman.Core.Cx.Statements.CxStatementDo

A statement that loops over a statement block one or more times:

do
{
  a = 1;
  b = 2;
  ...
} while (c);

ICxExpressionContainer.Expression returns the condition of the loop.

Public / Constructors

Cx​Statement​Do


public constructor CxStatementDo → (2)

body in : CxStatementBlock

[not-null]
See Body.

expression in : CxExpression

[not-null]
See ICxExpressionContainer.Expression.

Creates a new instance of CxStatementDo.

Public / Attributes

Body


[Constant]
public attribute Body → (get)

value : CxStatementBlock

[not-null]
The loop body.

Returns the statement block that represents the loop body.