summaryrefslogtreecommitdiffstats
path: root/src/tools/qlalr/doc
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-07 19:38:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 09:26:47 +0100
commit11476aaa192739d78a99c0ad72521af88f4a2d00 (patch)
tree1dab6f7988d62fee7ed19103a3ea05a6d027ec78 /src/tools/qlalr/doc
parent327424d60819e790dff78bff309e97ec08dcccd8 (diff)
move and build qlalr
Change-Id: I852e1a33fc056a52f6dbba8aaf7dd75274bbe815 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/qlalr/doc')
-rw-r--r--src/tools/qlalr/doc/qlalr.qdocconf64
-rw-r--r--src/tools/qlalr/doc/src/classic.css97
-rw-r--r--src/tools/qlalr/doc/src/images/qt-logo.pngbin0 -> 1422 bytes
-rw-r--r--src/tools/qlalr/doc/src/qlalr.qdoc106
4 files changed, 267 insertions, 0 deletions
diff --git a/src/tools/qlalr/doc/qlalr.qdocconf b/src/tools/qlalr/doc/qlalr.qdocconf
new file mode 100644
index 0000000000..434393a727
--- /dev/null
+++ b/src/tools/qlalr/doc/qlalr.qdocconf
@@ -0,0 +1,64 @@
+# Run qdoc from the directory that contains this file.
+
+project = qlalr
+description = qlalr Reference Documentation
+url = http://qt.nokia.com/doc/
+
+language = Cpp
+
+# sourcedirs = $PWD/src
+sourcedirs = src
+sources.fileextensions = "*.qdoc"
+
+exampledirs = ../examples
+
+imagedirs = src/images
+outputdir = html
+codeindent = 1
+extraimages.HTML = qt-logo
+
+macro.key = "\\b"
+macro.menu = "\\b"
+macro.gui = "\\b"
+macro.reg.HTML = "<sup>&reg;</sup>"
+macro.raisedaster.HTML = "<sup>*</sup>"
+macro.BR.HTML = "<br />"
+macro.br.HTML = "<br />"
+macro.QD = "\\e{Qt Designer}"
+macro.QA = "\\e{Qt Assistant}"
+macro.eacute.HTML = "&eacute;"
+macro.aring.HTML = "&aring;"
+macro.oslash.HTML = "&oslash;"
+macro.ouml.HTML = "&ouml;"
+macro.Auml.HTML = "&Auml;"
+macro.uuml.HTML = "&uuml;"
+
+HTML.stylesheets = src/classic.css
+HTML.postheader = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n" \
+ "<tr>\n" \
+ "<td align=\"left\" valign=\"top\" width=\"32\">" \
+ "<a href=\"http://qt.nokia.com/\"><img src=\"images/qt-logo.png\" align=\"left\" width=\"32\" height=\"32\" border=\"0\" /></a>" \
+ "</td>\n" \
+ "<td width=\"1\">&nbsp;&nbsp;</td>" \
+ "<td class=\"postheader\" valign=\"center\">" \
+ "<a href=\"index.html\">" \
+ "<font color=\"#004faf\">Home</font></a>&nbsp;&middot;" \
+ " <a href=\"classes.html\">" \
+ "<font color=\"#004faf\">All&nbsp;Classes</font></a>&nbsp;&middot;" \
+ " <a href=\"mainclasses.html\">" \
+ "<font color=\"#004faf\">Main&nbsp;Classes</font></a>&nbsp;&middot;" \
+ " <a href=\"groups.html\">" \
+ "<font color=\"#004faf\">Grouped&nbsp;Classes</font></a>&nbsp;&middot;" \
+ " <a href=\"modules.html\">" \
+ "<font color=\"#004faf\">Modules</font></a>&nbsp;&middot;" \
+ " <a href=\"functions.html\">" \
+ "<font color=\"#004faf\">Functions</font></a>" \
+ "</td>\n" \
+ "<td align=\"right\" valign=\"top\" width=\"230\"><a href=\"http://qt.nokia.com\"><img src=\"images/qt-logo.png\" align=\"right\" width=\"203\" height=\"32\" border=\"0\" /></a></td></tr></table>"
+
+HTML.footer = "<p /><address><hr /><div align=\"center\">\n" \
+ "<table width=\"100%\" cellspacing=\"0\" border=\"0\"><tr class=\"address\">\n" \
+ "<td width=\"30%\" align=\"left\">Copyright &copy; 2012 Digia Plc and/or its subsidiary(-ies)</td>\n" \
+ "<td width=\"40%\" align=\"center\"><a href=\"trademarks.html\">Trademarks</a></td>\n" \
+ "<td width=\"30%\" align=\"right\"><div align=\"right\">Qt \\version</div></td>\n" \
+ "</tr></table></div></address>"
diff --git a/src/tools/qlalr/doc/src/classic.css b/src/tools/qlalr/doc/src/classic.css
new file mode 100644
index 0000000000..afc66d548a
--- /dev/null
+++ b/src/tools/qlalr/doc/src/classic.css
@@ -0,0 +1,97 @@
+h3.fn,span.fn
+{
+ margin-left: 1cm;
+ text-indent: -1cm;
+}
+
+a:link
+{
+ color: #004faf;
+ text-decoration: none
+}
+
+a:visited
+{
+ color: #672967;
+ text-decoration: none
+}
+
+td.postheader
+{
+ font-family: sans-serif
+}
+
+tr.address
+{
+ font-family: sans-serif
+}
+
+body
+{
+ background: #ffffff;
+ color: black
+}
+
+table tr.odd {
+ background: #f0f0f0;
+ color: black;
+}
+
+table tr.even {
+ background: #e4e4e4;
+ color: black;
+}
+
+table.annotated {
+ border-spacing: 0px;
+}
+
+table.annotated th {
+ font-weight: bold;
+ padding: 3px;
+ text-align: left
+}
+
+table.annotated td {
+ padding: 3px;
+}
+
+table tr pre
+{
+ padding-top: none;
+ padding-bottom: none;
+ padding-left: none;
+ padding-right: none;
+ border: none;
+ background: none
+}
+
+tr.qt-style
+{
+ background: #a2c511;
+ color: black
+}
+
+body pre
+{
+ padding: 0.2em;
+ border: #e7e7e7 1px solid;
+ background: #f1f1f1;
+ color: black
+}
+
+span.preprocessor, span.preprocessor a
+{
+ color: darkblue;
+}
+
+span.comment
+{
+ color: darkred;
+ font-style: italic
+}
+
+span.string,span.char
+{
+ color: darkgreen;
+}
diff --git a/src/tools/qlalr/doc/src/images/qt-logo.png b/src/tools/qlalr/doc/src/images/qt-logo.png
new file mode 100644
index 0000000000..2dc67161c1
--- /dev/null
+++ b/src/tools/qlalr/doc/src/images/qt-logo.png
Binary files differ
diff --git a/src/tools/qlalr/doc/src/qlalr.qdoc b/src/tools/qlalr/doc/src/qlalr.qdoc
new file mode 100644
index 0000000000..36cf27b3d9
--- /dev/null
+++ b/src/tools/qlalr/doc/src/qlalr.qdoc
@@ -0,0 +1,106 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \page qlalr.html
+ \title qlalr
+ \nextpage qlalr - Writing Grammars
+
+ \section1 Table of Contents
+
+ \list
+ \li \l{qlalr - Writing Grammars}
+ \tableofcontents{1 qlalr - Writing Grammars}
+ \li \l{qlalr - Generating Code from Grammar Specifications}
+ \tableofcontents{1 qlalr - Generating Code from Grammar Specifications}
+ \li \l{qlalr - qlalr Grammar Specification}
+ \tableofcontents{1 qlalr - qlalr Grammar Specification}
+ \li \l{qlalr - Handling Conflicts}
+ \tableofcontents{1 qlalr - Handling Conflicts}
+ \li \l{qlalr - Error Handling and Recovery}
+ \tableofcontents{1 qlalr - Error Handling and Recovery}
+ \li \l{qlalr - References to External Information}
+ \tableofcontents{1 qlalr - References to External Information}
+ \endlist
+
+*/
+
+/*!
+ \page qlalr-files.html
+ \title qlalr - Writing Grammars
+
+ \contentspage qlalr
+ \previouspage qlalr
+ \nextpage qlalr - Generating Code from Grammar Specifications
+
+*/
+
+/*!
+ \page qlalr-generating.html
+ \title qlalr - Generating Code from Grammar Specifications
+
+ \contentspage qlalr
+ \previouspage qlalr - Writing Grammars
+ \nextpage qlalr - qlalr Grammar Specification
+*/
+
+/*!
+ \page qlalr-grammar-specification.html
+ \title qlalr - qlalr Grammar Specification
+
+ \contentspage qlalr
+ \previouspage qlalr - Generating Code from Grammar Specifications
+ \nextpage qlalr - Handling Conflicts
+
+*/
+
+/*!
+ \page qlalr-handling-conflicts.html
+ \title qlalr - Handling Conflicts
+
+ \contentspage qlalr
+ \previouspage qlalr - qlalr Grammar Specification
+ \nextpage qlalr - Error Handling and Recovery
+*/
+
+/*!
+ \page qlalr-handling-errors.html
+ \title qlalr - Error Handling and Recovery
+
+ \contentspage qlalr
+ \previouspage qlalr - Handling Conflicts
+ \nextpage qlalr - References to External Information
+*/
+
+/*!
+ \page qlalr-external-references.html
+ \title qlalr - References to External Information
+
+ \contentspage qlalr
+ \previouspage qlalr - Error Handling and Recovery
+*/
+