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
↓ 2 callers
Method
compileFieldsAndStaticBlocks
(elements []clsElement, funcName unistring.String)
compiler_expr.go:2144
↓ 2 callers
Method
compileFunction
(v *ast.FunctionDeclaration)
compiler.go:1246
↓ 2 callers
Method
compileIfBodyDummy
(s ast.Statement)
compiler_stmt.go:674
↓ 2 callers
Method
compileLabeledDoWhileStatement
(v *ast.DoWhileStatement, needResult bool, label unistring.String)
compiler_stmt.go:217
↓ 2 callers
Method
compileLabeledForInOfStatement
(into ast.ForInto, source ast.Expression, body ast.Statement, iter, needResult bool, label unistring.String)
compiler_stmt.go:407
↓ 2 callers
Method
compileLabeledForInStatement
(v *ast.ForInStatement, needResult bool, label unistring.String)
compiler_stmt.go:483
↓ 2 callers
Method
compileLabeledForOfStatement
(v *ast.ForOfStatement, needResult bool, label unistring.String)
compiler_stmt.go:491
↓ 2 callers
Method
compileLabeledForStatement
(v *ast.ForStatement, needResult bool, label unistring.String)
compiler_stmt.go:252
↓ 2 callers
Method
compileLabeledWhileStatement
(v *ast.WhileStatement, needResult bool, label unistring.String)
compiler_stmt.go:499
↓ 2 callers
Method
compileLexicalDeclaration
(v *ast.LexicalDeclaration)
compiler_stmt.go:858
↓ 2 callers
Method
compileParameterBindingIdentifier
(name unistring.String, offset int)
compiler_expr.go:1292
↓ 2 callers
Method
compileParameterPatternBinding
(item ast.Expression)
compiler_expr.go:1306
↓ 2 callers
Function
compileRegexp
(patternStr, flags string)
builtin_regexp.go:188
↓ 2 callers
Function
compileRegexp2
(src string, multiline, dotAll, ignoreCase, unicode bool)
regexp.go:89
↓ 2 callers
Function
compileRegexpFromValueString
(patternStr String, flags string)
builtin_regexp.go:184
↓ 2 callers
Method
compileSpreadCallArgument
(spread *ast.SpreadElement)
compiler_expr.go:3120
↓ 2 callers
Method
compileVarBinding
(expr *ast.Binding)
compiler_stmt.go:783
↓ 2 callers
Method
constructToCall
(construct func(args []Value, proto *Object) *Object, proto *Object)
runtime.go:973
↓ 2 callers
Method
copyDataProperties
(target, source Value)
vm.go:5186
↓ 2 callers
Method
create
(protoParent, ctorParent *Object, vm *vm, derived bool)
vm.go:5417
↓ 2 callers
Function
createDataProperty
(o *Object, p Value, v Value)
runtime.go:2665
↓ 2 callers
Method
createInstance
(newTarget *Object)
func.go:246
↓ 2 callers
Method
createLexBinding
(name unistring.String, isConst bool)
vm.go:577
↓ 2 callers
Method
createLexicalBindings
(lex *ast.LexicalDeclaration)
compiler.go:1206
↓ 2 callers
Method
createLexicalIdBindingFuncBody
(name unistring.String, isConst bool, offset int, calleeBinding *binding)
compiler.go:1178
↓ 2 callers
Method
createPrivateType
(f *classFuncObject, numFields, numMethods uint32)
vm.go:5386
↓ 2 callers
Method
createRegexp2
()
regexp.go:111
↓ 2 callers
Method
createRegexpGroupsObj
(valueArray []Value, groupNames []string)
regexp.go:543
↓ 2 callers
Method
createSetIterator
(setValue Value, kind iterationKind)
builtin_set.go:243
↓ 2 callers
Method
createThisBinding
()
compiler.go:563
↓ 2 callers
Function
d2b
(d float64, b []byte)
ftoa/common.go:103
↓ 2 callers
Method
declarePrivateId
(name unistring.String, kind ast.PropertyKind, isStatic bool, offset int)
compiler.go:1420
↓ 2 callers
Function
decodeHex
(s string)
builtin_regexp.go:37
↓ 2 callers
Method
defaultConstruct
(ccall func(ConstructorCall) *Object, args []Value, newTarget *Object)
func.go:545
↓ 2 callers
Method
delegate
(v Value)
func.go:949
↓ 2 callers
Method
deleteIdx
(target *Object, prop valueInt)
proxy.go:139
↓ 2 callers
Method
deleteStr
(target *Object, prop unistring.String)
proxy.go:138
↓ 2 callers
Method
deleteSym
(target *Object, prop *Symbol)
proxy.go:140
↓ 2 callers
Method
detach
()
typedarrays.go:1242
↓ 2 callers
Function
digitVal
(d byte)
builtin_global.go:413
↓ 2 callers
Method
do
(v Value)
builtin_json.go:275
↓ 2 callers
Method
elemToValue
(ev reflect.Value)
object_goreflect.go:222
↓ 2 callers
Method
emitArrayPattern
(pattern *ast.ArrayPattern, emitAssign func(target, init compiledExpr), putOnStack bool)
compiler_expr.go:3388
↓ 2 callers
Method
emitBlockExitCode
(label *ast.Identifier, idx file.Idx, isBreak bool)
compiler_stmt.go:618
↓ 2 callers
Method
emitCallee
(callee compiledExpr)
compiler_expr.go:3001
↓ 2 callers
Method
emitConst
(expr compiledExpr, putOnStack bool)
compiler_expr.go:2422
↓ 2 callers
Method
emitDelete
(putOnStack bool)
compiler_expr.go:17
↓ 2 callers
Method
emitGetter
(putOnStack bool)
compiler_expr.go:336
↓ 2 callers
Method
emitInitPAtScope
(scope *scope, pos int)
compiler.go:230
↓ 2 callers
Method
emitNamed
(name unistring.String)
compiler_expr.go:3294
↓ 2 callers
Method
emitObjectPattern
(pattern *ast.ObjectPattern, emitAssign func(target, init compiledExpr), putOnStack bool)
compiler_expr.go:3345
↓ 2 callers
Method
emitRef
()
compiler_expr.go:15
↓ 2 callers
Method
emitSuperReferenceError
()
compiler_expr.go:605
↓ 2 callers
Method
emitVarAssign
(name unistring.String, offset int, init compiledExpr)
compiler_stmt.go:766
↓ 2 callers
Method
endOptChain
()
compiler_expr.go:3512
↓ 2 callers
Method
ensureBoundNamesCreated
()
compiler.go:532
↓ 2 callers
Method
enter
()
func.go:762
↓ 2 callers
Method
enterNextFinallyFrame
()
func.go:769
↓ 2 callers
Method
errorUnexpected
(idx file.Idx, chr rune)
parser/error.go:93
↓ 2 callers
Method
esValue
()
object_goreflect.go:84
↓ 2 callers
Method
expand
(idx uint32)
array.go:347
↓ 2 callers
Method
expand
(newLen int)
object_dynamic_test.go:59
↓ 2 callers
Method
expand
(newLen int)
object_dynamic_test.go:345
↓ 2 callers
Method
expand
(idx uint32)
array_sparse.go:317
↓ 2 callers
Method
exportToMap
(m reflect.Value, typ reflect.Type, ctx *objectExportCtx)
object.go:196
↓ 2 callers
Method
fillPrivateNamesMap
(typ *privateEnvType, privateFields, privateMethods []unistring.String)
vm.go:5394
↓ 2 callers
Method
filterKeys
(vals []Value, all, symbols bool)
proxy.go:971
↓ 2 callers
Method
filterUsedKeys
(keys []Value)
destruct.go:266
↓ 2 callers
Method
findAllSubmatchIndexUTF16
(s String, start, limit int, sticky bool)
regexp.go:347
↓ 2 callers
Method
findSubmatchIndexUnicode
(s unicodeString, fullUnicode bool)
regexp.go:524
↓ 2 callers
Method
findUTF16Cached
(s String, start int, doCache bool)
regexp.go:231
↓ 2 callers
Method
findUnicodeCached
(s String, start int, doCache bool)
regexp.go:282
↓ 2 callers
Method
fixPropOrder
Reorder property names so that any integer properties are shifted to the beginning of the list in ascending order. This is to conform to https://262.e
object.go:1324
↓ 2 callers
Method
flattenIntoArray
(target, source *Object, sourceLen, start, depth int64, mapperFunction func(FunctionCall) Value, thisArg Value
builtin_array.go:1205
↓ 2 callers
Function
floatToInt
(f float64)
vm.go:402
↓ 2 callers
Method
flush
()
tc39_race_test.go:21
↓ 2 callers
Method
generatorVmCall
(vmCall func(*vm, int), nArgs int)
func.go:1107
↓ 2 callers
Function
genericExportToArrayOrSlice
(o *Object, dst reflect.Value, typ reflect.Type, ctx *objectExportCtx)
object.go:1025
↓ 2 callers
Function
genericExportToMap
(o *Object, dst reflect.Value, typ reflect.Type, ctx *objectExportCtx)
object.go:981
↓ 2 callers
Method
get
(p Value, receiver Value)
object.go:1430
↓ 2 callers
Method
get
()
vm.go:342
↓ 2 callers
Method
getArray
()
builtin_array.go:1694
↓ 2 callers
Method
getArrayToString
()
builtin_array.go:1732
↓ 2 callers
Method
getBigInt
()
builtin_bigint.go:321
↓ 2 callers
Method
getBoolean
()
builtin_boolean.go:65
↓ 2 callers
Function
getCachedPowerForBinaryExponentRange
(min_exponent, max_exponent int)
ftoa/internal/fast/cachedpower.go:109
↓ 2 callers
Method
getDataViewPrototype
()
builtin_typedarrays.go:1941
↓ 2 callers
Method
getDate
()
builtin_date.go:970
↓ 2 callers
Method
getDatePrototype
()
builtin_date.go:1050
↓ 2 callers
Method
getErrorPrototype
()
builtin_error.go:212
↓ 2 callers
Method
getFunction
()
builtin_function.go:409
↓ 2 callers
Method
getGlobalRegexpMatches
(rxObj *Object, s String, fullUnicode bool)
builtin_regexp.go:701
↓ 2 callers
Method
getHash
()
runtime.go:2828
↓ 2 callers
Method
getLastIndex
()
regexp.go:614
↓ 2 callers
Method
getLengthProp
()
array.go:201
↓ 2 callers
Method
getLengthProp
()
array_sparse.go:120
↓ 2 callers
Method
getMap
()
builtin_map.go:334
↓ 2 callers
Function
getMilliseconds
(s string)
date_parser.go:65
↓ 2 callers
Method
getNumber
()
builtin_number.go:294
↓ 2 callers
Method
getOwnPropIdx
(idx valueInt)
array.go:170
← previous
next →
801–900 of 4,701, ranked by callers