• 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
311 const auto print = [&](const char* name, const char* fmt, bool isLast) { in printMeta() argument
312 out << fmtConstInt(meta[name].asUInt(), name, fmt, isLast); in printMeta()
396 const char* fmt, bool isLast) const override { in fmtConstInt()
397 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); in fmtConstInt()
409 … std::string commentEnd(bool isLast) const override { return indent(4) + (isLast ? "]" : "],"); } in commentEnd()
411 std::string commentEOL(bool isLast) const override { return (isLast ? "\"" : "\","); } in commentEOL()
445 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
449 indent(3) + "}" + (isLast ? "" : ",") + "\n"; in enumEnd()
453 enumStyle_t style, bool isLast) const override { in enumFmt()
457 (isLast ? "\n" : ",\n"); in enumFmt()
487 const char* fmt, bool isLast) const override in fmtConstInt()
490 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()
501 std::string commentEnd(bool isLast) const override { return "*/\n"; } in commentEnd()
508 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
513 enumStyle_t style, bool isLast) const override { in enumFmt()
563 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
568 enumStyle_t style, bool isLast) const override { in enumFmt()
592 enumStyle_t style, bool isLast) const override { in enumFmt()
617 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
622 enumStyle_t style, bool isLast) const override { in enumFmt()
627 const char* fmt, bool isLast) const override in fmtConstInt()
629 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
646 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
651 enumStyle_t style, bool isLast) const override { in enumFmt()
656 const char* fmt, bool isLast) const override in fmtConstInt()
658 … return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); in fmtConstInt()
682 std::string enumEnd(const std::string& s, enumStyle_t style, bool isLast) const override { in enumEnd()
683 return indent(2) + "}" + + (isLast ? "\n" : "\n\n"); in enumEnd()
687 enumStyle_t style, bool isLast) const override { in enumFmt()
692 const char* fmt, bool isLast) const override { in fmtConstInt()
694 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); in fmtConstInt()