MCPcopy Index your code
hub / github.com/nodejs/node / isVariableStatementWithInitializer

Function isVariableStatementWithInitializer

test/fixtures/snapshot/typescript.js:101133–101133  ·  view source on GitHub ↗
(stmt)

Source from the content-addressed store, hash-verified

101131 // The class statements are the statements generated by visiting the first statement with initializer of the
101132 // body (1), while all other statements are added to remainingStatements (2)
101133 var isVariableStatementWithInitializer = function (stmt) { return ts.isVariableStatement(stmt) && !!ts.first(stmt.declarationList.declarations).initializer; };
101134 // visit the class body statements outside of any converted loop body.
101135 var savedConvertedLoopState = convertedLoopState;
101136 convertedLoopState = undefined;

Callers 1

Calls 1

firstMethod · 0.45

Tested by

no test coverage detected