[valadoc] gtkdoc-importer: Add support for varname
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] gtkdoc-importer: Add support for varname
- Date: Mon, 30 Jan 2012 02:58:14 +0000 (UTC)
commit ebfea5fc31fb3f7e417fc43b532f9c37a785cc09
Author: Florian Brosch <flo brosch gmail com>
Date: Sat Jan 28 22:39:46 2012 +0100
gtkdoc-importer: Add support for varname
.../documentation/gtkdoccommentparser.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libvaladoc/documentation/gtkdoccommentparser.vala b/src/libvaladoc/documentation/gtkdoccommentparser.vala
index 629aebb..966fe9d 100644
--- a/src/libvaladoc/documentation/gtkdoccommentparser.vala
+++ b/src/libvaladoc/documentation/gtkdoccommentparser.vala
@@ -1258,6 +1258,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
append_inline_content_not_null (run, parse_highlighted_template ("literal", Run.Style.ITALIC));
} else if (current.type == TokenType.XML_OPEN && current.content == "application") {
append_inline_content_not_null (run, parse_highlighted_template ("application", Run.Style.MONOSPACED));
+ } else if (current.type == TokenType.XML_OPEN && current.content == "varname") {
+ append_inline_content_not_null (run, parse_highlighted_template ("varname", Run.Style.MONOSPACED));
} else if (current.type == TokenType.XML_OPEN && current.content == "emphasis") {
append_inline_content_not_null (run, parse_highlighted_template ("emphasis", Run.Style.MONOSPACED));
} else if (current.type == TokenType.XML_OPEN && current.content == "pre") {
@@ -1302,6 +1304,8 @@ public class Valadoc.Gtkdoc.Parser : Object, ResourceLocator {
append_inline_content_not_null (run, parse_symbol_link ("errorcode"));
} else if (current.type == TokenType.XML_OPEN && current.content == "constant") {
append_inline_content_not_null (run, parse_symbol_link ("constant"));
+ } else if (current.type == TokenType.XML_OPEN && current.content == "inlinegraphic") {
+ append_inline_content_not_null (run, parse_docbook_inlinegraphic ());
} else if (current.type == TokenType.XML_OPEN && current.content == "anchor") {
parse_anchor ();
} else if (current.type == TokenType.XML_OPEN && current.content == "link") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]