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
↓ 1 callers
Function
ascii
r""" >>> ascii('Hello') 'Hello' >>> ascii('\N{TRADE MARK SIGN}') #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most re
tests/test_code/py/pytz/__init__.py:47
↓ 1 callers
Method
assert_dependencies
Assert that php and php-parser are installed
code2flow/php.py:231
↓ 1 callers
Function
b
()
tests/test_code/js/simple_b_js/simple_b.js:8
↓ 1 callers
Function
b
()
tests/test_code/js/globals/globals.js:13
↓ 1 callers
Function
b
()
tests/test_code/js/two_file_simple/file_b.js:1
↓ 1 callers
Function
b
()
tests/test_code/py/init/init.py:12
↓ 1 callers
Function
b
()
tests/test_code/py/exclude_modules_two_files/exclude_modules_a.py:9
↓ 1 callers
Function
b
()
tests/test_code/py/simple_b/simple_b.py:11
↓ 1 callers
Function
b
()
tests/test_code/py/two_file_simple/file_b.py:1
↓ 1 callers
Method
b
()
tests/test_code/js/scoping/scoping.js:14
↓ 1 callers
Function
beta
()
tests/test_code/js/exclude_modules/exclude_modules.js:11
↓ 1 callers
Function
beta
()
tests/test_code/js/exclude_modules_es6/exclude_modules_es6.js:11
↓ 1 callers
Function
beta
()
tests/test_code/py/exclude_modules/exclude_modules.py:9
↓ 1 callers
Function
c
()
tests/test_code/js/globals/globals.js:3
↓ 1 callers
Method
cadabra
(self)
tests/test_code/py/init/init.py:8
↓ 1 callers
Method
cadabra_it
(a)
tests/test_code/js/ambiguous_names/ambiguous_names.js:20
↓ 1 callers
Method
cadabra_it
(a=None)
tests/test_code/py/ambiguous_resolution/ambiguous_resolution.py:13
↓ 1 callers
Function
calculateOffset
(obsOffset, militaryOffset, numOffset)
tests/test_code/js/moment/moment.js:2467
↓ 1 callers
Function
checkWeekday
(weekdayStr, parsedInput, config)
tests/test_code/js/moment/moment.js:2449
↓ 1 callers
Function
children
The acorn AST is tricky. This returns all the children of an element :param ast tree: :rtype: list[ast]
code2flow/javascript.py:203
↓ 1 callers
Function
children
Given an ast tree get all children. For PHP, children are anything with a nodeType. :param tree_el ast: :rtype: list[ast]
code2flow/php.py:111
↓ 1 callers
Function
chooseLocale
(names)
tests/test_code/js/moment/moment.js:2047
↓ 1 callers
Function
commonPrefix
(arr1, arr2)
tests/test_code/js/moment/moment.js:2029
↓ 1 callers
Function
compareArrays
(array1, array2, dontConvert)
tests/test_code/js/moment/moment.js:3188
↓ 1 callers
Function
configFromInput
(config)
tests/test_code/js/moment/moment.js:2970
↓ 1 callers
Function
configFromObject
(config)
tests/test_code/js/moment/moment.js:2909
↓ 1 callers
Function
configFromString
(config)
tests/test_code/js/moment/moment.js:2511
↓ 1 callers
Function
configFromStringAndArray
(config)
tests/test_code/js/moment/moment.js:2849
↓ 1 callers
Function
createFromConfig
(config)
tests/test_code/js/moment/moment.js:2926
↓ 1 callers
Function
currentDateArray
(config)
tests/test_code/js/moment/moment.js:2560
↓ 1 callers
Function
d
()
tests/test_code/js/globals/globals.js:4
↓ 1 callers
Method
d
(param)
tests/test_code/js/simple_b_js/simple_b.js:14
↓ 1 callers
Method
d
(a="String")
tests/test_code/py/simple_b/simple_b.py:16
↓ 1 callers
Function
dayOfYearFromWeekInfo
(config)
tests/test_code/js/moment/moment.js:2666
↓ 1 callers
Function
defaultParsingFlags
()
tests/test_code/js/moment/moment.js:108
↓ 1 callers
Function
defineLocale
(name, config)
tests/test_code/js/moment/moment.js:2131
↓ 1 callers
Function
determine_language
Given a list of filepaths, determine the language from the first valid extension :param list[str] individual_files: :rtype: str
code2flow/engine.py:268
↓ 1 callers
Function
do_calc
()
tests/test_code/js/classes/classes.js:22
↓ 1 callers
Function
do_calc_wrapper
()
tests/test_code/js/classes/classes.js:28
↓ 1 callers
Method
doit
()
tests/test_code/js/complex_ownership/complex_ownership.js:5
↓ 1 callers
Method
doit
()
tests/test_code/js/two_file_imports/imported.js:6
↓ 1 callers
Method
doit
()
tests/test_code/mjs/two_file_imports_es6/imported_es6.mjs:6
↓ 1 callers
Method
doit2
(varname)
tests/test_code/js/complex_ownership/complex_ownership.js:25
↓ 1 callers
Method
doit2
()
tests/test_code/js/two_file_imports/imported.js:10
↓ 1 callers
Method
doit2
()
tests/test_code/mjs/two_file_imports_es6/imported_es6.mjs:10
↓ 1 callers
Method
doit3
()
tests/test_code/js/complex_ownership/complex_ownership.js:28
↓ 1 callers
Function
extractFromRFC2822Strings
( yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr
tests/test_code/js/moment/moment.js:2407
↓ 1 callers
Method
file_group
Get the file group that this node is in. :rtype: Group
code2flow/model.py:302
↓ 1 callers
Method
file_import_tokens
Returns the token(s) we would use if importing this file from another. :param filename str: :rtype: list[str]
code2flow/php.py:402
↓ 1 callers
Method
filename
The ultimate filename of this group. :rtype: str
code2flow/model.py:523
↓ 1 callers
Function
format
(inputString)
tests/test_code/js/moment/moment.js:3969
↓ 1 callers
Method
fromutc
See datetime.tzinfo.fromutc
tests/test_code/py/pytz/tzinfo.py:193
↓ 1 callers
Function
func_1
()
tests/test_code/py/resolve_correct_class/rcc.py:1
↓ 1 callers
Method
func_2
(self)
tests/test_code/py/resolve_correct_class/rcc.py:13
↓ 1 callers
Method
func_2
(self)
tests/test_code/py/resolve_correct_class/rcc.py:23
↓ 1 callers
Function
func_b
()
tests/test_code/js/simple_a_js/simple_a.js:1
↓ 1 callers
Function
func_b
()
tests/test_code/py/weird_calls/weird_calls.py:9
↓ 1 callers
Function
func_b
()
tests/test_code/py/simple_a/simple_a.py:1
↓ 1 callers
Function
generate_json
Generate a json string from nodes and edges See https://github.com/jsongraph/json-graph-specification :param nodes list[Node]: functions
code2flow/engine.py:211
↓ 1 callers
Function
getParseRegexForToken
(token, config)
tests/test_code/js/moment/moment.js:797
↓ 1 callers
Function
getPrioritizedUnits
(unitsObj)
tests/test_code/js/moment/moment.js:663
↓ 1 callers
Function
get_ab
()
tests/test_code/js/weird_assignments/weird_assignments.js:1
↓ 1 callers
Function
get_acorn_version
Get the version of installed acorn :rtype: str
code2flow/javascript.py:232
↓ 1 callers
Function
get_inherits
Get the various types of inheritances this class/module can have :param tree ast: :param body_tree list[ast] :rtype: list[str]
code2flow/ruby.py:168
↓ 1 callers
Function
get_inherits
Get what superclasses this class inherits This handles exact names like 'MyClass' but skips things like 'cls' and 'mod.MyClass' Resolving
code2flow/python.py:132
↓ 1 callers
Function
get_inherits
Gets the superclass of the class. In js, this will be max 1 element :param ast tree: :rtype: list[str]
code2flow/javascript.py:219
↓ 1 callers
Function
get_inherits
Get the various types of inheritances this class/namespace/trait can have :param tree ast: :rtype: list[str]
code2flow/php.py:195
↓ 1 callers
Function
get_sources_and_language
Given a list of files and directories, return just files. If we are not passed a language, determine it. Filter out files that are not of
code2flow/engine.py:285
↓ 1 callers
Method
get_tree
Get the entire AST for this file :param filename str: :param lang_params LanguageParams: :rtype: ast
code2flow/php.py:244
↓ 1 callers
Method
get_variables
Get variables in-scope on the line number. This includes all local variables as-well-as outer-scope variables :rtype: list[Va
code2flow/model.py:358
↓ 1 callers
Function
imported_func
()
tests/test_code/py/init/the_import.py:11
↓ 1 callers
Method
incr
()
tests/test_code/js/classes/classes.js:17
↓ 1 callers
Function
inner
()
tests/test_code/js/two_file_imports/imported.js:15
↓ 1 callers
Function
inner
()
tests/test_code/mjs/two_file_imports_es6/imported_es6.mjs:15
↓ 1 callers
Method
inner_func
()
tests/test_code/py/nested_class/nested_class.py:3
↓ 1 callers
Function
isCalendarSpec
(input)
tests/test_code/js/moment/moment.js:3686
↓ 1 callers
Function
isDurationValid
(m)
tests/test_code/js/moment/moment.js:3102
↓ 1 callers
Function
isMomentInput
(input)
tests/test_code/js/moment/moment.js:3621
↓ 1 callers
Function
isMomentInputObject
(input)
tests/test_code/js/moment/moment.js:3634
↓ 1 callers
Function
isNumberOrStringArray
(input)
tests/test_code/js/moment/moment.js:3674
↓ 1 callers
Method
is_attr
Whether this node is attached to something besides the file :rtype: bool
code2flow/model.py:312
↓ 1 callers
Method
localize
Convert naive time to local time
tests/test_code/py/pytz/__init__.py:242
↓ 1 callers
Method
magic
()
tests/test_code/js/ambiguous_names/ambiguous_names.js:5
↓ 1 callers
Method
magic
()
tests/test_code/py/ambiguous_resolution/ambiguous_resolution.py:2
↓ 1 callers
Function
main
(cls)
tests/test_code/js/ambiguous_names/ambiguous_names.js:26
↓ 1 callers
Function
main
(cls)
tests/test_code/py/ambiguous_resolution/ambiguous_resolution.py:17
↓ 1 callers
Function
main
()
tests/test_code/py/async_basic/async_basic.py:9
↓ 1 callers
Function
main
()
tests/test_code/py/import_paths/import_paths.py:5
↓ 1 callers
Function
main
()
tests/test_code/py/weird_imports/weird_imports.py:5
↓ 1 callers
Function
main2
()
tests/test_code/py/import_paths/import_paths.py:10
↓ 1 callers
Function
majorNum
()
tests/test_code/py/inherits/inherits.py:6
↓ 1 callers
Method
majorNum
()
tests/test_code/js/inheritance/inheritance.js:8
↓ 1 callers
Function
makeFormatFunction
(format)
tests/test_code/js/moment/moment.js:490
↓ 1 callers
Method
make_class_group
Given an AST for the subgroup (a class), generate that subgroup. In this function, we will also need to generate all of the nodes int
code2flow/php.py:355
↓ 1 callers
Function
make_file_group
Given an AST for the entire file, generate a file group complete with subgroups, nodes, etc. :param tree ast: :param filename str:
code2flow/engine.py:333
↓ 1 callers
Method
make_nodes
Given a tree element of all the lines in a function, create the node along with the calls and variables internal to it. Also
code2flow/ruby.py:254
↓ 1 callers
Method
make_nodes
Given an ast of all the lines in a function, create the node along with the calls and variables internal to it. :param tree
code2flow/python.py:194
↓ 1 callers
Method
make_nodes
Given an ast of all the lines in a function, create the node along with the calls and variables internal to it. Also make the
code2flow/javascript.py:320
↓ 1 callers
Function
map_it
Given a language implementation and a list of filenames, do these things: 1. Read/parse source ASTs 2. Find all groups (classes/modules)
code2flow/engine.py:432
↓ 1 callers
Method
matches_variable
Check whether this variable is what the call is acting on. For example, if we had 'obj' from obj = Obj() as a var
code2flow/model.py:213
← previous
next →
201–300 of 657, ranked by callers