Rhino.Ast.VariableDeclaration.ToSource C# (CSharp) Method

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string
		public override string ToSource(int depth)
		{
			StringBuilder sb = new StringBuilder();
			sb.Append(MakeIndent(depth));
			sb.Append(DeclTypeName());
			sb.Append(" ");
			PrintList(variables, sb);
			if (IsStatement())
			{
				sb.Append(";\n");
			}
			return sb.ToString();
		}