瀏覽代碼

* 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
     );
 
-    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;