3 using System.Collections.Generic;
5 using SiliconStudio.Shaders.Ast;
7 namespace SiliconStudio.
Paradox.Shaders.Parser.Ast
14 #region Constructors and Destructors
21 Values =
new List<Expression>();
26 #region Public Properties
34 public List<Expression> Values {
get; set; }
38 #region Public Methods
44 ChildrenList.Add(Name);
45 ChildrenList.AddRange(Values);
52 return string.Format(
"enum {0} {{...}}", Name);
58 return base.Equals(other);
62 public override bool Equals(
object obj)
64 if (ReferenceEquals(null, obj))
68 if (ReferenceEquals(
this, obj))
78 return base.GetHashCode();
83 return Equals(left, right);
88 return !Equals(left, right);
A tag interface to identify a container for scope declarations.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
override string ToString()
EnumType()
Initializes a new instance of the EnumType class.
override int GetHashCode()
Toplevel interface for a declaration.
override bool Equals(object obj)
bool Equals(EnumType other)