Lines Matching refs:isLast
105 virtual std::string commentEnd(bool isLast) const { return ""; } in commentEnd()
107 virtual std::string commentEOL(bool isLast) const { return ""; } in commentEOL()
113 virtual std::string enumEnd(const std::string&, enumStyle_t, bool isLast = false) const { in enumEnd() argument
117 enumStyle_t, bool isLast = false) const { in enumFmt() argument
126 const char* fmt, bool isLast = false) const { in fmtConstInt() argument
310 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
311 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
395 const char* fmt, bool isLast) const override { in fmtConstInt()
396 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
408 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
410 std::string commentEOL(bool isLast) const override { return (isLast ? "\"" : "\","); } in commentEOL()
444 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
448 indent(3) + "}" + (isLast ? "" : ",") + "\n"; in enumEnd()
452 enumStyle_t style, bool isLast) const override { in enumFmt()
456 (isLast ? "\n" : ",\n"); in enumFmt()
486 const char* fmt, bool isLast) const override in fmtConstInt()
489 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
500 std::string commentEnd(bool isLast) const override { return "*/\n"; } in commentEnd()
507 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
512 enumStyle_t style, bool isLast) const override { in enumFmt()
562 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
567 enumStyle_t style, bool isLast) const override { in enumFmt()
591 enumStyle_t style, bool isLast) const override { in enumFmt()
616 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
621 enumStyle_t style, bool isLast) const override { in enumFmt()
626 const char* fmt, bool isLast) const override in fmtConstInt()
628 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
645 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
650 enumStyle_t style, bool isLast) const override { in enumFmt()
655 const char* fmt, bool isLast) const override in fmtConstInt()
657 … return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()