Property | Type | Description | |
---|---|---|---|
_log | log4net.ILog | ||
_preprocessor | |||
_stack | Stack |
Method | Description | |
---|---|---|
ParseFile ( string fileName, object>.Dictionary |
Attempts to parse the YAML file contents of templateFile into a YAML Node object.
|
Method | Description | |
---|---|---|
ParseValue ( string key, string value ) : Node |
Converts a string value to a string, int or boolean type.
|
|
ProcessDictionaryElement ( Node context, string line ) : Node |
Processes the current line into an existing Dictionary.
|
|
ProcessLine ( string line ) : void |
Process a single line of text into the Node that is the current context.
|
|
ProcessListElement ( Node context, string line ) : Node |
Processes the current line into an existing list.
|
public ParseFile ( string fileName, object>.Dictionary |
||
fileName | string | |
variables | object>.Dictionary | |
return | Node |
protected ParseValue ( string key, string value ) : Node | ||
key | string | |
value | string | The string that is to be parsed. |
return | Node |
protected ProcessDictionaryElement ( Node context, string line ) : Node | ||
context | Node | Node containing the Dictionary to which the /// element should be added. |
line | string | The line containing the key: value pair. |
return | Node |
protected ProcessListElement ( Node context, string line ) : Node | ||
context | Node | Node containing the list to which the /// element should be added. |
line | string | The line containing the list element (complete /// with leading '-'). |
return | Node |