2
0
Эх сурвалжийг харах

* document tforeachprocmethod

git-svn-id: trunk@22134 -
florian 13 жил өмнө
parent
commit
8c39b1eba8

+ 6 - 1
compiler/nutils.pas

@@ -46,7 +46,12 @@ interface
       fen_norecurse_true
       fen_norecurse_true
     );
     );
 
 
-    tforeachprocmethod = (pm_preprocess,pm_postprocess,
+    tforeachprocmethod = ({ children are processed before the parent node }
+                          pm_preprocess,
+                          { children are processed after the parent node }
+                          pm_postprocess,
+                          { children are processed after the parent node and
+                            then the parent node is processed again }
                           pm_postandagain);
                           pm_postandagain);
 
 
     foreachnodefunction = function(var n: tnode; arg: pointer): foreachnoderesult of object;
     foreachnodefunction = function(var n: tnode; arg: pointer): foreachnoderesult of object;