XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
JSFunctionDef Struct Reference
Collaboration diagram for JSFunctionDef:
Collaboration graph
[legend]

Public Attributes

JSContext * ctx
 
struct JSFunctionDef * parent
 
int parent_cpool_idx
 
int parent_scope_level
 
struct list_head child_list
 
struct list_head link
 
BOOL is_eval
 
int eval_type
 
BOOL is_global_var
 
BOOL is_func_expr
 
BOOL has_home_object
 
BOOL has_prototype
 
BOOL has_simple_parameter_list
 
BOOL has_parameter_expressions
 
BOOL has_use_strict
 
BOOL has_eval_call
 
BOOL has_arguments_binding
 
BOOL has_this_binding
 
BOOL new_target_allowed
 
BOOL super_call_allowed
 
BOOL super_allowed
 
BOOL arguments_allowed
 
BOOL is_derived_class_constructor
 
BOOL in_function_body
 
JSFunctionKindEnum func_kind: 8
 
JSParseFunctionEnum func_type: 8
 
uint8_t js_mode
 
JSAtom func_name
 
JSVarDef * vars
 
int var_size
 
int var_count
 
JSVarDef * args
 
int arg_size
 
int arg_count
 
int defined_arg_count
 
int var_ref_count
 
int var_object_idx
 
int arg_var_object_idx
 
int arguments_var_idx
 
int arguments_arg_idx
 
int func_var_idx
 
int eval_ret_idx
 
int this_var_idx
 
int new_target_var_idx
 
int this_active_func_var_idx
 
int home_object_var_idx
 
BOOL need_home_object
 
int scope_level
 
int scope_first
 
int scope_size
 
int scope_count
 
JSVarScope * scopes
 
JSVarScope def_scope_array [4]
 
int body_scope
 
int global_var_count
 
int global_var_size
 
JSGlobalVar * global_vars
 
DynBuf byte_code
 
int last_opcode_pos
 
const uint8_t * last_opcode_source_ptr
 
BOOL use_short_opcodes
 
LabelSlot * label_slots
 
int label_size
 
int label_count
 
BlockEnv * top_break
 
JSValue * cpool
 
int cpool_count
 
int cpool_size
 
int closure_var_count
 
int closure_var_size
 
JSClosureVar * closure_var
 
JumpSlot * jump_slots
 
int jump_size
 
int jump_count
 
LineNumberSlot * line_number_slots
 
int line_number_size
 
int line_number_count
 
int line_number_last
 
int line_number_last_pc
 
BOOL strip_debug: 1
 
BOOL strip_source: 1
 
JSAtom filename
 
uint32_t source_pos
 
GetLineColCache * get_line_col_cache
 
DynBuf pc2line
 
char * source
 
int source_len
 
JSModuleDef *BOOL has_await
 

Member Data Documentation

◆ arg_count

int JSFunctionDef::arg_count

◆ arg_size

int JSFunctionDef::arg_size

◆ arg_var_object_idx

int JSFunctionDef::arg_var_object_idx

◆ args

JSVarDef* JSFunctionDef::args

◆ arguments_allowed

BOOL JSFunctionDef::arguments_allowed

◆ arguments_arg_idx

int JSFunctionDef::arguments_arg_idx

◆ arguments_var_idx

int JSFunctionDef::arguments_var_idx

◆ body_scope

int JSFunctionDef::body_scope

◆ byte_code

DynBuf JSFunctionDef::byte_code

◆ child_list

struct list_head JSFunctionDef::child_list

◆ closure_var

JSClosureVar* JSFunctionDef::closure_var

◆ closure_var_count

int JSFunctionDef::closure_var_count

◆ closure_var_size

int JSFunctionDef::closure_var_size

◆ cpool

JSValue* JSFunctionDef::cpool

◆ cpool_count

int JSFunctionDef::cpool_count

◆ cpool_size

int JSFunctionDef::cpool_size

◆ ctx

JSContext* JSFunctionDef::ctx

◆ def_scope_array

JSVarScope JSFunctionDef::def_scope_array[4]

◆ defined_arg_count

int JSFunctionDef::defined_arg_count

◆ eval_ret_idx

int JSFunctionDef::eval_ret_idx

◆ eval_type

int JSFunctionDef::eval_type

◆ filename

JSAtom JSFunctionDef::filename

◆ func_kind

JSFunctionKindEnum JSFunctionDef::func_kind

◆ func_name

JSAtom JSFunctionDef::func_name

◆ func_type

JSParseFunctionEnum JSFunctionDef::func_type

