Enum erg_parser::ast::OperationKind
source · pub enum OperationKind {
Import,
PyImport,
Del,
AssertCast,
}
Expand description
Some Erg functions require additional operation by the compiler.
Variants§
Implementations§
source§impl OperationKind
impl OperationKind
pub const fn is_erg_import(&self) -> bool
pub const fn is_py_import(&self) -> bool
pub const fn is_import(&self) -> bool
Trait Implementations§
source§impl Clone for OperationKind
impl Clone for OperationKind
source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more