MCPcopy Create free account

hub / github.com/dop251/goja / functions

Functions4,701 in github.com/dop251/goja

↓ 2 callersMethodparseTemplateCharacters
()
parser/lexer.go:803
↓ 2 callersMethodparseTemplateLiteral
(tagged bool)
parser/expression.go:573
↓ 2 callersMethodparseUnaryExpression
()
parser/expression.go:853
↓ 2 callersMethodparseVarDeclarationList
(var_ file.Idx)
parser/expression.go:334
↓ 2 callersMethodparseVariableDeclaration
(declarationList *[]*ast.Binding)
parser/expression.go:306
↓ 2 callersMethodpeek
()
vm.go:902
↓ 2 callersMethodpopFromStringStack
popFromStringStack removes an object from the toString stack.
builtin_array.go:183
↓ 2 callersFunctionpow
(x, y Value)
builtin_math.go:185
↓ 2 callersMethodpreventExtensions
(target *Object)
proxy.go:116
↓ 2 callersMethodprocessClassKey
(expr ast.Expression)
compiler_expr.go:1792
↓ 2 callersMethodprocessKey
(expr ast.Expression)
compiler_expr.go:1779
↓ 2 callersMethodproxySetIdx
(idx valueInt, value, receiver Value, throw bool)
proxy.go:669
↓ 2 callersMethodproxySetStr
(name unistring.String, value, receiver Value, throw bool)
proxy.go:657
↓ 2 callersMethodproxySetSym
(s *Symbol, value, receiver Value, throw bool)
proxy.go:681
↓ 2 callersMethodpushToStringStack
pushToStringStack checks for circular references and pushes an object onto the toString stack. Returns true if the object is already in the stack (cir
builtin_array.go:168
↓ 2 callersMethodquote
(str String)
builtin_json.go:485
↓ 2 callersMethodreadChar
()
string.go:50
↓ 2 callersFunctionreadSource
(filename string)
goja/main.go:24
↓ 2 callersMethodreinterpretAsArrayBindingPattern
(left *ast.ArrayLiteral)
parser/expression.go:1457
↓ 2 callersMethodreinterpretAsBindingElement
(expr ast.Expression)
parser/expression.go:1588
↓ 2 callersMethodreinterpretAsObjectBindingPattern
(expr *ast.ObjectLiteral)
parser/expression.go:1501
↓ 2 callersMethodreleaseCtx
()
func_test.go:189
↓ 2 callersMethodrestoreCtx
(ctx *context)
vm.go:922
↓ 2 callersMethodrevoke
()
proxy.go:1071
↓ 2 callersFunctionroundWeed
Adjusts the last digit of the generated number, and screens out generated solutions that may be inaccurate. A solution may be inaccurate if it is outs
ftoa/internal/fast/dtoa.go:43
↓ 2 callersFunctionroundWeedCounted
Rounds the buffer upwards if the result is closer to v by possibly adding 1 to the buffer. If the precision of the calculation is not sufficient to ro
ftoa/internal/fast/dtoa.go:156
↓ 2 callersMethodrunTC39Test
(name, src string, meta *tc39Meta, t testing.TB)
tc39_test.go:534
↓ 2 callersMethodrunWithProfiler
()
vm.go:649
↓ 2 callersMethodrunWrapped
(f func())
runtime.go:2504
↓ 2 callersMethodsaveCtx
(ctx *context)
vm.go:906
↓ 2 callersMethodscanBracket
[...]
parser/regexp.go:240
↓ 2 callersMethodscanEscape
(quote rune)
parser/lexer.go:651
↓ 2 callersMethodscanIdentifier
()
parser/lexer.go:83
↓ 2 callersMethodscanNumericLiteral
(decimalPoint bool)
parser/lexer.go:1145
↓ 2 callersMethodscanStatements
(list []ast.Statement)
compiler_stmt.go:885
↓ 2 callersFunctionsetArrayLength
(a *arrayObject, l int64)
builtin_array.go:33
↓ 2 callersMethodsetGlobal
(name unistring.String, v Value, strict bool)
runtime.go:2931
↓ 2 callersMethodsetIdx
(target *Object, prop valueInt, value Value, receiver Value)
proxy.go:135
↓ 2 callersMethodsetLengthInt
(l uint32, throw bool)
array.go:118
↓ 2 callersMethodsetLengthInt
(l uint32, throw bool)
array_sparse.go:69
↓ 2 callersMethodsetLocalLex
(s int)
vm.go:2825
↓ 2 callersMethodsetObjectProto
(o, arg Value)
builtin_object.go:499
↓ 2 callersMethodsetParentForeignIdx
(p valueInt, v, receiver Value, throw bool)
object_dynamic.go:308
↓ 2 callersMethodsetParentForeignStr
(p unistring.String, v, receiver Value, throw bool)
object_dynamic.go:290
↓ 2 callersMethodsetSym
(target *Object, prop *Symbol, value Value, receiver Value)
proxy.go:136
↓ 2 callersMethodsetUint16
(idx int, val uint16, byteOrder byteOrder)
typedarrays.go:1200
↓ 2 callersMethodsetUint8
(idx int, val uint8)
typedarrays.go:1214
↓ 2 callersMethodsigExp
()
ftoa/internal/fast/diyfp.go:142
↓ 2 callersMethodskipSingleLineComment
()
parser/lexer.go:552
↓ 2 callersFunctionskipSpaces
(s string)
date_parser.go:21
↓ 2 callersFunctionskipUntil
(s string, stopList string)
date_parser.go:28
↓ 2 callersMethodsortGet
(i int)
object_dynamic.go:566
↓ 2 callersMethodsortLen
()
builtin_array.go:1753
↓ 2 callersMethodstart
(nArgs int)
func.go:734
↓ 2 callersMethodstoreLengths
()
func.go:758
↓ 2 callersMethodstoreStack
(s int)
vm.go:1094
↓ 2 callersMethodstoreStack1
(s int)
vm.go:1105
↓ 2 callersMethodstoreStack1Lex
(s int)
vm.go:1135
↓ 2 callersMethodstoreStackLex
(s int)
vm.go:1117
↓ 2 callersFunctionstringToInt
ss must be trimmed
string_ascii.go:86
↓ 2 callersMethodstringproto_toStringValueOf
(this Value, funcName string)
builtin_string.go:71
↓ 2 callersFunctionstripTrailingZeroes
(buf []byte, startPos int)
ftoa/ftoa.go:648
↓ 2 callersMethodswitch3
(tkn0, tkn1 token.Token, chr2 rune, tkn2 token.Token)
parser/lexer.go:475
↓ 2 callersFunctiontestMarshalNode
(node interface{})
parser/marshal_test.go:37
↓ 2 callersFunctiontestParse
(src string)
parser/parser_test.go:26
↓ 2 callersMethodthisBigIntValue
(value Value)
builtin_bigint.go:200
↓ 2 callersFunctiontoLower
(s string)
string_unicode.go:566
↓ 2 callersMethodtoLower
()
string.go:70
↓ 2 callersMethodtoNormalizedDiyfp
f must be strictly greater than 0.
ftoa/internal/fast/diyfp.go:99
↓ 2 callersFunctiontoUint8Clamp
(v Value)
runtime.go:1039
↓ 2 callersMethodtoUpper
()
string.go:71
↓ 2 callersMethodtrackPromiseRejection
(p *Promise, operation PromiseRejectionOperation)
runtime.go:2948
↓ 2 callersMethodtriggerPromiseReactions
(reactions []*promiseReaction, argument Value)
builtin_promise.go:193
↓ 2 callersFunctiontryFunc
(f func())
runtime.go:2595
↓ 2 callersMethodtypeOf
()
object.go:152
↓ 2 callersFunctiontypedFloatLess
(x, y float64)
typedarrays.go:508
↓ 2 callersMethodupdateLen
()
object_goslice.go:43
↓ 2 callersMethodwrapPromiseReaction
(fObj *Object)
builtin_promise.go:598
↓ 2 callersFunctionwriteErrorString
(sb *StringBuilder, obj *Object)
builtin_error.go:169
↓ 2 callersMethodwriteEscapedSource
(sb *StringBuilder)
builtin_regexp.go:475
↓ 2 callersMethodwriteFullStack
(b *bytes.Buffer)
runtime.go:368
↓ 2 callersMethodwriteShortStack
(b *bytes.Buffer)
runtime.go:376
↓ 2 callersFunctionwriteSubstitution
(s String, position int, numCaptures int, getCapture func(int) String, getNamedCapture func(String) String, re
builtin_regexp.go:1187
↓ 2 callersMethodwriteUnicodeString
(str unicodeString)
string_unicode.go:204
↓ 1 callersMethodAdd
Add adds an Error with given position and message to an ErrorList.
parser/error.go:128
↓ 1 callersMethodAddFile
AddFile adds a new file with the given filename and src. This an internal method, but exported for cross-package use.
file/file.go:67
↓ 1 callersFunctionAssertConstructor
AssertConstructor checks if the Value is a constructor and returns a Constructor.
runtime.go:2490
↓ 1 callersMethodCaptureCallStack
CaptureCallStack appends the current call stack frames to the stack slice (which may be nil) up to the specified depth. The most recent frame will be
runtime.go:1494
↓ 1 callersMethodClearInterrupt
()
vm.go:692
↓ 1 callersMethodClearInterrupt
ClearInterrupt resets the interrupt flag. Typically this needs to be called before the runtime is made available for re-use if there is a chance it co
runtime.go:1525
↓ 1 callersMethodCreateObject
CreateObject creates an object with given prototype. Equivalent of Object.create(proto).
runtime.go:528
↓ 1 callersMethodDelete
(name string)
value.go:916
↓ 1 callersMethodDeleteSymbol
(name *Symbol)
value.go:922
↓ 1 callersMethodEmpty
()
object.go:66
↓ 1 callersMethodEquals
(o Value)
value.go:1104
↓ 1 callersMethodErr
Err returns an error equivalent to this ErrorList. If the list is empty, Err returns nil.
parser/error.go:171
↓ 1 callersMethodExited
()
func.go:52
↓ 1 callersMethodExport
Export the Object to a plain Go type. If the Object is a wrapped Go value (created using ToValue()) returns the original value. If the Object is a cl
value.go:791
↓ 1 callersMethodForOf
ForOf is a Go equivalent of for-of loop. The function panics if an exception is thrown at any point while iterating, including if the supplied value i
runtime.go:2795
↓ 1 callersMethodGet
()
object_goreflect_test.go:250
← previousnext →1,001–1,100 of 4,701, ranked by callers