MCPcopy Create free account

hub / github.com/mozilla/rhino / functions

Functions18,679 in github.com/mozilla/rhino

↓ 67 callersMethodgetLineno
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:5508
↓ 67 callersMethodnewObject
Create a new JavaScript object. <p>Equivalent to evaluating "new Object()". @param scope the scope to search for the constructor and to evaluate aga
rhino/src/main/java/org/mozilla/javascript/Context.java:1639
↓ 66 callersMethodaddScriptRuntimeInvoke
(String methodName, String methodSignature)
rhino/src/main/java/org/mozilla/javascript/optimizer/BodyCodegen.java:4786
↓ 66 callersMethodgetExpression
Returns the wrapped expression
rhino/src/main/java/org/mozilla/javascript/ast/ExpressionStatement.java:74
↓ 66 callersMethodlength
()
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLList.java:580
↓ 65 callersMethodgetChar
()
rhino/src/main/java/org/mozilla/javascript/TokenStream.java:2178
↓ 65 callersMethodquery
Retrieve the slot at EITHER key or index, or return null if the slot cannot be found. @param key The key for the slot, which should be a String or a
rhino/src/main/java/org/mozilla/javascript/SlotMap.java:57
↓ 65 callersMethodsetParentScope
Set the parent scope of the object. @param parent the parent scope to set
rhino/src/main/java/org/mozilla/javascript/Scriptable.java:280
↓ 64 callersMethodaddToString
(int c)
rhino/src/main/java/org/mozilla/javascript/TokenStream.java:2134
↓ 63 callersMethodcompareTo
Permits AST nodes to be sorted based on start position and length. This makes it easy to sort Comment and Error nodes into a set of other AST nodes: j
rhino/src/main/java/org/mozilla/javascript/ast/AstNode.java:526
↓ 63 callersMethodput
Sets a named property in this object. <p>The property is specified by a string name as defined for {@code get}. <p>The possible values that may be p
rhino/src/main/java/org/mozilla/javascript/Scriptable.java:184
↓ 63 callersFunctionr
(keyword, tests)
tests/testsrc/tests/js1_7/lexical/regress-336376-01.js:44
↓ 62 callersMethodgetContext
()
benchmarks/src/jmh/java/org/mozilla/javascript/benchmarks/ContextThreadLocalBenchmark.java:48
↓ 62 callersMethodgetIndex
(byte[] array, int pc)
rhino/src/main/java/org/mozilla/javascript/regexp/NativeRegExp.java:2478
↓ 62 callersMethodlength
()
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XML.java:472
↓ 62 callersMethodlength
()
tests/src/test/java/org/mozilla/javascript/tests/es6/ArgumentsTest.java:804
↓ 61 callersMethodlog
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:468
↓ 61 callersMethodtoBoolean
Convert the value to a boolean. <p>See ECMA 9.2.
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:410
↓ 60 callersMethodgetMember
Get the value of a JavaScript property. Check its type and value. @param theThis JSObject whose property will be checked @param data Object array
tests/testsrc/tests/src/com/netscape/javascript/qa/liveconnect/member/Member_002.java:93
↓ 60 callersMethodmakeIndent
Constructs an indentation string. @param indent the number of indentation steps
rhino/src/main/java/org/mozilla/javascript/ast/AstNode.java:315
↓ 60 callersMethodputProperty
Puts a named property in an object or in an object in its prototype chain. <p>Searches for the named property in the prototype chain. If it is found,
rhino/src/main/java/org/mozilla/javascript/ScriptableObject.java:2544
↓ 59 callersFunctionWeekDay
( t )
tests/testsrc/tests/ecma/shell.js:275
↓ 59 callersFunctionassertAsync
(b, s)
tests/testsrc/jstests/es6/promises.js:63
↓ 59 callersMethodtypeof
The typeof operator
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:3673
↓ 58 callersFunctionMakeDay
( year, month, date )
tests/testsrc/tests/ecma/shell.js:433
↓ 58 callersMethodgetPosition
()
rhino/src/main/java/org/mozilla/javascript/Parser.java:5504
↓ 58 callersMethodmyParse
(String source)
tests/src/test/java/org/mozilla/javascript/tests/ParserLineColumnNumberTest.java:1044
↓ 57 callersFunctionassertAsyncRan
()
tests/testsrc/jstests/es6/promises.js:61
↓ 57 callersMethodcontains
(int[] array, int target)
testutils/src/main/java/org/mozilla/javascript/testutils/Utils.java:545
↓ 57 callersMethodgetContext
Internal method that reports an error for missing calls to enter().
rhino/src/main/java/org/mozilla/javascript/Context.java:2597
↓ 57 callersMethodisSymbol
Not all "NativeSymbol" instances are actually symbols. So account for that here rather than just by using an "instanceof" check.
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:6116
↓ 57 callersFunctionstartTest
()
tests/testsrc/tests/lc2/jsref.js:45
↓ 57 callersFunctionwriteHeaderToLog
( string )
tests/testsrc/tests/lc2/jsref.js:130
↓ 56 callersMethodcos
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:231
↓ 56 callersMethodputIntProp
(int propType, int prop)
rhino/src/main/java/org/mozilla/javascript/Node.java:540
↓ 55 callersMethodbuild
Builds and returns the {@link JSCode} object.
rhino/src/main/java/org/mozilla/javascript/JSCode.java:19
↓ 55 callersFunctionmsFromTime
( t )
tests/testsrc/tests/ecma/shell.js:294
↓ 55 callersMethodparseValue
(String json)
rhino/src/main/java/org/mozilla/javascript/json/JsonParser.java:39
↓ 55 callersMethodunwrap
Unwrap the object by returning the wrapped value. @return a wrapped value
rhino/src/main/java/org/mozilla/javascript/Wrapper.java:23
↓ 55 callersMethodvalues
()
rhino/src/main/java/org/mozilla/javascript/NativeObject.java:885
↓ 54 callersMethodcompute
Replace the value of key with the slot computed by the "compute" method. If "compute" throws an exception, make no change. If "compute" returns null,
rhino/src/main/java/org/mozilla/javascript/SlotMap.java:67
↓ 54 callersMethodtoInteger
See ECMA 9.4.
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:1470
↓ 53 callersMethodappendChild
(Object xml)
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XML.java:583
↓ 53 callersMethodassertEcmaErrorES6
Execute the provided script and assert an {@link EcmaError}. The error message of the {@link EcmaError} has to start with the provided expectedMessage
testutils/src/main/java/org/mozilla/javascript/testutils/Utils.java:432
↓ 53 callersMethodcreateName
(String name)
rhino/src/main/java/org/mozilla/javascript/Parser.java:5314
↓ 53 callersMethodgetInlineComment
()
rhino/src/main/java/org/mozilla/javascript/ast/AstNode.java:616
↓ 53 callersMethodsetLength
Sets node length
rhino/src/main/java/org/mozilla/javascript/ast/AstNode.java:209
↓ 52 callersMethodadd
Add the single-byte opcode to the current method. @param theOpCode the opcode of the bytecode
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:439
↓ 52 callersMethodgetPrototype
Get the prototype of the object. @return the prototype
rhino/src/main/java/org/mozilla/javascript/Scriptable.java:254
↓ 52 callersMethodmap
(UnaryOperator<Type> typeMapper, UnaryOperator<Class<?>> clazzMapper)
tests/src/test/java/org/mozilla/javascript/tests/type_info/TypePack.java:43
↓ 51 callersMethodaddLoadConstant
Generate the load constant bytecode for the given integer. @param k the constant
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:630
↓ 51 callersMethodceil
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:185
↓ 50 callersFunctionHourFromTime
( t )
tests/testsrc/tests/ecma/shell.js:282
↓ 50 callersMethodcontains
()
rhino/src/test/java/org/mozilla/javascript/tests/Bug466207Test.java:74
↓ 50 callersFunctionexpectExitCode
(n)
tests/testsrc/tests/shell.js:147
↓ 50 callersMethodgetColumn
@return the column of where a Node is defined in source. If the column is -1, it was never initialized. One-based. <p>May be overridden by sub
rhino/src/main/java/org/mozilla/javascript/Node.java:1279
↓ 49 callersFunctionMakeTime
( hour, min, sec, ms )
tests/testsrc/tests/ecma/shell.js:420
↓ 49 callersFunctionWriteUnsortedData
()
tests/testsrc/jstests/es2024/typedarray-resizablearraybuffer.js:7654
↓ 49 callersMethodaddAStore
Store object from stack top into the given local. @param local number of local register
rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java:1082
↓ 49 callersMethodasClass
Get the {@link Class} object represented by this {@link TypeInfo}. For a {@link java.lang.reflect.Type} object, the TypeInfo object created from the T
rhino/src/main/java/org/mozilla/javascript/lc/type/TypeInfo.java:89
↓ 49 callersMethodcompileString
Compiles the source in the given string. <p>Returns a script that may later be executed. @param source the source string @param sourceName a string
rhino/src/main/java/org/mozilla/javascript/Context.java:1492
↓ 49 callersMethodeval
(String script, ScriptContext context)
rhino-engine/src/main/java/org/mozilla/javascript/engine/RhinoScriptEngine.java:115
↓ 49 callersFunctionf
(i)
tests/testsrc/tests/js1_8_1/trace/trace-test.js:1026
↓ 49 callersMethodhasFeature
Controls certain aspects of script semantics. Should be overwritten to alter default behavior. <p>The default implementation calls {@link ContextFact
rhino/src/main/java/org/mozilla/javascript/Context.java:2374
↓ 49 callersMethodmatchChar
(int test)
rhino/src/main/java/org/mozilla/javascript/TokenStream.java:2162
↓ 48 callersFunctionMinFromTime
( t )
tests/testsrc/tests/ecma/shell.js:286
↓ 48 callersFunctionSecFromTime
( t )
tests/testsrc/tests/ecma/shell.js:290
↓ 48 callersMethodassertWithAllModes_1_5
Execute the provided script and assert the result. Before the execution the language version is set to {@link Context#VERSION_1_5}. @param expected t
testutils/src/main/java/org/mozilla/javascript/testutils/Utils.java:212
↓ 48 callersMethodconstructCode
(int fooArgs, String invokeFoo, int invokeArgs, boolean activation)
tests/src/test/java/org/mozilla/javascript/tests/es6/CallFunctionTest.java:199
↓ 48 callersMethodsourceName
Get the uri of the script source containing the error, or null if that information is not available.
rhino/src/main/java/org/mozilla/javascript/RhinoException.java:60
↓ 47 callersMethodgetMessageById
(String messageId, Object... args)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:5713
↓ 47 callersMethodmustMatchToken
(int toMatch, String messageId, boolean ignoreComment)
rhino/src/main/java/org/mozilla/javascript/Parser.java:518
↓ 47 callersMethodnormalize
()
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XML.java:305
↓ 47 callersMethodsearch
()
tests/src/test/java/org/mozilla/javascript/tests/es6/NativeRegExpTest.java:73
↓ 46 callersMethodclz32
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:192
↓ 46 callersFunctionneedParens
(section, pat, exp)
tests/testsrc/tests/js1_8_1/decompilation/regress-380237-04.js:182
↓ 46 callersFunctionneedParens
(section, pat, exp)
tests/testsrc/tests/js1_8/genexps/regress-380237-04.js:182
↓ 45 callersMethodreadLine
(String prompt)
rhino-tools/src/main/java/org/mozilla/javascript/tools/Console.java:14
↓ 45 callersMethodrealThis
(Object thisObj)
rhino/src/main/java/org/mozilla/javascript/NativeDate.java:716
↓ 45 callersFunctionreportMatch
(expectedRegExp, actual, description)
tests/testsrc/tests/shell.js:330
↓ 44 callersFunctionTestIterationAndResize
(ta, expected, rab, resize_after, new_byte_length)
tests/testsrc/jstests/es2024/typedarray-resizablearraybuffer.js:771
↓ 44 callersMethodctorDateTimeString
(final String expected, final String js)
tests/src/test/java/org/mozilla/javascript/tests/es6/NativeDateTest.java:418
↓ 44 callersFunctiondefer
(constructor)
tests/testsrc/jstests/es6/promises.js:49
↓ 44 callersMethodprint
(String msg)
rhino-tools/src/main/java/org/mozilla/javascript/tools/Console.java:18
↓ 43 callersFunctionToInt32
( n )
tests/testsrc/tests/ecma/TypeConversion/9.5-2.js:123
↓ 43 callersMethodassertTRUE
(Object actual)
rhino/src/test/java/org/mozilla/javascript/tests/Bug783797Test.java:44
↓ 43 callersMethodmatchToken
(int toMatch, boolean ignoreComment)
rhino/src/main/java/org/mozilla/javascript/Parser.java:491
↓ 43 callersMethodnotFunctionError
(Object value)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:5888
↓ 43 callersMethodrangeErrorById
(String messageId, Object... args)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:5779
↓ 42 callersMethodcall
Call the function. <p>Note that the array of arguments is not guaranteed to have length greater than 0. @param cx the current Context for this threa
rhino/src/main/java/org/mozilla/javascript/Function.java:31
↓ 42 callersMethodenterContext
Get a context associated with the current thread, creating one if need be. The Context stores the execution state of the JavaScript engine, so it is r
rhino/src/main/java/org/mozilla/javascript/ContextFactory.java:471
↓ 42 callersMethodget
Get a named property from the object. <p>Looks property up in this object and returns the associated value if found. Returns NOT_FOUND if not found.
rhino/src/main/java/org/mozilla/javascript/Scriptable.java:79
↓ 42 callersMethodremove
()
rhino/src/main/java/org/mozilla/javascript/Node.java:358
↓ 42 callersMethodround
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:583
↓ 41 callersMethodatan2
( Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
rhino/src/main/java/org/mozilla/javascript/NativeMath.java:171
↓ 41 callersMethodchildren
Returns an array of the children of the given node.
rhino-tools/src/main/java/org/mozilla/javascript/tools/debugger/SwingGui.java:2346
↓ 41 callersMethodcontains
(Object o)
rhino/src/main/java/org/mozilla/javascript/NativeArray.java:2229
↓ 41 callersMethoditem
(int index)
rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLList.java:407
↓ 41 callersMethodparse
(String json)
rhino/src/main/java/org/mozilla/javascript/sourcemap/SourceMapV3.java:47
↓ 41 callersMethodsubtract
(Number val1, Number val2)
rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java:3806
← previousnext →201–300 of 18,679, ranked by callers