Skip to main content

Module languages

Module languages 

Source

Structs§

AssignmentRule
A rule for scanning assignment nodes to extract type bindings.
ImportRule
Import node kind + extractor function pair
LanguageConfig
MemberAccess
How member access (obj.field / obj.method()) is represented in the AST.
ParamRule
A rule for extracting typed parameters from function signatures.
ScopeResolveConfig
Configuration for scope-aware reference resolution. Captures the AST node names and strategies that differ per language.
SuppressedNestedEntity

Enums§

AssignmentStrategy
Strategy for extracting variable name and type from an assignment node.
CallNodeStyle
How call nodes expose the callee/function.
ClassNameField
How to extract the class/struct name from a scope node.
InitStrategy
Strategy for extracting instance attribute types from class definitions.
ParamNameField
How to extract the parameter name.

Functions§

get_all_code_extensions
get_language_config

Type Aliases§

ImportExtractorFn
Function pointer type for import extraction.