Skip to main content

Crate vize_atelier_dom

Crate vize_atelier_dom 

Source
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.
CompilerError
Compiler error
ElementNode
Element node
RootNode
Root AST node

Enums§

Namespace
Namespace for elements
TemplateChildNode
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_quirksDeprecated
Compile a Vue template for DOM with Vue parser quirk compatibility.
transform
Transform the root AST node.