isForbiddenTag() — vue Function Reference
Architecture documentation for the isForbiddenTag() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 857e17e0_d95d_7d82_1344_19b19cb5ae81["isForbiddenTag()"] ebca3452_2959_132c_3772_84d7c17a8ae5["index.ts"] 857e17e0_d95d_7d82_1344_19b19cb5ae81 -->|defined in| ebca3452_2959_132c_3772_84d7c17a8ae5 83a41054_d18b_b04d_4b98_563ccad6fb26["parse()"] 83a41054_d18b_b04d_4b98_563ccad6fb26 -->|calls| 857e17e0_d95d_7d82_1344_19b19cb5ae81 style 857e17e0_d95d_7d82_1344_19b19cb5ae81 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