mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Merge branch 'main' into pylyzer-mode
This commit is contained in:
commit
3d69353bf6
9 changed files with 36 additions and 0 deletions
|
@ -40,6 +40,10 @@ impl Runnable for HIRBuilder {
|
|||
fn cfg(&self) -> &ErgConfig {
|
||||
self.lowerer.cfg()
|
||||
}
|
||||
#[inline]
|
||||
fn cfg_mut(&mut self) -> &mut ErgConfig {
|
||||
self.lowerer.cfg_mut()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn finish(&mut self) {}
|
||||
|
|
|
@ -127,6 +127,10 @@ impl Runnable for Compiler {
|
|||
fn cfg(&self) -> &ErgConfig {
|
||||
&self.cfg
|
||||
}
|
||||
#[inline]
|
||||
fn cfg_mut(&mut self) -> &mut ErgConfig {
|
||||
&mut self.cfg
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn finish(&mut self) {}
|
||||
|
|
|
@ -71,6 +71,10 @@ impl Runnable for ASTLowerer {
|
|||
fn cfg(&self) -> &ErgConfig {
|
||||
&self.cfg
|
||||
}
|
||||
#[inline]
|
||||
fn cfg_mut(&mut self) -> &mut ErgConfig {
|
||||
&mut self.cfg
|
||||
}
|
||||
|
||||
fn new(cfg: ErgConfig) -> Self {
|
||||
Self::new_with_cache(
|
||||
|
|
|
@ -124,6 +124,10 @@ impl Runnable for Transpiler {
|
|||
fn cfg(&self) -> &ErgConfig {
|
||||
&self.cfg
|
||||
}
|
||||
#[inline]
|
||||
fn cfg_mut(&mut self) -> &mut ErgConfig {
|
||||
&mut self.cfg
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn finish(&mut self) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue