MCPcopy Create free account
hub / github.com/microsoft/SandDance / lex

Function lex

docs/app/js/sanddance-app.js:143997–144003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143995 return scanPunctuator();
143996}
143997function lex() {
143998 const token = lookahead;
143999 index = token.end;
144000 lookahead = advance();
144001 index = token.end;
144002 return token;
144003}
144004function peek() {
144005 const pos = index;
144006 lookahead = advance();

Callers 8

expectFunction · 0.70
parseArrayInitialiserFunction · 0.70
parseObjectPropertyKeyFunction · 0.70
parsePrimaryExpressionFunction · 0.70
parseNonComputedPropertyFunction · 0.70
parseUnaryExpressionFunction · 0.70
parseBinaryExpressionFunction · 0.70

Calls 1

advanceFunction · 0.70

Tested by

no test coverage detected