MCPcopy Create free account
hub / github.com/Snapchat/Valdi / createFromFile

Method createFromFile

compiler/companion/src/JSXProcessor.ts:1514–1516  ·  view source on GitHub ↗
(fileName: string, fileContent: string, includeSourceMapping: boolean)

Source from the content-addressed store, hash-verified

1512 node: ts.Node,
1513 output: JSXOutputState,
1514 transformContext: ts.TransformationContext,
1515 ): JSXAttribute[] {
1516 const jsxAttributes: JSXAttribute[] = [];
1517 ts.forEachChild(node, (attribute) => {
1518 switch (attribute.kind) {
1519 case ts.SyntaxKind.JsxAttribute:

Callers 3

registerFontMethod · 0.80
loadMethod · 0.80
compileFunction · 0.80

Calls

no outgoing calls

Tested by 1

compileFunction · 0.64