Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BUPT-GAMMA/MASFactory
/ isSimpleRef
Function
isSimpleRef
masfactory-visualizer/src/parser/buildMethodParser.ts:414–415 ·
view source on GitHub ↗
(n: TSNode)
Source
from the content-addressed store, hash-verified
412
}
413
414
const
isSimpleRef = (n: TSNode): boolean =>
415
n.
type
===
'identifier'
|| n.
type
===
'attribute'
;
416
417
if
(isSimpleRef(leftSide) && isSimpleRef(rightSide)) {
418
const
leftText = getNodeText(leftSide, code).trim();
Callers
1
parseAssignment
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected