From a15cf65c44d5c224169c32ef5495b68c758134b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 18 May 2014 16:08:14 +0200 Subject: Imported Upstream version 3.3.0.2 --- libfrontend-elements/documentation/DIAGNOSTIC | 4 + libfrontend-elements/documentation/TODO | 1 + libfrontend-elements/documentation/default.css | 160 +++++++++++++++++++++++++ libfrontend-elements/documentation/index.xhtml | 77 ++++++++++++ 4 files changed, 242 insertions(+) create mode 100644 libfrontend-elements/documentation/DIAGNOSTIC create mode 100644 libfrontend-elements/documentation/TODO create mode 100644 libfrontend-elements/documentation/default.css create mode 100644 libfrontend-elements/documentation/index.xhtml (limited to 'libfrontend-elements/documentation') diff --git a/libfrontend-elements/documentation/DIAGNOSTIC b/libfrontend-elements/documentation/DIAGNOSTIC new file mode 100644 index 0000000..b9b6004 --- /dev/null +++ b/libfrontend-elements/documentation/DIAGNOSTIC @@ -0,0 +1,4 @@ +@@ How am I going to address the problem of translation? + +@@ Check Cult::Trace for any new ideas. + diff --git a/libfrontend-elements/documentation/TODO b/libfrontend-elements/documentation/TODO new file mode 100644 index 0000000..27d4041 --- /dev/null +++ b/libfrontend-elements/documentation/TODO @@ -0,0 +1 @@ +@@ Add example for traversal. diff --git a/libfrontend-elements/documentation/default.css b/libfrontend-elements/documentation/default.css new file mode 100644 index 0000000..7242a94 --- /dev/null +++ b/libfrontend-elements/documentation/default.css @@ -0,0 +1,160 @@ +body { + font-family : sans-serif; + font-weight : normal; + + color : black; + background : white; + + max-width : 42em; + padding : 2em 2em 2em 3em; + margin : 0 auto; +} + +h1, h2, h3, h4, h5, h6 { + font-family : sans-serif; + font-weight : 500; +} + +h1 { font-size : 170%; } +h2 { font-size : 145%; } +h3 { font-size : 125%; } +h4 { font-size : 110%; } +h5 { font-size : 106%; } +h6 { font-size : 100%; } + + +p.indent { + margin-left : 1.5em; +} + + +/* table of content */ +ul.toc li { + padding : .4em 0em 0em 0em; +} + + + +/* list of links */ +ul.menu { + list-style-type : none; +} + +ul.menu li { + padding-top : 0.3em; + padding-bottom : 0.3em; +} + + + +/* @@ I should probably use child selector here */ +/* list with multiline list-elements */ +ul.multiline li { + padding-top : 0.4em; + padding-bottom : 0.4em; +} + +ol.multiline li { + padding-top : 0.4em; + padding-bottom : 0.4em; +} + +dl.multiline dd { + padding-top : 0.4em; + padding-bottom : 0.4em; +} + +/* code */ + +code { + font-size : 114%; + font-family : monospace; +} + + +/* C++ code snippet */ +pre.cxx { + + margin-top : 0em; + margin-bottom : 2em; + + margin-left : 1em; +} + + + +/* make code snippet */ +pre.make { + + margin-top : 0em; + margin-bottom : 2em; + + margin-left : 1em; +} + + + +/* terminal output */ +pre.term { + + margin-top : 0em; + margin-bottom : 2em; + + margin-left : 1em; +} + + +/* Images */ +div.center { + text-align: center; +} + +/* Navigation. */ +#navigation { + margin-top: 1em; + border-bottom: 1px dashed #000000; +} + +#content { + margin-top: 2.5em; +} + + +/* Document info. */ +#docinfo { + margin-top: 4em; + border-top: 1px dashed #000000; + font-size: 70%; +} + +/* distribution terms */ +div.terms { + font-size : 114%; + font-family : monospace; +} + + + +/* Footnote */ + +#footnote { + margin-top: 2em; +} + +#footnote hr { + margin-left: 0; + margin-bottom: 1.5em; + width: 8em; + border-top: 1px solid #000000; + border-right: none; + border-bottom: none; + border-left: none; + +} + +#footnote p { + font-size: .91em; + text-indent: -0.8em; + padding-left: 0.8em; +} + diff --git a/libfrontend-elements/documentation/index.xhtml b/libfrontend-elements/documentation/index.xhtml new file mode 100644 index 0000000..ad12e50 --- /dev/null +++ b/libfrontend-elements/documentation/index.xhtml @@ -0,0 +1,77 @@ + + + + + + + + + libfrontend-elements/documentation + + + + + + + + + + + + + + +
+

libfrontend-elements consists of the following +elements:

+ + + + +

Context is essentially a heterogeneous map of names to instances of +arbitrary types. It is primarily used to allow arbitrary annotations of +semantic graph nodes and edges, which are often useful +during code generation.

+ +

Diagnostic framework allows to implement consistent and extensible +compiler diagnostic without incurring significant notational burden.

+ +

TokenStream is a generic interface which is usually +implemented by a lexical analyzer.

+ +

Traversal is a significant enhancement of a well-known visitor +idiom which is often used to traverse semantic graphs.

+ +
+ +
+

Copyright © 2005-2010 Boris Kolpackov.

+ +
+Permission is granted to copy, distribute and/or modify this document under +the terms of the GNU Free +Documentation License, version 1.2; with no Invariant Sections, no +Front-Cover Texts and no Back-Cover Texts. +
+
+ + + -- cgit v1.2.3