FnDecl::arg_names
pub fn arg_names() -> string Import
Source: use macro::{FnDecl}; compiler/src/prelude/macro.hy a, b: the parameter names, for forwarding a call.
Called on a FnDecl value as value.arg_names(…).
Returns#
string
See also#
FnDecl: A function or method handed to an attribute macro.FnDecl::body_sourceFnDecl::signature:name(T a, U b) -> R: the signature as written, under a new name.FnDecl::with_name: The function under another name, with its remaining attributes:#[other] pub fn name(T a) -> R { body }.FnDecl::contract_clauses: Therequires/ensuresclauses, each asrequires …(empty when there are none).FnDecl::uses_clause:uses {read, write}as declared (uses {}for none).FnDecl::call: A call ofnamewith this function’s arguments (self.name(a, b)for an instance method).