CxStatementDo

Description

sealed class Tinman.Core.Cx.Statements.CxStatementDo

Derived from

CxStatement abstract

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

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

Public / Constructors

CxStatementDo


public constructor CxStatementDo → (2)

body in : CxStatementBlock

[not-null]
See Body.

condition in : CxExpression

[not-null]
See Condition.

Creates a new instance of CxStatementDo.

Public / Attributes

Body


public attribute Body → (get)

value : CxStatementBlock

[not-null]
The loop body.

Returns the statement block that represents the loop body.

Condition


public attribute Condition → (get)

value : CxExpression

[not-null]
The loop condition.

Returns the expression that represents the loop condition.