[−][src]Struct type_checking::method_body_type_checker::MethodBodyTypeChecker
Fields
context: &'ctx SemanticContext<'ctx, 'src>
type_system: &'ts TypeSystem<'src, 'ast>
current_class_id: ClassDefId<'src>
current_class: Rc<ClassDef<'src, 'ast>>
current_method: Rc<ClassMethodDef<'src, 'ast>>
type_analysis: &'ana mut TypeAnalysis<'src, 'ast>
local_scope: Scoped<Symbol<'src>, Var<'src>>
Methods
impl<'ctx, 'src, 'ast, 'ts, 'ana> MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana> where
'ts: 'ana,
[src]
impl<'ctx, 'src, 'ast, 'ts, 'ana> MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana> where
'ts: 'ana,
pub fn check_methods(
class_decl: &'ast ClassDeclaration<'src>,
type_system: &'ts TypeSystem<'src, 'ast>,
type_analysis: &'ana mut TypeAnalysis<'src, 'ast>,
context: &'ctx SemanticContext<'ctx, 'src>
)
[src]
pub fn check_methods(
class_decl: &'ast ClassDeclaration<'src>,
type_system: &'ts TypeSystem<'src, 'ast>,
type_analysis: &'ana mut TypeAnalysis<'src, 'ast>,
context: &'ctx SemanticContext<'ctx, 'src>
)
Auto Trait Implementations
impl<'ctx, 'src, 'ast, 'ts, 'ana> !Send for MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana>
impl<'ctx, 'src, 'ast, 'ts, 'ana> !Send for MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana>
impl<'ctx, 'src, 'ast, 'ts, 'ana> !Sync for MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana>
impl<'ctx, 'src, 'ast, 'ts, 'ana> !Sync for MethodBodyTypeChecker<'ctx, 'src, 'ast, 'ts, 'ana>
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId