| Special Interfaces | MlDoC dot commands |
| Available special interfaces | |||
| Name | begin | end | Subarguments (*=optional, #=multiple) |
| ML-Function | .IF | .FI | Name, RetVal (#), Arg (#), Val (*#) |
| ML-Value | .IV | .VI | Name, Arg (#) |
| ML-Type (type list) | .IT | .TI | Name, Arg (#) |
| ML-Structure (type) | .IS | .SI | Name, Arg (*#) |
| ML-Module | .IM | .MI | Name, other specials |
| ML-Class | .CS | .SC | Name, Arg [*#], Obj |
| ML-Class method | .MT | .TM | Name, Arg |
| C-Header | .CH | .HC | |
| C-Function | .CF | .FC | Name, Arg (#) , RetVal |
| C-Variable | .CV | .VC | Name, Arg |
| Available subarguments | |||
| Name | Description | begin | end |
| Name | Name of function,... | .NA | .AN |
| Comment | Placed before the special interface | .(* | .*) |
| RetVal | Return value of a function (uncurried subvalue) | .RV | .VR |
| Arg | Argument of a function (curried value) | .AR | .RA |
| Val | Value argument of a function (uncurried subvalue) | .AV | .VA |
| Obj | Class object | .OB | .BO |
| Programming Interface: Function interfaces | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
.IN
.NA Function interfaces .AN
.IF
.NA myfun1 .AN
.RV ret1:int .(* The first return argument .*) .VR
.RV ret2:bool .(* The second one .*) .VR
.AR ~arg1:float .(* The first fun arg .*) .RA
.AR ~arg2:string list .(* The second one .*) .RA
.FI
.IF
.NA myfun2 .AN
.RV ret1:bool .VR
.AV arg1:float .VA
.AV arg2:string list .VA
.FI
.CH
sys/io.h
.HC
.CF
.NA cfun .AN
.RV int .VR
.AR float arg1 .RA
.AR char arg2 .RA
.FC
.IV
.(* The first value interface .*)
.NA myval .AN
.AR ~arg1:string .(* The arg string .*) .RA
.AR ~arg2:int .RA
.AR retarg:float .RA
.VI
.NI
|
| Programming Interface | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
.IN
.IT
.NA mytype .AN
.AR Type_1 .RA
.AR Type_2 .RA
.AR Type_3 .RA
.TI
.IS
.NA mytype .AN
.AR .MU a:int .RA
.AR b:float .RA
.AR c:int list .RA
.SI
.CS
.NA myclass .AN
.AR a:int .RA
.AR b:int .RA
.OB
.IV
.NA .MU speed .AN
.AR dir:int list .RA
.AR vl: int list .RA
.AR ?really: bool .RA
.VI
.IV
.NA align .AN
.AR up:string list .RA
.AR down: int list .RA
.AR ?really: bool .RA
.VI
.MT
.NA .PV up .AN
.AR v:int .RA
.AR name:string .RA
.AR ~arg3:int int list list .RA
.AR () .RA
.TM
.BO
.SC
.IM
.NA mymod .AN
.IT
.NA mytype .AN
.AR Type_1 .RA
.AR Type_2 .RA
.AR Type_3 .RA
.TI
.IV
.NA align .AN
.AR up:string list .RA
.AR down: int list .RA
.AR ?really: bool .RA
.VI
.IV
.NA .MU speed .AN
.AR dir:int list .RA
.AR vl: int list .RA
.AR ?really: bool .RA
.VI
.MI
.NI
|
| UP MlDoC dot commands |