Skip to main content

Crate rils_frontend

Crate rils_frontend 

Source

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
BuiltinImpl
ExprId
FunctionSignature
HostTypeResolutionError
HostTypeResolutionResults
HostTypeResolutionView
Read-only canonical host names for nodes in one immutable Program.
ImplId
IntrinsicDeclaration
LexError
ModuleId
NumericLiteralError
ParseCapabilities
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.
ParseError
PatternId
ProjectSemanticSnapshot
SharedProjectionConstraint
A projection whose permissions depend on a generic function’s arguments. The expression and span identify the original source, not a generated copy.
SharedProjectionStep
SourceFile
SourceId
Span
SymbolId
TypeRefId

Enums§

FloatType
FrontendError
IntegerType
IntrinsicKind
SharedAccess
Type
TypePattern
A recursive type expression independent of the frontend’s concrete Type.

Constants§

FLOAT_INTRINSICS
INTEGER_INTRINSICS

Traits§

RuntimeValue

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.