4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
14 #region Public Properties
30 public bool IsDoWhile {
get; set; }
42 #region Public Methods
48 ChildrenList.Add(Condition);
58 return string.Format(
"do {{...}} while ({0})", Condition);
61 return string.Format(
"while ({0}) {{...}}", Condition);
override string ToString()
While and Do-While statement.
A tag interface to identify a container for scope declarations.
Base root class for all statements.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes