Home | History | Annotate | Download | only in buildHeaders

Lines Matching refs:isLast

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