Skip to main content

Module clones

Module clones 

Source
Expand description

Python’s clone-detection token and AST-signature normalization.

analyzer/python/clones.rs in brokk-bifrost-analysis keeps the entry point: it reads the declaration’s source through the analyzer and assembles the analysis-owned CloneCandidateData. Everything that knows what a Python token is lives here.

Functions§

build_python_clone_ast_signature
normalized_clone_tokens_python