Crate codeprism_lang_rust

Source
Expand description

Rust language support for codeprism

Structs§

ConcurrencyIssue
Concurrency issue found in the code
Edge
An edge between nodes
LifetimeUsage
Represents lifetime usage in the code
MacroUsage
Represents macro usage
Node
A node in the Universal AST
NodeId
Unique identifier for AST nodes
OwnershipPattern
Represents an ownership pattern found in the code
ParseContext
Parse context for Rust files
ParseResult
Parse result containing nodes and edges
PerformanceIssue
Performance issue found in the code
RustAnalysisResult
Comprehensive Rust analysis result
RustAnalyzer
Analyzer for Rust-specific language features
RustLanguageParser
Adapter that implements codeprism’s LanguageParser trait
RustParser
Rust parser
SafetyIssue
Safety issue found in the code
Span
Source code location
TraitImplementation
Represents a trait implementation
UnsafeUsage
Represents unsafe code usage

Enums§

ConcurrencyIssueType
Types of concurrency issues
ConcurrencySeverity
Severity levels for concurrency issues
EdgeKind
Types of edges between nodes for Rust
Error
Error type for Rust parser
Language
Programming language
LifetimeScope
Scope where a lifetime is used
MacroType
Types of macro usage
NodeKind
Types of nodes in the Universal AST for Rust
OwnershipPatternType
Types of ownership patterns
PerformanceImpact
Performance impact levels
PerformanceIssueType
Types of performance issues
RiskLevel
Risk levels for safety issues
SafetyIssueType
Types of safety issues
Severity
General severity levels
UnsafeType
Types of unsafe code usage

Traits§

ParseResultConverter

Functions§

create_parser
parse_file
Parse a file and return the result in our internal types

Type Aliases§

Result
Result type for Rust parser