Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NICUP14/MiniLang
/ ref_node
Function
ref_node
src/Def.py:1402–1403 ·
view source on GitHub ↗
(node: Node)
Source
from the content-addressed store, hash-verified
1400
1401
1402
def
ref_node(node: Node) -> Node:
1403
return
Node(NodeKind.REF, ref_of(node.ntype),
'&'
, node)
1404
1405
1406
def
compute_signature(name: str, arg_types: List[VariableType]):
Callers
5
inject_copy_arg
Method · 0.90
ref
Method · 0.90
to_tree
Method · 0.90
ret_statement
Method · 0.90
destr
Method · 0.90
Calls
2
Node
Class · 0.85
ref_of
Function · 0.85
Tested by
no test coverage detected