Lines Matching refs:file_contents
77 def get_partial_interface_name_from_idl(file_contents):
78 match = re.search(r'partial\s+interface\s+(\w+)\s*{', file_contents)
82 def get_implements_from_idl(file_contents, interface_name):
98 implements_matches = re.finditer(implements_re, file_contents, re.MULTILINE)
117 def is_callback_interface_from_idl(file_contents):
118 match = re.search(r'callback\s+interface\s+\w+\s*{', file_contents)
122 def get_parent_interface(file_contents):
127 file_contents)
131 def get_interface_extended_attributes_from_idl(file_contents):
136 file_contents = re.sub(single_line_comment_re, '', file_contents)
137 file_contents = re.sub(block_comment_re, '', file_contents)
145 file_contents, flags=re.DOTALL)
163 def get_put_forward_interfaces_from_idl(file_contents):
170 file_contents,