Skip to main content

Crate ripex

Crate ripex 

Source
Expand description

Multi-language structural parsing, fact extraction, canonical generation, and production-toolchain-backed compiler validation.

Re-exports§

pub use facts::*;

Modules§

arena
c
compiler
Compiler-backed validation for source files and projects.
cpp
csharp
diagnostics
facts
go
js
JavaScript/TypeScript parser module with AST, diagnostics, transforms, codegen, and basic semantic analysis.
limits
python
rust
span

Structs§

CParser
CSharpParser
CppParser
ExtractionResult
GoParser
JavascriptParser
ParseResult
Result of parsing source text, branded with its producing parser.
PythonParser
RustParser

Enums§

ExtractionError
Error returned when facts are requested from an incompatible or incomplete parse result.
Language
A language family understood by ripex.
ParseStatus
Completeness of a parser result and its semantic facts.
Program

Traits§

LanguageParser
Parser implementation for one language and effective parser mode.

Functions§

detect_language
Detect a language from a source path using the same rules as the CLI.
parser_for
parser_for_ext
Returns a parser for language_id with an optional compatible extension.
parser_for_language
Select a parser by an explicit language and an optional compatible extension. The language is authoritative: a .ts extension cannot turn an explicitly selected JavaScript parser into TypeScript (and vice versa).
parser_for_language_ext
Convenience selector for callers that already hold a physical extension.
registry