MCPcopy Create free account

hub / github.com/dop251/goja_nodejs / functions

Functions467 in github.com/dop251/goja_nodejs

↓ 2 callersFunctionescapeSearchParam
(s string)
url/nodeurl.go:17
↓ 2 callersFunctionfixRawQuery
(u *url.URL)
url/url.go:191
↓ 2 callersMethodgetSource
(p string)
require/module.go:173
↓ 2 callersMethodgetVariableLengthArguments
(call goja.FunctionCall, bb []byte, offsetArgIndex, byteLengthArgIndex int)
buffer/buffer.go:1041
↓ 2 callersFunctionisDefaultURLPort
(protocol string, port int)
url/url.go:109
↓ 2 callersFunctionisSpecialNetProtocol
(protocol string)
url/url.go:135
↓ 2 callersMethodloadAsFile
(path string)
require/resolve.go:117
↓ 2 callersMethodloadAsFileOrDirectory
(path string)
require/resolve.go:109
↓ 2 callersMethodloadNodeModule
(modpath, start string)
require/resolve.go:163
↓ 2 callersFunctionmod
(r *goja.Runtime)
buffer/buffer.go:58
↓ 2 callersMethodnewInterval
(f func())
eventloop/eventloop.go:398
↓ 2 callersFunctionnewInvalidTupleError
(r *goja.Runtime)
url/urlsearchparams.go:17
↓ 2 callersMethodnewTimeout
(f func())
eventloop/eventloop.go:381
↓ 2 callersMethodnewURLSearchParams
(sp *urlSearchParams)
url/urlsearchparams.go:38
↓ 2 callersFunctionrequireWithPrinter
(printer Printer)
console/module.go:48
↓ 2 callersMethodschedule
(call goja.FunctionCall, repeating bool)
eventloop/eventloop.go:106
↓ 2 callersFunctionsignExtend
(value int64, numBytes int64)
buffer/buffer.go:1110
↓ 2 callersMethodstring
(encode bool)
url/nodeurl.go:21
↓ 2 callersFunctiontestsetup
()
require/module_test.go:492
↓ 2 callersFunctionunhex
(c byte)
url/escape.go:43
↓ 1 callersFunctionBase64DecodeAppend
(dst []byte, src string)
buffer/buffer.go:239
↓ 1 callersMethodDecode
(s string)
buffer/buffer.go:184
↓ 1 callersFunctionDefaultPathResolver
DefaultPathResolver is used if none was set (see WithPathResolver). It converts the path using filepath.FromSlash(), then joins it with base and resol
require/module.go:165
↓ 1 callersFunctionEnable
(runtime *goja.Runtime)
buffer/buffer.go:45
↓ 1 callersFunctionGetApi
(r *goja.Runtime)
buffer/buffer.go:79
↓ 1 callersFunctionNewArgumentNotBigIntTypeError
(r *goja.Runtime, name string)
errors/errors.go:79
↓ 1 callersFunctionNewArgumentNotStringTypeError
(r *goja.Runtime, name string)
errors/errors.go:83
↓ 1 callersFunctionNewError
(r *goja.Runtime, ctor *goja.Object, code string, args ...interface{})
errors/errors.go:59
↓ 1 callersFunctionRegisterNativeModule
RegisterNativeModule registers a module that isn't loaded through a SourceLoader, but rather through a provided ModuleLoader. Typically, this will be
require/module.go:258
↓ 1 callersFunctionRequireWithPrinter
(printer Printer)
console/module.go:44
↓ 1 callersFunctionRequiredArrayArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:104
↓ 1 callersMethodRequiredBufferArgument
(call goja.FunctionCall, argName string, argIdx int)
buffer/buffer.go:466
↓ 1 callersFunctionRequiredStrictIntegerArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:24
↓ 1 callersFunctionRequiredStringArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:92
↓ 1 callersMethodStartInForeground
StartInForeground starts the event loop in the current goroutine. The loop continues to run until Stop() is called. If the loop is already started it
eventloop/eventloop.go:249
↓ 1 callersMethodStopNoWait
StopNoWait tells the loop to stop and returns immediately. Can be used inside the loop. Calling it on a non-running loop has no effect.
eventloop/eventloop.go:275
↓ 1 callersFunctionStringCodecByName
(name string)
buffer/buffer.go:333
↓ 1 callersFunctionWrapBytes
(r *goja.Runtime, data []byte)
buffer/buffer.go:106
↓ 1 callersMethodaddImmediate
(f func())
eventloop/eventloop.go:417
↓ 1 callersFunctionassertBytesWritten
(actual, expected)
buffer/testdata/assertions.js:12
↓ 1 callersFunctionassertValueRead
(actual, expected)
buffer/testdata/assertions.js:8
↓ 1 callersMethodbuildParamsFromIterable
(o *goja.Object)
url/urlsearchparams.go:79
↓ 1 callersMethodbuildParamsFromObject
(o *goja.Object)
url/urlsearchparams.go:64
↓ 1 callersMethodclearInterval
(i *Interval)
eventloop/eventloop.go:460
↓ 1 callersMethodclearTimeout
(t *Timer)
eventloop/eventloop.go:450
↓ 1 callersMethodcreateURLConstructor
()
url/url.go:382
↓ 1 callersMethodcreateURLPrototype
()
url/url.go:227
↓ 1 callersMethodcreateURLSearchParamsConstructor
()
url/urlsearchparams.go:44
↓ 1 callersMethodcreateURLSearchParamsPrototype
()
url/urlsearchparams.go:118
↓ 1 callersMethoddoImmediate
(i *Immediate)
eventloop/eventloop.go:442
↓ 1 callersMethoddoInterval
(i *Interval)
eventloop/eventloop.go:436
↓ 1 callersMethoddoTimeout
(t *Timer)
eventloop/eventloop.go:427
↓ 1 callersMethodfill
(buf []byte, fill string, enc goja.Value)
buffer/buffer.go:349
↓ 1 callersMethodformat
(f rune, val goja.Value, w *bytes.Buffer)
util/module.go:15
↓ 1 callersMethodfrom
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. * Array entries outside that range will be truncated to fi
buffer/types/buffer.buffer.d.ts:55
↓ 1 callersMethodfromString
(str, enc string)
buffer/buffer.go:248
↓ 1 callersFunctionfunctionGeneratorExample
()
url/testdata/url_search_params.js:258
↓ 1 callersFunctiongetBufferElementSize
(methodName)
buffer/testdata/assertions.js:26
↓ 1 callersMethodgetCompiledSource
(p string)
require/module.go:181
↓ 1 callersMethodgetCurrentModulePath
()
require/resolve.go:196
↓ 1 callersMethodgetFirstValue
(name string)
url/nodeurl.go:117
↓ 1 callersFunctiongetIteratorPrototype
(r *goja.Runtime)
url/urlsearchparams.go:342
↓ 1 callersMethodgetURLSearchParamsIteratorPrototype
()
url/urlsearchparams.go:363
↓ 1 callersMethodgetValues
(name string)
url/nodeurl.go:106
↓ 1 callersMethodhasName
(name string)
url/nodeurl.go:88
↓ 1 callersMethodhasValue
(name, value string)
url/nodeurl.go:97
↓ 1 callersFunctionisFileOrDirectoryPath
(path string)
require/resolve.go:261
↓ 1 callersMethodloadAsDirectory
(modpath string)
require/resolve.go:141
↓ 1 callersMethodloadModuleFile
(path string, jsModule *js.Object)
require/resolve.go:229
↓ 1 callersMethodloadNative
(path string)
require/resolve.go:66
↓ 1 callersMethodloadNodeModules
(modpath, start string)
require/resolve.go:167
↓ 1 callersFunctionnewInvalidCallbackTypeError
(r *goja.Runtime)
url/urlsearchparams.go:25
↓ 1 callersMethodrawQueryUpdateNeeded
()
url/nodeurl.go:80
↓ 1 callersMethodresolve
NodeJS module search algorithm described by https://nodejs.org/api/modules.html#modules_all_together
require/resolve.go:24
↓ 1 callersMethodrun
(loop *EventLoop)
eventloop/eventloop.go:498
↓ 1 callersFunctionsetURLPort
(nu *nodeURL, v goja.Value)
url/url.go:147
↓ 1 callersFunctiontoURLSearchParamsIterator
(r *goja.Runtime, v goja.Value)
url/urlsearchparams.go:332
↓ 1 callersFunctionvalueToURLPort
(v goja.Value)
url/url.go:61
MethodDecode
(s string)
buffer/buffer.go:167
MethodDecode
(s string)
buffer/buffer.go:204
MethodDecodeAppend
(s string, b []byte)
buffer/buffer.go:157
MethodDecodeAppend
(s string, b []byte)
buffer/buffer.go:177
MethodDecodeAppend
(s string, b []byte)
buffer/buffer.go:199
FunctionDecodeBytes
(r *goja.Runtime, arg, enc goja.Value)
buffer/buffer.go:83
FunctionDefaultSourceLoader
DefaultSourceLoader is used if none was set (see WithLoader()). It simply loads files from the host's filesystem.
require/module.go:132
MethodEncode
(b []byte)
buffer/buffer.go:171
MethodEncode
(b []byte)
buffer/buffer.go:188
MethodEncode
(b []byte)
buffer/buffer.go:208
MethodEncode
(b []byte)
buffer/buffer.go:212
MethodEncode
()
url/nodeurl.go:13
MethodEncode
()
url/nodeurl.go:43
FunctionEncodeBytes
EncodeBytes returns the given byte slice encoded as string with the given encoding. If encoding is not specified or not supported, returns a Buffer th
buffer/buffer.go:124
MethodError
Error prints s to the stderr.
console/std_printer.go:36
MethodLen
()
url/nodeurl.go:31
MethodLess
(i, j int)
url/nodeurl.go:39
MethodLog
Log prints s to the stdout.
console/std_printer.go:26
FunctionNewRegistryWithLoader
(srcLoader SourceLoader)
require/module.go:70
FunctionRequire
(runtime *goja.Runtime, module *goja.Object)
console/module.go:40
FunctionRequire
(runtime *goja.Runtime, module *goja.Object)
buffer/buffer.go:1116
FunctionRequire
(runtime *goja.Runtime, module *goja.Object)
url/module.go:17
← previousnext →101–200 of 467, ranked by callers