mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 02:07:25 +00:00
[JS] Add getFullyQualifiedName() (#6119)
This optionally generates a static `getFullyQualifiedName()` function to get the fully-qualified name of a type in JavaScript and TypeScript in a similar fashion to the C++ codegen.
This commit is contained in:
parent
f96d1ef744
commit
b8e87fafe4
16 changed files with 213 additions and 8 deletions
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
pushd "$(dirname $0)" >/dev/null
|
||||
../flatc -b -I include_test monster_test.fbs unicode_test.json
|
||||
../flatc --js -o js --gen-mutable --no-fb-import -I include_test monster_test.fbs
|
||||
../flatc --js -o js --gen-name-strings --gen-mutable --no-fb-import -I include_test monster_test.fbs
|
||||
node JavaScriptTest ./js/monster_test_generated
|
||||
|
||||
../flatc --js -o js --no-fb-import union_vector/union_vector.fbs
|
||||
../flatc --js --gen-name-strings -o js --no-fb-import union_vector/union_vector.fbs
|
||||
node JavaScriptUnionVectorTest ./js/union_vector_generated
|
||||
node JavaScriptFlexBuffersTest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue