Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/codegen/clang.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/codegen/clang.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3870, Tue May 17 13:53:58 2016 UTC revision 3871, Tue May 17 15:09:13 2016 UTC
# Line 48  Line 48 
48        | D_Verbatim of string list        | D_Verbatim of string list
49      (* global variable declaration *)      (* global variable declaration *)
50        | D_Var of attr list * ty * var * initializer option        | D_Var of attr list * ty * var * initializer option
51    (* TODO: merge D_Proto and D_Func into one by making the body an option *)
52      (* function prototype *)      (* function prototype *)
53        | D_Proto of attr list * ty * string * param list        | D_Proto of attr list * ty * string * param list
54      (* function definition *)      (* function definition *)
55        | D_Func of attr list * ty * string * param list * stm        | D_Func of attr list * ty * string * param list * stm
56      (* class constructor definition:      (* class constructor definition or prototype:
57       *     D_Constr(attrs, namespace, class, params, inits, body)       *     D_Constr(attrs, namespace, class, params, inits, body)
58       * the inits should be of the form "id(exp)"       * the inits should be of the form "id(exp)"
59       *)       *)
60        | D_Constr of attr list * string option * string * param list * exp list * stm        | D_Constr of attr list * string option * string * param list * exp list * stm option
61      (* class destructor definition *)      (* class destructor definition or prototype *)
62        | D_Destr of attr list * string option * string * stm        | D_Destr of attr list * string option * string * stm option
63      (* struct type declaration; if the third argument is SOME name, then a      (* struct type declaration; if the third argument is SOME name, then a
64       * typedef is generated.       * typedef is generated.
65       *)       *)

Legend:
Removed from v.3870  
changed lines
  Added in v.3871

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0