MCPcopy Create free account

hub / github.com/mozilla/rhino / functions

Functions18,679 in github.com/mozilla/rhino

↓ 137 callersMethodgetMap
()
rhino/src/main/java/org/mozilla/javascript/SlotMapOwner.java:349
↓ 137 callersMethodwithProp
Adds an accessor based property to the constructor or prototype with custom property attributes. @param dest destination for this property @param nam
rhino/src/main/java/org/mozilla/javascript/ClassDescriptor.java:642
↓ 136 callersFunctionYearFromTime
( t )
tests/testsrc/tests/ecma/shell.js:160
↓ 135 callersMethodinitStandardObjects
Initialize the standard objects. <p>Creates instances of the standard objects and their constructors (Object, String, Number, Date, etc.), setting up
rhino/src/main/java/org/mozilla/javascript/Context.java:1060
↓ 133 callersMethodambiguous
( float arg )
tests/testsrc/tests/src/com/netscape/javascript/qa/lc3/jsnull/Null_001.java:37
↓ 133 callersMethodinitStandardObjects
This test calls initStandardObjects a second time. The expection is, that all modified objects are reset to default. Due a caching issue <code>[] inst
tests/src/test/java/org/mozilla/javascript/tests/InitStandardObjectsTest.java:46
↓ 132 callersMethodadd
(String source)
rhino/src/test/java/org/mozilla/javascript/tests/Bug789277Test.java:69
↓ 127 callersFunctionAddTestCase
( description, expect, actual )
tests/testsrc/tests/ecma_2/jsref.js:594
↓ 127 callersMethodconcat
(Object lhs, Object rhs)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:129
↓ 127 callersMethodgetDeclarationScope
Return the scope in which this function was declared or closed over. This is the "[[Environment]]" defined in https://tc39.es/ecma262/#sec-ecmascript-
rhino/src/main/java/org/mozilla/javascript/Function.java:56
↓ 127 callersMethodisEmpty
Return whether the map is empty.
rhino/src/main/java/org/mozilla/javascript/SlotMap.java:36
↓ 126 callersMethodgetLength
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:5506
↓ 123 callersMethodgetLanguageVersion
Get the current language version. <p>The language version number affects JavaScript semantics as detailed in the overview documentation. @return an
rhino/src/main/java/org/mozilla/javascript/Context.java:675
↓ 122 callersMethodassertThrows
( final Class<? extends Exception> exceptionClass, final String source)
rhino/src/test/java/org/mozilla/javascript/tests/OverloadTest.java:61
↓ 122 callersMethodget
Search for TypeInfoFactory in the given scope. @param scope scope to search for TypeInfoFactory object. @return previously associated TypeInfoFactory
rhino/src/main/java/org/mozilla/javascript/lc/type/TypeInfoFactory.java:368
↓ 121 callersMethodassertNumberVars
Checks every variable {@code v} in {@code source} is marked as a number-variable iff {@code numbers} contains {@code v}
rhino/src/test/java/org/mozilla/javascript/tests/Bug708801Test.java:88
↓ 120 callersMethodaddChildToBack
(Node child)
rhino/src/main/java/org/mozilla/javascript/Node.java:240
↓ 120 callersFunctionoptions
(aOptionName)
tests/testsrc/tests/browser.js:465
↓ 120 callersMethodsort
(Context cx, Scriptable o, Comparator<Object> comparator)
rhino/src/main/java/org/mozilla/javascript/NativeArray.java:1137
↓ 114 callersMethodisNaN
(Object n)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:4514
↓ 113 callersMethodlastIndexOf
(Object o)
rhino/src/main/java/org/mozilla/javascript/NativeArray.java:2313
↓ 113 callersMethodthen
(Context cx, VarScope scope, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativePromise.java:372
↓ 111 callersMethodget
(int index, Scriptable start)
rhino/src/main/java/org/mozilla/javascript/NativeArray.java:233
↓ 108 callersMethodgetMessage
Returns a textual message identified by the given messageId, parameterized by the given arguments. @param messageId the identifier of the message @pa
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:5700
↓ 107 callersMethodsetLineColumnNumber
(int lineno, int column)
rhino/src/main/java/org/mozilla/javascript/Node.java:554
↓ 106 callersMethodassertFormat
(Object[] args, String expected)
tests/src/test/java/org/mozilla/javascript/tests/NativeConsoleTest.java:566
↓ 106 callersMethodgetComments
Returns comment set @return comment set, sorted by start position. Can be {@code null}.
rhino/src/main/java/org/mozilla/javascript/ast/AstRoot.java:42
↓ 105 callersMethodslice
Return a new buffer that represents a slice of this buffer's content, starting at position "start" and ending at position "end". Both values will be "
rhino/src/main/java/org/mozilla/javascript/typedarrays/NativeArrayBuffer.java:142
↓ 104 callersFunctioncomputeInputVariants
(str, n)
benchmarks/testsrc/benchmarks/v8-benchmarks-v6/regexp.js:62
↓ 104 callersMethodreportError
(String messageId)
rhino/src/main/java/org/mozilla/javascript/Parser.java:372
↓ 103 callersMethodroundTrip
Helper to write and read a Float16 value for round-trip testing. @param value The value to write @param littleEndian Byte order @return The value rea
rhino/src/test/java/org/mozilla/javascript/typedarrays/ByteIoFloat16Test.java:30
↓ 102 callersMethodequals
(Object obj)
rhino-tools/src/main/java/org/mozilla/javascript/tools/shell/Timers.java:151
↓ 101 callersMethodtoXMLString
()
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XML.java:806
↓ 100 callersMethodgetGlobalThis
()
rhino/src/main/java/org/mozilla/javascript/TopLevel.java:355
↓ 100 callersMethodstackChange
(int change)
rhino/src/main/java/org/mozilla/javascript/CodeGenerator.java:1992
↓ 99 callersFunctionLocalTime
( t )
tests/testsrc/tests/ecma/shell.js:304
↓ 99 callersMethodclose
Close the context. Destroy the JavaScript environment.
tests/testsrc/tests/src/com/netscape/javascript/qa/drivers/TestEnvironment.java:61
↓ 98 callersMethodconsumeToken
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:479
↓ 96 callersFunctionWriteToTypedArray
(array, index, value)
tests/testsrc/jstests/typedarray-helpers.js:113
↓ 96 callersFunctiontest
(isTestingGet, func, index, value, littleEndian)
tests/testsrc/jstests/harmony/dataview-accessors.js:94
↓ 96 callersMethodtoNumber
Convert the value to a number. <p>See ECMA 9.3.
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:447
↓ 95 callersFunctionTEST_XML
(section, expected, actual)
tests/testsrc/tests/e4x/shell.js:45
↓ 94 callersMethodaddPush
Generate code to load the given integer on stack. @param k the constant
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:930
↓ 94 callersMethodcreate
(Class<?> clazz)
rhino/src/main/java/org/mozilla/javascript/lc/type/TypeInfoFactory.java:65
↓ 93 callersMethodgetTopLevelScope
Get the global scope. <p>Walks the parent scope chain to find an object with a null parent scope (the global object). @param obj a JavaScript object
rhino/src/main/java/org/mozilla/javascript/ScriptableObject.java:2245
↓ 93 callersMethodstringify
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeJSON.java:74
↓ 90 callersMethoddelete
(Symbol name)
rhino/src/main/java/org/mozilla/javascript/PropHolder.java:37
↓ 90 callersMethodprintStackTrace
(PrintWriter s)
rhino/src/main/java/org/mozilla/javascript/RhinoException.java:338
↓ 89 callersMethodvalue
()
rhino/src/main/java/org/mozilla/javascript/Hashtable.java:85
↓ 88 callersMethodmax
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:498
↓ 86 callersFunctiontest
()
tests/testsrc/tests/js1_2/version120/regress-99663.js:123
↓ 85 callersMethodaddInvoke
(int theOpCode, String className, String methodName, String methodType)
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:823
↓ 85 callersMethodgetString
Can only be called when node has String context.
rhino/src/main/java/org/mozilla/javascript/Node.java:578
↓ 84 callersMethodgetType
()
rhino/src/main/java/org/mozilla/javascript/ast/ParseProblem.java:33
↓ 84 callersFunctionstartTest
()
tests/testsrc/tests/js1_2/jsref.js:48
↓ 83 callersMethodsetPrototype
Set the prototype of the object. @param prototype the prototype to set
rhino/src/main/java/org/mozilla/javascript/Scriptable.java:266
↓ 81 callersMethodp
Convenience methods.
tests/testsrc/tests/src/com/netscape/javascript/qa/drivers/TestDriver.java:810
↓ 81 callersFunctiontest
()
tests/testsrc/tests/ecma/ExecutionContexts/10.1.4-4.js:52
↓ 80 callersMethodconstructCode
(int fooArgs, String invokeFoo, int invokeArgs, boolean activation)
tests/src/test/java/org/mozilla/javascript/tests/es6/ApplyFunctionTest.java:348
↓ 80 callersFunctionlet
(x)
tests/testsrc/tests/js1_7/decompilation/regress-352283.js:25
↓ 80 callersMethodtoArray
@return a TypeInfo representing an array type whose component type is the provided {@code component} param @see TypeInfo#isArray() @see TypeInfo#g
rhino/src/main/java/org/mozilla/javascript/lc/type/TypeInfoFactory.java:83
↓ 79 callersMethodaddIcode
(int icode)
rhino/src/main/java/org/mozilla/javascript/CodeGenerator.java:1783
↓ 78 callersFunctionDateFromTime
( t )
tests/testsrc/tests/ecma/shell.js:232
↓ 78 callersMethodsetParent
Sets the node parent. This method automatically adjusts the current node's start position to be relative to the new parent. @param parent the new par
rhino/src/main/java/org/mozilla/javascript/ast/AstNode.java:244
↓ 77 callersFunctionassertIteratorResult
(value, done, result)
tests/testsrc/jstests/harmony/generators-iteration.js:36
↓ 77 callersMethodassertWithAllModes402
Execute the provided script and assert the result. The language version is not changed. The {@link Context} feature Context.FEATURE_INTL_402 is enable
testutils/src/main/java/org/mozilla/javascript/testutils/Utils.java:162
↓ 77 callersMethodisOperation
(Operation op)
rhino/src/main/java/org/mozilla/javascript/optimizer/ParsedOperation.java:40
↓ 77 callersMethodlineNumber
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:466
↓ 77 callersMethodtoObject
(VarScope scope, Object val)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:1318
↓ 77 callersMethodtransform
(AstNode node)
rhino/src/main/java/org/mozilla/javascript/IRFactory.java:150
↓ 77 callersMethodtypeError
(String message)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:5784
↓ 76 callersFunctionTimeFromYear
( y )
tests/testsrc/tests/ecma/shell.js:141
↓ 76 callersMethodacquireLabel
()
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:1248
↓ 76 callersMethodgenerateExpression
(Node node, Node parent)
rhino/src/main/java/org/mozilla/javascript/optimizer/BodyCodegen.java:983
↓ 76 callersMethodgetFunctionName
Get name of the function described by this script. Return null or an empty string if this script is not a function.
rhino/src/main/java/org/mozilla/javascript/debug/DebuggableScript.java:25
↓ 76 callersMethodgetIntProp
(int propType, int defaultValue)
rhino/src/main/java/org/mozilla/javascript/Node.java:515
↓ 75 callersMethoddefineProperty
()
tests/src/test/java/org/mozilla/javascript/tests/es6/NativeProxyTest.java:188
↓ 75 callersMethodgetCurrentContext
Get the current Context. <p>The current Context is per-thread; this method looks up the Context associated with the current thread. @return the Cont
rhino/src/main/java/org/mozilla/javascript/Context.java:432
↓ 75 callersMethodmin
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:509
↓ 75 callersFunctiontest
()
tests/testsrc/tests/ecma/LexicalConventions/7.3-1.js:47
↓ 74 callersMethoddefineProperty
Utility method to add properties to arbitrary Scriptable object. If destination is instance of ScriptableObject, calls defineProperty there, otherwise
rhino/src/main/java/org/mozilla/javascript/ScriptableObject.java:1183
↓ 74 callersMethodputInt16
(int value, byte[] array, int offset)
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:2997
↓ 73 callersMethodreportRuntimeErrorById
(String messageId, Object... args)
rhino/src/main/java/org/mozilla/javascript/Context.java:983
↓ 72 callersMethodcolumnNumber
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:470
↓ 72 callersMethodgetKey
()
rhino/src/main/java/org/mozilla/javascript/ast/ObjectProperty.java:110
↓ 71 callersFunctionTimeClip
( t )
tests/testsrc/tests/ecma/shell.js:505
↓ 70 callersMethodmarkLabel
(int label)
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:1264
↓ 69 callersFunctionHelper
(array)
tests/testsrc/jstests/es2024/typedarray-resizablearraybuffer.js:4350
↓ 69 callersFunctionMakeDate
( day, time )
tests/testsrc/tests/ecma/shell.js:494
↓ 69 callersFunctionMonthFromTime
( t )
tests/testsrc/tests/ecma/shell.js:185
↓ 69 callersFunctionSetHelper
(target, source, offset)
tests/testsrc/jstests/typedarray-helpers.js:309
↓ 69 callersMethodnewArray
get an array whose element type is the caller TypeInfo
rhino/src/main/java/org/mozilla/javascript/lc/type/TypeInfo.java:158
↓ 69 callersMethodpeekToken
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:436
↓ 69 callersMethodtoInt32
See ECMA 9.5.
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:1507
↓ 68 callersMethodformat
(Context cx, VarScope scope, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeConsole.java:120
↓ 68 callersMethodgetDescriptor
()
rhino/src/main/java/org/mozilla/javascript/Script.java:47
↓ 68 callersMethodgetParentScope
Get the parent scope of this scope. @return the parent scope
rhino/src/main/java/org/mozilla/javascript/VarScope.java:21
↓ 68 callersMethodsqrt
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:632
↓ 67 callersMethodexit
Exit a block of code requiring a Context. <p>Calling {@code exit()} will remove the association between the current thread and a Context if the prior
rhino/src/main/java/org/mozilla/javascript/Context.java:504
↓ 67 callersMethodforEach
()
rhino/src/test/java/org/mozilla/javascript/tests/ForEachForOfTest.java:38
← previousnext →101–200 of 18,679, ranked by callers