Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Data Structures | |
struct | duk__compile_raw_args |
Typedefs | |
typedef struct duk__compile_raw_args | duk__compile_raw_args |
Functions | |
DUK_EXTERNAL duk_int_t | duk_eval_raw (duk_context *ctx, const char *src_buffer, duk_size_t src_length, duk_uint_t flags) |
DUK_LOCAL duk_ret_t | duk__do_compile (duk_context *ctx) |
DUK_EXTERNAL duk_int_t | duk_compile_raw (duk_context *ctx, const char *src_buffer, duk_size_t src_length, duk_uint_t flags) |
typedef struct duk__compile_raw_args duk__compile_raw_args |
Definition at line 7 of file duktape-1.5.2/src-separate/duk_api_compile.c.
DUK_LOCAL duk_ret_t duk__do_compile | ( | duk_context * | ctx | ) |
Definition at line 61 of file duktape-1.5.2/src-separate/duk_api_compile.c.
References duk_hthread::builtins, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_BIDX_GLOBAL_ENV, DUK_COMPILE_EVAL, DUK_COMPILE_FUNCTION, DUK_COMPILE_NOFILENAME, DUK_COMPILE_NOSOURCE, DUK_COMPILE_STRICT, DUK_ERROR_API, duk_get_hobject(), duk_get_hstring(), DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_DATA, duk_js_compile(), DUK_JS_COMPILE_FLAG_EVAL, DUK_JS_COMPILE_FLAG_FUNCEXPR, DUK_JS_COMPILE_FLAG_STRICT, duk_js_push_closure(), duk_pop(), duk_push_hstring_stridx(), duk_remove(), duk_require_pointer(), DUK_STR_NO_SOURCECODE, DUK_STRIDX_EVAL, DUK_STRIDX_INPUT, duk__compile_raw_args::flags, NULL, duk__compile_raw_args::src_buffer, and duk__compile_raw_args::src_length.
Referenced by duk_compile_raw().
DUK_EXTERNAL duk_int_t duk_compile_raw | ( | duk_context * | ctx, |
const char * | src_buffer, | ||
duk_size_t | src_length, | ||
duk_uint_t | flags ) |
Definition at line 151 of file duktape-1.5.2/src-separate/duk_api_compile.c.
References duk__do_compile(), DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_COMPILE_NOFILENAME, DUK_COMPILE_NOSOURCE, DUK_COMPILE_SAFE, DUK_COMPILE_STRLEN, DUK_EXEC_SUCCESS, duk_push_pointer(), duk_safe_call(), DUK_STRLEN, duk__compile_raw_args::flags, NULL, duk__compile_raw_args::src_buffer, and duk__compile_raw_args::src_length.
Referenced by duk_eval_raw().
DUK_EXTERNAL duk_int_t duk_eval_raw | ( | duk_context * | ctx, |
const char * | src_buffer, | ||
duk_size_t | src_length, | ||
duk_uint_t | flags ) |
Definition at line 15 of file duktape-1.5.2/src-separate/duk_api_compile.c.
References DUK_ASSERT_CTX_VALID, duk_call_method(), DUK_COMPILE_EVAL, DUK_COMPILE_NORESULT, duk_compile_raw(), DUK_COMPILE_SAFE, DUK_EXEC_ERROR, DUK_EXEC_SUCCESS, duk_pcall_method(), duk_pop(), and duk_push_global_object().