Home | History | Annotate | Download | only in src

Lines Matching refs:Scope

546 void PrettyPrinter::PrintParameters(Scope* scope) {
548 for (int i = 0; i < scope->num_parameters(); i++) {
550 PrintLiteral(scope->parameter(i)->name(), false);
567 PrintParameters(function->scope());
569 PrintDeclarations(function->scope()->declarations());
718 PrintParameters(program->scope());
719 PrintDeclarations(program->scope()->declarations());
736 void AstPrinter::PrintParameters(Scope* scope) {
737 if (scope->num_parameters() > 0) {
739 for (int i = 0; i < scope->num_parameters(); i++) {
740 PrintLiteralWithModeIndented("VAR", scope->parameter(i),
741 scope->parameter(i)->name(),
742 scope->parameter(i)->type(),
913 PrintParameters(node->scope());
1324 VisitDeclarations(expr->scope()->declarations());