4 using System.Collections.Generic;
6 namespace SiliconStudio.Shaders.Ast
38 Initialize(target, arguments);
44 Arguments =
new List<Expression>();
45 if (arguments != null)
46 Arguments.AddRange(arguments);
63 public List<Expression> Arguments {
get; set; }
69 ChildrenList.AddRange(Arguments);
70 ChildrenList.Add(Target);
77 return string.Format(
"{0}({1})", Target, string.Join(
",", Arguments));
MethodInvocationExpression(Expression target, params Expression[] arguments)
Initializes a new instance of the MethodInvocationExpression class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
MethodInvocationExpression()
Initializes a new instance of the MethodInvocationExpression class.
MethodInvocationExpression(string name, params Expression[] arguments)
Initializes a new instance of the MethodInvocationExpression class.
override string ToString()
A reference to a variable.