Skip to content

Commit

Permalink
📃 docs: Revise doc for V8 values
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Dec 25, 2024
1 parent be7545d commit c3afce2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/make_html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-build -M html ./ ./_build
36 changes: 34 additions & 2 deletions docs/reference/v8_values/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,40 @@
V8 Values
=========

V8 values represent a family of V8 primitive or reference values in JVM.

======================== =========================== ===========================
Feature V8 Primitive Values V8 Reference Values
======================== =========================== ===========================
Decoupled with V8 Yes No
Immutable Yes No
Performance High Medium
======================== =========================== ===========================

V8 Primitive Values
===================

=========================== ======================
Java Type JavaScript Type
=========================== ======================
V8ValueBigInteger bigint
V8ValueBoolean bool
V8ValueDouble number
V8ValueInteger number
V8ValueLong bigint
V8ValueNull null
V8ValueString string
V8ValueUndefined undefined
V8ValueZonedDateTime Date
=========================== ======================

V8 Reference Values
===================

.. toctree::
:maxdepth: 1
:glob:

*
v8_collection
v8_function
v8_promise
v8_typed_array

0 comments on commit c3afce2

Please sign in to comment.