//
// @page Automatic linking
//
// THIS PAGE REQUIRES the "AUTOLINKING ON" SETTING.
//
// In this mode, words that match existing NED of MSG types are hyperlinked.
// You can prevent hyperlinking of a word by putting a backslash in front of it;
// this backslash will be removed in the HTML output.
//
// A backslash-plus-word can be produced in the output by either using
// "nohtml" (\TCP), or by using a double backslash (\\TCP).
//
// In this mode, tildes don't have any special meaning (and they are preserved
// in the output). Backslashes not immediately followed by an identifier
// don't have a special meaning either, and are preserved in the output.
//
// Test cases with expected results:
//
// Linking:
// - TCP: "TCP" (hyperlinked)
// - org.omnetpp.neddoc.a.TCP: "TCP" (hyperlinked, fully qualified name replace with simple name)
// - NClients: "NClients(1,2)" (1 and 2 are hyperlinked to a.NClients and b.NClients)
// - org.omnetpp.neddoc.a.NClients: "NClients" (hyperlinked to a.Clients)
// - org.omnetpp.neddoc.b.NClients: "NClients" (hyperlinked to b.Clients)
// - NoSuchType: NoSuchType (unrecognized word, not hyperlinked at all)
//
// Backslash, tilde (in this mode, tilde has no special meaning):
// - \TCP: "TCP" (backslash removed)
// - \Hello: "Hello" (backslash removed)
// - \\TCP: \TCP (backslash, plus "TCP" hyperlinked)
// - \\Hello: \Hello (backslash plus "Hello")
// - \100: unchanged: \100 (backslash plus 100)
// - ~TCP: unchanged: ~TCP (tilde plus TCP, hyperlinked)
// - ~~TCP: unchanged: ~~TCP (double tilde plus TCP, hyperlinked)
//
//
// The existing types are 'r', 'Bar' and 'FooBar' and 'Bartender'; the others are
// nonexistent.
//
// Plain: r, Bar, FooBar, BarTender, ZooBar, Barack, rrr.
//
// Backslashed: \r, \Bar, \FooBar, \BarTender, \ZooBar, \Barack, \rrr.
//
// With tilde: ~r, ~Bar, ~FooBar, ~Bartender, ~zooBar, ~Barack, ~rrr. (tilde should be removed even in the autolinking case?)
//
// A tilde: ~~
//
// A backslash: \\
//
package org.omnetpp.neddoc;