Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scottrogowski/code2flow
/ functions
Functions
657 in github.com/scottrogowski/code2flow
⨍
Functions
657
◇
Types & classes
95
↓ 67 callers
Function
addRegexToken
(token, regex, strictRegex)
tests/test_code/js/moment/moment.js:789
↓ 55 callers
Function
addFormatToken
(token, padded, ordinal, callback)
tests/test_code/js/moment/moment.js:458
↓ 41 callers
Function
getParsingFlags
(m)
tests/test_code/js/moment/moment.js:130
↓ 38 callers
Function
toInt
(argumentForCoercion)
tests/test_code/js/moment/moment.js:690
↓ 32 callers
Function
hasOwnProp
(a, b)
tests/test_code/js/moment/moment.js:41
↓ 31 callers
Function
set
(config)
tests/test_code/js/moment/moment.js:349
↓ 28 callers
Function
addParseToken
(token, callback)
tests/test_code/js/moment/moment.js:828
↓ 24 callers
Method
add
(b)
tests/test_code/js/chained/chained.js:6
↓ 21 callers
Function
createLocal
(input, format, locale, strict)
tests/test_code/js/moment/moment.js:3024
↓ 19 callers
Function
djoin
Convenience method to join strings with dots :rtype: str
code2flow/model.py:45
↓ 16 callers
Function
addUnitAlias
(unit, shorthand)
tests/test_code/js/moment/moment.js:629
↓ 16 callers
Function
addUnitPriority
(unit, priority)
tests/test_code/js/moment/moment.js:659
↓ 16 callers
Method
apply
()
tests/test_code/js/complex_ownership/complex_ownership.js:9
↓ 16 callers
Function
code2flow
Top-level function. Generate a diagram based on source code. Can generate either a dotfile or an image. :param list[str] raw_source_path
code2flow/engine.py:671
↓ 14 callers
Function
isUndefined
(input)
tests/test_code/js/moment/moment.js:59
↓ 13 callers
Function
regexEscape
(s)
tests/test_code/js/moment/moment.js:822
↓ 13 callers
Method
test
(self)
tests/test_code/py/async_basic/async_basic.py:6
↓ 12 callers
Function
absFloor
(number)
tests/test_code/js/moment/moment.js:681
↓ 12 callers
Function
deprecate
(msg, fn)
tests/test_code/js/moment/moment.js:287
↓ 11 callers
Method
all_nodes
List of nodes that are part of this group + all subgroups :rtype: list[Node]
code2flow/model.py:549
↓ 11 callers
Function
isArray
(input)
tests/test_code/js/moment/moment.js:25
↓ 11 callers
Function
lineno
Get the first line number of ast element :param ast el: :rtype: int
code2flow/javascript.py:10
↓ 11 callers
Function
normalizeUnits
(units)
tests/test_code/js/moment/moment.js:634
↓ 10 callers
Function
get_name
Get the name (token) of the AST node. :param tree ast: :rtype: str|None
code2flow/php.py:18
↓ 10 callers
Function
isFunction
(input)
tests/test_code/js/moment/moment.js:342
↓ 10 callers
Function
isMoment
(obj)
tests/test_code/js/moment/moment.js:271
↓ 10 callers
Function
zeroFill
(number, targetLength, forceSign)
tests/test_code/js/moment/moment.js:438
↓ 9 callers
Function
createUTC
(input, format, locale, strict)
tests/test_code/js/moment/moment.js:104
↓ 9 callers
Function
isNumber
(input)
tests/test_code/js/moment/moment.js:63
↓ 9 callers
Function
makeAs
(alias)
tests/test_code/js/moment/moment.js:5340
↓ 9 callers
Method
remove_from_parent
Remove this node from it's parent. This effectively deletes the node. :rtype: None
code2flow/model.py:351
↓ 9 callers
Function
weeksInYear
(year, dow, doy)
tests/test_code/js/moment/moment.js:1369
↓ 8 callers
Function
createDuration
(input, key)
tests/test_code/js/moment/moment.js:3445
↓ 8 callers
Function
extend
(a, b)
tests/test_code/js/moment/moment.js:86
↓ 8 callers
Function
main
CLI interface. Sys_argv is a parameter for the sake of unittest coverage. :param sys_argv list: :rtype: None
code2flow/engine.py:771
↓ 7 callers
Method
add_node
Nodes are found after initialization. This is how they are added. :param node Node: :param is_root bool:
code2flow/model.py:539
↓ 7 callers
Method
all_groups
List of groups that are part of this group + all subgroups :rtype: list[Group]
code2flow/model.py:571
↓ 7 callers
Function
flatten
Return a list from a list of lists :param list[list[Value]] list_of_lists: :rtype: list[Value]
code2flow/model.py:55
↓ 7 callers
Method
generate
:param target_function str: :param upstream_depth int: :param downstream_depth int: :rtype: SubsetParams|Nonetype
code2flow/engine.py:70
↓ 7 callers
Function
getLocale
(key)
tests/test_code/js/moment/moment.js:2231
↓ 7 callers
Function
isObject
(input)
tests/test_code/js/moment/moment.js:32
↓ 7 callers
Function
lineno
Return the line number of the AST :param tree ast: :rtype: int
code2flow/php.py:9
↓ 7 callers
Function
makeGetter
(name)
tests/test_code/js/moment/moment.js:5365
↓ 7 callers
Function
parseIso
(inp, sign)
tests/test_code/js/moment/moment.js:3520
↓ 6 callers
Function
defaults
(a, b, c)
tests/test_code/js/moment/moment.js:2550
↓ 6 callers
Function
getSetGlobalLocale
(key, values)
tests/test_code/js/moment/moment.js:2106
↓ 6 callers
Function
makeGetSet
(unit, keepTime)
tests/test_code/js/moment/moment.js:701
↓ 6 callers
Function
memorized_timedelta
Create only one instance of each distinct timedelta
tests/test_code/py/pytz/tzinfo.py:18
↓ 6 callers
Function
mod$1
(dividend, divisor)
tests/test_code/js/moment/moment.js:4051
↓ 6 callers
Function
sign
(x)
tests/test_code/js/moment/moment.js:5498
↓ 5 callers
Method
_fill
(self)
tests/test_code/py/pytz/__init__.py:378
↓ 5 callers
Function
addWeekParseToken
(token, callback)
tests/test_code/js/moment/moment.js:844
↓ 5 callers
Function
daysInYear
(year)
tests/test_code/js/moment/moment.js:1257
↓ 5 callers
Function
hooks
()
tests/test_code/js/moment/moment.js:15
↓ 5 callers
Function
is_installed
Determine whether a command can be run or not :param list[str] individual_files: :rtype: str
code2flow/model.py:30
↓ 5 callers
Function
match
()
tests/test_code/py/exclude_modules_two_files/exclude_modules_b.py:1
↓ 5 callers
Method
name
Names exist largely for unit tests and deterministic node sorting :rtype: str
code2flow/model.py:285
↓ 5 callers
Function
weekOfYear
(mom, dow, doy)
tests/test_code/js/moment/moment.js:1346
↓ 4 callers
Function
_edge
(tup)
tests/test_graphs.py:29
↓ 4 callers
Function
addWeekYearFormatToken
(token, getter)
tests/test_code/js/moment/moment.js:4563
↓ 4 callers
Function
assert_eq
(seq_a, seq_b)
tests/test_graphs.py:33
↓ 4 callers
Function
daysInMonth
(year, month)
tests/test_code/js/moment/moment.js:888
↓ 4 callers
Function
firstWeekOffset
(year, dow, doy)
tests/test_code/js/moment/moment.js:1312
↓ 4 callers
Function
formatMoment
(m, format)
tests/test_code/js/moment/moment.js:516
↓ 4 callers
Function
get
(mom, unit)
tests/test_code/js/moment/moment.js:713
↓ 4 callers
Function
get$1
(format, index, field, setter)
tests/test_code/js/moment/moment.js:5033
↓ 4 callers
Method
init
()
tests/test_code/js/ternary_new/ternary_new.js:2
↓ 4 callers
Function
isDate
(input)
tests/test_code/js/moment/moment.js:70
↓ 4 callers
Function
isLeapYear
(year)
tests/test_code/js/moment/moment.js:677
↓ 4 callers
Method
keys
(self)
tests/test_code/py/pytz/lazy.py:60
↓ 4 callers
Method
label
Labels are what you see on the graph :rtype: str
code2flow/model.py:342
↓ 4 callers
Function
loadLocale
(name)
tests/test_code/js/moment/moment.js:2079
↓ 4 callers
Function
map
(arr, fn)
tests/test_code/js/moment/moment.js:77
↓ 4 callers
Function
open_resource
Open a resource from the zoneinfo subdir for reading. Uses the pkg_resources module if available and no standard file found at the calculated
tests/test_code/py/pytz/__init__.py:78
↓ 4 callers
Method
to_dot
Output for graphviz (.dot) files :rtype: str
code2flow/model.py:404
↓ 3 callers
Method
_isdst
(self, dt)
tests/test_code/py/pytz/reference.py:71
↓ 3 callers
Function
absRound
(number)
tests/test_code/js/moment/moment.js:3179
↓ 3 callers
Method
add
(self, b)
tests/test_code/py/chained/chained.py:5
↓ 3 callers
Method
add_subgroup
Subgroups are found after initialization. This is how they are added. :param sg Group:
code2flow/model.py:532
↓ 3 callers
Function
build_tzinfo
(zone, fp)
tests/test_code/py/pytz/tzfile.py:24
↓ 3 callers
Method
calcArea
()
tests/test_code/js/classes/classes.js:13
↓ 3 callers
Function
checkOverflow
(m)
tests/test_code/js/moment/moment.js:2258
↓ 3 callers
Function
cloneWithOffset
(input, model)
tests/test_code/js/moment/moment.js:3260
↓ 3 callers
Function
configFromArray
(config)
tests/test_code/js/moment/moment.js:2577
↓ 3 callers
Function
configFromStringAndFormat
(config)
tests/test_code/js/moment/moment.js:2734
↓ 3 callers
Function
copyConfig
(to, from)
tests/test_code/js/moment/moment.js:208
↓ 3 callers
Function
createInvalid
(flags)
tests/test_code/js/moment/moment.js:192
↓ 3 callers
Function
createUTCDate
(y)
tests/test_code/js/moment/moment.js:1293
↓ 3 callers
Function
factory
()
tests/test_code/py/weird_calls/weird_calls.py:27
↓ 3 callers
Method
first_group
The first group that contains this node. :rtype: Group
code2flow/model.py:292
↓ 3 callers
Function
getDateOffset
(m)
tests/test_code/js/moment/moment.js:3277
↓ 3 callers
Function
get_call_from_func_element
Given a javascript ast that represents a function call, clear and create our generic Call object. Some calls have no chance at resolution (e.
code2flow/javascript.py:77
↓ 3 callers
Function
isDuration
(obj)
tests/test_code/js/moment/moment.js:3175
↓ 3 callers
Function
isObjectEmpty
(obj)
tests/test_code/js/moment/moment.js:45
↓ 3 callers
Function
isValid
(m)
tests/test_code/js/moment/moment.js:156
↓ 3 callers
Method
is_attr
Attribute calls are like `a.do_something()` rather than `do_something()` :rtype: bool
code2flow/model.py:206
↓ 3 callers
Function
listWeekdaysImpl
(localeSorted, format, index, field)
tests/test_code/js/moment/moment.js:5067
↓ 3 callers
Method
localize
Convert naive time to local time. This method should be used to construct localtimes, rather than passing a tzinfo argument to a date
tests/test_code/py/pytz/tzinfo.py:258
↓ 3 callers
Function
mergeConfigs
(parentConfig, childConfig)
tests/test_code/js/moment/moment.js:372
↓ 3 callers
Function
monthDiff
(a, b)
tests/test_code/js/moment/moment.js:3877
next →
1–100 of 657, ranked by callers