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

Function lex

docs/tests/v2/es6/js/sanddance.js:128761–128768  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128759}
128760
128761function lex() {
128762 var token;
128763 token = lookahead;
128764 index = token.end;
128765 lookahead = advance();
128766 index = token.end;
128767 return token;
128768}
128769
128770function peek() {
128771 var pos;

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