Lines Matching refs:scope
569 void PrettyPrinter::PrintParameters(Scope* scope) {
571 for (int i = 0; i < scope->num_parameters(); i++) {
573 PrintLiteral(scope->parameter(i)->name(), false);
590 PrintParameters(function->scope());
592 PrintDeclarations(function->scope()->declarations());
705 PrintParameters(program->scope());
706 PrintDeclarations(program->scope()->declarations());
723 void AstPrinter::PrintParameters(Scope* scope) {
724 if (scope->num_parameters() > 0) {
726 for (int i = 0; i < scope->num_parameters(); i++) {
727 PrintLiteralWithModeIndented("VAR", scope->parameter(i),
728 scope->parameter(i)->name());
936 PrintParameters(node->scope());