Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FSoft-AI4Code/HyperAgent
/ is_method_signature
Function
is_method_signature
src/hyperagent/tasks/utils/bl/name_utils.py:37–39 ·
view source on GitHub ↗
(expr: str)
Source
from the content-addressed store, hash-verified
35
return
arguments
36
37
def
is_method_signature(expr: str) -> bool:
38
m = re.match(r
"\S+\(.*\)"
, expr)
39
return
m is not None
40
41
def
get_method_name_and_argument_types(expr: str) -> tuple:
42
m = re.match(r
"(\S+)\((.*)\)"
, expr)
Callers
nothing calls this directly
Calls
1
match
Method · 0.80
Tested by
no test coverage detected