The OpenD Programming Language

cef_v8stack_frame_t

Structure representing a V8 stack frame handle. V8 handles can only be accessed from the thread on which they are created. Valid threads for creating a V8 handle include the render process main thread (TID_RENDERER) and WebWorker threads. A task runner for posting tasks on the associated thread can be retrieved via the cef_v8context_t::get_task_runner() function.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_column
int function(cef_v8stack_frame_t* self) nothrow get_column;

Returns the 1-based column offset on the line for the function call or 0 if unknown.

get_function_name
cef_string_userfree_t function(cef_v8stack_frame_t* self) nothrow get_function_name;

Returns the name of the function.

get_line_number
int function(cef_v8stack_frame_t* self) nothrow get_line_number;

Returns the 1-based line number for the function call or 0 if unknown.

get_script_name
cef_string_userfree_t function(cef_v8stack_frame_t* self) nothrow get_script_name;

Returns the name of the resource script that contains the function.

get_script_name_or_source_url
cef_string_userfree_t function(cef_v8stack_frame_t* self) nothrow get_script_name_or_source_url;

Returns the name of the resource script that contains the function or the sourceURL value if the script name is undefined and its source ends with a "//@ sourceURL=..." string.

is_constructor
int function(cef_v8stack_frame_t* self) nothrow is_constructor;

Returns true (1) if the function was called as a constructor via "new".

is_eval
int function(cef_v8stack_frame_t* self) nothrow is_eval;

Returns true (1) if the function was compiled using eval().

is_valid
int function(cef_v8stack_frame_t* self) nothrow is_valid;

Returns true (1) if the underlying handle is valid and it can be accessed on the current thread. Do not call any other functions if this function returns false (0).

Meta