2021-05-02 11:27:35 -04:00
|
|
|
|
|
|
|
#ifndef EL__ECMASCRIPT_SPIDERMONKEY_ELEMENT_H
|
|
|
|
#define EL__ECMASCRIPT_SPIDERMONKEY_ELEMENT_H
|
|
|
|
|
|
|
|
#include "ecmascript/spidermonkey/util.h"
|
|
|
|
|
|
|
|
extern JSClass element_class;
|
|
|
|
extern JSPropertySpec element_props[];
|
|
|
|
|
|
|
|
JSObject *getElement(JSContext *ctx, void *node);
|
2021-05-11 13:02:54 -04:00
|
|
|
JSObject *getCollection(JSContext *ctx, void *node);
|
2021-05-13 11:41:18 -04:00
|
|
|
JSObject *getAttributes(JSContext *ctx, void *node);
|
|
|
|
JSObject *getAttr(JSContext *ctx, void *node);
|
2021-06-07 10:34:53 -04:00
|
|
|
JSObject *getNodeList(JSContext *ctx, void *node);
|
2021-05-02 11:27:35 -04:00
|
|
|
|
|
|
|
#endif
|