Next: vcgCCG
Up: vcgAST
Previous: vcgAST
When the source program is large, it is often desirable to exclude some
nodes from the graph. For example, we might want to omit the standard C
header files when displaying the AST. To exclude source files from the
output graph, create a file, say exclude.ast, that has
a list of the source files to be omitted. This exclusion file might look
something like the following:
/usr/include/bits/types.h
/usr/include/libio.h
/usr/include/math.h
/usr/include/stdio.h
Note that the format of the exclusion file requires that each excluded
file reside on a separate line. Once this exclusion file is created, the
the exclude flag can be passed to the visualization phase by invoking
C-Breeze as follows:
% cbz ... -vcgAST exclude:exclude.ast
Adam C. Brown
2006-01-26