Home
last modified time | relevance | path

Searched defs:JsonPrinter (Results 1 – 1 of 1) sorted by relevance

/third_party/flatbuffers/src/
Didl_gen_text.cpp31 struct JsonPrinter { struct
34 void AddNewLine() { in AddNewLine()
38 void AddIndent(int ident) { text.append(ident, ' '); } in AddIndent()
40 int Indent() const { return std::max(opts.indent_step, 0); } in Indent()
43 void OutputIdentifier(const std::string &name) { in OutputIdentifier()
53 bool PrintScalar(T val, const Type &type, int /*indent*/) { in PrintScalar()
94 void AddComma() { in AddComma()
101 bool PrintContainer(PrintScalarTag, const Container &c, size_t size, in PrintContainer()
123 bool PrintContainer(PrintPointerTag, const Container &c, size_t size, in PrintContainer()
150 bool PrintVector(const void *val, const Type &type, int indent, in PrintVector()
[all …]