Crate rustpython_compiler

Source

Re-exports§

pub use rustpython_codegen as codegen;
pub use rustpython_compiler_core as core;
pub use rustpython_parser as parser;

Structs§

CodeObject
Primary container of a single code object. Each python function has a code object. Also a module has a code object.
CompileOpts
LinearLocator
Converts source code byte-offset to Python convention line and column numbers.

Enums§

CompileErrorType
Mode

Traits§

Parse
Parse Python code string to implementor’s type.

Functions§

compile
Compile a given source code into a bytecode object.
compile_symtable

Type Aliases§

CompileError