Expand description
Vue compiler for DOM platform.
This module provides DOM-specific compilation including:
- DOM element and attribute validation
- v-model transforms for form elements
- v-on event modifiers
- v-show transform
- Style and class binding handling
Re-exports§
pub use options::DomCompilerOptions;pub use options::element_checks;pub use options::event_modifiers;pub use steps::EventModifiers;pub use steps::EventOptions;pub use steps::MouseModifiers;pub use steps::PropagationModifiers;pub use steps::SystemModifiers;pub use steps::V_SHOW;pub use steps::V_TEXT;pub use steps::VModelModifiers;pub use steps::generate_html_prop;pub use steps::generate_html_warning;pub use steps::generate_key_guard;pub use steps::generate_model_props;pub use steps::generate_modifier_guard;pub use steps::generate_show_directive;pub use steps::generate_show_style;pub use steps::generate_text_children;pub use steps::generate_text_content;pub use steps::get_model_event;pub use steps::get_model_helper;pub use steps::get_model_prop;pub use steps::is_v_html;pub use steps::is_v_show;pub use steps::is_v_text;pub use steps::resolve_key_alias;pub use vize_atelier_core::parser;
Modules§
- codegen
- VDOM code generation.
- errors
- Compiler error types and codes.
- lane
- Template transform lane for Vue template AST.
- options
- VDOM compiler options.
- runtime_
helpers - Runtime helper registration and lookup.
- steps
- DOM-specific transform steps.
- tokenizer
- HTML tokenizer for Vue templates.
Structs§
- Allocator
- Arena allocator for Vize.
- Compiler
Error - Compiler error
- Element
Node - Element node
- Root
Node - Root AST node
Enums§
- Namespace
- Namespace for elements
- Template
Child Node - All template child node types
Functions§
- compile_
template - Compile a Vue template for DOM with default options
- compile_
template_ with_ options - Compile a Vue template for DOM with custom options
- compile_
template_ with_ vue_ parser_ quirks Deprecated - Compile a Vue template for DOM with Vue parser quirk compatibility.
- transform
- Transform the root AST node.