Lines Matching refs:printer
26 void ClassMember::Print(bool /*final*/, Printer* printer, bool strip_api_annotations) const { in Print() argument
27 processor_.Print(printer, strip_api_annotations); in Print()
34 void MethodDefinition::Print(bool final, Printer* printer, bool) const { in Print() argument
35 printer->Print(signature_).Println(" {"); in Print()
36 printer->Indent(); in Print()
38 printer->Println(statement); in Print()
40 printer->Undent(); in Print()
41 printer->Print("}"); in Print()
77 void ClassDefinition::Print(bool final, Printer* printer, bool strip_api_annotations) const { in Print() argument
82 ClassMember::Print(final, printer, strip_api_annotations); in Print()
84 printer->Print("public "); in Print()
86 printer->Print("static "); in Print()
88 printer->Print("final class ").Print(name_).Println(" {"); in Print()
89 printer->Indent(); in Print()
96 member->Print(final, printer, strip_api_annotations); in Print()
97 printer->Println(); in Print()
101 printer->Undent(); in Print()
102 printer->Print("}"); in Print()
115 Printer printer(out); in WriteJavaFile() local
116 printer.Print(sWarningHeader).Print("package ").Print(package).Println(";"); in WriteJavaFile()
117 printer.Println(); in WriteJavaFile()
118 def->Print(final, &printer, strip_api_annotations); in WriteJavaFile()