Taddeus Kroes 12 gadi atpakaļ
vecāks
revīzija
089a32c1a6
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      types.mli

+ 5 - 5
types.mli

@@ -86,11 +86,11 @@ and node =
     (** counter, start, stop, step, body
     (** counter, start, stop, step, body
         [for (int <counter> = <start>, <stop>[, <step>]) <body>] *)
         [for (int <counter> = <start>, <stop>[, <step>]) <body>] *)
   | Return of node * ann
   | Return of node * ann
-    (** return value [return <value>;] *)
+    (** Return value [return <value>;] *)
   | Expr of node
   | Expr of node
-    (** expression statement [<expr>;] *)
+    (** Expression statement [<expr>;] *)
   | Block of node list
   | Block of node list
-    (** statement list enclosed in braces: body [{ <body> }] *)
+    (** Statement list enclosed in braces: body [{ <body> }] *)
   | If of node * node * ann
   | If of node * node * ann
     (** condition, body [if (<condition>) <body>] *)
     (** condition, body [if (<condition>) <body>] *)
   | IfElse of node * node * node * ann
   | IfElse of node * node * node * ann
@@ -103,9 +103,9 @@ and node =
   (* Expressions *)
   (* Expressions *)
 
 
   | Const of const * ann
   | Const of const * ann
-    (** constant [bool|int|float constant] *)
+    (** Constant value, e.g. [0] or [1.0] or [true]. *)
   | ArrayConst of node list * ann
   | ArrayConst of node list * ann
-    (** array initialisation [[ <expr> , ... ]] *)
+    (** Array initialisation [[ <expr> , ... ]] *)
   | Var of string * node list option * ann
   | Var of string * node list option * ann
     (** name, indices [<name> | <name>[<indices>] ] *)
     (** name, indices [<name> | <name>[<indices>] ] *)
   | Monop of operator * node * ann
   | Monop of operator * node * ann