vnode.ts — vue Source File
Architecture documentation for vnode.ts, a typescript file in the vue codebase. 6 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae["vnode.ts"] a6c11f09_c764_e550_187c_e2c0228cc358["component.ts"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> a6c11f09_c764_e550_187c_e2c0228cc358 eab3a653_6e04_db47_24da_71c7bac5197b["Component"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> eab3a653_6e04_db47_24da_71c7bac5197b f560c9f4_8dee_e0de_543a_3e1999e5b868["compiler.ts"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> f560c9f4_8dee_e0de_543a_3e1999e5b868 5cbc443d_1859_60a1_eebd_d6d86a3127b9["ASTModifiers"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> 5cbc443d_1859_60a1_eebd_d6d86a3127b9 f6868225_acf7_afdc_ebd3_15704ddb6566["vnode"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> f6868225_acf7_afdc_ebd3_15704ddb6566 6a13c450_be5a_326d_7e2d_c1d429be7e83["v3"] 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae --> 6a13c450_be5a_326d_7e2d_c1d429be7e83 a6c11f09_c764_e550_187c_e2c0228cc358["component.ts"] a6c11f09_c764_e550_187c_e2c0228cc358 --> 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae style 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import VNode from 'core/vdom/vnode'
import { Ref } from 'v3'
import { Component } from './component'
import { ASTModifiers } from './compiler'
/**
* @internal
*/
export type VNodeChildren =
| Array<null | VNode | string | number | VNodeChildren>
| string
/**
* @internal
*/
export type VNodeComponentOptions = {
Ctor: typeof Component
propsData?: Object
listeners?: Record<string, Function | Function[]>
children?: Array<VNode>
tag?: string
}
/**
* @internal
*/
export type MountedComponentVNode = VNode & {
context: Component
componentOptions: VNodeComponentOptions
componentInstance: Component
parent: VNode
data: VNodeData
}
/**
* @internal
*/
// interface for vnodes in update modules
export type VNodeWithData = VNode & {
tag: string
data: VNodeData
children: Array<VNode>
text: void
elm: any
ns: string | void
context: Component
key: string | number | undefined
parent?: VNodeWithData
componentOptions?: VNodeComponentOptions
componentInstance?: Component
isRootInsert: boolean
}
// // interface for vnodes in update modules
// export type VNodeWithData = {
// tag: string;
// data: VNodeData;
// children: Array<VNode>;
// text: void;
// elm: any;
// ... (68 more lines)
Domain
Subdomains
Functions
Types
Dependencies
Imported By
Source
Frequently Asked Questions
What does vnode.ts do?
vnode.ts is a source file in the vue codebase, written in typescript. It belongs to the CompilerSFC domain, ScriptAnalyzer subdomain.
What functions are defined in vnode.ts?
vnode.ts defines 1 function(s): el.
What does vnode.ts depend on?
vnode.ts imports 6 module(s): ASTModifiers, Component, compiler.ts, component.ts, v3, vnode.
What files import vnode.ts?
vnode.ts is imported by 1 file(s): component.ts.
Where is vnode.ts in the architecture?
vnode.ts is located at src/types/vnode.ts (domain: CompilerSFC, subdomain: ScriptAnalyzer, directory: src/types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free