Skip to content

Language Support

flyto-indexer includes parsers for 6 languages. Each parser extracts symbols, dependencies, and metadata.

Supported Languages

LanguageParser TypeSymbols Extracted
PythonAST-basedClasses, functions, methods, variables, imports
TypeScriptRegex-basedClasses, functions, interfaces, types, decorators
JavaScriptRegex-basedClasses, functions, exports, imports
VueCustom SFCComponents, composables, stores, routes
GoRegex-basedStructs, functions, methods, interfaces
RustRegex-basedStructs, functions, impls, traits, enums
JavaRegex-basedClasses, methods, interfaces, annotations

Symbol Types

TypeDescription
fileSource file
classClass definition
functionStandalone function
methodClass method
componentVue/React component
composableVue composable (use* functions)
storeState store (Pinia/Vuex)
routeRoute definition
apiAPI endpoint
variableModule-level variable
typeType alias
interfaceInterface definition

Dependency Types

TypeDescription
importsModule/file imports
callsFunction/method calls
extendsClass inheritance
implementsInterface implementation
usesGeneral usage reference
routes_toRoute navigation
api_callsHTTP API calls (fetch/axios)

Adding Language Support

Parsers follow a standard interface. Each scanner receives a file path and returns a list of Symbol objects with their dependencies.

Released under the Apache 2.0 License.