MCPcopy Create free account
hub / github.com/arktypeio/arktype / statementEndIn

Function statementEndIn

ark/aot/flat.ts:1895–1896  ·  view source on GitHub ↗
(body: string, statement: Node)

Source from the content-addressed store, hash-verified

1893
1894// the last statement's span takes in the `;` and return the pass appends
1895const statementEndIn = (body: string, statement: Node): number =>
1896 Math.min(statement.end, body.length)
1897
1898const passesParams = (
1899 call: Node & { type: "CallExpression" },

Callers 3

inlineCallsFunction · 0.85
writtenWhereReadFunction · 0.85
dropUnreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected