Enhanced C#
Language of your choice: library documentation
|
Abstract base class for INodePrinterWriter. Has an protected _indentLevel
field that is increased by Indent() and decreased by Dedent().
More...
Abstract base class for INodePrinterWriter. Has an protected _indentLevel
field that is increased by Indent() and decreased by Dedent().
Properties | |
abstract object | Target [get] |
abstract char | LastCharWritten [get] |
abstract int | LineNumber [get] |
Properties inherited from Loyc.Syntax.Les.INodePrinterWriter | |
object | Target [get] |
Gets the object being written to (TextWriter or StringBuilder) More... | |
char | LastCharWritten [get] |
int | LineNumber [get] |
Public Member Functions | |
virtual void | Write (char c, bool finishToken) |
abstract void | Write (string s, bool finishToken) |
abstract void | Newline (bool pending) |
abstract void | Space () |
virtual void | BeginStatement () |
abstract void | BeginLabel () |
virtual int | Indent () |
virtual int | Dedent () |
virtual void | Push (LNode n) |
virtual void | Pop (LNode n) |
abstract void | Reset () |
Called when a new, separate printing operation begins. More... | |
Protected fields | |
int | _indentLevel = 0 |
|
pure virtual |
Called when a new, separate printing operation begins.
Implements Loyc.Syntax.Les.INodePrinterWriter.
Implemented in Loyc.Syntax.Les.DefaultNodePrinterWriter.