Re-exports§
pub use self::ast::OptimizationConfig;pub use self::astnode::ASTNode;pub use self::debug::DebugData;pub use self::errors::CompileError;pub use self::parser::ProgramLayout;pub use self::parser::Token;pub use self::parser::parse;pub use self::parser::parse_with_optimization;pub use self::preprocessor::FileResolver;pub use self::preprocessor::FsFileResolver;pub use self::preprocessor::MockFileResolver;pub use self::preprocessor::PreprocessResult;pub use self::preprocessor::preprocess;pub use self::preprocessor::source_map::FileRegistry;pub use self::preprocessor::source_map::SourceMap;pub use self::preprocessor::source_map::SourceOrigin;pub use self::program::Program;
Modules§
Macros§
Structs§
- Assemble
Errors - Returned when assembly with preprocessing fails. Contains the errors and the file registry so callers can render diagnostics against the original source files.
- Assembler
- Assembler for SBPF assembly code
- Assembler
Error - An error enriched with source location information from preprocessing.
Wraps a
CompileErrorwith the resolved original source location. - Assembler
Option - Options for the assembler
- Debug
Mode - Debug mode configuration for the assembler
Enums§
- Sbpf
Arch - sBPF target architecture