D | ast_java.cpp | 40 void WriteComment(CodeWriter* to, const std::string& comment) { in WriteComment() argument 41 to->Write("%s", comment.c_str()); in WriteComment() 42 if (!comment.empty() && comment.back() != '\n') to->Write("\n"); in WriteComment() 45 void WriteModifiers(CodeWriter* to, int mod, int mask) { in WriteModifiers() argument 49 to->Write("@Override "); in WriteModifiers() 53 to->Write("public "); in WriteModifiers() 55 to->Write("private "); in WriteModifiers() 57 to->Write("protected "); in WriteModifiers() 61 to->Write("static "); in WriteModifiers() 65 to->Write("final "); in WriteModifiers() [all …]
|