Expand description
Transform IRNode. This module contains the canonical transformations from vue-next and the original ones for the parity of features not implemented in Convert.
§Canonical
- hoistStatic
- transformExpression
vOnce (moved to convert)vMemo (moved to convert)- trackScopes
§Original
- collect_entities: track all helpers/components/directives used in AST. Vue track it by helper/helperString.
- optimize_text:
- merge consecutive text call
- wrap text in createTextVNode
- patch_flag: seems patch flag can be extracted out
Re-exports§
pub use pass::CorePass;
pub use pass::CorePassExt;
pub use pass::MergedPass;
pub use pass::Scope;