[][src]Crate saltwater

Re-exports

pub use codespan;
pub use data::*;

Modules

data
intern
replace

Macro replacement

Macros

get_str

Return a &str corresponding to this identifier.

Structs

Analyzer

The driver for PureAnalyzer.

JIT

Structure used to handle compiling C code to memory instead of to disk.

Lexer

A Lexer takes the source code and turns it into tokens with location information.

Opt
Parser
PreProcessor

A preprocessor does textual substitution and deletion on a C source file.

PreProcessorBuilder

An easier interface for constructing a preprocessor.

Program

A result which includes all warnings, even for Err variants.

PureAnalyzer

A PureAnalyzer turns AST types into HIR types.

Source

The Source type for codespan::Files.

Enums

Definition

A macro definition.

Error

Functions

assemble
check_semantics

Perform semantic analysis, including type checking and constant folding.

compile

Compile and return the declarations and warnings.

initialize_aot_module
initialize_jit_module
link
preprocess

Preprocess the source and return the tokens.

Type Definitions

Files
Product