Skip to main content

Crate calcit_cli

Crate calcit_cli 

Source

Modules§

analysis_cache
Revision-keyed local cache for definition-local static analysis.
call_graph_diff
call_tree
Call tree analysis module for Calcit programs
cli_args
cli_handlers
CLI handlers for standalone commands that don’t need full program loading
def_diff
deprecated_api
Deprecated API usage analysis for calcit analyze weak-types --only deprecated-call.
detailed_snapshot
effects_graph
Effects graph analysis: State / Transform / Effect decomposition per definition.
injection
program_diff
public_api_check
strict_check
type_coverage
Type coverage and weak-type analysis for calcit analyze.
verification

Structs§

ProgramOutputGuard

Statics§

GLOBAL_TEST_LOCK

Functions§

apply_strict_feature_policy_defaults
Strict diagnostics are the default, so a missing JS FFI policy becomes an in-memory error default without rewriting an existing Snapshot. An entry that deliberately declares allow/warn/error keeps that choice.
attach_missing_core_namespaces
cached_core_snapshot
Tests load the same embedded core snapshot hundreds of times. Decode it once per test process and let each test clone the files it needs.
embedded_agents_doc
preprocess_dynamic_method_entries
Compile both entry points with the normal type context, collecting open dispatches.
set_embedded_agents_doc
Register the embedded docs/CalcitAgent.md guide used by calcit docs agents. Library callers invoking cli_handlers::handle_docs_command without --refresh must call this before loading the embedded guide.