Source code for ctree.ocl.dotgen
"""
DOT generation for OpenCL.
"""
from ctree.dotgen import DotGenLabeller
[docs]class OclDotLabeller(DotGenLabeller):
"""
Visitor to generator DOT.
"""
[docs] def visit_OclFile(self, node):
return node.get_filename()