Lines Matching refs:file

145     but each interface is written into a different file as determined by the
229 """Generate an include file.
231 - directory - subdirectory to put file in
232 - basename - base name of the file
233 - contents - contents of the file (Asciidoc boilerplate aside)"""
238 # Create file
240 self.logMsg('diag', '# Generating include file:', filename)
244 write(self.genOpts.conventions.warning_comment, file=fp)
245 write('[[{0}]]'.format(basename), file=fp)
256 write('indexterm:[{}]'.format(index_term), file=fp)
258 write(f'[source,{self.conventions.docgen_language}]', file=fp)
259 write('----', file=fp)
260 write(contents, file=fp)
261 write('----', file=fp)
265 # Create secondary no cross-reference include file
267 self.logMsg('diag', '# Generating include file:', filename)
271 write(self.genOpts.conventions.warning_comment, file=fp)
272 write('// Include this no-xref version without cross reference id for multiple includes of same file', file=fp)
273 write(f'[source,{self.conventions.docgen_language}]', file=fp)
274 write('----', file=fp)
275 write(contents, file=fp)
276 write('----', file=fp)
285 self.logMsg('diag', '# Generating include file:', filename)
288 write(self.conventions.warning_comment, file=fp)
289 write(_ENUM_TABLE_PREFIX, file=fp)
292 write("|ename:{}".format(data['name']), file=fp)
293 write("|{}".format(data['comment']), file=fp)
295 write(_TABLE_SUFFIX, file=fp)
299 self.logMsg('diag', '# Generating include file:', filename)
302 write(self.conventions.warning_comment, file=fp)
303 write(prefix, file=fp)
306 write("* {}".format(item), file=fp)
308 write(_BLOCK_SUFFIX, file=fp)
368 self.logMsg('diag', 'NOT writing empty include file for type', name)