Home | History | Annotate | Download | only in scripts

Lines Matching refs:file_contents

122 def get_partial_interface_name_from_idl(file_contents):
123 match = re.search(r'partial\s+interface\s+(\w+)\s*{', file_contents)
127 def get_implements_from_idl(file_contents, interface_name):
143 implements_matches = re.finditer(implements_re, file_contents, re.MULTILINE)
162 def is_callback_interface_from_idl(file_contents):
163 match = re.search(r'callback\s+interface\s+\w+\s*{', file_contents)
167 def is_dictionary_from_idl(file_contents):
168 match = re.search(r'dictionary\s+\w+\s*{', file_contents)
172 def get_parent_interface(file_contents):
177 file_contents)
181 def get_interface_extended_attributes_from_idl(file_contents):
186 file_contents = re.sub(single_line_comment_re, '', file_contents)
187 file_contents = re.sub(block_comment_re, '', file_contents)
195 file_contents, flags=re.DOTALL)
213 def get_put_forward_interfaces_from_idl(file_contents):
220 file_contents,