Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caoccao/Javet
/ functions
Functions
4,340 in github.com/caoccao/Javet
⨍
Functions
4,340
◇
Types & classes
475
↓ 3 callers
Function
ToV8String
cpp/jni/javet_converter.cpp:1123
↓ 3 callers
Function
ToV8Undefined
cpp/jni/javet_converter.h:262
↓ 3 callers
Function
ToV8Values
cpp/jni/javet_converter.cpp:1267
↓ 3 callers
Method
addMethod
Add method. @param method the method @param startIndex the start index @param map the map @since 0.9.6
src/main/java/com/caoccao/javet/interop/proxy/BaseJavetReflectionProxyHandler.java:143
↓ 3 callers
Method
allowEval
Allow eval(). @param allow true : allow eval(), false : disallow eval() @since 0.8.0
src/main/java/com/caoccao/javet/interop/V8Runtime.java:456
↓ 3 callers
Method
asString
Call toString() by V8 value array and index. @param v8Values the V8 values @param index the index @return the string @since 3.0.4
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:80
↓ 3 callers
Method
batchArrayGet
Batch get elements from an Array within the given index range. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handl
src/main/java/com/caoccao/javet/interop/IV8Native.java:92
↓ 3 callers
Method
batchObjectGet
Batch get properties from an Object by keys. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTy
src/main/java/com/caoccao/javet/interop/IV8Native.java:107
↓ 3 callers
Method
booleanObjectValueOf
Get the primitive value of a Boolean object. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTy
src/main/java/com/caoccao/javet/interop/IV8Native.java:128
↓ 3 callers
Method
callback
Callback. @param v8GCTypeEnumSet the V8 GC type enum set @param v8GCCallbackFlagsEnumSet the V8 GC callback flags enum set @since 1.0.3
src/main/java/com/caoccao/javet/interop/callback/IJavetGCCallback.java:37
↓ 3 callers
Method
cloneV8Value
Clone a V8 value, optionally as a reference copy. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8Va
src/main/java/com/caoccao/javet/interop/IV8Native.java:160
↓ 3 callers
Method
close
Closes this V8 reference value. @param forceClose whether to force close even if the reference is still in use @throws JavetException the javet excep
src/main/java/com/caoccao/javet/values/reference/IV8ValueReference.java:40
↓ 3 callers
Method
closeV8Runtime
Close and dispose a V8 runtime. @param v8RuntimeHandle the V8 runtime handle
src/main/java/com/caoccao/javet/interop/IV8Native.java:167
↓ 3 callers
Method
contextGet
Get a value from a Context at the given index. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8Value
src/main/java/com/caoccao/javet/interop/IV8Native.java:178
↓ 3 callers
Method
contextGetLength
Get the length of a Context. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8 va
src/main/java/com/caoccao/javet/interop/IV8Native.java:188
↓ 3 callers
Method
contextIsContextType
Check if a Context matches the given context type. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8V
src/main/java/com/caoccao/javet/interop/IV8Native.java:199
↓ 3 callers
Method
contextSetLength
Set the length of a Context. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8 va
src/main/java/com/caoccao/javet/interop/IV8Native.java:210
↓ 3 callers
Method
convert
(IJavetConverter converter, Class<?> expectedClass, V8Value v8Value)
src/main/java/com/caoccao/javet/interop/callback/V8FunctionCallback.java:48
↓ 3 callers
Method
convertToVirtualObjects
Convert to virtual objects. @param v8Values the V8 values @return the javet virtual objects @since 0.9.10
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:227
↓ 3 callers
Method
createOrGetPrototype
Create or get prototype. @param v8Runtime the V8 runtime @param v8ProxyMode the V8 proxy mode @param clazz the clazz @return the prototype @t
src/main/java/com/caoccao/javet/interop/proxy/JavetProxyPrototypeStore.java:65
↓ 3 callers
Method
createV8Module
Create a V8 synthetic module. @param moduleName the module name @param iV8ValueObject the V8 value object to be exported @return the V8 module @t
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:47
↓ 3 callers
Method
createV8Runtime
Create V8 runtime. @param <R> the type parameter @return the V8 runtime @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interop/V8Host.java:280
↓ 3 callers
Method
doubleObjectValueOf
Get the primitive value of a Number object created from a double. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value ha
src/main/java/com/caoccao/javet/interop/IV8Native.java:248
↓ 3 callers
Method
fromInteger
(String flagName, int flagValue)
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:136
↓ 3 callers
Method
fromMaybeBool
(String flagName, Boolean flagValue)
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:140
↓ 3 callers
Method
functionCanDiscardCompiled
Check if a Function's compiled code can be discarded. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param
src/main/java/com/caoccao/javet/interop/IV8Native.java:304
↓ 3 callers
Method
functionCopyScopeInfoFrom
Copy scope info from a source Function to a target Function. @param v8RuntimeHandle the V8 runtime handle @param targetV8ValueHandle the target V
src/main/java/com/caoccao/javet/interop/IV8Native.java:337
↓ 3 callers
Method
functionDiscardCompiled
Discard the compiled code of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType
src/main/java/com/caoccao/javet/interop/IV8Native.java:359
↓ 3 callers
Method
functionGetArguments
Get the argument names of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType
src/main/java/com/caoccao/javet/interop/IV8Native.java:369
↓ 3 callers
Method
functionGetCachedData
Get the cached compiled data of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTyp
src/main/java/com/caoccao/javet/interop/IV8Native.java:379
↓ 3 callers
Method
functionGetContext
Get the context of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8
src/main/java/com/caoccao/javet/interop/IV8Native.java:389
↓ 3 callers
Method
functionGetInternalProperties
Get the internal properties of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType
src/main/java/com/caoccao/javet/interop/IV8Native.java:399
↓ 3 callers
Method
functionGetJSFunctionType
Get the JS function type of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType
src/main/java/com/caoccao/javet/interop/IV8Native.java:409
↓ 3 callers
Method
functionGetJSScopeType
Get the JS scope type of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType t
src/main/java/com/caoccao/javet/interop/IV8Native.java:419
↓ 3 callers
Method
functionGetScopeInfos
Get the scope info objects of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @para
src/main/java/com/caoccao/javet/interop/IV8Native.java:431
↓ 3 callers
Method
functionGetScriptSource
Get the script source object of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTyp
src/main/java/com/caoccao/javet/interop/IV8Native.java:443
↓ 3 callers
Method
functionGetSourceCode
Get the source code string of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType
src/main/java/com/caoccao/javet/interop/IV8Native.java:453
↓ 3 callers
Method
functionIsCompiled
Check if a Function is compiled. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V
src/main/java/com/caoccao/javet/interop/IV8Native.java:463
↓ 3 callers
Method
functionIsWrapped
Check if a Function is wrapped. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8
src/main/java/com/caoccao/javet/interop/IV8Native.java:473
↓ 3 callers
Method
functionSetContext
Set the context of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueType the V8
src/main/java/com/caoccao/javet/interop/IV8Native.java:484
↓ 3 callers
Method
functionSetScriptSource
Set the script source object of a Function. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8ValueTyp
src/main/java/com/caoccao/javet/interop/IV8Native.java:496
↓ 3 callers
Method
getAllowFsRead
This flag configures file system read permissions using the Permission Model. <p> The valid arguments for the --allow-fs-read flag are: <p> - To allow
src/main/java/com/caoccao/javet/interop/options/NodeFlags.java:123
↓ 3 callers
Method
getApplyFunctions
Gets apply functions. @return the apply functions @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:162
↓ 3 callers
Method
getArguments
Gets arguments. @return the arguments @throws JavetException the javet exception @since 2.0.3
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:384
↓ 3 callers
Method
getBuiltInJson
Gets built-in JSON. @return the built-in JSON @throws JavetException the javet exception @since 0.9.2
src/main/java/com/caoccao/javet/values/reference/V8ValueGlobalObject.java:73
↓ 3 callers
Method
getCallbackContexts
Get supported callback contexts. @return the supported callback contexts @since 2.2.0
src/main/java/com/caoccao/javet/interop/callback/IJavetDirectCallable.java:38
↓ 3 callers
Method
getCloseLock
Gets close lock. @return the close lock @since 3.1.3
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1568
↓ 3 callers
Method
getContextGroupIds
()
src/test/java/com/caoccao/javet/interop/TestV8Inspector.java:815
↓ 3 callers
Function
getCpuCount
(config: BuildConfig)
cpp/jni-build.ts:237
↓ 3 callers
Method
getDefaultChar
Gets default char. @return the default char @since 0.9.4
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:204
↓ 3 callers
Method
getDescription
Gets description. @return the description @throws JavetException the javet exception @since 0.9.11
src/main/java/com/caoccao/javet/values/reference/V8ValueSymbol.java:66
↓ 3 callers
Method
getEndPosition
Gets end position. @return the end position @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:950
↓ 3 callers
Method
getEntries
Gets entries. @return the entries @throws JavetException the javet exception @since 0.7.2
src/main/java/com/caoccao/javet/values/reference/IV8ValueSet.java:82
↓ 3 callers
Method
getFunctionMap
Gets function map. @return the function map @since 0.9.2
src/main/java/com/caoccao/javet/interop/binding/BindingContext.java:79
↓ 3 callers
Method
getGenericSetters
Gets generic setters. @return the generic setters @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:224
↓ 3 callers
Method
getGettersMap
Gets getters map. @return the getters map @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:244
↓ 3 callers
Method
getHandle
()
src/main/java/com/caoccao/javet/values/reference/V8ValueReference.java:106
↓ 3 callers
Method
getInitialHeapSize
Gets initial heap size. @return the initial heap size @since 0.9.13
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:193
↓ 3 callers
Method
getInstance
Gets instance. @return the instance @since 3.0.4
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:282
↓ 3 callers
Method
getInternalStatistic
Get internal statistics. @return the statistics
src/main/java/com/caoccao/javet/interop/IV8Native.java:525
↓ 3 callers
Method
getJavaObject
cpp/jni/javet_inspector.cpp:517
↓ 3 callers
Method
getLength
()
src/main/java/com/caoccao/javet/values/reference/V8ValueArray.java:168
↓ 3 callers
Method
getMaxHeapSize
Gets max heap size. @return the max heap size @since 0.9.13
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:203
↓ 3 callers
Method
getMaxOldSpaceSize
Gets max old space size. @return the max old space size @since 0.9.13
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:213
↓ 3 callers
Method
getMessage
Gets message. @return the message @since 0.9.1
src/main/java/com/caoccao/javet/exceptions/JavetScriptingError.java:177
↓ 3 callers
Method
getMethodsMap
Gets methods map. @return the methods map @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:254
↓ 3 callers
Method
getName
Gets name. @return the name @since 2.2.0
src/main/java/com/caoccao/javet/interop/callback/JavetCallbackContext.java:268
↓ 3 callers
Method
getName
Gets the type name. @return the name
src/main/java/com/caoccao/javet/enums/V8ValueReferenceType.java:147
↓ 3 callers
Method
getNearHeapLimitCallback
Gets near heap limit callback. @return the near heap limit callback @since 4.1.6
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1715
↓ 3 callers
Method
getOptions
(int id)
src/test/java/com/caoccao/javet/values/reference/TestV8ValueFunction.java:66
↓ 3 callers
Method
getPoolMinSize
Gets pool min size. @return the pool min size @since 0.9.1
src/main/java/com/caoccao/javet/interop/engine/JavetEngineConfig.java:259
↓ 3 callers
Method
getPropertyGetterMap
Gets property getter map. @return the property getter map @since 0.9.2
src/main/java/com/caoccao/javet/interop/binding/BindingContext.java:89
↓ 3 callers
Method
getPrototype
Gets prototype. <p> The return value must be consumed, otherwise memory leak may occur. @param <T> the type parameter @return the prototype @throws J
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:842
↓ 3 callers
Method
getProxyGetBySymbol
Gets proxy get function by symbol property. @param <E> the type parameter @param targetClass the target class @param symbolName the symbol n
src/main/java/com/caoccao/javet/interop/binding/IClassProxyPlugin.java:77
↓ 3 callers
Method
getRawPointerType
Gets raw pointer type. @return the raw pointer type @since 3.1.4
src/main/java/com/caoccao/javet/interfaces/IJavetRawPointer.java:33
↓ 3 callers
Method
getResultString
Gets result string. @return the result string @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/values/reference/IV8ValuePromise.java:203
↓ 3 callers
Method
getScore
Gets score. @return the score @since 0.9.6
src/main/java/com/caoccao/javet/interop/proxy/ScoredExecutable.java:354
↓ 3 callers
Method
getStartPosition
Gets start position. @return the start position @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:960
↓ 3 callers
Method
getUndefined
Gets undefined by index. @param index the index @return the undefined @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:224
↓ 3 callers
Method
getUsage
Gets usage. @return the usage @since 0.7.0
src/main/java/com/caoccao/javet/interop/engine/JavetEngine.java:147
↓ 3 callers
Method
getV8SharedMemoryStatistics
Get V8 shared memory statistics. In multi-cage pointer compression builds, the underlying V8 API reads from the IsolateGroup that owns the caller's is
src/main/java/com/caoccao/javet/interop/IV8Native.java:560
↓ 3 callers
Method
getWebSocketUrl
()
src/test/java/com/caoccao/javet/tutorial/cdt/CDTConfig.java:32
↓ 3 callers
Method
getX
()
src/test/java/com/caoccao/javet/mock/MockDirectProxyObjectHandler.java:58
↓ 3 callers
Method
getZonedDateTime
Gets element as zoned date time by index. @param index the index @return the element as zoned date time @throws JavetException the javet exception @s
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:236
↓ 3 callers
Method
has
handler.has() The handler.has() method is a trap for the [[HasProperty]] object internal method, which is used by operations such as the in operator.
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxyHandler.java:266
↓ 3 callers
Method
hasContext
Has context. @return true : yes, false : no @since 2.0.2
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:751
↓ 3 callers
Method
integerObjectValueOf
Get the primitive value of a Number object created from an integer. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value
src/main/java/com/caoccao/javet/interop/IV8Native.java:612
↓ 3 callers
Method
invokeBoolean
Invoke function and return a boolean by function name and objects as arguments. @param functionName the function name @param objects the objects
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1017
↓ 3 callers
Method
invokeObject
Invoke function and return an object by function name and objects as arguments. @param <T> the type parameter @param functionName the functi
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1140
↓ 3 callers
Method
isActive
Is active boolean. @return true : active, false : inactive @since 0.7.0
src/main/java/com/caoccao/javet/interop/engine/IJavetEngine.java:74
↓ 3 callers
Method
isAllowNativesSyntax
Is allow natives syntax. @return the boolean @since 0.7.0
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:233
↓ 3 callers
Method
isAllowed
Is allowed. @param conversionMode the conversion mode @param accessibleObject the accessible object @return true : allowed, false : disallowed @sin
src/main/java/com/caoccao/javet/interop/proxy/BaseJavetReflectionProxyHandler.java:624
↓ 3 callers
Method
isCloneScript
CloneScript: Clone the script so that the original script is not affected. <p> When this option is turned on, it is called LiveEdit in V8. @return tr
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:1046
↓ 3 callers
Method
isExposeGC
Is expose gc. @return the boolean @since 0.7.0
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:243
↓ 3 callers
Method
isExposeInspectorScripts
Is expose inspector scripts. @return the boolean @since 0.7.0
src/main/java/com/caoccao/javet/interop/options/V8Flags.java:253
↓ 3 callers
Method
isLibraryLoaded
Is library loaded. @return true : loaded, false: not loaded @since 0.8.0
src/main/java/com/caoccao/javet/interop/V8Host.java:476
↓ 3 callers
Method
isMethodProxyable
Is method proxyable. @param methodName the method name @param targetClass the target class @return true : yes, false : no @since 3.0.4
src/main/java/com/caoccao/javet/interop/binding/IClassProxyPlugin.java:163
↓ 3 callers
Method
isModule
Is module boolean. @return the boolean @since 0.9.1
src/main/java/com/caoccao/javet/interop/executors/IV8Executor.java:195
↓ 3 callers
Method
isNotBlank
Is not blank. @param str the str @return true : not blank, false : blank @since 4.0.0
src/main/java/com/caoccao/javet/utils/StringUtils.java:96
↓ 3 callers
Method
isNullOrUndefined
Is null or undefined. @return true : null or undefined, false : not null and not undefined @since 0.8.4
src/main/java/com/caoccao/javet/values/IV8Value.java:124
← previous
next →
501–600 of 4,340, ranked by callers