Свойство | Тип | Описание | |
---|---|---|---|
nodetype | NodeType | ||
uri | string |
Метод | Описание | |
---|---|---|
FromFile ( string filename ) : |
Parse a Yaml string from a textfile and return a Yaml tree
|
|
Info ( ) : |
Node info returns a YAML node and is also mostly used for debugging the parser. This could be used for traversing the meta-info of another YAML tree
|
|
Node ( string uri, NodeType nodetype ) : System |
Node Constructor
|
|
Parse ( TextReader textreader ) : |
Parse a Yaml string from a textreader and return a Yaml tree
|
|
Parse ( string lines ) : |
Parse a Yaml string and return a Yaml tree
|
|
ToFile ( string filename ) : void |
Write a YAML tree to a file using UTF-8 encoding
|
|
ToFile ( string filename, |
Write a YAML tree to a file
|
|
ToString ( ) : string |
The ToString method here, and in all the classses derived from this class, is used mainly for debugging purpose. ToString returns a xml-like textual representation of the objects. It's very useful to see how a Yaml document has been parsed because of the disambiguous representation of this notation.
|
|
Write ( ) : string |
Return a Yaml string
|
Метод | Описание | |
---|---|---|
Parse ( |
Parse function
|
|
Parse ( |
Internal parse method
|
|
Write ( WriteStream stream ) : void |
Writes a Yaml tree back to a file or stream should not be called from outside the parser. This method is only public from inside the Sequence and Mapping Write methods. |
public static FromFile ( string filename ) : |
||
filename | string | |
Результат |
public Node ( string uri, NodeType nodetype ) : System | ||
uri | string | URI of the node |
nodetype | NodeType | The type of node that we want to store |
Результат | System |
protected static Parse ( |
||
stream | ||
Результат |
protected static Parse ( |
||
stream | ||
parseImplicitMappings | bool | /// Avoids ethernal loops while parsing implicit mappings. Implicit mappings are /// not rocognized by a leading character. So while trying to parse the key of /// something we think that could be a mapping, we're sure that if it is a mapping, /// the key of this implicit mapping is not a mapping itself. /// /// NOTE: Implicit mapping still belong to unstable code and require the UNSTABLE and /// IMPLICIT_MAPPINGS preprocessor flags. /// |
Результат |
public static Parse ( TextReader textreader ) : |
||
textreader | TextReader | |
Результат |
public static Parse ( string lines ) : |
||
lines | string | |
Результат |
public ToFile ( string filename, |
||
filename | string | |
enc | ||
Результат | void |
protected Write ( WriteStream stream ) : void | ||
stream | WriteStream | Were the output data go's |
Результат | void |