4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
19 Groups =
new List<SwitchCaseGroup>();
22 #region Public Properties
38 public List<SwitchCaseGroup> Groups {
get; set; }
42 #region Public Methods
48 ChildrenList.Add(Condition);
49 ChildrenList.AddRange(Groups);
56 return string.Format(
"switch ({0}) {{...}}", Condition);
SwitchStatement()
Initializes a new instance of the SwitchStatement class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
Base root class for all statements.
override string ToString()