Home | History | Annotate | Download | only in json_schema_compiler

Lines Matching refs:_code

12     self._code = []
26 self._code.append(Line(((' ' * indent_level) + line).rstrip(),
33 return not bool(self._code)
46 for line in obj._code:
120 for i, line in enumerate(self._code):
121 if self._code[i].substitute:
124 if '%s' in self._code[i].value or '%r' in self._code[i].value:
127 self._code[i].value = line.value % d
128 self._code[i].substitute = False
134 return '\n'.join([l.value for l in self._code])