Преглед изворни кода

* document tforeachprocmethod

git-svn-id: trunk@22134 -
florian пре 13 година
родитељ
комит
8c39b1eba8
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      compiler/nutils.pas

+ 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;