Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ compileTemplate.spec.ts
File
compileTemplate.spec.ts
packages/compiler-sfc/__tests__/compileTemplate.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{
type
RawSourceMap, SourceMapConsumer } from
'source-map-js'
2
import
{ parse as babelParse } from
'@babel/parser'
3
import
{
4
type
SFCTemplateCompileOptions,
Callers
nothing calls this directly
Calls
7
parse
Function · 0.90
getPositionInCode
Function · 0.90
compileScript
Function · 0.90
compileTemplate
Function · 0.90
toString
Method · 0.80
compile
Function · 0.70
test
Function · 0.50
Tested by
no test coverage detected