Explorar el Código

* document tforeachprocmethod

git-svn-id: trunk@22134 -
florian hace 13 años
padre
commit
8c39b1eba8
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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;