Enhanced C#
Language of your choice: library documentation
Properties | Public Member Functions | Protected fields | List of all members
Loyc.Syntax.Les.NodePrinterWriterBase Class Referenceabstract

Abstract base class for INodePrinterWriter. Has an protected _indentLevel field that is increased by Indent() and decreased by Dedent(). More...


Source file:
Inheritance diagram for Loyc.Syntax.Les.NodePrinterWriterBase:
Loyc.Syntax.Les.INodePrinterWriter Loyc.Syntax.Les.DefaultNodePrinterWriter

Remarks

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)
 

Protected fields

int _indentLevel = 0