isForbiddenTag() — vue Function Reference
Architecture documentation for the isForbiddenTag() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 18adb44d_648b_d513_56c9_2d61b8e35613["isForbiddenTag()"] 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"] 18adb44d_648b_d513_56c9_2d61b8e35613 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987 e259ff52_42a6_4f54_59b8_e6bf86822027["parse()"] e259ff52_42a6_4f54_59b8_e6bf86822027 -->|calls| 18adb44d_648b_d513_56c9_2d61b8e35613 style 18adb44d_648b_d513_56c9_2d61b8e35613 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/index.ts lines 960–966
function isForbiddenTag(el): boolean {
return (
el.tag === 'style' ||
(el.tag === 'script' &&
(!el.attrsMap.type || el.attrsMap.type === 'text/javascript'))
)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isForbiddenTag() do?
isForbiddenTag() is a function in the vue codebase, defined in src/compiler/parser/index.ts.
Where is isForbiddenTag() defined?
isForbiddenTag() is defined in src/compiler/parser/index.ts at line 960.
What calls isForbiddenTag()?
isForbiddenTag() is called by 1 function(s): parse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free