7#include "fxjs/xfa/cjx_xfa.h"
10#include "fxjs/xfa/cfxjse_engine.h"
11#include "v8/include/v8-object.h"
12#include "xfa/fxfa/parser/cxfa_document.h"
13#include "xfa/fxfa/parser/cxfa_xfa.h"
15CJX_Xfa::CJX_Xfa(CXFA_Xfa* node) :
CJX_Model(node) {}
23void CJX_Xfa::thisValue(
v8::Isolate* pIsolate,
24 v8::Local<v8::Value>* pValue,
30 auto* pScriptContext =
GetDocument()->GetScriptContext();
31 CXFA_Object* pThis = pScriptContext->GetThisObject();
33 pThis ? pScriptContext->GetOrCreateJSBindingFromMap(pThis).As<v8::Value>()
34 : fxv8::NewNullHelper(pIsolate);
bool DynamicTypeIs(TypeTag eType) const override
CXFA_Document * GetDocument() const
bool DynamicTypeIs(TypeTag eType) const override