• Home
  • Raw
  • Download

Lines Matching refs:isLast

107         virtual std::string commentEnd(bool isLast) const { return ""; }  in commentEnd()
109 virtual std::string commentEOL(bool isLast) const { return ""; } in commentEOL()
115 virtual std::string enumEnd(const std::string&, enumStyle_t, bool isLast = false) const { in enumEnd() argument
119 enumStyle_t, bool isLast = false) const { in enumFmt() argument
128 const char* fmt, bool isLast = false) const { in fmtConstInt() argument
315 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
316 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
401 const char* fmt, bool isLast) const override { in fmtConstInt()
402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
414 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
416 std::string commentEOL(bool isLast) const override { return (isLast ? "\"" : "\","); } in commentEOL()
450 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
454 indent(3) + "}" + (isLast ? "" : ",") + "\n"; in enumEnd()
458 enumStyle_t style, bool isLast) const override { in enumFmt()
462 (isLast ? "\n" : ",\n"); in enumFmt()
492 const char* fmt, bool isLast) const override in fmtConstInt()
495 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
545 std::string commentEnd(bool isLast) const override { return "*/\n"; } in commentEnd()
552 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
557 enumStyle_t style, bool isLast) const override { in enumFmt()
607 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
612 enumStyle_t style, bool isLast) const override { in enumFmt()
636 enumStyle_t style, bool isLast) const override { in enumFmt()
664 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
669 enumStyle_t style, bool isLast) const override { in enumFmt()
674 const char* fmt, bool isLast) const override in fmtConstInt()
676 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
693 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
698 enumStyle_t style, bool isLast) const override { in enumFmt()
703 const char* fmt, bool isLast) const override in fmtConstInt()
705 … return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
729 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
730 return indent(2) + "}" + + (isLast ? "\n" : "\n\n"); in enumEnd()
734 enumStyle_t style, bool isLast) const override { in enumFmt()
739 const char* fmt, bool isLast) const override { in fmtConstInt()
741 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
750 std::string commentEnd(bool isLast) const override { return " +/\n"; } in commentEnd()
763 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
768 enumStyle_t style, bool isLast) const override { in enumFmt()
773 const char* fmt, bool isLast) const override { in fmtConstInt()
775 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()