Skip to content

Commit

Permalink
Additional desc tags
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Apr 30, 2024
1 parent a165661 commit ae105df
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,14 @@ class CdxPass(atom: Cpg) extends CpgPass(atom):
atom.method.fullName(bpkg).newTagNode(t).store()(
dstGraph
)
if language == Languages.PYTHON || language == Languages.PYTHONSRC
then
atom.call.where(
_.methodFullName(bpkg)
).newTagNode(t).store()(dstGraph)
atom.identifier.typeFullName(bpkg).newTagNode(
t
).store()(dstGraph)
}
end if
}
Expand Down

0 comments on commit ae105df

Please sign in to comment.