Struct pylyzer::PythonAnalyzer
source · pub struct PythonAnalyzer {
pub cfg: ErgConfig,
/* private fields */
}Fields§
§cfg: ErgConfigImplementations§
Trait Implementations§
source§impl Buildable<HIR> for PythonAnalyzer
impl Buildable<HIR> for PythonAnalyzer
fn inherit(cfg: ErgConfig, shared: SharedCompilerResource) -> Self
fn build( &mut self, code: String, mode: &str ) -> Result<CompleteArtifact, IncompleteArtifact>
fn pop_context(&mut self) -> Option<ModuleContext>
fn get_context(&self) -> Option<&ModuleContext>
source§impl Debug for PythonAnalyzer
impl Debug for PythonAnalyzer
source§impl Default for PythonAnalyzer
impl Default for PythonAnalyzer
source§fn default() -> PythonAnalyzer
fn default() -> PythonAnalyzer
Returns the “default value” for a type. Read more
source§impl Runnable for PythonAnalyzer
impl Runnable for PythonAnalyzer
type Err = CompileError
type Errs = CompileErrors
const NAME: &'static str = "Python Analyzer"
fn new(cfg: ErgConfig) -> Self
fn cfg(&self) -> &ErgConfig
fn cfg_mut(&mut self) -> &mut ErgConfig
fn finish(&mut self)
source§fn initialize(&mut self)
fn initialize(&mut self)
Erase all but immutable information.