Lines Matching refs:fWriter
20 SkToJsonVisitor(SkJSONWriter& writer) : fWriter(writer) {} in SkToJsonVisitor()
24 fWriter.appendFloat(name, f); in visit()
27 fWriter.appendS32(name, i); in visit()
30 fWriter.appendBool(name, b); in visit()
36 fWriter.beginArray(name); in visit()
38 fWriter.appendString(line.c_str()); in visit()
40 fWriter.endArray(); in visit()
42 fWriter.appendString(name, s.c_str()); in visit()
48 fWriter.appendString("Type", e ? e->getType()->fName : "Null"); in visit()
51 void enterObject(const char* name) override { fWriter.beginObject(name); } in enterObject()
52 void exitObject() override { fWriter.endObject(); } in exitObject()
55 fWriter.beginArray(name); in enterArray()
59 fWriter.endArray(); in exitArray()
64 SkJSONWriter& fWriter;