7#include "fxjs/xfa/cjx_treelist.h"
11#include "fxjs/js_resources.h"
12#include "fxjs/xfa/cfxjse_engine.h"
13#include "fxjs/xfa/cfxjse_value.h"
14#include "third_party/base/containers/span.h"
15#include "v8/include/v8-object.h"
16#include "xfa/fxfa/parser/cxfa_document.h"
17#include "xfa/fxfa/parser/cxfa_node.h"
18#include "xfa/fxfa/parser/cxfa_treelist.h"
21 {
"namedItem", namedItem_static}};
38 pdfium::span<v8::Local<v8::Value>> params) {
39 if (params.size() != 1)
42 CXFA_Node* pNode = GetXFATreeList()->NamedItem(
43 runtime->ToWideString(params[0]).AsStringView());
friend class EventParamScope
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
bool DynamicTypeIs(TypeTag eType) const override
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
CXFA_Object * GetXFAObject() const
bool DynamicTypeIs(TypeTag eType) const override