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
parseTemplateCharacters
()
parser/lexer.go:803
↓ 2 callers
Method
parseTemplateLiteral
(tagged bool)
parser/expression.go:573
↓ 2 callers
Method
parseUnaryExpression
()
parser/expression.go:853
↓ 2 callers
Method
parseVarDeclarationList
(var_ file.Idx)
parser/expression.go:334
↓ 2 callers
Method
parseVariableDeclaration
(declarationList *[]*ast.Binding)
parser/expression.go:306
↓ 2 callers
Method
peek
()
vm.go:902
↓ 2 callers
Method
popFromStringStack
popFromStringStack removes an object from the toString stack.
builtin_array.go:183
↓ 2 callers
Function
pow
(x, y Value)
builtin_math.go:185
↓ 2 callers
Method
preventExtensions
(target *Object)
proxy.go:116
↓ 2 callers
Method
processClassKey
(expr ast.Expression)
compiler_expr.go:1792
↓ 2 callers
Method
processKey
(expr ast.Expression)
compiler_expr.go:1779
↓ 2 callers
Method
proxySetIdx
(idx valueInt, value, receiver Value, throw bool)
proxy.go:669
↓ 2 callers
Method
proxySetStr
(name unistring.String, value, receiver Value, throw bool)
proxy.go:657
↓ 2 callers
Method
proxySetSym
(s *Symbol, value, receiver Value, throw bool)
proxy.go:681
↓ 2 callers
Method
pushToStringStack
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 callers
Method
quote
(str String)
builtin_json.go:485
↓ 2 callers
Method
readChar
()
string.go:50
↓ 2 callers
Function
readSource
(filename string)
goja/main.go:24
↓ 2 callers
Method
reinterpretAsArrayBindingPattern
(left *ast.ArrayLiteral)
parser/expression.go:1457
↓ 2 callers
Method
reinterpretAsBindingElement
(expr ast.Expression)
parser/expression.go:1588
↓ 2 callers
Method
reinterpretAsObjectBindingPattern
(expr *ast.ObjectLiteral)
parser/expression.go:1501
↓ 2 callers
Method
releaseCtx
()
func_test.go:189
↓ 2 callers
Method
restoreCtx
(ctx *context)
vm.go:922
↓ 2 callers
Method
revoke
()
proxy.go:1071
↓ 2 callers
Function
roundWeed
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 callers
Function
roundWeedCounted
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 callers
Method
runTC39Test
(name, src string, meta *tc39Meta, t testing.TB)
tc39_test.go:534
↓ 2 callers
Method
runWithProfiler
()
vm.go:649
↓ 2 callers
Method
runWrapped
(f func())
runtime.go:2504
↓ 2 callers
Method
saveCtx
(ctx *context)
vm.go:906
↓ 2 callers
Method
scanBracket
[...]
parser/regexp.go:240
↓ 2 callers
Method
scanEscape
(quote rune)
parser/lexer.go:651
↓ 2 callers
Method
scanIdentifier
()
parser/lexer.go:83
↓ 2 callers
Method
scanNumericLiteral
(decimalPoint bool)
parser/lexer.go:1145
↓ 2 callers
Method
scanStatements
(list []ast.Statement)
compiler_stmt.go:885
↓ 2 callers
Function
setArrayLength
(a *arrayObject, l int64)
builtin_array.go:33
↓ 2 callers
Method
setGlobal
(name unistring.String, v Value, strict bool)
runtime.go:2931
↓ 2 callers
Method
setIdx
(target *Object, prop valueInt, value Value, receiver Value)
proxy.go:135
↓ 2 callers
Method
setLengthInt
(l uint32, throw bool)
array.go:118
↓ 2 callers
Method
setLengthInt
(l uint32, throw bool)
array_sparse.go:69
↓ 2 callers
Method
setLocalLex
(s int)
vm.go:2825
↓ 2 callers
Method
setObjectProto
(o, arg Value)
builtin_object.go:499
↓ 2 callers
Method
setParentForeignIdx
(p valueInt, v, receiver Value, throw bool)
object_dynamic.go:308
↓ 2 callers
Method
setParentForeignStr
(p unistring.String, v, receiver Value, throw bool)
object_dynamic.go:290
↓ 2 callers
Method
setSym
(target *Object, prop *Symbol, value Value, receiver Value)
proxy.go:136
↓ 2 callers
Method
setUint16
(idx int, val uint16, byteOrder byteOrder)
typedarrays.go:1200
↓ 2 callers
Method
setUint8
(idx int, val uint8)
typedarrays.go:1214
↓ 2 callers
Method
sigExp
()
ftoa/internal/fast/diyfp.go:142
↓ 2 callers
Method
skipSingleLineComment
()
parser/lexer.go:552
↓ 2 callers
Function
skipSpaces
(s string)
date_parser.go:21
↓ 2 callers
Function
skipUntil
(s string, stopList string)
date_parser.go:28
↓ 2 callers
Method
sortGet
(i int)
object_dynamic.go:566
↓ 2 callers
Method
sortLen
()
builtin_array.go:1753
↓ 2 callers
Method
start
(nArgs int)
func.go:734
↓ 2 callers
Method
storeLengths
()
func.go:758
↓ 2 callers
Method
storeStack
(s int)
vm.go:1094
↓ 2 callers
Method
storeStack1
(s int)
vm.go:1105
↓ 2 callers
Method
storeStack1Lex
(s int)
vm.go:1135
↓ 2 callers
Method
storeStackLex
(s int)
vm.go:1117
↓ 2 callers
Function
stringToInt
ss must be trimmed
string_ascii.go:86
↓ 2 callers
Method
stringproto_toStringValueOf
(this Value, funcName string)
builtin_string.go:71
↓ 2 callers
Function
stripTrailingZeroes
(buf []byte, startPos int)
ftoa/ftoa.go:648
↓ 2 callers
Method
switch3
(tkn0, tkn1 token.Token, chr2 rune, tkn2 token.Token)
parser/lexer.go:475
↓ 2 callers
Function
testMarshalNode
(node interface{})
parser/marshal_test.go:37
↓ 2 callers
Function
testParse
(src string)
parser/parser_test.go:26
↓ 2 callers
Method
thisBigIntValue
(value Value)
builtin_bigint.go:200
↓ 2 callers
Function
toLower
(s string)
string_unicode.go:566
↓ 2 callers
Method
toLower
()
string.go:70
↓ 2 callers
Method
toNormalizedDiyfp
f must be strictly greater than 0.
ftoa/internal/fast/diyfp.go:99
↓ 2 callers
Function
toUint8Clamp
(v Value)
runtime.go:1039
↓ 2 callers
Method
toUpper
()
string.go:71
↓ 2 callers
Method
trackPromiseRejection
(p *Promise, operation PromiseRejectionOperation)
runtime.go:2948
↓ 2 callers
Method
triggerPromiseReactions
(reactions []*promiseReaction, argument Value)
builtin_promise.go:193
↓ 2 callers
Function
tryFunc
(f func())
runtime.go:2595
↓ 2 callers
Method
typeOf
()
object.go:152
↓ 2 callers
Function
typedFloatLess
(x, y float64)
typedarrays.go:508
↓ 2 callers
Method
updateLen
()
object_goslice.go:43
↓ 2 callers
Method
wrapPromiseReaction
(fObj *Object)
builtin_promise.go:598
↓ 2 callers
Function
writeErrorString
(sb *StringBuilder, obj *Object)
builtin_error.go:169
↓ 2 callers
Method
writeEscapedSource
(sb *StringBuilder)
builtin_regexp.go:475
↓ 2 callers
Method
writeFullStack
(b *bytes.Buffer)
runtime.go:368
↓ 2 callers
Method
writeShortStack
(b *bytes.Buffer)
runtime.go:376
↓ 2 callers
Function
writeSubstitution
(s String, position int, numCaptures int, getCapture func(int) String, getNamedCapture func(String) String, re
builtin_regexp.go:1187
↓ 2 callers
Method
writeUnicodeString
(str unicodeString)
string_unicode.go:204
↓ 1 callers
Method
Add
Add adds an Error with given position and message to an ErrorList.
parser/error.go:128
↓ 1 callers
Method
AddFile
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 callers
Function
AssertConstructor
AssertConstructor checks if the Value is a constructor and returns a Constructor.
runtime.go:2490
↓ 1 callers
Method
CaptureCallStack
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 callers
Method
ClearInterrupt
()
vm.go:692
↓ 1 callers
Method
ClearInterrupt
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 callers
Method
CreateObject
CreateObject creates an object with given prototype. Equivalent of Object.create(proto).
runtime.go:528
↓ 1 callers
Method
Delete
(name string)
value.go:916
↓ 1 callers
Method
DeleteSymbol
(name *Symbol)
value.go:922
↓ 1 callers
Method
Empty
()
object.go:66
↓ 1 callers
Method
Equals
(o Value)
value.go:1104
↓ 1 callers
Method
Err
Err returns an error equivalent to this ErrorList. If the list is empty, Err returns nil.
parser/error.go:171
↓ 1 callers
Method
Exited
()
func.go:52
↓ 1 callers
Method
Export
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 callers
Method
ForOf
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 callers
Method
Get
()
object_goreflect_test.go:250
← previous
next →
1,001–1,100 of 4,701, ranked by callers