|
ELinks 0.19.1
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "elinks.h"#include "js/ecmascript.h"#include "js/quickjs/mapa.h"#include "js/quickjs.h"#include "js/quickjs/attr.h"#include "js/quickjs/document.h"#include "js/quickjs/element.h"#include "js/quickjs/fragment.h"#include "js/quickjs/node.h"#include "js/quickjs/nodelist.h"#include "js/quickjs/text.h"
Macros | |
| #define | countof(x) |
Enumerations | |
| enum | { ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 , CDATA_SECTION_NODE = 4 , PROCESSING_INSTRUCTION_NODE = 7 , COMMENT_NODE = 8 , DOCUMENT_NODE = 9 , DOCUMENT_TYPE_NODE = 10 , DOCUMENT_FRAGMENT_NODE = 11 } |
Functions | |
| JSValue | getNode (JSContext *ctx, void *n) |
| static JSValue | node_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv) |
| static void | JS_NewGlobalCConstructor2 (JSContext *ctx, JSValue func_obj, const char *name, JSValueConst proto) |
| static JSValueConst | JS_NewGlobalCConstructor (JSContext *ctx, const char *name, JSCFunction *func, int length, JSValueConst proto) |
| int | js_node_init (JSContext *ctx) |
Variables | |
| static JSClassID | js_node_class_id |
| static const JSCFunctionListEntry | node_class_funcs [] |
| static JSClassDef | node_class |
| #define countof | ( | x | ) |
| anonymous enum |
| JSValue getNode | ( | JSContext * | ctx, |
| void * | n ) |
|
static |
|
static |
| int js_node_init | ( | JSContext * | ctx | ) |
|
static |
|
static |
|
static |
|
static |