Hui, ArgSymbols do not carry the argument number.
To get i-th argument of a function, you can use FnSymbol::getFormal(i).\ See also FnSymbol::numFormals() and the for_formals macro. There are counterparts for CallExpr. If this does not answer your question, please write back. Vassily ----- Forwarded message from Hui Zhang <[email protected]> ----- Date: Sun, 21 Dec 2014 15:44:08 -0500 From: Hui Zhang <[email protected]> To: Chapel Sourceforge Developers List <[email protected]> Subject: [Chapel-developers] Arg number in Chapel Hello, I'm trying to build debug information for the argument, but I don't know how to get the ArgNo parameter (argument's number. 1 indicates 1st argument.) I didn't see any relative member in ArgSymbol, any clues ? Thanks -- Best regards Hui Zhang ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers ----- End forwarded message ----- ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers
