4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast
17 #region Constructors and Destructors
35 ReturnType = returntype;
42 #region Public Properties
50 public MethodDeclaration Declaration {
get {
return declaration; } set { declaration = value; } }
63 #region Public Methods
69 ChildrenList.Add(Body);
A tag interface to identify a container for scope declarations.
A method definition with a body of statements.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
MethodDefinition()
Initializes a new instance of the MethodDefinition class.
MethodDefinition(TypeBase returntype, string name)
Initializes a new instance of the MethodDefinition class.