Cold Help System: Programming: ColdC Reference Manual: Functions: Method: list_method()


LIST list_method(SYMBOL name[, INTEGER indent[, INTEGER flags]])

This function is used to decompile a method. It accepts a symbol, assuming it to be the name of a method. If the method is defined on the current object it is decompiled and returned as a list of strings. If the method is not found, the error ~methodnf is thrown.

The second argument indent can be given to specify an alternate indentation to use (default is four spaces). The third argument can be specified to change the default formatting behaviour. The argument is an integer which can have three different values:

1Full Parenthesis
2Full Braces
3Full Parenthesis and Braces


add_method() | list_method() | del_method() | find_method() | find_next_method() | method_bytecode() | method_access() | method_flags() | method_info() | methods() | rename_method() | set_method_access() | set_method_flags()


the Cold Dark