Crate similarity_ts_core

Crate similarity_ts_core 

Source

Re-exports§

pub use apted::compute_edit_distance;
pub use apted::APTEDOptions;
pub use function_extractor::compare_functions;
pub use function_extractor::extract_functions;
pub use function_extractor::find_similar_functions_across_files;
pub use function_extractor::find_similar_functions_in_file;
pub use function_extractor::FunctionDefinition;
pub use function_extractor::FunctionType;
pub use function_extractor::SimilarityResult;
pub use parser::ast_to_tree_node;
pub use parser::parse_and_convert_to_tree;
pub use tree::TreeNode;
pub use tsed::calculate_tsed;
pub use tsed::calculate_tsed_from_code;
pub use tsed::TSEDOptions;
pub use type_comparator::compare_type_literal_with_type;
pub use type_comparator::compare_types;
pub use type_comparator::find_duplicate_types;
pub use type_comparator::find_similar_type_literals;
pub use type_comparator::find_similar_type_literals_pairs;
pub use type_comparator::find_similar_types;
pub use type_comparator::group_similar_types;
pub use type_comparator::MatchedProperty;
pub use type_comparator::SimilarTypePair;
pub use type_comparator::TypeComparisonOptions;
pub use type_comparator::TypeComparisonResult;
pub use type_comparator::TypeDifferences;
pub use type_comparator::TypeLiteralComparisonPair;
pub use type_comparator::TypeMismatch;
pub use type_extractor::extract_type_literals_from_code;
pub use type_extractor::extract_type_literals_from_files;
pub use type_extractor::extract_types_from_code;
pub use type_extractor::extract_types_from_files;
pub use type_extractor::PropertyDefinition;
pub use type_extractor::TypeDefinition;
pub use type_extractor::TypeKind;
pub use type_extractor::TypeLiteralContext;
pub use type_extractor::TypeLiteralDefinition;
pub use type_normalizer::calculate_property_similarity;
pub use type_normalizer::calculate_type_similarity;
pub use type_normalizer::find_property_matches;
pub use type_normalizer::normalize_type;
pub use type_normalizer::NormalizationOptions;
pub use type_normalizer::NormalizedType;
pub use type_normalizer::PropertyMatch;
pub use ast_fingerprint::AstFingerprint;
pub use fast_similarity::find_similar_functions_across_files_fast;
pub use fast_similarity::find_similar_functions_fast;
pub use fast_similarity::FastSimilarityOptions;

Modules§

apted
ast_fingerprint
fast_similarity
function_extractor
parser
tree
tsed
type_comparator
type_extractor
type_normalizer