MCPcopy Create free account
hub / github.com/node-inspector/node-inspector / as_name

Function as_name

front-end/UglifyJS/parse-js.js:1077–1087  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1075 };
1076
1077 function as_name() {
1078 switch (S.token.type) {
1079 case "name":
1080 case "operator":
1081 case "keyword":
1082 case "atom":
1083 return prog1(S.token.value, next);
1084 default:
1085 unexpected();
1086 }
1087 };
1088
1089 function subscripts(expr, allow_calls) {
1090 if (is("punc", ".")) {

Callers 3

object_Function · 0.85
as_property_nameFunction · 0.85
subscriptsFunction · 0.85

Calls 2

prog1Function · 0.85
unexpectedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…