Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FSoft-AI4Code/CodeText-parser
/ functions
Functions
249 in github.com/FSoft-AI4Code/CodeText-parser
⨍
Functions
249
◇
Types & classes
39
Method
get_class_metadata
(class_node, blob=None)
src/codetext/parser/javascript_parser.py:108
Method
get_class_metadata
Class metadata contains: - identifier (str): class's name - parameters (List[str]): inheritance class
src/codetext/parser/cpp_parser.py:151
Method
get_class_metadata
(class_node, blob: str=None)
src/codetext/parser/php_parser.py:99
Method
get_class_metadata
(class_node, blob=None)
src/codetext/parser/ruby_parser.py:112
Method
get_comment_node
(node)
src/codetext/parser/language_parser.py:227
Method
get_comment_node
Return all comment node inside a parent node Args: node (tree_sitter.Node) Return: List: list of comm
src/codetext/parser/c_sharp_parser.py:85
Method
get_comment_node
Return all comment node inside a parent node Args: node (tree_sitter.Node) Return: List: list of comm
src/codetext/parser/java_parser.py:57
Method
get_comment_node
(node)
src/codetext/parser/python_parser.py:56
Method
get_comment_node
(function_node)
src/codetext/parser/rust_parser.py:148
Method
get_comment_node
(function_node)
src/codetext/parser/javascript_parser.py:45
Method
get_comment_node
Return all comment node inside a parent node Args: node (tree_sitter.Node) Return: List: list of comm
src/codetext/parser/cpp_parser.py:91
Method
get_comment_node
(function_node)
src/codetext/parser/php_parser.py:46
Method
get_comment_node
(function_node)
src/codetext/parser/ruby_parser.py:134
Method
get_docstring
Get docstring description for node Args: node (tree_sitter.Node) blob (str): original source code wh
src/codetext/parser/c_sharp_parser.py:15
Method
get_docstring
Get docstring description for node Args: node (tree_sitter.Node) blob (str): original source code wh
src/codetext/parser/java_parser.py:37
Method
get_docstring
(node, blob:str=None)
src/codetext/parser/python_parser.py:16
Method
get_docstring
(node, blob=None)
src/codetext/parser/rust_parser.py:55
Method
get_docstring
(node, blob=None)
src/codetext/parser/javascript_parser.py:34
Method
get_docstring
Get docstring description for node Args: node (tree_sitter.Node) blob (str): original source code wh
src/codetext/parser/cpp_parser.py:16
Method
get_docstring
(node, blob: str=None)
src/codetext/parser/php_parser.py:23
Method
get_docstring
(node, blob=None)
src/codetext/parser/ruby_parser.py:65
Method
get_docstring_node
(node)
src/codetext/parser/language_parser.py:222
Method
get_function_list
(node)
src/codetext/parser/language_parser.py:212
Method
get_function_list
(node)
src/codetext/parser/c_sharp_parser.py:97
Method
get_function_list
(node)
src/codetext/parser/java_parser.py:74
Method
get_function_list
(node)
src/codetext/parser/python_parser.py:28
Method
get_function_list
(node)
src/codetext/parser/rust_parser.py:20
Method
get_function_list
(node)
src/codetext/parser/javascript_parser.py:50
Method
get_function_list
(node)
src/codetext/parser/cpp_parser.py:81
Method
get_function_list
(node)
src/codetext/parser/php_parser.py:58
Method
get_function_list
(node)
src/codetext/parser/ruby_parser.py:22
Method
get_function_metadata
(function_node, blob=None)
src/codetext/parser/language_parser.py:237
Method
get_function_metadata
Function metadata contains: - identifier (str): function name - parameters (Dict[str, str]): parameter's name and the
src/codetext/parser/c_sharp_parser.py:108
Method
get_function_metadata
(function_node, blob: str = None)
src/codetext/parser/java_parser.py:107
Method
get_function_metadata
(function_node, blob: str=None)
src/codetext/parser/python_parser.py:64
Method
get_function_metadata
(function_node, blob=None)
src/codetext/parser/rust_parser.py:69
Method
get_function_metadata
(function_node, blob: str=None)
src/codetext/parser/javascript_parser.py:74
Method
get_function_metadata
Function metadata contains: - identifier (str): function name - parameters (Dict[str, str]): parameter's name and the
src/codetext/parser/cpp_parser.py:103
Method
get_function_metadata
(function_node, blob: str=None)
src/codetext/parser/php_parser.py:63
Method
get_function_metadata
(function_node, blob=None)
src/codetext/parser/ruby_parser.py:82
Method
is_method_body_empty
(node)
src/codetext/parser/java_parser.py:79
Function
loadSongs
()
tests/test_parser/test_sample/javascript_test_sample.js:29
Function
long_string
(x: &str)
tests/test_parser/test_sample/rust_test_sample.rs:7
Function
main
tests/test_parser/test_sample/c_test_sample.c:19
Function
main
tests/test_parser/test_sample/cpp_test_sample.cpp:21
Function
match_from_spans
Get text from multiple note Args: nodes (List): List of `tree_sitter.Node` blob (str): Full source Return:
src/codetext/parser/language_parser.py:172
Function
module_available
Check if a module path is available in your environment. Source: pytorch_lightning/utilities/imports.py .. code-block:: python >>
src/codetext/utils/imports.py:18
Method
myMethod
()
tests/test_parser/test_sample/php_test_sample.php:93
Method
my_method
(a)
tests/test_parser/test_sample/ruby_test_sample.rb:36
Function
parent_and_previous_sibling
Merge `node_parent` and `previous_sibling` function
src/codetext/parser/language_parser.py:35
Function
previous_sibling
Search for the previous sibling of the node. TODO: C TreeSitter should support this natively, but not its Python bindings yet. Replace later.
src/codetext/parser/language_parser.py:48
Function
private_function
Items in modules default to private visibility.
tests/test_parser/test_sample/rust_test_sample.rs:24
Function
quack_everyone
(iter: I)
tests/test_parser/test_sample/rust_test_sample.rs:29
Method
removeHabitEvent
Removes a habit event from a particular user's habit event list. @param context instance of Context @param userIndex integer user index @param habitI
tests/test_parser/test_sample/java_test_sample.java:36
Function
remove_everything_after_a_pattern
Only keep the part appears before the patterns. Ignore everything after the patterns. This function is applied at docstr
src/codetext/clean/noise_removal.py:162
Function
remove_everything_after_an_url
This function applies at sentence-level TO-DO: Should apply on docstring-level by regular expression
src/codetext/clean/noise_removal.py:182
Function
remove_function_name_at_the_beginning
This function is applied at docstring/paragraph-level.
src/codetext/clean/noise_removal.py:128
Function
remove_lines_contain_only_a_single_char
This function applies at line-level
src/codetext/clean/noise_removal.py:234
Function
remove_lines_start_and_end_with_the_same_char
Remove noisy lines. This function applies at line-level
src/codetext/clean/noise_removal.py:206
Function
remove_link_in_brackets
Removing patterns, for examples: - (https://www.a.ai) - <see https://www.b.ai> - <eg. a b c> \param \bri
src/codetext/clean/noise_removal.py:142
Function
remove_patterns_at_any_positions
This function applies at docstring-level
src/codetext/clean/noise_removal.py:250
Function
remove_patterns_at_the_start_and_end_of_a_line
This function applies at line-level
src/codetext/clean/noise_removal.py:262
Function
remove_special_character
(docstring: str)
src/codetext/clean/noise_removal.py:124
Function
remove_specific_pattern
pattern 1 will match "(e.g something)" pattern 2 will match "e.g something\n" or "e.g something. " pattern 3 will match "{@tag content}"
src/codetext/clean/noise_removal.py:312
Function
remove_words_in_string
(words, string)
src/codetext/parser/language_parser.py:13
Method
setBackgroundImage
(Drawing $objDrawing)
tests/test_parser/test_sample/php_test_sample.php:101
Method
setUp
(self)
tests/test_parser/test_csharp.py:11
Method
setUp
(self)
tests/test_parser/test_php.py:11
Method
setUp
(self)
tests/test_parser/test_java.py:11
Method
setUp
(self)
tests/test_parser/test_c.py:10
Method
setUp
(self)
tests/test_parser/test_python.py:11
Method
setUp
(self)
tests/test_parser/test_go.py:11
Method
setUp
(self)
tests/test_parser/test_javascript.py:11
Method
setUp
(self)
tests/test_parser/test_cpp.py:11
Method
setUp
(self)
tests/test_parser/test_ruby.py:11
Method
setUp
(self)
tests/test_parser/test_rust.py:11
Method
show
* Comment something
tests/test_parser/test_sample/javascript_test_sample.js:74
Function
songsLoaded
(repos, username=10)
tests/test_parser/test_sample/javascript_test_sample.js:43
Function
songsLoadingError
(error)
tests/test_parser/test_sample/javascript_test_sample.js:58
Function
sum2number
A static function
tests/test_parser/test_sample/cpp_test_sample.cpp:8
Method
test_build_language
(self)
tests/test_utils/test_utils.py:6
Method
test_extract_docstring
(self)
tests/test_parser/test_java.py:81
Method
test_extract_docstring
(self)
tests/test_parser/test_c.py:71
Method
test_extract_docstring
(self)
tests/test_parser/test_go.py:68
Method
test_extract_docstring
(self)
tests/test_parser/test_javascript.py:109
Method
test_get_action_list
(self)
tests/test_parser/test_ruby.py:125
Method
test_get_action_metadata
(self)
tests/test_parser/test_ruby.py:131
Method
test_get_class_list
(self)
tests/test_parser/test_csharp.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_php.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_java.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_c.py:38
Method
test_get_class_list
(self)
tests/test_parser/test_python.py:26
Method
test_get_class_list
(self)
tests/test_parser/test_javascript.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_cpp.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_ruby.py:27
Method
test_get_class_list
(self)
tests/test_parser/test_rust.py:27
Method
test_get_class_metadata
(self)
tests/test_parser/test_csharp.py:84
Method
test_get_class_metadata
(self)
tests/test_parser/test_php.py:104
Method
test_get_class_metadata
(self)
tests/test_parser/test_java.py:72
Method
test_get_class_metadata
(self)
tests/test_parser/test_c.py:41
← previous
next →
101–200 of 249, ranked by callers