Méthode | Description | |
---|---|---|
Combine ( string items, int start, int end ) : string |
Helper method for taking a string array and returning a single concatenated string composed of the range of specified elements.
|
|
GetParams ( string all ) : string[] |
Helper method to remove the first item from a string array and return a new array 1 element smaller starting at the second element of the original array. This helpe to seperate the params from the command in the various script files.
|
|
LogParserError ( string attribute, string context, string reason ) : void |
Helper method to log a formatted error when encountering problems with parsing an attribute.
|
|
ReadLine ( TextReader reader ) : string |
Helper method to nip/tuck the string before parsing it. This includes trimming spaces from the beginning and end of the string, as well as removing excess spaces in between values.
|
|
SkipToNextCloseBrace ( TextReader reader ) : void |
Advances in the stream until it hits the next }.
|
|
SkipToNextOpenBrace ( TextReader reader ) : void |
Advances in the stream until it hits the next {.
|
public static Combine ( string items, int start, int end ) : string | ||
items | string | |
start | int | |
end | int | |
Résultat | string |
public static GetParams ( string all ) : string[] | ||
all | string | |
Résultat | string[] |
public static LogParserError ( string attribute, string context, string reason ) : void | ||
attribute | string | |
context | string | |
reason | string | |
Résultat | void |
public static ReadLine ( TextReader reader ) : string | ||
reader | TextReader | |
Résultat | string |
public static SkipToNextCloseBrace ( TextReader reader ) : void | ||
reader | TextReader | |
Résultat | void |
public static SkipToNextOpenBrace ( TextReader reader ) : void | ||
reader | TextReader | |
Résultat | void |