MCPcopy
hub / github.com/mishoo/UglifyJS / is_statement

Function is_statement

lib/ast.js:288–292  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

286}, AST_Statement);
287
288function is_statement(node) {
289 return node instanceof AST_Statement
290 && !(node instanceof AST_ClassExpression)
291 && !(node instanceof AST_LambdaExpression);
292}
293
294function validate_expression(value, prop, multiple, allow_spread, allow_hole) {
295 multiple = multiple ? "contain" : "be";

Callers 8

compress.jsFile · 0.85
as_statement_arrayFunction · 0.85
remove_candidateFunction · 0.85
merge_defnsFunction · 0.85
if_break_in_loopFunction · 0.85
mark_duplicate_conditionFunction · 0.85
validate_expressionFunction · 0.85
ast.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…