l.s.u.j.j.JSComboFile(ComboFile) : class documentation

Part of lp.scripts.utilities.js.jsbuild View In Hierarchy

ComboFile for JavaScript files.

Outputs the filename before each combined file and make sure that each file content has a new line.

Method get_comment Return a string wrapped in a comment to be include in the output.
Method get_file_header Return a string to include before outputting a file.
Method filter_file_content Hook to process the file content before being combined.

Inherited from ComboFile:

Method __init__ Undocumented
Method needs_update Return True when the file needs to be updated.
Method log Undocumented
Method update Update the file from its source files.
def get_comment(self, msg):
Return a string wrapped in a comment to be include in the output.

Can be used to help annotate the output file.

def get_file_header(self, path):
Return a string to include before outputting a file.

Can be used by subclasses to output a file reference in the combined file. Default implementation returns nothing.

def filter_file_content(self, file_content, path):
Hook to process the file content before being combined.
API Documentation for Launchpad, generated by pydoctor at 2018-09-22 00:00:04.