Table of Contents

Class FormattingInstruction

Namespace
NMF.AnyText.PrettyPrinting
Assembly
NMF.AnyText.Core.dll

Denotes a formatting instruction

public abstract class FormattingInstruction
Inheritance
FormattingInstruction
Inherited Members

Fields

Indent

Denotes a shared instance for an indenting instruction

public static readonly FormattingInstruction Indent

Field Value

FormattingInstruction

Newline

Denotes a shared instance for a newline instruction

public static readonly FormattingInstruction Newline

Field Value

FormattingInstruction

SupressSpace

Denotes a shared instance for a space supression

public static readonly FormattingInstruction SupressSpace

Field Value

FormattingInstruction

Unindent

Denotes a shared instance for an unindent instruction

public static readonly FormattingInstruction Unindent

Field Value

FormattingInstruction

Methods

Apply(PrettyPrintWriter)

Applies the formatting instruction to the provided pretty print writer

public abstract void Apply(PrettyPrintWriter writer)

Parameters

writer PrettyPrintWriter

the writer to apply the instruction on