TypeResolutionContext

Trait TypeResolutionContext 

Source
pub trait TypeResolutionContext {
    // Required method
    fn property_ty(&self, _: &PropertyReference) -> &Type;

    // Provided method
    fn arg_type(&self, _index: usize) -> &Type { ... }
}

Required Methods§

Source

fn property_ty(&self, _: &PropertyReference) -> &Type

The type of the property.

For reference to function, this is the return type

Provided Methods§

Source

fn arg_type(&self, _index: usize) -> &Type

Implementors§