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

Function isLetDeclaration

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

Source from the content-addressed store, hash-verified

36258 return isBindingIdentifier() || token() === 18 /* SyntaxKind.OpenBraceToken */ || token() === 22 /* SyntaxKind.OpenBracketToken */;
36259 }
36260 function isLetDeclaration() {
36261 // In ES6 'let' always starts a lexical declaration if followed by an identifier or {
36262 // or [.
36263 return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring);
36264 }
36265 function parseStatement() {
36266 switch (token()) {
36267 case 26 /* SyntaxKind.SemicolonToken */:

Callers 1

parseStatementFunction · 0.85

Calls 1

lookAheadFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…