ReactOS 0.4.16-dev-297-gc569aee
|
#include <stdarg.h>
#include <stdint.h>
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "dispex.h"
#include "activscp.h"
#include "activdbg.h"
#include "vbscript_classes.h"
#include "vbscript_defs.h"
#include "wine/heap.h"
#include "wine/list.h"
Go to the source code of this file.
Classes | |
struct | heap_pool_t |
struct | named_item_t |
struct | array_desc_t |
struct | vbdisp_prop_desc_t |
struct | vbdisp_funcprop_desc_t |
struct | _class_desc_t |
struct | _vbdisp_t |
struct | ScriptDisp |
struct | BuiltinDisp |
struct | _dynamic_var_t |
struct | _script_ctx_t |
union | instr_arg_t |
struct | instr_t |
struct | arg_desc_t |
struct | var_desc_t |
struct | _function_t |
struct | _vbscode_t |
Macros | |
#define | COBJMACROS |
#define | OP_LIST |
#define | X(x, n, a, b) OP_##x, |
#define | FACILITY_VBS 0xa |
#define | MAKE_VBSERROR(code) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_VBS, code) |
#define | VBSCRIPT_BUILD_VERSION 16978 |
#define | VBSCRIPT_MAJOR_VERSION 5 |
#define | VBSCRIPT_MINOR_VERSION 8 |
Typedefs | |
typedef struct _function_t | function_t |
typedef struct _vbscode_t | vbscode_t |
typedef struct _script_ctx_t | script_ctx_t |
typedef struct _vbdisp_t | vbdisp_t |
typedef struct named_item_t | named_item_t |
typedef struct _class_desc_t | class_desc_t |
typedef struct _ident_map_t | ident_map_t |
typedef struct _builtin_prop_t | builtin_prop_t |
typedef struct _dynamic_var_t | dynamic_var_t |
Enumerations | |
enum | vbdisp_invoke_type_t { VBDISP_CALLGET , VBDISP_LET , VBDISP_SET , VBDISP_ANY } |
enum | instr_arg_type_t { ARG_NONE = 0 , ARG_ADDR , ARG_BSTR , ARG_DBL , ARG_FUNC , ARG_INT , ARG_STR , ARG_UINT , ARG_NONE = 0 , ARG_STR , ARG_BSTR , ARG_INT , ARG_UINT , ARG_ADDR , ARG_DOUBLE } |
enum | vbsop_t { OP_LAST } |
enum | function_type_t { FUNC_GLOBAL , FUNC_FUNCTION , FUNC_SUB , FUNC_PROPGET , FUNC_PROPLET , FUNC_PROPSET , FUNC_DEFGET } |
#define COBJMACROS |
Definition at line 24 of file vbscript.h.
#define FACILITY_VBS 0xa |
Definition at line 378 of file vbscript.h.
#define MAKE_VBSERROR | ( | code | ) | MAKE_HRESULT(SEVERITY_ERROR, FACILITY_VBS, code) |
Definition at line 379 of file vbscript.h.
#define OP_LIST |
Definition at line 222 of file vbscript.h.
#define VBSCRIPT_BUILD_VERSION 16978 |
Definition at line 403 of file vbscript.h.
#define VBSCRIPT_MAJOR_VERSION 5 |
Definition at line 404 of file vbscript.h.
#define VBSCRIPT_MINOR_VERSION 8 |
Definition at line 405 of file vbscript.h.
typedef struct _builtin_prop_t builtin_prop_t |
Definition at line 141 of file vbscript.h.
typedef struct _class_desc_t class_desc_t |
typedef struct _dynamic_var_t dynamic_var_t |
typedef struct _function_t function_t |
Definition at line 58 of file vbscript.h.
typedef struct _ident_map_t ident_map_t |
Definition at line 128 of file vbscript.h.
typedef struct named_item_t named_item_t |
typedef struct _script_ctx_t script_ctx_t |
Definition at line 60 of file vbscript.h.
Definition at line 61 of file vbscript.h.
typedef struct _vbscode_t vbscode_t |
Definition at line 59 of file vbscript.h.
Enumerator | |
---|---|
FUNC_GLOBAL | |
FUNC_FUNCTION | |
FUNC_SUB | |
FUNC_PROPGET | |
FUNC_PROPLET | |
FUNC_PROPSET | |
FUNC_DEFGET |
Definition at line 307 of file vbscript.h.
Enumerator | |
---|---|
ARG_NONE | |
ARG_ADDR | |
ARG_BSTR | |
ARG_DBL | |
ARG_FUNC | |
ARG_INT | |
ARG_STR | |
ARG_UINT | |
ARG_NONE | |
ARG_STR | |
ARG_BSTR | |
ARG_INT | |
ARG_UINT | |
ARG_ADDR | |
ARG_DOUBLE |
Definition at line 212 of file vbscript.h.
Enumerator | |
---|---|
VBDISP_CALLGET | |
VBDISP_LET | |
VBDISP_SET | |
VBDISP_ANY |
Definition at line 71 of file vbscript.h.
Enumerator | |
---|---|
OP_LAST |
Definition at line 281 of file vbscript.h.
Definition at line 162 of file vbscript.h.
Referenced by array_access(), assign_ident(), Builtin_Invoke(), cf2_interpT2CharString(), compile_args(), compile_assign_expression(), compile_call_expression(), compile_member_expression(), compile_new_expression(), do_icall(), do_mcall(), exec_script(), interp_assign_ident(), interp_assign_member(), interp_set_ident(), interp_set_member(), invoke_variant_prop(), invoke_vbdisp(), parse_arguments(), and vbstack_to_dp().
void clear_ei | ( | EXCEPINFO * | ei | ) |
Definition at line 242 of file interp.c.
Referenced by exec_script(), and interp_errmode().
void collect_objects | ( | script_ctx_t * | ctx | ) |
Definition at line 835 of file vbdisp.c.
HRESULT compile_procedure | ( | script_ctx_t * | script, |
const WCHAR * | src, | ||
const WCHAR * | delimiter, | ||
DWORD | flags, | ||
class_desc_t ** | ret | ||
) |
Definition at line 1930 of file compile.c.
Referenced by VBScriptParseProcedure_ParseProcedureText().
HRESULT compile_script | ( | script_ctx_t * | script, |
const WCHAR * | src, | ||
const WCHAR * | delimiter, | ||
DWORD | flags, | ||
vbscode_t ** | ret | ||
) |
Definition at line 1828 of file compile.c.
IUnknown * create_ax_site | ( | script_ctx_t * | ctx | ) |
Definition at line 324 of file jscript.c.
Referenced by create_activex_object(), and set_object_site().
Definition at line 1596 of file vbregexp.c.
Referenced by VBScriptRegExpFactory_CreateInstance().
HRESULT create_safearray_iter | ( | SAFEARRAY * | sa, |
IEnumVARIANT ** | ev | ||
) |
Definition at line 163 of file utils.c.
Referenced by interp_newenum().
HRESULT create_script_disp | ( | script_ctx_t * | ctx, |
ScriptDisp ** | ret | ||
) |
Definition at line 819 of file vbdisp.c.
Referenced by VBScript_SetScriptSite().
HRESULT create_vbdisp | ( | const class_desc_t * | desc, |
vbdisp_t ** | ret | ||
) |
Definition at line 470 of file vbdisp.c.
Referenced by interp_new(), and VBScriptParseProcedure_ParseProcedureText().
void detach_global_objects | ( | script_ctx_t * | ctx | ) |
Definition at line 2855 of file global.c.
Referenced by release_script().
HRESULT disp_call | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
DISPID | id, | ||
DISPPARAMS * | dp, | ||
VARIANT * | retv | ||
) |
Definition at line 938 of file vbdisp.c.
Referenced by get_disp_value().
HRESULT disp_get_id | ( | IDispatch * | disp, |
BSTR | name, | ||
vbdisp_invoke_type_t | invoke_type, | ||
BOOL | search_private, | ||
DISPID * | id | ||
) |
Definition at line 854 of file vbdisp.c.
HRESULT disp_propput | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
DISPID | id, | ||
WORD | flags, | ||
DISPPARAMS * | dp | ||
) |
Definition at line 975 of file vbdisp.c.
HRESULT exec_script | ( | script_ctx_t * | ctx, |
BOOL | extern_caller, | ||
function_t * | func, | ||
vbdisp_t * | vbthis, | ||
DISPPARAMS * | dp, | ||
VARIANT * | res | ||
) |
Definition at line 2086 of file interp.c.
Referenced by do_icall().
Definition at line 167 of file vbscript.h.
HRESULT get_builtin_id | ( | BuiltinDisp * | disp, |
const WCHAR * | name, | ||
DISPID * | id | ||
) |
Definition at line 128 of file global.c.
Referenced by Builtin_GetIDsOfNames().
HRESULT get_disp_value | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
VARIANT * | v | ||
) |
Definition at line 967 of file vbdisp.c.
Referenced by assign_value(), get_propput_arg(), stack_assume_val(), and stack_pop_val().
Definition at line 45 of file vbscript_main.c.
Referenced by compile_error(), Err_Raise(), and exec_script().
Definition at line 38 of file vbscript_main.c.
Referenced by compile_error(), Err_Raise(), exec_script(), and get_vbscript_error_string().
void * heap_pool_alloc | ( | heap_pool_t * | heap, |
size_t | size | ||
) |
Definition at line 67 of file vbscript_main.c.
Referenced by heap_pool_grow().
void heap_pool_clear | ( | heap_pool_t * | heap | ) |
Definition at line 146 of file jsutils.c.
Referenced by heap_pool_free().
void heap_pool_free | ( | heap_pool_t * | heap | ) |
void * heap_pool_grow | ( | heap_pool_t * | heap, |
void * | mem, | ||
DWORD | size, | ||
DWORD | inc | ||
) |
void heap_pool_init | ( | heap_pool_t * | heap | ) |
heap_pool_t * heap_pool_mark | ( | heap_pool_t * | heap | ) |
Definition at line 387 of file vbscript.h.
HRESULT init_err | ( | script_ctx_t * | ) |
HRESULT init_global | ( | script_ctx_t * | ctx | ) |
Definition at line 1105 of file global.c.
Referenced by set_ctx_site(), and VBScriptFactory_CreateInstance().
Definition at line 367 of file vbscript.h.
IDispatch * lookup_named_item | ( | script_ctx_t * | ctx, |
const WCHAR * | name, | ||
unsigned | flags | ||
) |
Definition at line 99 of file vbscript.c.
Referenced by lookup_identifier(), and VBScriptParse_ParseScriptText().
void release_dynamic_vars | ( | dynamic_var_t * | var | ) |
Definition at line 2044 of file interp.c.
Referenced by release_exec(), and release_script().
Definition at line 1634 of file vbregexp.c.
Referenced by DllMain().
Definition at line 1768 of file compile.c.
Referenced by alloc_vbscode(), destroy_script(), and release_compiler().
HRESULT report_script_error | ( | script_ctx_t * | ctx | ) |
Definition at line 315 of file vbscript.c.
Referenced by compile_error(), and exec_script().
Definition at line 410 of file global.c.
Referenced by array_access(), Err_Raise(), Global_Chr(), Global_CLng(), Global_Hex(), Global_InStr(), Global_InStrRev(), Global_Left(), Global_Mid(), Global_MonthName(), Global_MsgBox(), Global_Oct(), Global_RGB(), Global_Right(), Global_Space(), Global_StrComp(), Global_UBound(), and Global_WeekdayName().
HRESULT vbdisp_get_id | ( | vbdisp_t * | This, |
BSTR | name, | ||
vbdisp_invoke_type_t | invoke_type, | ||
BOOL | search_private, | ||
DISPID * | id | ||
) |
Definition at line 59 of file vbdisp.c.
Referenced by disp_get_id(), and DispatchEx_GetDispID().
HRESULT WINAPI VBScriptFactory_CreateInstance | ( | IClassFactory * | iface, |
IUnknown * | pUnkOuter, | ||
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 930 of file vbscript.c.
HRESULT WINAPI VBScriptRegExpFactory_CreateInstance | ( | IClassFactory * | iface, |
IUnknown * | pUnkOuter, | ||
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 1618 of file vbregexp.c.