Synopsis 0.5 - User Manual

Chapter 4. The Linker

Table of Contents

Unduplicator
Stripper
NameMapper
Comments
ssd
ss
java
qt
group
dummy
prev
javatags
summary
EmptyNS
AccessRestrictor
LanguageMapper
XRefCompiler
XRefCompiler options
Linker options

The Linker is one of the more powerful features of Synopsis. It is actually a slight misnomer, since it does more than just linking multiple ASTs together - it can also move subtrees around, remove subtrees, map declaration names or type names, and perform various operations to do with comments.

Unlike the Parsers and Formatters, there is only one Linker. It does however have a number of modules to perform various operations on the AST. The operation modules to use are specified in the "operations" config option. They should generally be in the order given by the following sections. See below for a list of all the Linker options.