This is a navigational API index, not source documentation. It summarizes the main public callable surface of the six reusable library crates in the workspace; command-line and language-server binaries are documented in their dedicated references.
This index reflects v0.49.0, reviewed at committed df4e714, including
hierarchical member surfaces, import usage and module refactorings. For the complete signatures and fields,
run cargo doc --workspace --no-deps; this hand-maintained index is not an
exhaustive replacement for rustdoc. The parser’s strict and tolerant entry
points share one grammar; tolerant errors do not imply formatter acceptance.
Any thread calling parsing, analysis, or formatting on deeply nested input
must provide at least vlog_parser::PARSE_STACK_SIZE (16 MiB) of stack.
The CLI and server configure their worker threads accordingly.
Re-lex and compare normalized tokens, including comments
verify_convergence
Confirm a second formatting pass is identical
Config exposes max_width, indent_width, and uvm_utils_indent (default
false, new in v0.49.0). Exhaustive struct literals must include the new field;
Config { max_width: 120, ..Config::default() } keeps the other defaults.
Resolve unresolved file references against a workspace index
ExternalTarget
defs, best
ExternalResolutions
get, iter, counts, definition_of
index_order
Sort workspace inputs into their deterministic index order
words::harvest / harvest_text / harvest_raw
Build the shared identifier census from tokens or source text
Surface::{Connection, Hierarchical} selects the existing interface view or
the wider instance-tail view. Hierarchical reads add nets, variables and nested
instances without making them legal named port connections.
FACTS_FORMAT is 19 in this snapshot. Cached facts include
normal/macro identifier censuses, package re-export edges (the RX group),
and declaration/reference surface tags; Def::lines.positions can carry DeclPositions with UTF-16 ranges
for file-scope declarations. Any persisted shape or fact-census change needs
a codec-version decision so stale caches cannot silently omit answers.
Shared scope-aware usage analysis consumed by organize-imports and the linter
PackageExports / Exports
Package-member oracle and its known/unknown result; implemented by WorkspaceIndex
ImportUse, ImportScope, UnusedImport
Usage evidence, scope inputs and unused-import findings
These names are exported both from vlog_semantic::imports and the crate root.
Package exports count as use; unresolved or macro-hidden uses keep removal
conservative.
Action preflight, labels, package source selection and unused-import ranges
extract_site, extract_title, extract_module
Preflight selected module items, label the action and plan extraction
ExtractSite, Home
Extraction source requirements and destination choice
inline_site, inline_title, inline_module
Preflight an instance, label the action and plan body substitution
InlineSite
Instance/module identities used to gather inline inputs
Apply a RefactorEdit as one complete operation. Each path in created also
has one offset-zero insertion in edits; create those files before applying
text edits. Engines do no I/O. Callers must supply every file needed for edits
and refusal checks; current inline source-selection and verifier limits are
recorded in the repository topology, handshakes 32–33.