MCPcopy Create free account

hub / github.com/dop251/goja / functions

Functions4,701 in github.com/dop251/goja

↓ 11 callersFunctionsetArrayValues
(a *arrayObject, values []Value)
builtin_array.go:26
↓ 11 callersFunctiontestMapHashVal
(v1, v2 Value, expected bool, t *testing.T)
map_test.go:11
↓ 11 callersMethodtoPrimitiveNumber
()
object.go:890
↓ 10 callersMethodGet
Get an object's property by name. This method will panic with an *Exception if a JavaScript exception is thrown in the process. Use Runtime.Try to cat
value.go:806
↓ 10 callersMethodGrow
(n int)
string_unicode.go:281
↓ 10 callersFunctionParseFile
ParseFile parses the source code of a single JavaScript/ECMAScript source file and returns the corresponding ast.Program node. If fileSet == nil, Par
parser/parser.go:165
↓ 10 callersFunctionconvertRegexpToUnicode
Convert any valid surrogate pairs in the form of \uXXXX\uXXXX to unicode characters
builtin_regexp.go:65
↓ 10 callersMethodgetError
()
builtin_error.go:226
↓ 10 callersMethodgetOwnProp
(p Value)
object.go:1441
↓ 10 callersMethodgetOwnPropIdx
(valueInt)
object.go:158
↓ 10 callersMethodisFunction
()
compiler.go:890
↓ 10 callersMethodnewNativeConstructOnly
(v *Object, ctor func(args []Value, newTarget *Object) *Object, defaultProto *Object, name unistring.String, l
runtime.go:701
↓ 10 callersMethodremove
(key Value)
map.go:70
↓ 10 callersMethodtoConstructor
(v Value)
builtin_reflect.go:9
↓ 10 callersFunctionunhex
(c byte)
builtin_global.go:209
↓ 9 callersMethodEquals
(Value)
value.go:88
↓ 9 callersMethodInterrupt
(v interface{})
vm.go:685
↓ 9 callersFunctionIsNull
IsNull returns true if the supplied Value is null.
runtime.go:2536
↓ 9 callersMethodNewArray
(items ...interface{})
runtime.go:532
↓ 9 callersMethodPosition
(offset int)
file/file.go:139
↓ 9 callersMethodWriteSubstring
(source String, start int, end int)
string_unicode.go:311
↓ 9 callersMethodascii
()
string_unicode.go:209
↓ 9 callersMethodbuiltin_new
(construct *Object, args []Value)
runtime.go:904
↓ 9 callersMethodcompileFunctionLiteral
(v *ast.FunctionLiteral, isExpr bool)
compiler_expr.go:1744
↓ 9 callersMethoddefineOwnPropertySym
(name *Symbol, desc PropertyDescriptor, throw bool)
object.go:179
↓ 9 callersFunctiondigitValue
(chr rune)
parser/lexer.go:46
↓ 9 callersMethodemitLiteralValue
(v Value)
compiler.go:403
↓ 9 callersMethodemitNamedOrConst
(expr compiledExpr, name unistring.String)
compiler_expr.go:3305
↓ 9 callersMethodgetNumberPrototype
()
builtin_number.go:227
↓ 9 callersMethodgetV
(v Value, p Value)
runtime.go:2692
↓ 9 callersMethodleaveBlock
()
compiler.go:340
↓ 9 callersMethodmaterialiseProto
()
object_template.go:82
↓ 9 callersMethodneedNew
(name string)
builtin_weakmap.go:125
↓ 9 callersMethodnewNativeFuncConstructProto
(v *Object, construct func(args []Value, proto *Object) *Object, name unistring.String, prototype, proto *Obje
runtime.go:807
↓ 9 callersMethodnewPrimitiveObject
(value Value, proto *Object, class string)
runtime.go:823
↓ 9 callersMethodnewTemplatedObject
(tmpl *objectTemplate, obj *Object)
object_template.go:65
↓ 9 callersFunctionnewTypeError
(args ...interface{})
value.go:1176
↓ 9 callersMethodptr
(idx int)
typedarrays.go:134
↓ 9 callersMethodptr
(idx int)
typedarrays.go:183
↓ 9 callersMethodptr
(idx int)
typedarrays.go:228
↓ 9 callersMethodptr
(idx int)
typedarrays.go:283
↓ 9 callersMethodptr
(idx int)
typedarrays.go:330
↓ 9 callersMethodptr
(idx int)
typedarrays.go:381
↓ 9 callersMethodptr
(idx int)
typedarrays.go:432
↓ 9 callersMethodptr
(idx int)
typedarrays.go:483
↓ 9 callersMethodptr
(idx int)
typedarrays.go:549
↓ 9 callersMethodptr
(idx int)
typedarrays.go:605
↓ 9 callersMethodptr
(idx int)
typedarrays.go:669
↓ 9 callersMethodsetProto
(proto *Object, throw bool)
object.go:189
↓ 9 callersMethodsourceOffset
(pc int)
compiler.go:460
↓ 9 callersFunctiontestScriptWithTestLibX
(script string, expectedResult Value, t *testing.T)
compiler_test.go:241
↓ 9 callersMethodtoPrimitive
()
object.go:906
↓ 9 callersFunctiontrueValIfPresent
(present bool)
object_gomap.go:65
↓ 9 callersFunctionunicodeStringFromRunes
(r []rune)
string_unicode.go:562
↓ 8 callersMethodExportType
()
value.go:91
↓ 8 callersFunctionIsInfinity
IsInfinity returns true if the supplied is (+/-)Infinity
runtime.go:2547
↓ 8 callersMethodString
()
string_unicode.go:165
↓ 8 callersFunctionToFlag
(b bool)
runtime.go:169
↓ 8 callersFunctionTransformRegExp
TransformRegExp transforms a JavaScript pattern into a Go "regexp" pattern. re2 (Go) cannot do backtracking, so the presence of a lookahead (?=) (?!
parser/regexp.go:61
↓ 8 callersMethod_defineOwnProperty
(name unistring.String, existingValue Value, descr PropertyDescriptor, throw bool)
object.go:651
↓ 8 callersFunction_intArg
(call FunctionCall, argNum int)
builtin_date.go:539
↓ 8 callersFunction_norm
_norm returns nhi, nlo such that hi * base + lo == nhi * base + nlo 0 <= nlo < base
builtin_date.go:483
↓ 8 callersMethodappendIndexesAndGroup
(index1, index2 int, name string)
regexp.go:76
↓ 8 callersMethodcheckHostObjectPropertyDescr
(name unistring.String, descr PropertyDescriptor, throw bool)
object_goreflect.go:353
↓ 8 callersMethodcheckIdentifierLName
(name unistring.String, offset int)
compiler.go:1329
↓ 8 callersMethodcreateErrorPrototype
(name String, ctor *Object)
builtin_error.go:204
↓ 8 callersMethodemitGet
()
compiler.go:136
↓ 8 callersFunctionescapeInvalidUtf16
convert any broken UTF-16 surrogate pairs to \uXXXX
builtin_regexp.go:130
↓ 8 callersMethodfindIdx
(idx uint32)
array_sparse.go:27
↓ 8 callersMethodgetStrWithOwnProp
(prop Value, name unistring.String, receiver Value)
object.go:324
↓ 8 callersMethodgetSyntaxError
()
builtin_error.go:266
↓ 8 callersMethodinvoke
(v Value, p unistring.String, args ...Value)
runtime.go:2958
↓ 8 callersFunctionisArray
(object *Object)
runtime.go:2861
↓ 8 callersMethodisExtensible
()
object.go:191
↓ 8 callersFunctionishex
(c byte)
builtin_global.go:197
↓ 8 callersMethoditerateKeys
()
object.go:202
↓ 8 callersMethodleaveScopeBlock
(enter *enterBlock)
compiler.go:326
↓ 8 callersMethodlookupName
(name unistring.String)
compiler.go:478
↓ 8 callersMethodnewPromiseCapability
(c *Object)
builtin_promise.go:281
↓ 8 callersMethodparseStatement
()
parser/statement.go:38
↓ 8 callersMethodpeek
()
parser/lexer.go:218
↓ 8 callersMethodputIdx
(idx int, v Value, throw bool)
object_goslice.go:128
↓ 8 callersMethodputTyped
(key *Object, typ reflect.Type, value interface{})
object.go:1706
↓ 8 callersMethodreinterpretAsDestructBindingTarget
(item ast.Expression)
parser/expression.go:1639
↓ 8 callersMethodreject
(reason Value)
builtin_promise.go:122
↓ 8 callersMethodrunTC39Tests
(name string)
tc39_test.go:783
↓ 8 callersMethodsetForeignIdx
(p valueInt, v, receiver Value, throw bool)
object.go:166
↓ 8 callersMethodsetForeignStr
(p unistring.String, v, receiver Value, throw bool)
object.go:165
↓ 8 callersMethodsetOwnSym
(p *Symbol, v Value, throw bool)
object.go:163
↓ 8 callersFunctionstrToIntNum
Attempts to convert a string into a canonical integer. On success returns (number, true). If it was a canonical number, but not an integer returns (0,
runtime.go:3158
↓ 8 callersFunctiontoBigInt
(value Value)
builtin_bigint.go:125
↓ 8 callersFunctiontoPrimitiveNumber
(v Value)
vm.go:4477
↓ 8 callersMethodtry
(f func())
builtin_promise.go:393
↓ 8 callersMethodtypedArrayCreate
(ctor *Object, args ...Value)
builtin_typedarrays.go:1383
↓ 8 callersMethodutf16Reader
()
string.go:65
↓ 8 callersMethodwrapNativeConstruct
(c func(args []Value, proto *Object) *Object, ctorObj, defProto *Object)
runtime.go:979
↓ 8 callersMethodwriteASCII
(s string)
string_unicode.go:247
↓ 7 callersMethodGrow
(n int)
string_unicode.go:138
↓ 7 callersMethodHas
Has should return true if and only if the property exists.
object_dynamic.go:25
↓ 7 callersMethodToString
()
value.go:81
← previousnext →201–300 of 4,701, ranked by callers