Skip to content

Add support for more symbols on CodeParser

Bruno Cardoso requested to merge add-more-code-symbols into main

Based on #185 (comment 1482411462)

Language Classes Comments Functions Imports
LanguageId.C N/A
LanguageId.CPP N/A
LanguageId.CSHARP see follow-up
LanguageId.GO N/A
LanguageId.JAVA see follow-up
LanguageId.JS
LanguageId.PHP
LanguageId.PYTHON
LanguageId.RUBY
LanguageId.RUST N/A
LanguageId.SCALA
LanguageId.TS
LanguageId.KOTLIN

Follow-up:

  1. Traverse the tree up to a depth level instead of only checking one level deep. Functions in Java/CSHARP can only be defined inside a class, so they are not reachable with a traversal depth of one.
Edited by Bruno Cardoso

Merge request reports