Lines Matching refs:decl
66 decl = {}
70 decl = {}
72 decl[tokens[i]] = tokens[i + 2].strip('\'"')
74 if 'name' not in decl:
75 decl['name'] = '%s%d.c' % (self._outname_base, self._outname_cnt)
78 if 'test' not in decl:
79 decl['test'] = 'run'
81 return decl, fileinput.filelineno()
92 def _process_code_end(self, decl, code):
96 :param decl: the dictionary of the declaration parameters.
99 outname = os.path.join(self._outdir, decl['name']).replace('\\', '/')
100 action = decl['test']
119 decl, decl_lineno = {}, 0
130 decl, decl_lineno = self._process_decl(decl_match.group(1))
135 decl, decl_lineno = self._process_decl(decl_match.group(1))
144 self._process_code_end(decl, code)