openharmony 鸿蒙 capi-jsvm-jsvm-scriptorigin

2026-08-25 浏览 (1)

JSVM_ScriptOrigin

typedef struct {...} JSVM_ScriptOrigin

Overview

Defines the original information about a JavaScript code segment, such as the source map path, source file name, and start line/column number in the source file.

Since: 12

Related module: JSVM

Header file: jsvm_types.h

Summary

Member Variables

NameDescription
const char* sourceMapUrlSource map path.
const char* resourceNameSource file name.
size_t resourceLineOffsetStart line number of the code segment in the source file.
size_t resourceColumnOffsetStart column number of the code segment in the source file.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-jsvm-jsvm-vminfo

openharmony 鸿蒙 capi-memory

openharmony 鸿蒙 js-apis-syscap

openharmony 鸿蒙 capi-memory-purgmem

openharmony 鸿蒙 capi-jsvm-jsvm-callbackstruct8h

openharmony 鸿蒙 capi-jsvm-jsvm-propertydescriptor

openharmony 鸿蒙 js-apis-common-load-native-module

openharmony 鸿蒙 capi-jsvm-jsvm-cpuprofiler--8h

openharmony 鸿蒙 capi-jsvm-jsvm-codecache

openharmony 鸿蒙 capi-jsvm-jsvm-data--8h

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/RJ82SYAr