Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ functions
Functions
4,701 in github.com/dop251/goja
⨍
Functions
4,701
◇
Types & classes
735
↓ 4 callers
Method
getURIError
()
builtin_error.go:296
↓ 4 callers
Method
getVStr
(v Value, p unistring.String)
runtime.go:2687
↓ 4 callers
Method
halted
()
vm.go:608
↓ 4 callers
Method
hasInstance
(v Value)
object.go:190
↓ 4 callers
Function
hex2decimal
(chr byte)
parser/lexer.go:889
↓ 4 callers
Method
initLocal
(s int)
vm.go:2841
↓ 4 callers
Function
isDecimalDigit
(chr rune)
parser/lexer.go:26
↓ 4 callers
Function
isIdentifierPart
(chr rune)
parser/lexer.go:76
↓ 4 callers
Function
isIdentifierStart
(chr rune)
parser/lexer.go:70
↓ 4 callers
Method
iterableToList
(iterable Value, method func(FunctionCall) Value)
runtime.go:2963
↓ 4 callers
Method
lookup
(key Value)
map.go:26
↓ 4 callers
Method
makeNamesMap
()
compiler.go:864
↓ 4 callers
Function
match
(s string, lower string)
date_parser.go:35
↓ 4 callers
Method
moveToStash
()
compiler.go:267
↓ 4 callers
Function
namesMarkedForCopy
(names []unistring.String)
object.go:1222
↓ 4 callers
Method
nearestThis
()
compiler.go:605
↓ 4 callers
Method
newArrayObject
()
builtin_array.go:22
↓ 4 callers
Method
newNativeFuncConstructObj
(v *Object, construct func(args []Value, proto *Object) *Object, name unistring.String, proto *Object, length
runtime.go:782
↓ 4 callers
Method
next
()
builtin_map.go:20
↓ 4 callers
Method
nextThrow
(v interface{})
func.go:882
↓ 4 callers
Method
parseFunctionBlock
(async, allowAwait, allowYield bool)
parser/statement.go:266
↓ 4 callers
Method
parseFunctionParameterList
()
parser/statement.go:166
↓ 4 callers
Method
parseIterationStatement
()
parser/statement.go:591
↓ 4 callers
Method
parseMethodDefinition
(keyStartIdx file.Idx, kind ast.PropertyKind, generator, async bool)
parser/expression.go:483
↓ 4 callers
Function
pow5mult
* Set b = b * 5^k. k must be nonnegative. */
ftoa/ftoa.go:657
↓ 4 callers
Method
promiseResolve
(c *Object, x Value)
builtin_promise.go:342
↓ 4 callers
Function
randomHash
Not goroutine-safe, do not use for anything other than package level init
value.go:27
↓ 4 callers
Method
restoreStacks
(iterLen, refLen uint32)
vm.go:777
↓ 4 callers
Function
roundOff
(buf []byte, startPos int)
ftoa/ftoa.go:680
↓ 4 callers
Method
runFile
(base, name string, vm *Runtime)
tc39_test.go:742
↓ 4 callers
Method
runTry
()
vm.go:868
↓ 4 callers
Method
runTryInner
()
vm.go:880
↓ 4 callers
Method
scanString
(offset int, parse bool)
parser/lexer.go:726
↓ 4 callers
Method
setPrivateProp
(base Value, name unistring.String, typ *privateEnvType, idx uint32, isMethod bool, val Value)
vm.go:5797
↓ 4 callers
Function
stuffBits
(bits []byte, offset int, val uint32)
ftoa/common.go:96
↓ 4 callers
Method
swap
(int, int)
builtin_array.go:1755
↓ 4 callers
Function
testLibX
()
compiler_test.go:174
↓ 4 callers
Method
times
Returns f * o
ftoa/internal/fast/diyfp.go:70
↓ 4 callers
Function
toFloat32
(v Value)
runtime.go:1198
↓ 4 callers
Function
toInt16
(v Value)
runtime.go:1078
↓ 4 callers
Function
toInt8
(v Value)
runtime.go:1009
↓ 4 callers
Method
toPrimitiveString
()
object.go:898
↓ 4 callers
Method
toRaw
(Value)
typedarrays.go:48
↓ 4 callers
Function
toUint8
(v Value)
runtime.go:1024
↓ 4 callers
Method
tryPrimitive
(methodName unistring.String)
object.go:837
↓ 4 callers
Method
updateEnterBlock
(enter *enterBlock)
compiler_stmt.go:87
↓ 4 callers
Method
write
(p []byte)
parser/regexp.go:119
↓ 4 callers
Method
writeRuneFast
assumes already started
string_unicode.go:185
↓ 3 callers
Method
Detach
Detach the ArrayBuffer. After this, the underlying []byte becomes unreferenced and any attempt to use this ArrayBuffer results in a TypeError. Returns
typedarrays.go:103
↓ 3 callers
Method
GetSymbol
GetSymbol returns the value of a symbol property. Use one of the Sym* values for well-known symbols (such as SymIterator, SymToStringTag, etc...). Thi
value.go:813
↓ 3 callers
Method
IsAccessor
()
object.go:71
↓ 3 callers
Method
IsData
()
object.go:75
↓ 3 callers
Function
ResolveSourcemapURL
(basename, source string)
file/file.go:184
↓ 3 callers
Method
SetLen
SetLen is called when the array's 'length' property is changed. If the length is increased all elements in the 'new' section of the array should be ze
object_dynamic.go:60
↓ 3 callers
Method
SetMaxCallStackSize
SetMaxCallStackSize sets the maximum function call depth. When exceeded, a *StackOverflowError is thrown and returned by RunProgram or by a Callable c
runtime.go:2450
↓ 3 callers
Function
StringFromUTF16
StringFromUTF16 creates a string value from an array of UTF-16 code units. The result is a copy, so the initial slice can be modified after calling th
string.go:344
↓ 3 callers
Method
WriteUTF8String
(s string)
string_unicode.go:227
↓ 3 callers
Method
__sameValue
(val1, val2 Value)
proxy.go:961
↓ 3 callers
Method
_call
(args []Value, newTarget, this Value)
func.go:449
↓ 3 callers
Method
_delete
(name unistring.String)
object.go:400
↓ 3 callers
Method
_emitSetterP
(rn *resolvedPrivateName, id *privateId)
compiler_expr.go:680
↓ 3 callers
Method
_get
(base Value, vm *vm)
vm.go:5732
↓ 3 callers
Method
_getField
(jsName string)
object_goreflect.go:202
↓ 3 callers
Method
_getMethod
(jsName string)
object_goreflect.go:212
↓ 3 callers
Method
_has
(idx int)
object_dynamic.go:674
↓ 3 callers
Method
_has
(name string)
object_goreflect.go:382
↓ 3 callers
Method
_hasIdx
(idx int)
typedarrays.go:800
↓ 3 callers
Method
_hasStr
(name string)
object_gomap.go:76
↓ 3 callers
Function
_newParser
(filename, src string, base int, opts ...Option)
parser/parser.go:112
↓ 3 callers
Method
_put
(name string, val Value, throw bool)
object_goreflect.go:321
↓ 3 callers
Method
_putSym
(s *Symbol, prop Value)
object.go:813
↓ 3 callers
Method
_set
(base Value, val Value, vm *vm)
vm.go:5874
↓ 3 callers
Function
_word0
(d float64)
ftoa/ftoa.go:638
↓ 3 callers
Function
_word1
(d float64)
ftoa/ftoa.go:643
↓ 3 callers
Method
addBinding
(offset int)
compiler.go:538
↓ 3 callers
Function
allocByteSlice
(size int)
builtin_typedarrays.go:74
↓ 3 callers
Method
arrayproto_pop_generic
(obj *Object)
builtin_array.go:117
↓ 3 callers
Method
asyncCall
(call FunctionCall, vmCall func(*vm, int))
func.go:613
↓ 3 callers
Method
asyncVmCall
(vm *vm, n int, vmCall func(*vm, int))
func.go:667
↓ 3 callers
Method
bindName
(name unistring.String)
compiler.go:569
↓ 3 callers
Function
bumpUp
(buf []byte, k int)
ftoa/ftoa.go:611
↓ 3 callers
Method
call
(call FunctionCall, newTarget Value)
func.go:457
↓ 3 callers
Method
callDelegated
(method func(FunctionCall) Value, v Value)
func.go:973
↓ 3 callers
Method
check
(p unistring.String)
object.go:1639
↓ 3 callers
Method
checkDelete
(name unistring.String, val Value, throw bool)
object.go:393
↓ 3 callers
Method
checkStdArrayIter
(v Value)
builtin_array.go:1457
↓ 3 callers
Method
clear
()
map.go:157
↓ 3 callers
Method
compileDeclList
(v []*ast.VariableDeclaration, inFunc bool)
compiler.go:1007
↓ 3 callers
Function
convertRegexpToUtf16
Convert any extended unicode characters to UTF-16 in the form of \uXXXX\uXXXX
builtin_regexp.go:101
↓ 3 callers
Method
createInstance
(args []Value, newTarget *Object)
func.go:308
↓ 3 callers
Method
createLexicalBinding
(target ast.Expression, isConst bool)
compiler.go:1200
↓ 3 callers
Method
createListFromArrayLike
(a Value)
builtin_function.go:78
↓ 3 callers
Method
createMapIterator
(mapValue Value, kind iterationKind)
builtin_map.go:239
↓ 3 callers
Function
dateParse
(date string)
date.go:28
↓ 3 callers
Method
emitGetVar
(callee bool)
compiler.go:239
↓ 3 callers
Method
emitLexicalAssign
(name unistring.String, offset int, init compiledExpr)
compiler_stmt.go:795
↓ 3 callers
Method
emitSetP
()
compiler.go:179
↓ 3 callers
Method
emitSetter
(valueExpr compiledExpr, putOnStack bool)
compiler_expr.go:14
↓ 3 callers
Method
emitVarSetter1
(putOnStack bool, emitRight func(isRef bool))
compiler_expr.go:386
↓ 3 callers
Method
ensurePatternInit
(list []*ast.Binding)
parser/statement.go:771
← previous
next →
501–600 of 4,701, ranked by callers