|
Zen-C
|
Registry entry for a function signature. More...
#include <parser.h>

Data Fields | |
| char * | name |
| Function name. | |
| Token | decl_token |
| declaration token. | |
| int | total_args |
| Total argument count. | |
| char ** | defaults |
| Default values for arguments (or NULL). | |
| Type ** | arg_types |
| Argument types. | |
| Type * | ret_type |
| Return type. | |
| int | is_varargs |
| 1 if variadic. | |
| int | is_async |
| 1 if async. | |
| int | must_use |
| 1 if return value must be used. | |
| struct FuncSig * | next |
| Next function in registry. | |
Registry entry for a function signature.
Stores metadata about declared functions for type checking and call validation.
| Type** FuncSig::arg_types |
Argument types.
| Token FuncSig::decl_token |
declaration token.
| char** FuncSig::defaults |
Default values for arguments (or NULL).
| int FuncSig::is_async |
1 if async.
| int FuncSig::is_varargs |
1 if variadic.
| int FuncSig::must_use |
1 if return value must be used.
| char* FuncSig::name |
Function name.
| struct FuncSig* FuncSig::next |
Next function in registry.
| Type* FuncSig::ret_type |
Return type.
| int FuncSig::total_args |
Total argument count.