3 using System.Collections.Generic;
5 using SiliconStudio.Shaders.Ast;
7 namespace SiliconStudio.
Paradox.Shaders.Parser.Ast
11 #region Public Properties
27 Body =
new List<Node>();
34 public List<Node> Body {
get; set; }
38 #region Public Methods
44 ChildrenList.Add(Name);
45 ChildrenList.AddRange(Body);
52 return string.Format(
"namespace {0} {{...}}", Name);
A tag interface to identify a container for scope declarations.
override string ToString()
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
NamespaceBlock(string name)
Initializes a new instance of the TypeBase class.
NamespaceBlock()
Initializes a new instance of the NamespaceBlock class.