Re-exports§
pub use database::CompilationSession;pub use database::ModuleData;pub use database::ModuleGraph;pub use database::ProjectCacheError;pub use database::ProjectId;pub use database::ProjectModuleId;pub use database::ProjectSemanticIndex;pub use database::ProjectSyntax;pub use database::SourceDatabase;pub use parser::parse;pub use parser::parse_with_capabilities;pub use semantic::DefMap;pub use semantic::DefinitionData;pub use semantic::ResolvedCall;pub use semantic::SymbolContainer;pub use semantic::SymbolKind;pub use semantic::TypeckResults;
Modules§
- analysis
- ast
- constant_
data - Evaluate module data from syntax without executing user or host code.
- copy_
types - Copy is a declared capability; field eligibility only validates that declaration.
- database
- default
- exports
- Shared project export collection and re-export queries.
- format
- format_
traits - Formatting contracts supplied by standard-library declarations.
- layout_
dependencies - Declaration-level inline size dependencies, independent of source ASTs and concrete layout allocation. Native dependencies come from stdlib metadata.
- lexer
- macros
- parser
- User-source parsing with derive handlers registered by the Rust standard library.
- semantic
- source
- source_
file - File roles are determined from the expanded outermost statements.
- standard_
library - token
- types
Structs§
- BodyId
- Builtin
Impl - ExprId
- Function
Signature - Host
Type Resolution Error - Host
Type Resolution Results - Host
Type Resolution View - Read-only canonical host names for nodes in one immutable
Program. - ImplId
- Intrinsic
Declaration - LexError
- Module
Id - Numeric
Literal Error - Parse
Capabilities - Controls parser behavior that is reserved for trusted language packages.
User source uses
ParseCapabilities::USER; the standard library loader opts into the additional declaration shapes it needs. - Parse
Error - Pattern
Id - Project
Semantic Snapshot - Shared
Projection Constraint - A projection whose permissions depend on a generic function’s arguments. The expression and span identify the original source, not a generated copy.
- Shared
Projection Step - Source
File - Source
Id - Span
- Symbol
Id - Type
RefId
Enums§
- Float
Type - Frontend
Error - Integer
Type - Intrinsic
Kind - Shared
Access - Type
- Type
Pattern - A recursive type expression independent of the frontend’s concrete
Type.
Constants§
Traits§
Functions§
- analyze_
module_ with_ host - Analyze one source in its project namespace using the shared export table.
- analyze_
module_ with_ host_ and_ declarations - Analyze a document or recovered edit using the owning project’s complete declarations.
- analyze_
program_ with_ host_ and_ source_ id_ and_ external_ exports - analyze_
project_ with_ host - analyze_
project_ with_ host_ and_ external_ exports - analyze_
project_ with_ host_ declarations - analyze_
with_ host - analyze_
with_ host_ and_ source_ id_ and_ external_ exports - append_
bytecode_ builtin_ impls - append_
bytecode_ trait_ defaults - Adds callable copies of declaration-owned defaults without native entry points.
- builtin_
default_ function_ name - An internal function name that preserves trait identity without path separators.
- builtin_
impl_ function_ name - builtin_
impl_ method_ with - Match declaration patterns using a caller’s trait evidence, preserving reference Self. Callers retain their ordinary inherent-method and ambiguity checks.
- builtin_
impl_ trait - builtin_
impls - builtin_
trait_ default - Returns the declaration-owned body, including defaults with a native fast path.
- check_
shared_ projection - Report only proven violations. Unresolved types remain unchecked here; runtime checks cover visible children but cannot inspect arbitrary opaque native or host payloads.
- concretize_
numeric_ literal - Materializes an untyped numeric syntax literal from its semantic type.
- float_
method - integer_
associated_ function - integer_
method - lex
- lex_
with_ source_ id - resolve_
host_ types - specialize_
builtin_ impl - Substitute only declaration parameters; applicability is checked by the caller.
- specialize_
builtin_ trait_ default - Instantiates a native receiver’s default body without changing method generics.
Type Aliases§
- DefId
- Identifies a semantic definition within one compilation session.