• Home
  • Raw
  • Download

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
313 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
314 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
398 const char* fmt, bool isLast) const override { in fmtConstInt()
399 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
411 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
413 std::string commentEOL(bool isLast) const override { return (isLast ? "\"" : "\","); } in commentEOL()
447 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
451 indent(3) + "}" + (isLast ? "" : ",") + "\n"; in enumEnd()
455 enumStyle_t style, bool isLast) const override { in enumFmt()
459 (isLast ? "\n" : ",\n"); in enumFmt()
489 const char* fmt, bool isLast) const override in fmtConstInt()
492 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
503 std::string commentEnd(bool isLast) const override { return "*/\n"; } in commentEnd()
510 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
515 enumStyle_t style, bool isLast) const override { in enumFmt()
565 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
570 enumStyle_t style, bool isLast) const override { in enumFmt()
594 enumStyle_t style, bool isLast) const override { in enumFmt()
619 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
624 enumStyle_t style, bool isLast) const override { in enumFmt()
629 const char* fmt, bool isLast) const override in fmtConstInt()
631 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
648 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
653 enumStyle_t style, bool isLast) const override { in enumFmt()
658 const char* fmt, bool isLast) const override in fmtConstInt()
660 … return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
684 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
685 return indent(2) + "}" + + (isLast ? "\n" : "\n\n"); in enumEnd()
689 enumStyle_t style, bool isLast) const override { in enumFmt()
694 const char* fmt, bool isLast) const override { in fmtConstInt()
696 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
705 std::string commentEnd(bool isLast) const override { return " +/\n"; } in commentEnd()
718 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
723 enumStyle_t style, bool isLast) const override { in enumFmt()
728 const char* fmt, bool isLast) const override { in fmtConstInt()
730 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()