4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
14 #region Constructors and Destructors
36 #region Public Properties
51 #region Public Methods
59 ChildrenList.Add(Case);
68 return Case == null ?
"default:" : string.Format(
"case {0}:", Case);
override string ToString()
CaseStatement(Expression @case)
Initializes a new instance of the CaseStatement class.
Base root class for all statements.
CaseStatement()
Initializes a new instance of the CaseStatement class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
A single case or default statement.