4 using System.Collections.Generic;
6 namespace SiliconStudio.Shaders.Ast
27 TypeInference.TargetType = variable.Type.ResolveType();
70 ChildrenList.Add(Name);
82 return variableReferenceExpression == null ? null : variableReferenceExpression.Name.Text;
static string GetVariableName(Expression expression)
Gets a name of the variable referenced by an expression.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
VariableReferenceExpression()
Initializes a new instance of the VariableReferenceExpression class.
override string ToString()
A reference to a variable.
VariableReferenceExpression(Identifier name)
Initializes a new instance of the VariableReferenceExpression class.
VariableReferenceExpression(Variable variable)
Initializes a new instance of the VariableReferenceExpression class.