StringNode Class — vue Architecture
Architecture documentation for the StringNode class in runtime-helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD bfa982c1_7c36_0b0a_2b22_c798b83935d7["StringNode"] b5390896_1fe7_f1d9_81bd_c577287dddd4["runtime-helpers.ts"] bfa982c1_7c36_0b0a_2b22_c798b83935d7 -->|defined in| b5390896_1fe7_f1d9_81bd_c577287dddd4 bba139a0_0bf0_62f5_459f_4e37831787a2["constructor()"] bfa982c1_7c36_0b0a_2b22_c798b83935d7 -->|method| bba139a0_0bf0_62f5_459f_4e37831787a2
Relationship Graph
Source Code
packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts lines 49–75
class StringNode {
isString: boolean
open: string
close: string | undefined
children: Array<any> | undefined
constructor(
open: string,
close?: string,
children?: Array<any>,
normalizationType?: number
) {
this.isString = true
this.open = open
this.close = close
if (children) {
this.children =
normalizationType === 1
? simpleNormalizeChildren(children)
: normalizationType === 2
? normalizeChildren(children)
: children
} else {
this.children = void 0
}
}
}
Domain
Source
Frequently Asked Questions
What is the StringNode class?
StringNode is a class in the vue codebase, defined in packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts.
Where is StringNode defined?
StringNode is defined in packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts at line 49.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free