Synopsis 0.5 - User Manual

DUMP

This formatter outputs the AST in a format useful for debugging Synopsis or your config. It displayes the AST hierarchy using a generic object dumper. It also shows the types dictionary and the listing of sourcefiles. The best way to use the DUMP formatter is to pipe the output into "less", preferably with the "-r" flag so that the bold names are shown. Using the "-r" flag however will cause problems with comments longer than a screen width.

The DUMP formatter does not support any config options yet, however some command line options are still supported. Don't forget to set them using the "-Wf,-foo" syntax! Note that if none of -d, -t or -f are specified, the default is equivalent to -d and -t.

-o filename

Specifies an output filename. The default is to send output to the console (stdout). You do not need to use the special syntax for this option.

-v

Enables verbose operation.

-d

Shows the declarations, following the AST hierarchy

-t

Shows the types dictionary

-f

Shows forward declarations