Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/observablehq/framework
/ source-test.ts
File
source-test.ts
test/javascript/source-test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
"node:assert"
;
2
import
type
{Expression, Node} from
"acorn"
;
3
import
{Parser} from
"acorn"
;
4
import
{getStringLiteralValue} from
"../../src/javascript/source.js"
;
Callers
nothing calls this directly
Calls
5
isLiteral
Function · 0.85
parseExpression
Function · 0.85
isTemplateLiteral
Function · 0.85
isStringLiteral
Function · 0.85
maybeStringLiteralValue
Function · 0.85
Tested by
no test coverage detected