Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acornjs/acorn
/ functions
Functions
1,232 in github.com/acornjs/acorn
⨍
Functions
1,232
◇
Types & classes
22
↓ 63 callers
Function
forEach
* @ngdoc function * @name angular.forEach * @module ng * @kind function * * @description * Invokes the `iterator` function once for each item in
test/bench/fixtures/angular.js:344
↓ 44 callers
Function
isUndefined
* @ngdoc function * @name angular.isUndefined * @module ng * @kind function * * @description * Determines if a reference is undefined. * * @pa
test/bench/fixtures/angular.js:599
↓ 43 callers
Function
isFunction
* @ngdoc function * @name angular.isFunction * @module ng * @kind function * * @description * Determines if a reference is a `Function`. * * @
test/bench/fixtures/angular.js:725
↓ 39 callers
Function
isString
* @ngdoc function * @name angular.isString * @module ng * @kind function * * @description * Determines if a reference is a `String`. * * @para
test/bench/fixtures/angular.js:658
↓ 37 callers
Function
isDefined
* @ngdoc function * @name angular.isDefined * @module ng * @kind function * * @description * Determines if a reference is defined. * * @param
test/bench/fixtures/angular.js:614
↓ 35 callers
Function
isObject
* @ngdoc function * @name angular.isObject * @module ng * @kind function * * @description * Determines if a reference is an `Object`. Unlike `ty
test/bench/fixtures/angular.js:630
↓ 33 callers
Function
invariant
(condition, format, a, b, c, d, e, f)
test/bench/fixtures/react-dom.js:17975
↓ 19 callers
Function
extend
* @ngdoc function * @name angular.extend * @module ng * @kind function * * @description * Extends the destination object `dst` by copying own en
test/bench/fixtures/angular.js:485
↓ 15 callers
Function
lowercase
(string)
test/bench/fixtures/angular.js:212
↓ 14 callers
Function
callback
()
test/bench/fixtures/angular.js:13033
↓ 14 callers
Function
trim
(value)
test/bench/fixtures/angular.js:792
↓ 13 callers
Function
createMap
* Creates a new object without a prototype. This object is useful for lookup without having to * guard against prototypically inherited properties vi
test/bench/fixtures/angular.js:2060
↓ 12 callers
Function
warnInProduction
()
test/bench/fixtures/react-dom.js:10866
↓ 11 callers
Function
$parse
(exp, interceptorFn)
test/bench/fixtures/angular.js:16085
↓ 11 callers
Function
invariant
(condition, format, a, b, c, d, e, f)
test/bench/fixtures/react.js:3229
↓ 11 callers
Function
isNumber
* @ngdoc function * @name angular.isNumber * @module ng * @kind function * * @description * Determines if a reference is a `Number`. * * This
test/bench/fixtures/angular.js:679
↓ 10 callers
Function
createChainableTypeChecker
(validate)
test/bench/fixtures/react-dom.js:18595
↓ 10 callers
Function
createChainableTypeChecker
(validate)
test/bench/fixtures/react.js:3644
↓ 10 callers
Function
isDate
* @ngdoc function * @name angular.isDate * @module ng * @kind function * * @description * Determines if a value is a date. * * @param {*} valu
test/bench/fixtures/angular.js:694
↓ 10 callers
Function
minErr
* @description * * This object provides a utility for producing rich Error messages within * Angular. It can be called as follows: * * var exampl
test/bench/fixtures/angular.js:38
↓ 10 callers
Function
nodeName_
(element)
test/bench/fixtures/angular.js:838
↓ 9 callers
Function
listener
(ev)
test/bench/fixtures/angular.js:24530
↓ 9 callers
Function
startingTag
* @returns {string} Returns the string representation of the element.
test/bench/fixtures/angular.js:1410
↓ 8 callers
Method
extend
(...plugins)
acorn/src/state.js:100
↓ 8 callers
Function
factory
(name, factoryFn, enforce)
test/bench/fixtures/angular.js:4684
↓ 8 callers
Function
isArrayLike
* @private * @param {*} obj * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments, * St
test/bench/fixtures/angular.js:287
↓ 8 callers
Function
resolvePromise
* Resolves the raw $http promise.
test/bench/fixtures/angular.js:12218
↓ 8 callers
Function
shallowCopy
* Creates a shallow copy of an object, an array or a primitive. * * Assumes that there are no proto properties for objects.
test/bench/fixtures/angular.js:2462
↓ 8 callers
Function
urlResolve
* * Implementation Notes for non-IE browsers * ---------------------------------------- * Assigning a URL to the href property of an anchor DOM nod
test/bench/fixtures/angular.js:20017
↓ 7 callers
Function
parse
* Parse a number (as a string) into three components that can be used * for formatting the number. * * (Significant bits of this parse algorithm ca
test/bench/fixtures/angular.js:20754
↓ 7 callers
Method
parse
()
acorn/src/state.js:90
↓ 7 callers
Method
startNode
()
acorn-loose/src/state.js:26
↓ 7 callers
Function
toInt
(str)
test/bench/fixtures/angular.js:514
↓ 7 callers
Function
valueFn
(value)
test/bench/fixtures/angular.js:580
↓ 6 callers
Function
$interpolate
* @ngdoc service * @name $interpolate * @kind function * * @requires $parse * @requires $sce * * @description
test/bench/fixtures/angular.js:12717
↓ 6 callers
Function
assertNotHasOwnProperty
* throw error if the name given is hasOwnProperty * @param {String} name the name to test * @param {String} context the context in which the na
test/bench/fixtures/angular.js:1992
↓ 6 callers
Function
baseInputType
(scope, element, attr, ctrl, $sniffer, $browser)
test/bench/fixtures/angular.js:24509
↓ 6 callers
Function
equals
* @ngdoc function * @name angular.equals * @module ng * @kind function * * @description * Determines if two objects or two values are equivalent
test/bench/fixtures/angular.js:1123
↓ 6 callers
Method
expect
(type)
acorn-loose/src/state.js:102
↓ 6 callers
Method
finishNode
(node, type)
acorn-loose/src/state.js:42
↓ 6 callers
Function
jQuery
( selector, context )
test/bench/fixtures/jquery.js:94
↓ 6 callers
Method
raise
(message)
acorn/src/regexp.js:35
↓ 5 callers
Method
canInsertSemicolon
()
acorn-loose/src/state.js:93
↓ 5 callers
Function
copy
* @ngdoc function * @name angular.copy * @module ng * @kind function * * @description * Creates a deep copy of `source`, which should be an obje
test/bench/fixtures/angular.js:919
↓ 5 callers
Method
eat
(ch)
acorn/src/regexp.js:79
↓ 5 callers
Method
eat
(type)
acorn-loose/src/state.js:76
↓ 5 callers
Method
isContextual
(name)
acorn-loose/src/state.js:85
↓ 5 callers
Function
rejectPromise
(promise, reason)
test/bench/fixtures/angular.js:16740
↓ 5 callers
Function
sliceArgs
(args, startIndex)
test/bench/fixtures/angular.js:1258
↓ 5 callers
Method
startNodeAt
(pos)
acorn-loose/src/state.js:34
↓ 5 callers
Function
stripHash
(url)
test/bench/fixtures/angular.js:13232
↓ 4 callers
Function
_classCallCheck
(instance, Constructor)
test/bench/fixtures/react-dom.js:888
↓ 4 callers
Function
arrayRemove
(array, value)
test/bench/fixtures/angular.js:846
↓ 4 callers
Function
assertArg
* throw error if the argument is falsy.
test/bench/fixtures/angular.js:1970
↓ 4 callers
Function
checkRenderMessage
(owner)
test/bench/fixtures/react-dom.js:753
↓ 4 callers
Function
concat
(array1, array2, index)
test/bench/fixtures/angular.js:1254
↓ 4 callers
Function
consoleTable
(table)
test/bench/fixtures/react-dom.js:10862
↓ 4 callers
Function
directiveNormalize
* Converts all accepted directives format into proper directive name. * @param name Name to normalize
test/bench/fixtures/angular.js:10440
↓ 4 callers
Method
eatContextual
(name)
acorn-loose/src/state.js:89
↓ 4 callers
Function
encodeUriQuery
* This method is intended for encoding *key* or *value* parts of query component. We need a custom * method because encodeURIComponent is too aggress
test/bench/fixtures/angular.js:1527
↓ 4 callers
Function
encodeUriSegment
* We need our custom method because encodeURIComponent is too aggressive and doesn't follow * http://www.ietf.org/rfc/rfc3986.txt with regards to the
test/bench/fixtures/angular.js:1508
↓ 4 callers
Function
forEachAccumulated
* @param {array} arr an "accumulation" of items which is either an Array or * a single item. Useful when paired with the `accumulate` module. This is
test/bench/fixtures/react-dom.js:15513
↓ 4 callers
Function
getAll
( context, tag )
test/bench/fixtures/jquery.js:4725
↓ 4 callers
Function
getDeclarationErrorAddendum
(owner)
test/bench/fixtures/react-dom.js:3760
↓ 4 callers
Function
getLastMeasurements
()
test/bench/fixtures/react-dom.js:10876
↓ 4 callers
Function
getReactRootElementInContainer
* @param {DOMElement|DOMDocument} container DOM element that may contain * a React component * @return {?*} DOM element that may have the reactRoot
test/bench/fixtures/react-dom.js:9777
↓ 4 callers
Function
isBoolean
(value)
test/bench/fixtures/angular.js:772
↓ 4 callers
Function
isNewLine
(code, ecma2019String)
acorn/src/whitespace.js:7
↓ 4 callers
Function
isPromiseLike
(obj)
test/bench/fixtures/angular.js:777
↓ 4 callers
Function
isScope
(obj)
test/bench/fixtures/angular.js:752
↓ 4 callers
Function
isWindow
* Checks if `obj` is a window object. * * @private * @param {*} obj Object to check * @returns {boolean} True if `obj` is a window obj.
test/bench/fixtures/angular.js:747
↓ 4 callers
Function
makeTest
(test)
acorn-walk/src/index.js:56
↓ 4 callers
Function
markFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
test/bench/fixtures/jquery.js:911
↓ 4 callers
Function
parseNumberAttrVal
(val)
test/bench/fixtures/angular.js:24803
↓ 4 callers
Function
resolve
( depth, deferred, handler, special )
test/bench/fixtures/jquery.js:3569
↓ 4 callers
Function
setTextContent
(node, text)
test/bench/fixtures/react-dom.js:16477
↓ 4 callers
Function
toJson
* @ngdoc function * @name angular.toJson * @module ng * @kind function * * @description * Serializes input into a JSON-formatted string. Propert
test/bench/fixtures/angular.js:1354
↓ 3 callers
Function
$$reject
(promise, reason)
test/bench/fixtures/angular.js:16745
↓ 3 callers
Function
accumulateInto
* Accumulates items that must not be null or undefined into the first one. This * is used to conserve memory by avoiding array allocations, and thus
test/bench/fixtures/react-dom.js:14959
↓ 3 callers
Function
assertArgFn
(arg, name, acceptArrayAnnotation)
test/bench/fixtures/angular.js:1977
↓ 3 callers
Method
at
(i)
acorn/src/regexp.js:41
↓ 3 callers
Function
badInputChecker
(scope, element, attr, ctrl)
test/bench/fixtures/angular.js:24773
↓ 3 callers
Function
collectDirectives
* Looks for directives on the given node and adds them to the directive collection which is * sorted. * * @param node Node to search.
test/bench/fixtures/angular.js:8955
↓ 3 callers
Function
compile
($compileNodes, transcludeFn, maxPriority, ignoreDirective, previousCompileContext)
test/bench/fixtures/angular.js:8677
↓ 3 callers
Function
copyElement
(source)
test/bench/fixtures/angular.js:980
↓ 3 callers
Method
current
()
acorn/src/regexp.js:67
↓ 3 callers
Function
digestClassCounts
(classArray, count)
test/bench/fixtures/angular.js:25785
↓ 3 callers
Function
encodePath
* Encode path using encodeUriSegment, ignoring forward slashes * * @param {string} path Path to encode * @returns {string}
test/bench/fixtures/angular.js:13172
↓ 3 callers
Function
getEventTarget
* Gets the target node from a native browser event by accounting for * inconsistencies in browser DOM APIs. * * @param {object} nativeEvent Native
test/bench/fixtures/react-dom.js:15738
↓ 3 callers
Function
getIteratorFn
* Returns the iterator method function contained on the iterable object. * * Be sure to invoke the function with the iterable as context: * *
test/bench/fixtures/react.js:2854
↓ 3 callers
Function
getLineInfo
(input, offset)
acorn/src/locutil.js:31
↓ 3 callers
Function
getNextDebugID
()
test/bench/fixtures/react.js:2878
↓ 3 callers
Function
getStyles
( elem )
test/bench/fixtures/jquery.js:6072
↓ 3 callers
Function
has
(obj, propName)
acorn/src/util.js:5
↓ 3 callers
Function
hasCustomToString
(obj)
test/bench/fixtures/angular.js:582
↓ 3 callers
Function
indexOf
( list, elem )
test/bench/fixtures/jquery.js:597
↓ 3 callers
Function
inherit
(parent, extra)
test/bench/fixtures/angular.js:524
↓ 3 callers
Function
isHiddenWithinTree
( elem, el )
test/bench/fixtures/jquery.js:4494
↓ 3 callers
Function
isIdentifierChar
(code, astral)
acorn/src/identifier.js:77
↓ 3 callers
Function
isIdentifierStart
(code, astral)
acorn/src/identifier.js:65
next →
1–100 of 1,232, ranked by callers