GenerateAfter
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
-
“Method Definitions” in this book
-
CodeMode keyword
-
“Defining and Calling Methods” in Using Caché Objects
-
“Defining Method and Trigger Generators” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects