Expand description
The Python answers behind PythonAdapter.
LanguageAdapter is analysis-owned, so the trait impl itself stays in
analyzer/python/adapter.rs; every answer it gives comes from here or from
crate::declarations. synthesize_hydrated_units is the one exception:
it mutates FileState, an analysis type, and stays with the shell.
Constants§
- PYTHON_
FILE_ EXTENSION - PYTHON_
LINE_ DATA_ KINDS - Python data literals. Bytes and implicit concatenation use the same grammar nodes; replacement fields remain executable structure.
Statics§
- PYTHON_
COGNITIVE_ CONFIG - Tree-sitter node-kind mapping used by the cognitive-complexity scorer
for Python. Mirrors
ai.brokk.analyzer.python.CognitiveComplexityAnalysis.