CxStatementWhile

Description

sealed class Tinman.Core.Cx.Statements.CxStatementWhile

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

while (a < 10)
{
  b = a;
  a++;
  ...
}

while (a < 10)
  a++;

ICxExpressionContainer.Expression returns the expression that represents the loop condition.
ICxStatementContainer.Statement returns the statement that represents the loop body.

Public / Constructors

Cx​Statement​While


public constructor CxStatementWhile → (2)

statement in : CxStatement

[not-null]
See ICxStatementContainer.Statement.

expression in : CxExpression

[not-null]
See ICxExpressionContainer.Expression.

Creates a new instance of CxStatementWhile.