Lines Matching refs:content
95 amalgamation += t.content
134 # Search for pattern in self.content, add the match to
137 match = pattern.search(self.content, index)
145 # Find contexts in the content in which a found include
149 # Walk through the content char by char, and try to grab
152 content_len = len(self.content)
155 current = self.content[i]
156 previous = self.content[j]
178 # Removes pragma once from content
180 content_len = len(self.content)
184 # Find contexts in the content in which a found include
189 pragma_once_match = self.pragma_once_pattern.search(self.content)
194 pragma_once_match = self.pragma_once_pattern.search(self.content,
201 tmp_content += self.content[prev_end:pragma_match.start()]
203 tmp_content += self.content[prev_end:]
204 self.content = tmp_content
206 # Include all trivial #include directives into self.content.
208 content_len = len(self.content)
212 # Find contexts in the content in which a found include
216 # Search for include directives in the content, collect those
217 # which should be included into the content.
219 include_match = self.include_pattern.search(self.content)
229 include_match = self.include_pattern.search(self.content,
237 tmp_content += self.content[prev_end:include_match.start()]
241 tmp_content += t.content
243 tmp_content += self.content[prev_end:]
244 self.content = tmp_content
248 # Make all content processing
266 self.content = f.read()