gmplReauthorStatement
- Mark Juras
Owned by Mark Juras
Reauthor Statement Summary
Reauthor is a nonterminal, refactoring statement that occurs only within a Refactor statement. It replaces the authored content of a subprogram with a hand written block of code The attributes of the Reauthor statement are as follows:Attribute | Description |
Subprogram | This required identifier attribute specifies the subprogram whose authored content is to be replaced. If the containing Refactor statement had a FileFilter specified then this identifier should be specified relative to it; else, it should be specified relative to the root of the symbol table. |
The script errors associated with the Reauthor statement are as follows:
Error | Description |
1096 | Unable to find subprogram [%1d] in project. |
An example of this statement from the FMSTOCKS sample is shown below.
<Analyse/> <Refactor> <Reauthor subprogram="FMStocks_DB.GetComputerName"><![CDATA[ public static string GetComputerName() { return System.Environment.MachineName; }
Table of Contents