Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ is_const
Function
is_const
scripts/extract_identifiers.py:89–94 ·
view source on GitHub ↗
(typ)
Source
from the content-addressed store, hash-verified
87
88
89
def
is_const(typ):
90
if
typ.is_const_qualified():
91
return
True
92
if
is_array_type(typ):
93
return
is_const(typ.element_type)
94
return
False
95
96
97
class
ParseError(RuntimeError):
Callers
1
process_source_file
Function · 0.85
Calls
1
is_array_type
Function · 0.85
Tested by
no test coverage detected