4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
14 #region Constructors and Destructors
36 #region Public Properties
44 public Node Content {
get; set; }
48 #region Public Methods
54 ChildrenList.Add(Content);
61 return string.Format(
"{0};", Content == null ? string.Empty : Content.ToString());
override string ToString()
DeclarationStatement(Node content)
Initializes a new instance of the DeclarationStatement class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
DeclarationStatement()
Initializes a new instance of the DeclarationStatement class.
A declaration inside a statement.
Base root class for all statements.