C# Class Pytocs.CodeModel.IndentingTextWriter

Exibir arquivo Open project: uxmal/pytocs Class Usage Examples

Public Methods

Method Description
IndentingTextWriter ( TextWriter writer ) : System
NameNeedsQuoting ( string name ) : bool
QuoteName ( string name ) : string
Write ( char ch ) : void
Write ( string s ) : void
WriteDottedName ( string dottedString ) : void
WriteName ( string name ) : void

Private Methods

Method Description
EnsureIndentation ( ) : void
WriteLine ( ) : void
WriteLine ( string str ) : void

Method Details

IndentingTextWriter() public method

public IndentingTextWriter ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

NameNeedsQuoting() public static method

public static NameNeedsQuoting ( string name ) : bool
name string
return bool

QuoteName() public static method

public static QuoteName ( string name ) : string
name string
return string

Write() public method

public Write ( char ch ) : void
ch char
return void

Write() public method

public Write ( string s ) : void
s string
return void

WriteDottedName() public method

public WriteDottedName ( string dottedString ) : void
dottedString string
return void

WriteName() public method

public WriteName ( string name ) : void
name string
return void