Home | History | Annotate | Download | only in closure_compiler

Lines Matching refs:source_file

16     source_file: A file path.
19 def __init__(self, source_file, line_number):
20 self.file = source_file
34 def read(self, source_file):
38 source_file: a file to read and return the contents of.
43 abs_file = os.path.abspath(source_file)
68 source_file: A file to process.
78 def __init__(self, source_file):
81 self._lines = self._get_file(source_file)
98 def _get_file(self, source_file):
99 lines = FileCache.read(source_file).splitlines()
100 return [(source_file, lnum + 1, line) for lnum, line in enumerate(lines)]
102 def _include_file(self, source_file):
103 self._included_files.add(source_file)
104 f = self._get_file(source_file)