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


LIST method_bytecode(SYMBOL name)

Returns the bytecode for the specified method, defined on the current object. For instance, consider the following method:

public method .test() {
    return "test";
};

Would return the following bytecode:

method_bytecode('test)
=> ['STRING, "test", 'RETURN_EXPR, 'RETURN]


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