C# Класс Sarcasm.Unparsing.FormatYielder

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BlockIndentationToUtokenControlAfter IEnumerable
BlockIndentationToUtokenControlBefore IEnumerable
CalculateLeftTerminalLeave UnparsableAst
CalculateTopAncestorForLeft UnparsableAst
FormatYielder System
FormatYielder System
GetLeftTerminalLeave UnparsableAst
GetLeftsFromTopToBottom IEnumerable
GetSelfAndAncestors IEnumerable
GetSelfAndAncestorsB IEnumerable
GetTopAncestorForLeft UnparsableAst
PostProcess IEnumerable
ResetMutableState void
Spawn FormatYielder
Spawn FormatYielder
UpdateCacheOnTheFly void
YieldAfter IEnumerable
YieldAfterComments IEnumerable
YieldBefore IEnumerable
YieldBeforeComments IEnumerable
YieldBetween IEnumerable
YieldIndentationLeft IEnumerable
YieldIndentationRight IEnumerable
_GetBlockIndentation BlockIndentation
_GetUtokensAround void
_GetUtokensBetween InsertedUtokens
_YieldBetween IEnumerable
_YieldIndentation IEnumerable

Открытые методы

Метод Описание
FormatYielder ( Formatter formatter ) : System

Приватные методы

Метод Описание
BlockIndentationToUtokenControlAfter ( BlockIndentation blockIndentation ) : IEnumerable
BlockIndentationToUtokenControlBefore ( BlockIndentation blockIndentation ) : IEnumerable
CalculateLeftTerminalLeave ( UnparsableAst self, FormatYielder formatYielder ) : UnparsableAst
CalculateTopAncestorForLeft ( UnparsableAst self ) : UnparsableAst
FormatYielder ( ) : System
FormatYielder ( FormatYielder that ) : System
GetLeftTerminalLeave ( UnparsableAst self, FormatYielder formatYielder = null ) : UnparsableAst
GetLeftsFromTopToBottom ( UnparsableAst self, FormatYielder formatYielder = null ) : IEnumerable
GetSelfAndAncestors ( UnparsableAst self ) : IEnumerable
GetSelfAndAncestorsB ( UnparsableAst self ) : IEnumerable
GetTopAncestorForLeft ( UnparsableAst self, FormatYielder formatYielder = null ) : UnparsableAst
PostProcess ( IEnumerable utokens, IPostProcessHelper postProcessHelper ) : IEnumerable
ResetMutableState ( ) : void
Spawn ( ChildLocation childLocation = ChildLocation.Unknown ) : FormatYielder
Spawn ( UnparsableAst child, ChildLocation childLocation = ChildLocation.Unknown ) : FormatYielder
UpdateCacheOnTheFly ( UnparsableAst self, State state ) : void
YieldAfter ( UnparsableAst self, Params @params ) : IEnumerable
YieldAfterComments ( UnparsableAst owner, Comments comments, UnparseCommentDelegate unparseComment ) : IEnumerable
YieldBefore ( UnparsableAst self, Params &@params ) : IEnumerable

This method needs to be fully executed before UnparseRawMiddle because this method modifies the state of Unparser and, which state is used by UnparseRawMiddle. Thus, always call this method prior to UnparseRawMiddle.

YieldBeforeComments ( UnparsableAst owner, Comments comments, UnparseCommentDelegate unparseComment ) : IEnumerable
YieldBetween ( UnparsableAst self ) : IEnumerable
YieldIndentationLeft ( UnparsableAst self, BlockIndentation blockIndentation ) : IEnumerable
YieldIndentationRight ( UnparsableAst self, BlockIndentation blockIndentation ) : IEnumerable
_GetBlockIndentation ( UnparsableAst leftIfAny, UnparsableAst target ) : BlockIndentation
_GetUtokensAround ( UnparsableAst target, InsertedUtokens &leftInsertedUtokens, InsertedUtokens &rightInsertedUtokens ) : void
_GetUtokensBetween ( UnparsableAst leftTarget, UnparsableAst rightTarget ) : InsertedUtokens
_YieldBetween ( UnparsableAst self, FormatYielder formatYielder ) : IEnumerable
_YieldIndentation ( UnparsableAst self, BlockIndentation blockIndentationParameter, Unparser direction, FormatYielder formatYielder, bool left ) : IEnumerable

Описание методов

FormatYielder() публичный Метод

public FormatYielder ( Formatter formatter ) : System
formatter Formatter
Результат System