docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference

Class Definition Reference
GenerateAfter
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies when to generate this method. Applies only if the method is a method generator.
Usage
To specify that the generator for this method should be invoked after other methods are generated, use the following syntax:
Method name(formal_spec) As returnclass [ CodeMode = ObjectGenerator, GenerateAfter = methodlist ] 
{    //implementation } 
Where methodlist is either a single method name or a comma-separated list of method names, enclosed in parentheses.
Details
In the case of a method generator method, specifies that the generator should be invoked after the listed methods are generated. This keyword is useful when you need to control the order in which your method generators are invoked.
See Also


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-16 06:44:53