Lines Matching refs:expr
285 FunctionLiteral* expr) { in VisitFunctionLiteral() argument
286 PROCESS_EXPRESSION(expr); in VisitFunctionLiteral()
287 DeclarationScope* scope = expr->scope(); in VisitFunctionLiteral()
290 if (expr->scope()->was_lazily_parsed()) return; in VisitFunctionLiteral()
291 RECURSE_EXPRESSION(VisitStatements(expr->body())); in VisitFunctionLiteral()
296 NativeFunctionLiteral* expr) { in VisitNativeFunctionLiteral() argument
297 PROCESS_EXPRESSION(expr); in VisitNativeFunctionLiteral()
301 void AstTraversalVisitor<Subclass>::VisitDoExpression(DoExpression* expr) { in VisitDoExpression() argument
302 PROCESS_EXPRESSION(expr); in VisitDoExpression()
303 RECURSE(VisitBlock(expr->block())); in VisitDoExpression()
304 RECURSE(VisitVariableProxy(expr->result())); in VisitDoExpression()
308 void AstTraversalVisitor<Subclass>::VisitConditional(Conditional* expr) { in VisitConditional() argument
309 PROCESS_EXPRESSION(expr); in VisitConditional()
310 RECURSE_EXPRESSION(Visit(expr->condition())); in VisitConditional()
311 RECURSE_EXPRESSION(Visit(expr->then_expression())); in VisitConditional()
312 RECURSE_EXPRESSION(Visit(expr->else_expression())); in VisitConditional()
316 void AstTraversalVisitor<Subclass>::VisitVariableProxy(VariableProxy* expr) { in VisitVariableProxy() argument
317 PROCESS_EXPRESSION(expr); in VisitVariableProxy()
321 void AstTraversalVisitor<Subclass>::VisitLiteral(Literal* expr) { in VisitLiteral() argument
322 PROCESS_EXPRESSION(expr); in VisitLiteral()
326 void AstTraversalVisitor<Subclass>::VisitRegExpLiteral(RegExpLiteral* expr) { in VisitRegExpLiteral() argument
327 PROCESS_EXPRESSION(expr); in VisitRegExpLiteral()
331 void AstTraversalVisitor<Subclass>::VisitObjectLiteral(ObjectLiteral* expr) { in VisitObjectLiteral() argument
332 PROCESS_EXPRESSION(expr); in VisitObjectLiteral()
333 ZonePtrList<ObjectLiteralProperty>* props = expr->properties(); in VisitObjectLiteral()
342 void AstTraversalVisitor<Subclass>::VisitArrayLiteral(ArrayLiteral* expr) { in VisitArrayLiteral() argument
343 PROCESS_EXPRESSION(expr); in VisitArrayLiteral()
344 ZonePtrList<Expression>* values = expr->values(); in VisitArrayLiteral()
352 void AstTraversalVisitor<Subclass>::VisitAssignment(Assignment* expr) { in VisitAssignment() argument
353 PROCESS_EXPRESSION(expr); in VisitAssignment()
354 RECURSE_EXPRESSION(Visit(expr->target())); in VisitAssignment()
355 RECURSE_EXPRESSION(Visit(expr->value())); in VisitAssignment()
360 CompoundAssignment* expr) { in VisitCompoundAssignment() argument
361 VisitAssignment(expr); in VisitCompoundAssignment()
365 void AstTraversalVisitor<Subclass>::VisitYield(Yield* expr) { in VisitYield() argument
366 PROCESS_EXPRESSION(expr); in VisitYield()
367 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitYield()
371 void AstTraversalVisitor<Subclass>::VisitYieldStar(YieldStar* expr) { in VisitYieldStar() argument
372 PROCESS_EXPRESSION(expr); in VisitYieldStar()
373 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitYieldStar()
377 void AstTraversalVisitor<Subclass>::VisitAwait(Await* expr) { in VisitAwait() argument
378 PROCESS_EXPRESSION(expr); in VisitAwait()
379 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitAwait()
383 void AstTraversalVisitor<Subclass>::VisitThrow(Throw* expr) { in VisitThrow() argument
384 PROCESS_EXPRESSION(expr); in VisitThrow()
385 RECURSE_EXPRESSION(Visit(expr->exception())); in VisitThrow()
389 void AstTraversalVisitor<Subclass>::VisitProperty(Property* expr) { in VisitProperty() argument
390 PROCESS_EXPRESSION(expr); in VisitProperty()
391 RECURSE_EXPRESSION(Visit(expr->obj())); in VisitProperty()
392 RECURSE_EXPRESSION(Visit(expr->key())); in VisitProperty()
397 ResolvedProperty* expr) { in VisitResolvedProperty() argument
398 PROCESS_EXPRESSION(expr); in VisitResolvedProperty()
399 RECURSE_EXPRESSION(VisitVariableProxy(expr->object())); in VisitResolvedProperty()
400 RECURSE_EXPRESSION(VisitVariableProxy(expr->property())); in VisitResolvedProperty()
404 void AstTraversalVisitor<Subclass>::VisitCall(Call* expr) { in VisitCall() argument
405 PROCESS_EXPRESSION(expr); in VisitCall()
406 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitCall()
407 ZonePtrList<Expression>* args = expr->arguments(); in VisitCall()
415 void AstTraversalVisitor<Subclass>::VisitCallNew(CallNew* expr) { in VisitCallNew() argument
416 PROCESS_EXPRESSION(expr); in VisitCallNew()
417 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitCallNew()
418 ZonePtrList<Expression>* args = expr->arguments(); in VisitCallNew()
426 void AstTraversalVisitor<Subclass>::VisitCallRuntime(CallRuntime* expr) { in VisitCallRuntime() argument
427 PROCESS_EXPRESSION(expr); in VisitCallRuntime()
428 ZonePtrList<Expression>* args = expr->arguments(); in VisitCallRuntime()
436 void AstTraversalVisitor<Subclass>::VisitUnaryOperation(UnaryOperation* expr) { in VisitUnaryOperation() argument
437 PROCESS_EXPRESSION(expr); in VisitUnaryOperation()
438 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitUnaryOperation()
442 void AstTraversalVisitor<Subclass>::VisitCountOperation(CountOperation* expr) { in VisitCountOperation() argument
443 PROCESS_EXPRESSION(expr); in VisitCountOperation()
444 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitCountOperation()
449 BinaryOperation* expr) { in VisitBinaryOperation() argument
450 PROCESS_EXPRESSION(expr); in VisitBinaryOperation()
451 RECURSE_EXPRESSION(Visit(expr->left())); in VisitBinaryOperation()
452 RECURSE_EXPRESSION(Visit(expr->right())); in VisitBinaryOperation()
456 void AstTraversalVisitor<Subclass>::VisitNaryOperation(NaryOperation* expr) { in VisitNaryOperation() argument
457 PROCESS_EXPRESSION(expr); in VisitNaryOperation()
458 RECURSE_EXPRESSION(Visit(expr->first())); in VisitNaryOperation()
459 for (size_t i = 0; i < expr->subsequent_length(); ++i) { in VisitNaryOperation()
460 RECURSE_EXPRESSION(Visit(expr->subsequent(i))); in VisitNaryOperation()
466 CompareOperation* expr) { in VisitCompareOperation() argument
467 PROCESS_EXPRESSION(expr); in VisitCompareOperation()
468 RECURSE_EXPRESSION(Visit(expr->left())); in VisitCompareOperation()
469 RECURSE_EXPRESSION(Visit(expr->right())); in VisitCompareOperation()
473 void AstTraversalVisitor<Subclass>::VisitThisFunction(ThisFunction* expr) { in VisitThisFunction() argument
474 PROCESS_EXPRESSION(expr); in VisitThisFunction()
478 void AstTraversalVisitor<Subclass>::VisitClassLiteral(ClassLiteral* expr) { in VisitClassLiteral() argument
479 PROCESS_EXPRESSION(expr); in VisitClassLiteral()
480 if (expr->extends() != nullptr) { in VisitClassLiteral()
481 RECURSE_EXPRESSION(Visit(expr->extends())); in VisitClassLiteral()
483 RECURSE_EXPRESSION(Visit(expr->constructor())); in VisitClassLiteral()
484 if (expr->static_fields_initializer() != nullptr) { in VisitClassLiteral()
485 RECURSE_EXPRESSION(Visit(expr->static_fields_initializer())); in VisitClassLiteral()
487 if (expr->instance_fields_initializer_function() != nullptr) { in VisitClassLiteral()
488 RECURSE_EXPRESSION(Visit(expr->instance_fields_initializer_function())); in VisitClassLiteral()
490 ZonePtrList<ClassLiteral::Property>* props = expr->properties(); in VisitClassLiteral()
515 void AstTraversalVisitor<Subclass>::VisitSpread(Spread* expr) { in VisitSpread() argument
516 PROCESS_EXPRESSION(expr); in VisitSpread()
517 RECURSE_EXPRESSION(Visit(expr->expression())); in VisitSpread()
522 StoreInArrayLiteral* expr) { in VisitStoreInArrayLiteral() argument
523 PROCESS_EXPRESSION(expr); in VisitStoreInArrayLiteral()
524 RECURSE_EXPRESSION(Visit(expr->array())); in VisitStoreInArrayLiteral()
525 RECURSE_EXPRESSION(Visit(expr->index())); in VisitStoreInArrayLiteral()
526 RECURSE_EXPRESSION(Visit(expr->value())); in VisitStoreInArrayLiteral()
531 EmptyParentheses* expr) { in VisitEmptyParentheses() argument
532 PROCESS_EXPRESSION(expr); in VisitEmptyParentheses()
536 void AstTraversalVisitor<Subclass>::VisitGetIterator(GetIterator* expr) { in VisitGetIterator() argument
537 PROCESS_EXPRESSION(expr); in VisitGetIterator()
538 RECURSE_EXPRESSION(Visit(expr->iterable())); in VisitGetIterator()
543 GetTemplateObject* expr) { in VisitGetTemplateObject() argument
544 PROCESS_EXPRESSION(expr); in VisitGetTemplateObject()
549 TemplateLiteral* expr) { in VisitTemplateLiteral() argument
550 PROCESS_EXPRESSION(expr); in VisitTemplateLiteral()
551 for (Expression* sub : *expr->substitutions()) { in VisitTemplateLiteral()
558 ImportCallExpression* expr) { in VisitImportCallExpression() argument
559 PROCESS_EXPRESSION(expr); in VisitImportCallExpression()
560 RECURSE_EXPRESSION(Visit(expr->argument())); in VisitImportCallExpression()
565 SuperPropertyReference* expr) { in VisitSuperPropertyReference() argument
566 PROCESS_EXPRESSION(expr); in VisitSuperPropertyReference()
567 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); in VisitSuperPropertyReference()
568 RECURSE_EXPRESSION(Visit(expr->home_object())); in VisitSuperPropertyReference()
573 SuperCallReference* expr) { in VisitSuperCallReference() argument
574 PROCESS_EXPRESSION(expr); in VisitSuperCallReference()
575 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); in VisitSuperCallReference()
576 RECURSE_EXPRESSION(VisitVariableProxy(expr->new_target_var())); in VisitSuperCallReference()
577 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_function_var())); in VisitSuperCallReference()
582 RewritableExpression* expr) { in VisitRewritableExpression() argument
583 PROCESS_EXPRESSION(expr); in VisitRewritableExpression()
584 RECURSE(Visit(expr->expression())); in VisitRewritableExpression()