Метод | Описание | |
---|---|---|
Emit ( |
Emit an evt.
|
|
Emitter ( TextWriter output ) : System |
Initializes a new instance of the Emitter class.
|
|
Emitter ( TextWriter output, int bestIndent ) : System |
Initializes a new instance of the Emitter class.
|
|
Emitter ( TextWriter output, int bestIndent, int bestWidth ) : System |
Initializes a new instance of the Emitter class.
|
|
Emitter ( TextWriter output, int bestIndent, int bestWidth, bool isCanonical ) : System |
Initializes a new instance of the Emitter class.
|
Метод | Описание | |
---|---|---|
AnalyzeAnchor ( string anchor, bool isAlias ) : void | ||
AnalyzeEvent ( |
||
AnalyzeScalar ( |
||
AnalyzeTag ( string tag ) : void | ||
AnalyzeVersionDirective ( YamlDotNet.Core.Tokens.VersionDirective versionDirective ) : void | ||
AppendTagDirectiveTo ( YamlDotNet.Core.Tokens.TagDirective value, bool allowDuplicates, TagDirectiveCollection tagDirectives ) : void | ||
CheckEmptyDocument ( ) : bool |
Check if the document content is an empty scalar.
|
|
CheckEmptyMapping ( ) : bool | ||
CheckEmptySequence ( ) : bool | ||
CheckSimpleKey ( ) : bool |
Check if the next node can be expressed as a simple key.
|
|
EmitAlias ( ) : void |
Expect ALIAS.
|
|
EmitBlockMappingKey ( |
Expect a block key node.
|
|
EmitBlockMappingValue ( |
Expect a block value node.
|
|
EmitBlockSequenceItem ( |
Expect a block item node.
|
|
EmitComment ( Comment comment ) : void | ||
EmitDocumentContent ( |
Expect the root node.
|
|
EmitDocumentEnd ( |
Expect DOCUMENT-END.
|
|
EmitDocumentStart ( |
Expect DOCUMENT-START or STREAM-END.
|
|
EmitFlowMappingKey ( |
Expect a flow key node.
|
|
EmitFlowMappingValue ( |
Expect a flow value node.
|
|
EmitFlowSequenceItem ( |
Expect a flow item node.
|
|
EmitMappingStart ( |
Expect MAPPING-START.
|
|
EmitNode ( |
Expect a node.
|
|
EmitScalar ( |
Expect SCALAR.
|
|
EmitSequenceStart ( |
Expect SEQUENCE-START.
|
|
EmitStreamStart ( |
Expect STREAM-START.
|
|
IncreaseIndent ( bool isFlow, bool isIndentless ) : void | ||
IsBlank ( char character ) : bool | ||
IsBreak ( char character, char &breakChar ) : bool | ||
IsHighSurrogate ( char c ) : bool | ||
IsLowSurrogate ( char c ) : bool | ||
IsPrintable ( char character ) : bool | ||
IsSpace ( char character ) : bool | ||
IsUnicode ( Encoding encoding ) : bool | ||
NeedMoreEvents ( ) : bool |
Check if we need to accumulate more events before emitting. We accumulate extra - 1 event for DOCUMENT-START - 2 events for SEQUENCE-START - 3 events for MAPPING-START
|
|
NonDefaultTagsAmong ( IEnumerable |
||
ProcessAnchor ( ) : void | ||
ProcessScalar ( ) : void | ||
ProcessTag ( ) : void | ||
SafeStringLength ( string value ) : int | ||
SelectScalarStyle ( |
||
StateMachine ( |
||
UrlEncode ( string text ) : string | ||
ValueIsRepresentableInOutputEncoding ( string value ) : bool | ||
Write ( char value ) : void | ||
Write ( string value ) : void | ||
WriteAnchor ( string value ) : void | ||
WriteBlockScalarHints ( string value ) : void | ||
WriteBreak ( char breakCharacter = '\n' ) : void | ||
WriteDoubleQuotedScalar ( string value, bool allowBreaks ) : void | ||
WriteFoldedScalar ( string value ) : void | ||
WriteIndent ( ) : void | ||
WriteIndicator ( string indicator, bool needWhitespace, bool whitespace, bool indentation ) : void | ||
WriteLiteralScalar ( string value ) : void | ||
WritePlainScalar ( string value, bool allowBreaks ) : void | ||
WriteSingleQuotedScalar ( string value, bool allowBreaks ) : void | ||
WriteTagContent ( string value, bool needsWhitespace ) : void | ||
WriteTagHandle ( string value ) : void |
public Emit ( |
||
@event | ||
Результат | void |
public Emitter ( TextWriter output ) : System | ||
output | TextWriter | The |
Результат | System |
public Emitter ( TextWriter output, int bestIndent ) : System | ||
output | TextWriter | The |
bestIndent | int | The preferred indentation. |
Результат | System |
public Emitter ( TextWriter output, int bestIndent, int bestWidth ) : System | ||
output | TextWriter | The |
bestIndent | int | The preferred indentation. |
bestWidth | int | The preferred text width. |
Результат | System |
public Emitter ( TextWriter output, int bestIndent, int bestWidth, bool isCanonical ) : System | ||
output | TextWriter | The |
bestIndent | int | The preferred indentation. |
bestWidth | int | The preferred text width. |
isCanonical | bool | If true, write the output in canonical form. |
Результат | System |