aboutsummaryrefslogtreecommitdiff
path: root/src/HsSyn.lhs
diff options
context:
space:
mode:
authorDuncan Coutts <duncan.coutts@worc.ox.ac.uk>2006-01-22 00:02:00 +0000
committerDuncan Coutts <duncan.coutts@worc.ox.ac.uk>2006-01-22 00:02:00 +0000
commitedd9f2295507bce2247108a4d5a0d991f15fd250 (patch)
treedc757d5629d7347643f47121070e4ff0e5e92d0d /src/HsSyn.lhs
parent43bb89fa9667162f3f4a0e024a3f926696c173b9 (diff)
Extend URL variable expansion syntax and add source links to the contents page
Like the wiki link on the contents and index page, add a source code link too. Extend the wiki & source URL variable expansion syntax. The original syntax was: %F for the source file name (the .hs version only, not the .lhs or .hs.pp one) %M for the module name (with '.' replaced by '/') The new syntax is: %F or %{FILE} for the original source file name %M or %{MODULE} for the module name (no replacements) %N or %{NAME} for the function/type export name %K or %{KIND} for a type/value flag "t" or "v" with these extensions: %{MODULE/./c} to replace the '.' module seperator with any other char c %{VAR|some text with the % char in it} which means if the VAR is not in use in this URL context then "" else replace the given text with the '%' char replaced by the string value of the VAR. This extension allows us to construct URLs wit optional parts, since the module/file name is not available for the URL in the contents/index pages and the value/type name is not available for the URL at the top level of each module.
Diffstat (limited to 'src/HsSyn.lhs')
0 files changed, 0 insertions, 0 deletions