constructor() — vue Function Reference
Architecture documentation for the constructor() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 610231d8_fc01_ade3_bd8e_63ac4dc83b5e["constructor()"] bbfd8571_7a74_3b7b_5f81_e28a05cb7a25["pluckModuleFunction()"] 610231d8_fc01_ade3_bd8e_63ac4dc83b5e -->|calls| bbfd8571_7a74_3b7b_5f81_e28a05cb7a25 133969d0_a7bd_f1c5_46a3_9fb8fd249583["extend()"] 610231d8_fc01_ade3_bd8e_63ac4dc83b5e -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 style 610231d8_fc01_ade3_bd8e_63ac4dc83b5e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/codegen/index.ts lines 37–49
constructor(options: CompilerOptions) {
this.options = options
this.warn = options.warn || baseWarn
this.transforms = pluckModuleFunction(options.modules, 'transformCode')
this.dataGenFns = pluckModuleFunction(options.modules, 'genData')
this.directives = extend(extend({}, baseDirectives), options.directives)
const isReservedTag = options.isReservedTag || no
this.maybeComponent = (el: ASTElement) =>
!!el.component || !isReservedTag(el.tag)
this.onceId = 0
this.staticRenderFns = []
this.pre = false
}
Domain
Subdomains
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the vue codebase.
What does constructor() call?
constructor() calls 2 function(s): extend, pluckModuleFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free