Trait CorePass

Source
pub trait CorePass<T: ConvertInfo> {
Show 22 methods // Provided methods fn enter_root(&mut self, _: &mut IRRoot<T>) { ... } fn exit_root(&mut self, _: &mut IRRoot<T>) { ... } fn enter_text(&mut self, _: &mut TextIR<T>) { ... } fn exit_text(&mut self, _: &mut TextIR<T>) { ... } fn enter_if(&mut self, _: &mut IfNodeIR<T>) { ... } fn exit_if(&mut self, _: &mut IfNodeIR<T>) { ... } fn enter_for(&mut self, _: &mut ForNodeIR<T>) { ... } fn exit_for(&mut self, _: &mut ForNodeIR<T>) { ... } fn enter_vnode(&mut self, _: &mut VNodeIR<T>) { ... } fn exit_vnode(&mut self, _: &mut VNodeIR<T>) { ... } fn enter_slot_outlet(&mut self, _: &mut RenderSlotIR<T>) { ... } fn exit_slot_outlet(&mut self, _: &mut RenderSlotIR<T>) { ... } fn enter_v_slot(&mut self, _: &mut VSlotIR<T>) { ... } fn exit_v_slot(&mut self, _: &mut VSlotIR<T>) { ... } fn enter_slot_fn(&mut self, _: &mut Slot<T>) { ... } fn exit_slot_fn(&mut self, _: &mut Slot<T>) { ... } fn enter_js_expr(&mut self, _: &mut T::JsExpression) { ... } fn exit_js_expr(&mut self, _: &mut T::JsExpression) { ... } fn enter_fn_param(&mut self, _: &mut T::JsExpression) { ... } fn exit_fn_param(&mut self, _: &mut T::JsExpression) { ... } fn enter_comment(&mut self, _: &mut T::CommentType) { ... } fn exit_comment(&mut self, _: &mut T::CommentType) { ... }
}

Provided Methods§

Source

fn enter_root(&mut self, _: &mut IRRoot<T>)

Source

fn exit_root(&mut self, _: &mut IRRoot<T>)

Source

fn enter_text(&mut self, _: &mut TextIR<T>)

Source

fn exit_text(&mut self, _: &mut TextIR<T>)

Source

fn enter_if(&mut self, _: &mut IfNodeIR<T>)

Source

fn exit_if(&mut self, _: &mut IfNodeIR<T>)

Source

fn enter_for(&mut self, _: &mut ForNodeIR<T>)

Source

fn exit_for(&mut self, _: &mut ForNodeIR<T>)

Source

fn enter_vnode(&mut self, _: &mut VNodeIR<T>)

Source

fn exit_vnode(&mut self, _: &mut VNodeIR<T>)

Source

fn enter_slot_outlet(&mut self, _: &mut RenderSlotIR<T>)

Source

fn exit_slot_outlet(&mut self, _: &mut RenderSlotIR<T>)

Source

fn enter_v_slot(&mut self, _: &mut VSlotIR<T>)

Source

fn exit_v_slot(&mut self, _: &mut VSlotIR<T>)

Source

fn enter_slot_fn(&mut self, _: &mut Slot<T>)

Source

fn exit_slot_fn(&mut self, _: &mut Slot<T>)

Source

fn enter_js_expr(&mut self, _: &mut T::JsExpression)

Source

fn exit_js_expr(&mut self, _: &mut T::JsExpression)

Source

fn enter_fn_param(&mut self, _: &mut T::JsExpression)

only v-for or slot fn

Source

fn exit_fn_param(&mut self, _: &mut T::JsExpression)

only v-for or slot fn

Source

fn enter_comment(&mut self, _: &mut T::CommentType)

Source

fn exit_comment(&mut self, _: &mut T::CommentType)

Implementors§

Source§

impl<'a> CorePass<BaseConvertInfo<'a>> for EntityCollector<'a>

Source§

impl<'a> CorePass<BaseConvertInfo<'a>> for PatchFlagMarker

Source§

impl<'a> CorePass<BaseConvertInfo<'a>> for TextOptimizer

Source§

impl<'b, T> CorePass<T> for MergedPass<'b, &'b mut dyn CorePass<T>>
where T: ConvertInfo,

Source§

impl<'b, T, Shared> CorePass<T> for SharedInfoPasses<'b, &'b mut dyn CorePassExt<T, Shared>, Shared>
where T: ConvertInfo,