4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
20 Cases =
new List<CaseStatement>();
24 #region Public Properties
32 public List<CaseStatement> Cases {
get; set; }
44 #region Public Methods
50 ChildrenList.AddRange(Cases);
51 ChildrenList.Add(Statements);
58 return string.Format(
"{0} ...", string.Join(
"\n", Cases));
override string ToString()
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
A group of cases and default attached to their statements.
SwitchCaseGroup()
Initializes a new instance of the SwitchCaseGroup class.