Home
last modified time | relevance | path

Searched refs:GenIndents (Results 1 – 1 of 1) sorted by relevance

/third_party/flatbuffers/src/
Didl_gen_python.cpp102 std::string GenIndents(int num) { in GenIndents() function in flatbuffers::python::PythonGenerator
178 code += GenIndents(2) + in GetVectorIsNone()
181 code += GenIndents(2) + "return o == 0"; in GetVectorIsNone()
833 code += GenIndents(1) + "# " + NormalizedName(struct_def) + "T"; in GenReceiverForObjectAPI()
834 code += GenIndents(1) + "def "; in GenReceiverForObjectAPI()
996 code += GenIndents(2) + "self." + field_instance_name + " = " + in GenInitialize()
1005 code_base += GenIndents(2) + "pass"; in GenInitialize()
1015 typing_imports += GenIndents(1) + "from typing import "; in GenInitialize()
1028 typing_imports += GenIndents(1) + "pass"; in GenInitialize()
1045 code += GenIndents(1) + "@classmethod"; in InitializeFromBuf()
[all …]