MCPcopy
hub / github.com/mishoo/UglifyJS-old / labeled_statement

Function labeled_statement

lib/parse-js.js:896–903  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

894 });
895
896 function labeled_statement(label) {
897 S.labels.push(label);
898 var start = S.token, stat = statement();
899 if (exigent_mode && !HOP(STATEMENTS_WITH_LABELS, stat[0]))
900 unexpected(start);
901 S.labels.pop();
902 return as("label", label, stat);
903 };
904
905 function simple_statement() {
906 return as("stat", prog1(expression, semicolon));

Callers 1

parseFunction · 0.85

Calls 3

unexpectedFunction · 0.85
asFunction · 0.85
HOPFunction · 0.70

Tested by

no test coverage detected