Browse Source

* document tforeachprocmethod

git-svn-id: trunk@22134 -
florian 13 years ago
parent
commit
8c39b1eba8
1 changed files with 6 additions and 1 deletions
  1. 6 1
      compiler/nutils.pas

+ 6 - 1
compiler/nutils.pas

@@ -46,7 +46,12 @@ interface
       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);
 
     foreachnodefunction = function(var n: tnode; arg: pointer): foreachnoderesult of object;