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

Function maybe_conditional

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

Source from the content-addressed store, hash-verified

1128 };
1129
1130 function maybe_conditional() {
1131 var expr = expr_ops();
1132 if (is("operator", "?")) {
1133 next();
1134 var yes = expression(false);
1135 expect(":");
1136 return as("conditional", expr, yes, expression(false));
1137 }
1138 return expr;
1139 };
1140
1141 function is_assignable(expr) {
1142 switch (expr[0]) {

Callers 1

maybe_assignFunction · 0.85

Calls 6

expr_opsFunction · 0.85
isFunction · 0.85
nextFunction · 0.85
asFunction · 0.85
expressionFunction · 0.70
expectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…