◆ func_var_idx

int JSFunctionDef::func_var_idx

◆ get_line_col_cache

GetLineColCache* JSFunctionDef::get_line_col_cache

◆ global_var_count

int JSFunctionDef::global_var_count

◆ global_var_size

int JSFunctionDef::global_var_size

◆ global_vars

JSGlobalVar* JSFunctionDef::global_vars

◆ has_arguments_binding

BOOL JSFunctionDef::has_arguments_binding

◆ has_await

JSModuleDef* BOOL JSFunctionDef::has_await

◆ has_eval_call

BOOL JSFunctionDef::has_eval_call

◆ has_home_object

BOOL JSFunctionDef::has_home_object

◆ has_parameter_expressions

BOOL JSFunctionDef::has_parameter_expressions

◆ has_prototype

BOOL JSFunctionDef::has_prototype

◆ has_simple_parameter_list

BOOL JSFunctionDef::has_simple_parameter_list

◆ has_this_binding

BOOL JSFunctionDef::has_this_binding

◆ has_use_strict

BOOL JSFunctionDef::has_use_strict

◆ home_object_var_idx

int JSFunctionDef::home_object_var_idx

◆ in_function_body

BOOL JSFunctionDef::in_function_body

◆ is_derived_class_constructor

BOOL JSFunctionDef::is_derived_class_constructor

◆ is_eval

BOOL JSFunctionDef::is_eval

◆ is_func_expr

BOOL JSFunctionDef::is_func_expr

◆ is_global_var

BOOL JSFunctionDef::is_global_var

◆ js_mode

uint8_t JSFunctionDef::js_mode

◆ jump_count

int JSFunctionDef::jump_count

◆ jump_size

int JSFunctionDef::jump_size

◆ jump_slots

JumpSlot* JSFunctionDef::jump_slots

◆ label_count

int JSFunctionDef::label_count

◆ label_size

int JSFunctionDef::label_size

◆ label_slots

LabelSlot* JSFunctionDef::label_slots

◆ last_opcode_pos

int JSFunctionDef::last_opcode_pos

◆ last_opcode_source_ptr

const uint8_t* JSFunctionDef::last_opcode_source_ptr

◆ line_number_count

int JSFunctionDef::line_number_count

◆ line_number_last

int JSFunctionDef::line_number_last

◆ line_number_last_pc

int JSFunctionDef::line_number_last_pc

◆ line_number_size

int JSFunctionDef::line_number_size

◆ line_number_slots

LineNumberSlot* JSFunctionDef::line_number_slots

◆ link

struct list_head JSFunctionDef::link

◆ need_home_object

BOOL JSFunctionDef::need_home_object

◆ new_target_allowed

BOOL JSFunctionDef::new_target_allowed

◆ new_target_var_idx

int JSFunctionDef::new_target_var_idx

◆ parent

struct JSFunctionDef* JSFunctionDef::parent

◆ parent_cpool_idx

int JSFunctionDef::parent_cpool_idx

◆ parent_scope_level

int JSFunctionDef::parent_scope_level

◆ pc2line

DynBuf JSFunctionDef::pc2line

◆ scope_count

int JSFunctionDef::scope_count

◆ scope_first

int JSFunctionDef::scope_first

◆ scope_level

int JSFunctionDef::scope_level

◆ scope_size

int JSFunctionDef::scope_size

◆ scopes

JSVarScope* JSFunctionDef::scopes

◆ source

char* JSFunctionDef::source

◆ source_len

int JSFunctionDef::source_len

◆ source_pos

uint32_t JSFunctionDef::source_pos

◆ strip_debug

BOOL JSFunctionDef::strip_debug

◆ strip_source

BOOL JSFunctionDef::strip_source

◆ super_allowed

BOOL JSFunctionDef::super_allowed

◆ super_call_allowed

BOOL JSFunctionDef::super_call_allowed

◆ this_active_func_var_idx

int JSFunctionDef::this_active_func_var_idx

◆ this_var_idx

int JSFunctionDef::this_var_idx

◆ top_break

BlockEnv* JSFunctionDef::top_break

◆ use_short_opcodes

BOOL JSFunctionDef::use_short_opcodes

◆ var_count

int JSFunctionDef::var_count

◆ var_object_idx

int JSFunctionDef::var_object_idx

◆ var_ref_count

int JSFunctionDef::var_ref_count

◆ var_size

int JSFunctionDef::var_size

◆ vars

JSVarDef* JSFunctionDef::vars

The documentation for this struct was generated from the following file: