Method | Description | |
---|---|---|
Parse ( string input ) : string |
Replaces each matching regex key in the dictionary with its associated value for a given string.
|
|
Parser ( ) : System.Collections.Generic |
Constructor for a parser object. Initialises the find / replace dictionary.
|
Method | Description | |
---|---|---|
InitialiseDictionary ( ) : void |
Does nothing in the parent class. Overridden in child classes to populate the dictionary with a ruleset appropriate to the type of parsing.
|
public Parse ( string input ) : string | ||
input | string | String to perform substitutions on. |
return | string |
public Parser ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |