C# Class Loyc.Syntax.Les.NodePrinterWriterBase

Abstract base class for INodePrinterWriter. Has an protected _indentLevel field that is increased by Indent() and decreased by Dedent().
Inheritance: INodePrinterWriter
ファイルを表示 Open project: qwertie/ecsharp

Protected Properties

Property Type Description
_indentLevel int

Public Methods

Method Description
BeginLabel ( ) : void
BeginStatement ( ) : void
Dedent ( ) : int
Indent ( ) : int
Newline ( bool pending ) : void
Pop ( LNode n ) : void
Push ( LNode n ) : void
Space ( ) : void
Write ( char c, bool finishToken ) : void
Write ( string s, bool finishToken ) : void

Method Details

BeginLabel() public abstract method

public abstract BeginLabel ( ) : void
return void

BeginStatement() public method

public BeginStatement ( ) : void
return void

Dedent() public method

public Dedent ( ) : int
return int

Indent() public method

public Indent ( ) : int
return int

Newline() public abstract method

public abstract Newline ( bool pending ) : void
pending bool
return void

Pop() public method

public Pop ( LNode n ) : void
n LNode
return void

Push() public method

public Push ( LNode n ) : void
n LNode
return void

Space() public abstract method

public abstract Space ( ) : void
return void

Write() public method

public Write ( char c, bool finishToken ) : void
c char
finishToken bool
return void

Write() public abstract method

public abstract Write ( string s, bool finishToken ) : void
s string
finishToken bool
return void

Property Details

_indentLevel protected_oe property

protected int _indentLevel
return int