3 using System.Collections.Generic;
5 using SiliconStudio.Shaders.Ast;
7 namespace SiliconStudio.
Paradox.Shaders.Parser.Ast
14 #region Constructors and Destructors
31 Collection = collection;
36 #region Public Properties
64 #region Public Methods
70 ChildrenList.Add(Collection);
72 ChildrenList.Add(Body);
79 return string.Format(
"foreach({0} in {1}) {{...}}",
Variable, Collection);
ForEachStatement(Variable variable, Expression collection)
Initializes a new instance of the ForEachStatement class.
ForEachStatement()
Initializes a new instance of the ForStatement class.
A tag interface to identify a container for scope declarations.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
override string ToString()
Base root class for all statements.