Skip to content

Commit 164459c

Browse files
doc: update class hierarchy for TypeTaggable
Reflect in the class hierarchy that `Napi::TypeTaggable` was injected between `Napi::Object` and `Napi:External`, and their parent class, `Napi::Value`. PR-URL: #1303 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Michael Dawson <[email protected]
1 parent d013044 commit 164459c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/hierarchy.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
| [`Napi::Env`][] | |
2121
| [`Napi::Error`][] | [`Napi::ObjectReference`][], [`std::exception`][] |
2222
| [`Napi::EscapableHandleScope`][] | |
23-
| [`Napi::External`][] | [`Napi::Value`][] |
23+
| [`Napi::External`][] | [`Napi::TypeTaggable`][] |
2424
| [`Napi::Function`][] | [`Napi::Object`][] |
2525
| [`Napi::FunctionReference`][] | [`Napi::Reference<Napi::Function>`][] |
2626
| [`Napi::HandleScope`][] | |
2727
| [`Napi::InstanceWrap`][] | |
2828
| [`Napi::MemoryManagement`][] | |
2929
| [`Napi::Name`][] | [`Napi::Value`][] |
3030
| [`Napi::Number`][] | [`Napi::Value`][] |
31-
| [`Napi::Object`][] | [`Napi::Value`][] |
31+
| [`Napi::Object`][] | [`Napi::TypeTaggable`][] |
3232
| [`Napi::ObjectReference`][] | [`Napi::Reference<Napi::Object>`][] |
3333
| [`Napi::ObjectWrap`][] | [`Napi::InstanceWrap`][], [`Napi::Reference<Napi::Object>`][] |
3434
| [`Napi::Promise`][] | [`Napi::Object`][] |
@@ -38,6 +38,7 @@
3838
| [`Napi::String`][] | [`Napi::Name`][] |
3939
| [`Napi::Symbol`][] | [`Napi::Name`][] |
4040
| [`Napi::ThreadSafeFunction`][] | |
41+
| [`Napi::TypeTaggable`][] | [`Napi::Value][] |
4142
| [`Napi::TypeError`][] | [`Napi::Error`][] |
4243
| [`Napi::TypedArray`][] | [`Napi::Object`][] |
4344
| [`Napi::TypedArrayOf`][] | [`Napi::TypedArray`][] |
@@ -83,6 +84,7 @@
8384
[`Napi::Symbol`]: ./symbol.md
8485
[`Napi::ThreadSafeFunction`]: ./threadsafe_function.md
8586
[`Napi::TypeError`]: ./type_error.md
87+
[`Napi::TypeTaggable`]: ./type_taggable.md
8688
[`Napi::TypedArray`]: ./typed_array.md
8789
[`Napi::TypedArrayOf`]: ./typed_array_of.md
8890
[`Napi::Uint8Array`]: ./typed_array_of.md

doc/type_taggable.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ return value is `false`. If a tag is found and it matches `type_tag`, then the
3636
return value is `true`.
3737

3838
[`Napi::Value`]: ./value.md
39+
[`Napi::Object`]: ./object.md
40+
[`Napi::External`]: ./external.md

0 commit comments

Comments
 (0)