Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 6 of 6) sorted by relevance

/tools/events/
A Devent_gen.py83 tree = parser.parse(f.read())
89 def __default__(self, tree): argument
90 tree.meta.filename = self.filename
92 FilenameVisitor(f.name).visit(tree)
94 print(tree.pretty(), file=options.output)
95 transformer.transform(tree)
/tools/cpptest/
A Dmisra_xml_to_json.py30 tree = ET.parse(args.input) variable
32 parasoft_viols = tree.findall(".//StdViol") + tree.findall(".//FlowViol")
A Dcyclomatic_xml_to_json.py29 tree = ET.parse(args.input) variable
31 parasoft_viols = tree.findall(".//MetViol")
/tools/typed/
A Dtype_gen.py50 def apply_template(tree, template, public_only=False): argument
52 code = tree.gen_output(public_only=public_only)
54 code = tree.apply_template(template, public_only=public_only)
A Dir.py3085 def _call_userfunc(self, tree, new_children=None): argument
3087 children = new_children if new_children is not None else tree.children
3089 f = self.node_handler(tree.data)
3091 ret = self.__default__(children, tree.meta, tree.data)
3093 ret = f(self.program, children, tree.meta)
3097 def _transform_tree(self, tree): argument
3099 children = list(self._transform_children(tree.children))
3101 ret = self._call_userfunc(tree, children)
/tools/hypercalls/
A Dhypercall_gen.py99 def get_hypercalls(tree, hypercalls, hyp_num, ir): argument
100 for c in tree.children:

Completed in 31 milliseconds