C# Class Loyc.Syntax.Les.Les2PrinterWriter

Helper class of Les2Printer that ensures there is a tokens are spaced apart properly.
Inheritance: DefaultNodePrinterWriter
显示文件 Open project: qwertie/ecsharp Class Usage Examples

Public Methods

Method Description
Les2PrinterWriter ( StringBuilder sb, string indentString = "\t", string lineSeparator = "\n", string labelIndent = "" ) : System
Les2PrinterWriter ( TextWriter @out, string indentString = "\t", string lineSeparator = "\n", string labelIndent = "" ) : System

Protected Methods

Method Description
StartToken ( char nextCh ) : void

Method Details

Les2PrinterWriter() public method

public Les2PrinterWriter ( StringBuilder sb, string indentString = "\t", string lineSeparator = "\n", string labelIndent = "" ) : System
sb StringBuilder
indentString string
lineSeparator string
labelIndent string
return System

Les2PrinterWriter() public method

public Les2PrinterWriter ( TextWriter @out, string indentString = "\t", string lineSeparator = "\n", string labelIndent = "" ) : System
@out System.IO.TextWriter
indentString string
lineSeparator string
labelIndent string
return System

StartToken() protected method

protected StartToken ( char nextCh ) : void
nextCh char
return void