MCPcopy Create free account

hub / github.com/dop251/goja / functions

Functions4,701 in github.com/dop251/goja

↓ 1 callersMethodGetOwnPropertyNames
GetOwnPropertyNames returns a list of all own string properties of the Object, similar to Object.getOwnPropertyNames() This method will panic with an
value.go:833
↓ 1 callersMethodGrab
()
func.go:50
↓ 1 callersMethodIdx0
()
ast/node.go:659
↓ 1 callersMethodIdx1
()
ast/node.go:741
↓ 1 callersMethodIsGeneric
()
object.go:79
↓ 1 callersFunctionIsIdentifier
(s string)
parser/lexer.go:30
↓ 1 callersFunctionIsKeyword
IsKeyword returns the keyword token if literal is a keyword, a KEYWORD token if the literal is a future keyword (const, let, class, super, ...), or 0
token/token.go:106
↓ 1 callersFunctionIsUnreservedWord
(tkn Token)
token/token.go:120
↓ 1 callersMethodLength
()
string_ascii.go:315
↓ 1 callersMethodMarshalJSON
MarshalJSON returns JSON representation of the Object. It is equivalent to JSON.stringify(o). Note, this implements json.Marshaler so that json.Marsha
value.go:944
↓ 1 callersMethodMatch
(s string)
tc39_test.go:463
↓ 1 callersMethodMethodName
MethodName returns a JavaScript name for the given method in the given type. If this method returns "" the method becomes hidden.
object_goreflect.go:27
↓ 1 callersFunctionNaN
NaN returns a JS NaN value.
runtime.go:2581
↓ 1 callersFunctionNegativeInf
NegativeInf returns a JS -Inf value.
runtime.go:2591
↓ 1 callersMethodNewDynamicArray
* NewDynamicArray creates an array Object backed by the provided DynamicArray handler. It is similar to NewDynamicObject, the differences are: - the
object_dynamic.go:138
↓ 1 callersFunctionNewFromRunes
(s []rune)
unistring/string.go:66
↓ 1 callersFunctionNewSharedDynamicArray
* NewSharedDynamicArray is similar to Runtime.NewDynamicArray but the resulting Object can be shared across multiple Runtimes. The Object's prototype
object_dynamic.go:156
↓ 1 callersFunctionNewSharedDynamicObject
* NewSharedDynamicObject is similar to Runtime.NewDynamicObject but the resulting Object can be shared across multiple Runtimes. The Object's prototyp
object_dynamic.go:116
↓ 1 callersFunctionParse
Parse takes a source string and produces a parsed AST. Use this function if you want to pass options to the parser, e.g.: p, err := Parse("test.js",
runtime.go:1337
↓ 1 callersFunctionParseFunction
ParseFunction parses a given parameter list and body as a function and returns the corresponding ast.FunctionLiteral node. The parameter list, if any
parser/parser.go:188
↓ 1 callersFunctionPositiveInf
PositiveInf returns a JS +Inf value.
runtime.go:2586
↓ 1 callersMethodPrototype
Prototype returns the Object's prototype, same as Object.getPrototypeOf(). If the prototype is null returns nil.
value.go:930
↓ 1 callersFunctionReadSource
(filename string, src interface{})
parser/parser.go:130
↓ 1 callersMethodResultString
()
parser/regexp.go:81
↓ 1 callersMethodResumed
(trackingObject interface{})
func.go:51
↓ 1 callersMethodSetAsyncContextTracker
SetAsyncContextTracker registers a handler that allows to track async execution contexts. See AsyncContextTracker documentation for more details. Sett
builtin_promise.go:648
↓ 1 callersMethodSetPrototype
SetPrototype sets the Object's prototype, same as Object.setPrototypeOf(). Setting proto to nil is an equivalent of Object.setPrototypeOf(null).
value.go:936
↓ 1 callersMethodSetRandSource
SetRandSource sets random source for this Runtime. If not called, the default math/rand is used.
runtime.go:2430
↓ 1 callersMethodSetSourceMap
(m *sourcemap.Consumer)
file/file.go:135
↓ 1 callersMethodSort
()
parser/error.go:154
↓ 1 callersMethodSource
()
file/file.go:127
↓ 1 callersMethodStack
()
runtime.go:424
↓ 1 callersMethodState
()
builtin_promise.go:65
↓ 1 callersMethodStrictEquals
(other Value)
value.go:753
↓ 1 callersMethodString
()
value.go:283
↓ 1 callersMethodString
()
value.go:1067
↓ 1 callersMethodString
()
builtin_bigint.go:34
↓ 1 callersMethodString
()
unistring/string.go:102
↓ 1 callersMethodToFloat
()
string_ascii.go:191
↓ 1 callersMethodTry
Try runs a given function catching and returning any JS exception. Use this method to run any code that may throw exceptions (such as Object.Get, Obje
runtime.go:2607
↓ 1 callersMethodUnwrap
()
runtime.go:412
↓ 1 callersMethodWriteRune
(r rune)
string_unicode.go:179
↓ 1 callersMethodWriteToValueBuilder
(b *StringBuilder)
runtime.go:239
↓ 1 callersMethod__call
(args []Value, newTarget, this Value)
func.go:397
↓ 1 callersFunction__toString
(v Value)
object_test.go:594
↓ 1 callersFunction_dateSetDay
(year, mon int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:594
↓ 1 callersFunction_dateSetHours
(year, mon, day int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:609
↓ 1 callersFunction_dateSetMilliseconds
(year, mon, day, hours, min, sec int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:651
↓ 1 callersFunction_dateSetMinutes
(year, mon, day, hours int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:623
↓ 1 callersFunction_dateSetSeconds
(year, mon, day, hours, min int64, t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:637
↓ 1 callersFunction_dateSetYear
(t time.Time, call FunctionCall, argNum int, utc bool)
builtin_date.go:547
↓ 1 callersMethod_dumpCode
(indent string, logger func(format string, args ...interface{}))
compiler.go:426
↓ 1 callersMethod_exec
(vm *vm, obj *arrowFuncObject)
vm.go:4085
↓ 1 callersMethod_get
(name string)
object_goreflect.go:264
↓ 1 callersMethod_hasStr
(name unistring.String)
object_goarray_reflect.go:83
↓ 1 callersMethod_newTypedArrayFromArrayBuffer
(ab *arrayBufferObject, args []Value, newTarget *Object, taCtor typedArrayObjectCtor, proto *Object)
builtin_typedarrays.go:1448
↓ 1 callersMethod_newTypedArrayFromTypedArray
(src *typedArrayObject, newTarget *Object, taCtor typedArrayObjectCtor, proto *Object)
builtin_typedarrays.go:1488
↓ 1 callersMethod_normalize
()
ftoa/internal/fast/diyfp.go:76
↓ 1 callersMethod_return
(v Value)
func.go:1035
↓ 1 callersMethod_setLen
(v Value, throw bool)
object_dynamic.go:615
↓ 1 callersFunction_testFToStr
(num float64, mode FToStrMode, precision int, expected string, t *testing.T)
ftoa/ftostr_test.go:9
↓ 1 callersMethodaddSamples
(p *profile.Profile, n *profSampleNode)
profiler.go:174
↓ 1 callersMethodaddSrcMap
()
compiler_expr.go:330
↓ 1 callersMethodaddSrcMap
(node ast.Node)
compiler_stmt.go:203
↓ 1 callersFunctionaddTypedArrays
(t *objectTemplate)
builtin_typedarrays.go:1638
↓ 1 callersMethodadjustBase
(delta int)
compiler.go:857
↓ 1 callersMethodapply
(target *Object, this Value, args []Value)
proxy.go:143
↓ 1 callersMethodarrayproto_reverse_generic
(o *Object, start int64)
builtin_array.go:974
↓ 1 callersFunctionarrayproto_reverse_generic_step
(o *Object, lower, upper int64)
builtin_array.go:950
↓ 1 callersMethodbaseObject
(r *Runtime)
value.go:1124
↓ 1 callersMethodbindNameShadow
(name unistring.String)
compiler.go:580
↓ 1 callersMethodboundCallable
(target func(FunctionCall) Value, boundArgs []Value)
builtin_function.go:119
↓ 1 callersMethodboundConstruct
(f *Object, target func([]Value, *Object) *Object, boundArgs []Value)
builtin_function.go:138
↓ 1 callersMethodbuildFieldInfo
(t reflect.Type, index []int, info *reflectFieldsInfo)
object_goreflect.go:536
↓ 1 callersMethodbuildFieldsInfo
(t reflect.Type)
object_goreflect.go:617
↓ 1 callersMethodbuildMethodsInfo
(t reflect.Type)
object_goreflect.go:587
↓ 1 callersFunctionbuildUTF8PosMap
(s unicodeString)
regexp.go:123
↓ 1 callersMethodbuiltinJSON_decodeArray
(d *json.Decoder)
builtin_json.go:119
↓ 1 callersMethodbuiltinJSON_decodeObject
(d *json.Decoder)
builtin_json.go:82
↓ 1 callersMethodbuiltinJSON_decodeObjectKey
(d *json.Decoder)
builtin_json.go:102
↓ 1 callersMethodbuiltinJSON_reviveWalk
(reviver func(FunctionCall) Value, holder *Object, name Value)
builtin_json.go:140
↓ 1 callersMethodbuiltin_Object
(args []Value, newTarget *Object)
builtin_object.go:8
↓ 1 callersMethodcaptureAsyncStack
(stack []StackFrame, runner *asyncRunner)
vm.go:737
↓ 1 callersMethodcheckBindFuncsGlobal
(names []unistring.String)
vm.go:4208
↓ 1 callersMethodcheckBindVarsGlobal
(names []unistring.String)
vm.go:4110
↓ 1 callersMethodcheckStdArray
(v Value)
builtin_array.go:1449
↓ 1 callersMethodcheckVarConflict
(name unistring.String, offset int)
compiler_stmt.go:755
↓ 1 callersFunctionclearNamesCopyMarker
(names []unistring.String)
object.go:1226
↓ 1 callersMethodclose
()
map.go:138
↓ 1 callersMethodclose
()
runtime.go:2785
↓ 1 callersMethodcollator
()
builtin_string.go:18
↓ 1 callersMethodcompile
(base, name string)
tc39_test.go:713
↓ 1 callersMethodcompileArrayAssignmentPattern
(v *ast.ArrayPattern)
compiler_expr.go:3271
↓ 1 callersMethodcompileArrayLiteral
(v *ast.ArrayLiteral)
compiler_expr.go:2974
↓ 1 callersMethodcompileArrowFunctionLiteral
(v *ast.ArrowFunctionLiteral)
compiler_expr.go:2254
↓ 1 callersMethodcompileAssignExpression
(v *ast.AssignExpression)
compiler_expr.go:3238
↓ 1 callersMethodcompileBinaryExpression
(v *ast.BinaryExpression)
compiler_expr.go:2757
↓ 1 callersMethodcompileBooleanLiteral
(v *ast.BooleanLiteral)
compiler_expr.go:3223
↓ 1 callersMethodcompileBracketExpression
(v *ast.BracketExpression)
compiler_expr.go:871
↓ 1 callersMethodcompileBranchStatement
(v *ast.BranchStatement)
compiler_stmt.go:550
← previousnext →1,101–1,200 of 4,701, ranked by callers