Base class for token-printing helper classes. See INodePrinterWriter.
More...
Source file:
Base class for token-printing helper classes. See INodePrinterWriter.
|
override object | Target [get] |
|
override char | LastCharWritten [get] |
|
override int | LineNumber [get] |
|
abstract object | Target [get] |
|
abstract char | LastCharWritten [get] |
|
abstract int | LineNumber [get] |
|
object | Target [get] |
| Gets the object being written to (TextWriter or StringBuilder) More...
|
|
char | LastCharWritten [get] |
|
int | LineNumber [get] |
|
|
| DefaultNodePrinterWriter (StringBuilder sb, string indentString="\t", string lineSeparator="\n", string labelIndent=null) |
|
| DefaultNodePrinterWriter (TextWriter @out, string indentString="\t", string lineSeparator="\n", string labelIndent=null) |
|
override void | Write (char c, bool finishToken) |
|
override void | Write (string s, bool finishToken) |
|
override void | Space () |
|
override void | BeginLabel () |
|
override void | BeginStatement () |
|
override void | Newline (bool pending=false) |
|
override void | Reset () |
| Called when a new, separate printing operation begins. More...
|
|
virtual int | Indent () |
|
virtual int | Dedent () |
|
virtual void | Push (LNode n) |
|
virtual void | Pop (LNode n) |
|
|
virtual void | FinishToken (char lastCh) |
|
abstract void | StartToken (char nextCh) |
|
|
string | _indentString |
|
string | _lineSeparator |
|
string | _labelIndent |
|
char | _lastCh = '\n' |
|
bool | _startingToken = true |
|
bool | _newlinePending = false |
|
string | _indentPending |
|
int | _lineNumber = 1 |
|
int | _lastNewlineAt = 0 |
|
TextWriter | _out |
|
int | _indentLevel = 0 |
|
◆ Reset()
override void Loyc.Syntax.Les.DefaultNodePrinterWriter.Reset |
( |
| ) |
|
|
inlinevirtual |