C# Class Nyaml.Emitter

Inheritance: IEmitter
ファイルを表示 Open project: IngisKahn/Nyaml

Private Properties

Property Type Description
AnalyzeScalar ScalarAnalysis
CheckEmptyDocumnet bool
CheckEmptyMapping bool
CheckEmptySequence bool
CheckSimpleKey bool
ChooseScalarStyle Style
DetermineBlockHints string
ExpectAlias void
ExpectBlockMapping void
ExpectBlockMappingKey void
ExpectBlockMappingKey void
ExpectBlockMappingSimpleValue void
ExpectBlockMappingValue void
ExpectBlockSequence void
ExpectBlockSequenceItem void
ExpectBlockSequenceItem void
ExpectDocumentEnd void
ExpectDocumentStart void
ExpectDocumentStart void
ExpectDocumnetRoot void
ExpectFirstBlockMappingKey void
ExpectFirstBlockSequenceItem void
ExpectFirstDocumentStart void
ExpectFirstFlowMappingKey void
ExpectFirstFlowSequenceItem void
ExpectFlowMapping void
ExpectFlowMappingKey void
ExpectFlowMappingSimpleValue void
ExpectFlowMappingValue void
ExpectFlowSequence void
ExpectFlowSequenceItem void
ExpectNode void
ExpectNothing void
ExpectScalar void
ExpectStreamStart void
IncreaseIndent void
NeedEvents bool
PrepareAnchor string
PrepareTag string
PrepareTagHandle string
PrepareTagPrefix string
PrepareVersion string
ProcessAnchor void
ProcessScalar void
ProcessTag void
WriteDoubleQuoted void
WriteFolded void
WriteIndent void
WriteIndicator void
WriteLineBreak void
WriteLiteral void
WritePlain void
WriteSingleQuoted void
WriteTagDirective void
WriteVersionDirective void

Public Methods

Method Description
Emit ( Events @event ) : void
Emitter ( Stream stream, bool isCanonical = false, int indent = 2, int width = 80, bool allowUnicode = true, LineBreak lineBreak = LineBreak.LineFeed ) : System
Reset ( ) : void

Private Methods

Method Description
AnalyzeScalar ( string scalar ) : ScalarAnalysis
CheckEmptyDocumnet ( ) : bool
CheckEmptyMapping ( ) : bool
CheckEmptySequence ( ) : bool
CheckSimpleKey ( ) : bool
ChooseScalarStyle ( ) : Style
DetermineBlockHints ( string text ) : string
ExpectAlias ( ) : void
ExpectBlockMapping ( ) : void
ExpectBlockMappingKey ( ) : void
ExpectBlockMappingKey ( bool isFirst ) : void
ExpectBlockMappingSimpleValue ( ) : void
ExpectBlockMappingValue ( ) : void
ExpectBlockSequence ( ) : void
ExpectBlockSequenceItem ( ) : void
ExpectBlockSequenceItem ( bool isFirst ) : void
ExpectDocumentEnd ( ) : void
ExpectDocumentStart ( ) : void
ExpectDocumentStart ( bool isFirst ) : void
ExpectDocumnetRoot ( ) : void
ExpectFirstBlockMappingKey ( ) : void
ExpectFirstBlockSequenceItem ( ) : void
ExpectFirstDocumentStart ( ) : void
ExpectFirstFlowMappingKey ( ) : void
ExpectFirstFlowSequenceItem ( ) : void
ExpectFlowMapping ( ) : void
ExpectFlowMappingKey ( ) : void
ExpectFlowMappingSimpleValue ( ) : void
ExpectFlowMappingValue ( ) : void
ExpectFlowSequence ( ) : void
ExpectFlowSequenceItem ( ) : void
ExpectNode ( bool isRoot = false, bool isSequence = false, bool isMapping = false, bool isSimpleKey = false ) : void
ExpectNothing ( ) : void
ExpectScalar ( ) : void
ExpectStreamStart ( ) : void
IncreaseIndent ( bool isFlow = false, bool isIndentless = false ) : void
NeedEvents ( int count ) : bool
PrepareAnchor ( string anchor ) : string
PrepareTag ( string tag ) : string
PrepareTagHandle ( string handle ) : string
PrepareTagPrefix ( string prefix ) : string
PrepareVersion ( string>.Tuple version ) : string
ProcessAnchor ( string indicator ) : void
ProcessScalar ( ) : void
ProcessTag ( ) : void
WriteDoubleQuoted ( string text, bool split = true ) : void
WriteFolded ( string text ) : void
WriteIndent ( ) : void
WriteIndicator ( string indicator, bool needsWhitespace, bool hasWhitespace = false, bool hasIndentation = false ) : void
WriteLineBreak ( string data = null ) : void
WriteLiteral ( string text ) : void
WritePlain ( string text, bool split = true ) : void
WriteSingleQuoted ( string text, bool split = true ) : void
WriteTagDirective ( string handleText, string prefixText ) : void
WriteVersionDirective ( string versionText ) : void

Method Details

Emit() public method

public Emit ( Events @event ) : void
@event Events
return void

Emitter() public method

public Emitter ( Stream stream, bool isCanonical = false, int indent = 2, int width = 80, bool allowUnicode = true, LineBreak lineBreak = LineBreak.LineFeed ) : System
stream Stream
isCanonical bool
indent int
width int
allowUnicode bool
lineBreak LineBreak
return System

Reset() public method

public Reset ( ) : void
return void