ICSharpCode.NRefactory.CSharp.ConstructFixer.GetIndent C# (CSharp) Method

GetIndent() private method

private GetIndent ( AstNode node ) : string
node AstNode
return string
		string GetIndent(AstNode node)
		{
			if (node == null || node is SyntaxTree)
				return "";
			if (node is BlockStatement || node is TypeDeclaration || node is NamespaceDeclaration)
				return "\t" + GetIndent(node.Parent);
			return GetIndent(node.Parent);
		}