Rhino.Ast.Scope.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("{\n");
			foreach (Node kid in this)
			{
				sb.Append(((AstNode)kid).ToSource(depth + 1));
			}
			sb.Append(MakeIndent(depth));
			sb.Append("}\n");
			return sb.ToString();
		}