Skip to main content

Crate squick_core

Crate squick_core 

Source
Expand description

Scanner, parser, and extractor. Language-specific logic sits in parser/extract; framework dictionaries live in squick-dict.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use graph::CallGraph;
pub use graph::EdgeKind;
pub use language::Language;
pub use scanner::ScanOptions;
pub use scanner::Scanner;
pub use types::CallKind;
pub use types::CallSite;
pub use types::Comment;
pub use types::Confidence;
pub use types::Endpoint;
pub use types::EndpointSource;
pub use types::FileSummary;
pub use types::HttpMethod;
pub use types::Manifest;
pub use types::ManifestKind;
pub use types::Project;
pub use types::Reference;
pub use types::SemanticTag;
pub use types::StrapiAttribute;
pub use types::StrapiSchema;
pub use types::Symbol;
pub use types::SymbolKind;
pub use types::TagSource;

Modules§

error
extract
Recursive walker that turns a Tree-sitter tree into a FileSummary.
graph
language
manifest
Walks the project tree for package.json, pyproject.toml, and Strapi schema.json files. Found data lands on Project.manifests and Project.strapi_schemas.
parser
resolve
Name-based call site resolver. Prefers same-file matches; drops cross-file calls with more than [AMBIGUITY_THRESHOLD] candidates.
scanner
types