|
| | WINE_DEFAULT_DEBUG_CHANNEL (vbscript) |
| |
| | WINE_DECLARE_DEBUG_CHANNEL (vbscript_disas) |
| |
| static HRESULT | compile_expression (compile_ctx_t *, expression_t *) |
| |
| static HRESULT | compile_statement (compile_ctx_t *, statement_ctx_t *, statement_t *) |
| |
| static void | dump_instr_arg (instr_arg_type_t type, instr_arg_t *arg) |
| |
| static void | dump_code (compile_ctx_t *ctx) |
| |
| static void * | compiler_alloc (vbscode_t *vbscode, size_t size) |
| |
| static void * | compiler_alloc_zero (vbscode_t *vbscode, size_t size) |
| |
| static WCHAR * | compiler_alloc_string (vbscode_t *vbscode, const WCHAR *str) |
| |
| static instr_t * | instr_ptr (compile_ctx_t *ctx, unsigned id) |
| |
| static unsigned | push_instr (compile_ctx_t *ctx, vbsop_t op) |
| |
| static HRESULT | push_instr_int (compile_ctx_t *ctx, vbsop_t op, LONG arg) |
| |
| static HRESULT | push_instr_uint (compile_ctx_t *ctx, vbsop_t op, unsigned arg) |
| |
| static HRESULT | push_instr_addr (compile_ctx_t *ctx, vbsop_t op, unsigned arg) |
| |
| static HRESULT | push_instr_str (compile_ctx_t *ctx, vbsop_t op, const WCHAR *arg) |
| |
| static HRESULT | push_instr_double (compile_ctx_t *ctx, vbsop_t op, double arg) |
| |
| static HRESULT | push_instr_date (compile_ctx_t *ctx, vbsop_t op, DATE arg) |
| |
| static BSTR | alloc_bstr_arg (compile_ctx_t *ctx, const WCHAR *str) |
| |
| static HRESULT | push_instr_bstr (compile_ctx_t *ctx, vbsop_t op, const WCHAR *arg) |
| |
| static HRESULT | push_instr_bstr_uint (compile_ctx_t *ctx, vbsop_t op, const WCHAR *arg1, unsigned arg2) |
| |
| static HRESULT | push_instr_uint_bstr (compile_ctx_t *ctx, vbsop_t op, unsigned arg1, const WCHAR *arg2) |
| |
| static unsigned | alloc_label (compile_ctx_t *ctx) |
| |
| static void | label_set_addr (compile_ctx_t *ctx, unsigned label) |
| |
| static unsigned | stack_offset (compile_ctx_t *ctx) |
| |
| static BOOL | emit_catch_jmp (compile_ctx_t *ctx, unsigned stack_off, unsigned code_off) |
| |
| static BOOL | emit_catch (compile_ctx_t *ctx, unsigned off) |
| |
| static HRESULT | compile_error (script_ctx_t *ctx, compile_ctx_t *compiler, HRESULT error) |
| |
| static expression_t * | lookup_const_decls (compile_ctx_t *ctx, const WCHAR *name, BOOL lookup_global) |
| |
| static BOOL | lookup_args_name (compile_ctx_t *ctx, const WCHAR *name) |
| |
| static BOOL | lookup_dim_decls (compile_ctx_t *ctx, const WCHAR *name) |
| |
| static HRESULT | compile_args (compile_ctx_t *ctx, expression_t *args, unsigned *ret) |
| |
| static HRESULT | compile_member_call_expression (compile_ctx_t *ctx, member_expression_t *expr, unsigned arg_cnt, BOOL ret_val) |
| |
| static HRESULT | compile_member_expression (compile_ctx_t *ctx, member_expression_t *expr) |
| |
| static HRESULT | compile_call_expression (compile_ctx_t *ctx, call_expression_t *expr, BOOL ret_val) |
| |
| static HRESULT | compile_dot_expression (compile_ctx_t *ctx) |
| |
| static HRESULT | compile_unary_expression (compile_ctx_t *ctx, unary_expression_t *expr, vbsop_t op) |
| |
| static HRESULT | compile_binary_expression (compile_ctx_t *ctx, binary_expression_t *expr, vbsop_t op) |
| |
| static HRESULT | compile_if_statement (compile_ctx_t *ctx, if_statement_t *stat) |
| |
| static HRESULT | compile_while_statement (compile_ctx_t *ctx, while_statement_t *stat) |
| |
| static HRESULT | compile_dowhile_statement (compile_ctx_t *ctx, while_statement_t *stat) |
| |
| static HRESULT | compile_foreach_statement (compile_ctx_t *ctx, foreach_statement_t *stat) |
| |
| static HRESULT | compile_forto_statement (compile_ctx_t *ctx, forto_statement_t *stat) |
| |
| static HRESULT | compile_with_statement (compile_ctx_t *ctx, with_statement_t *stat) |
| |
| static HRESULT | compile_select_statement (compile_ctx_t *ctx, select_statement_t *stat) |
| |
| static HRESULT | compile_assignment (compile_ctx_t *ctx, expression_t *left, expression_t *value_expr, BOOL is_set) |
| |
| static HRESULT | compile_assign_statement (compile_ctx_t *ctx, assign_statement_t *stat, BOOL is_set) |
| |
| static HRESULT | compile_call_statement (compile_ctx_t *ctx, call_statement_t *stat) |
| |
| static HRESULT | compile_dim_statement (compile_ctx_t *ctx, dim_statement_t *stat) |
| |
| static HRESULT | compile_redim_statement (compile_ctx_t *ctx, redim_statement_t *stat) |
| |
| static HRESULT | compile_const_statement (compile_ctx_t *ctx, const_statement_t *stat) |
| |
| static HRESULT | compile_function_statement (compile_ctx_t *ctx, function_statement_t *stat) |
| |
| static HRESULT | compile_exitdo_statement (compile_ctx_t *ctx) |
| |
| static HRESULT | compile_exitfor_statement (compile_ctx_t *ctx) |
| |
| static HRESULT | exit_label (compile_ctx_t *ctx, unsigned jmp_label) |
| |
| static HRESULT | compile_exitsub_statement (compile_ctx_t *ctx) |
| |
| static HRESULT | compile_exitfunc_statement (compile_ctx_t *ctx) |
| |
| static HRESULT | compile_exitprop_statement (compile_ctx_t *ctx) |
| |
| static HRESULT | compile_onerror_statement (compile_ctx_t *ctx, onerror_statement_t *stat) |
| |
| static HRESULT | compile_retval_statement (compile_ctx_t *ctx, retval_statement_t *stat) |
| |
| static void | resolve_labels (compile_ctx_t *ctx, unsigned off) |
| |
| static HRESULT | fill_array_desc (compile_ctx_t *ctx, dim_decl_t *dim_decl, array_desc_t *array_desc) |
| |
| static HRESULT | compile_func (compile_ctx_t *ctx, statement_t *stat, function_t *func) |
| |
| static BOOL | lookup_funcs_name (compile_ctx_t *ctx, const WCHAR *name) |
| |
| static HRESULT | create_function (compile_ctx_t *ctx, function_decl_t *decl, function_t **ret) |
| |
| static BOOL | lookup_class_name (compile_ctx_t *ctx, const WCHAR *name) |
| |
| static HRESULT | create_class_funcprop (compile_ctx_t *ctx, function_decl_t *func_decl, vbdisp_funcprop_desc_t *desc) |
| |
| static BOOL | lookup_class_funcs (class_desc_t *class_desc, const WCHAR *name) |
| |
| static HRESULT | compile_class (compile_ctx_t *ctx, class_decl_t *class_decl) |
| |
| static BOOL | lookup_script_identifier (compile_ctx_t *ctx, script_ctx_t *script, const WCHAR *identifier) |
| |
| static HRESULT | check_script_collisions (compile_ctx_t *ctx, script_ctx_t *script) |
| |
| void | release_vbscode (vbscode_t *code) |
| |
| static vbscode_t * | alloc_vbscode (compile_ctx_t *ctx, const WCHAR *source, DWORD_PTR cookie, unsigned start_line) |
| |
| static void | release_compiler (compile_ctx_t *ctx) |
| |
| HRESULT | compile_script (script_ctx_t *script, const WCHAR *src, const WCHAR *item_name, const WCHAR *delimiter, DWORD_PTR cookie, unsigned start_line, DWORD flags, vbscode_t **ret) |
| |
| HRESULT | compile_procedure (script_ctx_t *script, const WCHAR *src, const WCHAR *item_name, const WCHAR *delimiter, DWORD_PTR cookie, unsigned start_line, DWORD flags, class_desc_t **ret) |
| |