Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
List of all members
Loyc.Syntax.Impl.ILNodePrinterHelperWithRevokableNewlines< Checkpoint > Interface Template Reference

Alias for ILNodePrinterHelperWithRevokableNewlines{Checkpoint,Self} without the second type parameter. More...


Source file:
Inheritance diagram for Loyc.Syntax.Impl.ILNodePrinterHelperWithRevokableNewlines< Checkpoint >:
Loyc.Syntax.Impl.ILNodePrinterHelperWithRevokableNewlines< Checkpoint, out Self > Loyc.Syntax.Impl.ILNodePrinterHelper< out Self > Loyc.Syntax.Impl.IPrinterHelper< out Self >

Remarks

Alias for ILNodePrinterHelperWithRevokableNewlines{Checkpoint,Self} without the second type parameter.

Additional Inherited Members

- Properties inherited from Loyc.Syntax.Impl.ILNodePrinterHelperWithRevokableNewlines< Checkpoint, out Self >
int LineWidth [get]
 Gets the current width of the current line (typically measured in characters). More...
 
- Properties inherited from Loyc.Syntax.Impl.IPrinterHelper< out Self >
bool IsAtStartOfLine [get]
 Returns true iff nothing has been written since the last call to Newline or NewlineIsRequiredHere. More...
 
char LastCharWritten [get]
 Gets the character most recently written to the stream, or '' if no characters have been written. More...
 
- Public Member Functions inherited from Loyc.Syntax.Impl.ILNodePrinterHelperWithRevokableNewlines< Checkpoint, out Self >
Checkpoint NewlineAfterCheckpoint ()
 Appends a newline, returning a checkpoint from with indentation afterward according to the current indentation level. More...
 
Checkpoint GetCheckpoint ()
 Gets a value that can be passed later to RevokeNewlinesSince(Checkpoint). More...
 
int RevokeNewlinesSince (Checkpoint cp)
 Deletes uncommitted newlines that were written after the specified checkpoint. More...
 
Self CommitNewlines ()
 Commits all uncommitted newlines permanently. More...
 
int RevokeOrCommitNewlines (Checkpoint cp, int maxLineWidth)
 Revokes or commits newlines added since the specified checkpoint. Recent newlines are revoked if the combined line length after revokation does not exceed maxLineWidth, otherwise ALL newlines are committed permanently. More...
 
- Public Member Functions inherited from Loyc.Syntax.Impl.ILNodePrinterHelper< out Self >
Self BeginNode (ILNode node)
 
Self EndNode ()
 Informs the helper that the printer is done writing the most recently started node. The helper may save the range of the node, e.g. by calling ILNodePrinterOptions.SaveRange. More...
 
Self BeginNode (ILNode node, PrinterIndentHint indentHint)
 Combines the BeginNode and Indent operations. More...
 
Self EndNode (PrinterIndentHint indentHint)
 Combines the EndNode and Dedent operations. More...
 
- Public Member Functions inherited from Loyc.Syntax.Impl.IPrinterHelper< out Self >
Self Write (char c)
 Appends a character to the output stream or StringBuilder. More...
 
Self Write (string s)
 Appends a string to the output stream or StringBuilder. More...
 
Self Write (UString s)
 Appends a string to the output stream or StringBuilder. More...
 
Self Space ()
 Writes a space character unless the last character written was a space. More...
 
Self Newline (bool deferIndent=false)
 Appends a newline, with indentation afterward according to the current indentation level. More...
 
Self FlushIndent ()
 Writes the pending indent, if applicable. This allows you to call Indent or Dedent afterward while making sure the indentation on the current line is unaffected. More...
 
Self NewlineIsRequiredHere ()
 Requests that a newline be written at this location. If this method is called multiple times at the same location, or if Newline(int) is called immediately afterward, only a single newline is written. More...
 
Self Indent (PrinterIndentHint?hint=null)
 Informs the helper that the printer is starting to write the specified node. The printer must call EndNode when it is done. This information may be used to record range information (to understand why this is useful, please read about LNodeRangeMapper) More...
 
Self Dedent (PrinterIndentHint?hint=null)
 Decreases the current indent level. More...