Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Statement.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using System.Collections.Generic;
5 
6 namespace SiliconStudio.Shaders.Ast
7 {
8  /// <summary>
9  /// Base root class for all statements.
10  /// </summary>
11  public abstract class Statement : Node, IAttributes
12  {
13  /// <summary>
14  /// Initializes a new instance of the <see cref="Statement"/> class.
15  /// </summary>
16  protected Statement()
17  {
18  Attributes = new List<AttributeBase>();
19  }
20 
21  /// <summary>
22  /// Gets or sets the attributes.
23  /// </summary>
24  /// <value>
25  /// The attributes.
26  /// </value>
27  public List<AttributeBase> Attributes { get; set; }
28  }
29 }
Abstract node.
Definition: Node.cs:15
Statement()
Initializes a new instance of the Statement class.
Definition: Statement.cs:16
Base root class for all statements.
Definition: Statement.cs:11