From 3516ed5d688d3b64cdbe8ad8367d80725faf29a9 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sat, 1 Oct 2016 15:47:42 +0200 Subject: [PATCH 1/6] Ddoc: wrap each symbol in the DDOC_MEMBER macro This allows better control of formatting of the output. For example, it allows to output an unordered list instead of a description list. By default it expands the first argument ($0) as is, basically making the macro disappear, to keep backwards compatibility. --- src/doc.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc.d b/src/doc.d index fd30deb8b525..f3e999bdf052 100644 --- a/src/doc.d +++ b/src/doc.d @@ -401,6 +401,7 @@ D_PSYMBOL = $(U $0) D_PARAM = $(I $0) DDOC_COMMENT = +DDOC_MEMBER = $0 DDOC_DECL = $(DT $(BIG $0)) DDOC_DECL_DD = $(DD $0) DDOC_DITTO = $(BR)$0 @@ -962,6 +963,7 @@ extern (C++) void emitComment(Dsymbol s, OutBuffer* buf, Scope* sc) // Put previous doc comment if exists if (DocComment* dc = sc.lastdc) { + buf.writestring("$(DDOC_MEMBER"); // Put the declaration signatures as the document 'title' buf.writestring(ddoc_decl_s); for (size_t i = 0; i < dc.a.dim; i++) @@ -995,6 +997,7 @@ extern (C++) void emitComment(Dsymbol s, OutBuffer* buf, Scope* sc) emitMemberComments(sds, buf, sc); } buf.writestring(ddoc_decl_dd_e); + buf.writeByte(')'); //printf("buf.2 = [[%.*s]]\n", buf->offset - o0, buf->data + o0); } if (s) From cab2c332903109f6afaf1075a535a91b187812c3 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sat, 1 Oct 2016 15:51:46 +0200 Subject: [PATCH 2/6] Ddoc: add new macros: DDOC_MEMBER_HEADER and DDOC_HEADER_ANCHOR The second parameter ($1) of the DDOC_HEADER_ANCHOR macro expands to the fully qualified name of the current symbol without the package and module prefix. That is, for a module level symbol it's the name of a symbol. For a nested symbol, like a method in a class, it's the symbol name prefixed with the class name. The third parameter ($2) expands to just the name of the current symbol. The DDOC_MEMBER_HEADER wraps DDOC_HEADER_ANCHOR to allow a sensible output format. The DDOC_MEMBER_HEADER is wrapped in the DDOC_MEMBER macro. By default these two macros expand to nothing, to keep backwards compatibility. --- src/doc.d | 76 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a/src/doc.d b/src/doc.d index f3e999bdf052..ca7ce388f42f 100644 --- a/src/doc.d +++ b/src/doc.d @@ -402,6 +402,8 @@ D_PARAM = $(I $0) DDOC_COMMENT = DDOC_MEMBER = $0 +DDOC_MEMBER_HEADER = +DDOC_HEADER_ANCHOR = DDOC_DECL = $(DT $(BIG $0)) DDOC_DECL_DD = $(DD $0) DDOC_DITTO = $(BR)$0 @@ -753,18 +755,19 @@ extern (C++) static Scope* skipNonQualScopes(Scope* sc) return sc; } -extern (C++) static bool emitAnchorName(OutBuffer* buf, Dsymbol s, Scope* sc) +extern (C++) static bool emitAnchorName(OutBuffer* buf, Dsymbol s, Scope* sc, bool includeParent) { if (!s || s.isPackage() || s.isModule()) return false; // Add parent names first bool dot = false; - if (s.parent) - dot = emitAnchorName(buf, s.parent, sc); - else if (sc) - dot = emitAnchorName(buf, sc.scopesym, skipNonQualScopes(sc.enclosing)); + auto eponymousParent = getEponymousParent(s); + if (includeParent && s.parent || eponymousParent) + dot = emitAnchorName(buf, s.parent, sc, includeParent); + else if (includeParent && sc) + dot = emitAnchorName(buf, sc.scopesym, skipNonQualScopes(sc.enclosing), includeParent); // Eponymous template members can share the parent anchor name - if (getEponymousParent(s)) + if (eponymousParent) return dot; if (dot) buf.writeByte('.'); @@ -783,40 +786,59 @@ extern (C++) static bool emitAnchorName(OutBuffer* buf, Dsymbol s, Scope* sc) return true; } -extern (C++) static void emitAnchor(OutBuffer* buf, Dsymbol s, Scope* sc) +extern (C++) static void emitAnchor(OutBuffer* buf, Dsymbol s, Scope* sc, bool forHeader = false) { Identifier ident; { OutBuffer anc; - emitAnchorName(&anc, s, skipNonQualScopes(sc)); + emitAnchorName(&anc, s, skipNonQualScopes(sc), true); ident = Identifier.idPool(anc.peekSlice()); } auto pcount = cast(void*)ident in sc.anchorCounts; typeof(*pcount) count; - if (pcount) + if (!forHeader) { - // Existing anchor, - // don't write an anchor for matching consecutive ditto symbols - TemplateDeclaration td = getEponymousParent(s); - if (sc.prevAnchor == ident && sc.lastdc && (isDitto(s.comment) || (td && isDitto(td.comment)))) - return; + if (pcount) + { + // Existing anchor, + // don't write an anchor for matching consecutive ditto symbols + TemplateDeclaration td = getEponymousParent(s); + if (sc.prevAnchor == ident && sc.lastdc && (isDitto(s.comment) || (td && isDitto(td.comment)))) + return; - count = ++*pcount; - } - else - { - sc.anchorCounts[cast(void*)ident] = 1; - count = 1; + count = ++*pcount; + } + else + { + sc.anchorCounts[cast(void*)ident] = 1; + count = 1; + } } // cache anchor name sc.prevAnchor = ident; - buf.writestring("$(DDOC_ANCHOR "); - buf.writestring(ident.toChars()); + auto macroName = forHeader ? "DDOC_HEADER_ANCHOR" : "DDOC_ANCHOR"; + auto symbolName = ident.toString(); + buf.printf("$(%.*s %.*s", cast(int) macroName.length, macroName.ptr, + cast(int) symbolName.length, symbolName.ptr); // only append count once there's a duplicate if (count > 1) buf.printf(".%u", count); + + if (forHeader) + { + Identifier shortIdent; + { + OutBuffer anc; + emitAnchorName(&anc, s, skipNonQualScopes(sc), false); + shortIdent = Identifier.idPool(anc.peekSlice()); + } + + auto shortName = shortIdent.toString(); + buf.printf(", %.*s", cast(int) shortName.length, shortName.ptr); + } + buf.writeByte(')'); } @@ -963,7 +985,17 @@ extern (C++) void emitComment(Dsymbol s, OutBuffer* buf, Scope* sc) // Put previous doc comment if exists if (DocComment* dc = sc.lastdc) { + assert(dc.a.dim > 0, "Expects at least one declaration for a" ~ + "documentation comment"); + + auto symbol = dc.a[0]; + auto symbolName = symbol.ident.toString; + buf.writestring("$(DDOC_MEMBER"); + buf.writestring("$(DDOC_MEMBER_HEADER"); + emitAnchor(buf, symbol, sc, true); + buf.writeByte(')'); + // Put the declaration signatures as the document 'title' buf.writestring(ddoc_decl_s); for (size_t i = 0; i < dc.a.dim; i++) From 0cbab45bdb76f6a14b397df912a3077fe616946e Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sun, 2 Oct 2016 23:02:50 +0200 Subject: [PATCH 3/6] Move built-in ddoc macros to its own file --- res/default_ddoc_theme.ddoc | 117 +++++++++++++++++++++++++++++++++++ src/doc.d | 118 +----------------------------------- src/posix.mak | 10 +-- src/win32.mak | 10 +-- 4 files changed, 129 insertions(+), 126 deletions(-) create mode 100644 res/default_ddoc_theme.ddoc diff --git a/res/default_ddoc_theme.ddoc b/res/default_ddoc_theme.ddoc new file mode 100644 index 000000000000..b4e27b0d70e7 --- /dev/null +++ b/res/default_ddoc_theme.ddoc @@ -0,0 +1,117 @@ +DDOC = + $(DDOC_COMMENT Generated by Ddoc from $(SRCFILENAME)) + + $(TITLE) + +

$(TITLE)

+$(BODY) +
$(SMALL Page generated by $(LINK2 http://dlang.org/ddoc.html, Ddoc). $(COPYRIGHT)) + + +B = $0 +I = $0 +U = $0 +P =

$0

+DL =
$0
+DT =
$0
+DD =
$0
+TABLE = $0
+TR = $0 +TH = $0 +TD = $0 +OL =
    $0
+UL =
    $0
+LI =
  • $0
  • +BIG = $0 +SMALL = $0 +BR =
    +LINK = $0 +LINK2 = $+ +LPAREN= ( +RPAREN= ) +BACKTICK= ` +DOLLAR= $ +DEPRECATED= $0 + +RED = $0 +BLUE = $0 +GREEN = $0 +YELLOW =$0 +BLACK = $0 +WHITE = $0 + +D_CODE =
    $0
    +DDOC_BACKQUOTED = $(D_INLINECODE $0) +D_INLINECODE =
    $0
    +D_COMMENT = $(GREEN $0) +D_STRING = $(RED $0) +D_KEYWORD = $(BLUE $0) +D_PSYMBOL = $(U $0) +D_PARAM = $(I $0) + +DDOC_COMMENT = +DDOC_MEMBER = $0 +DDOC_MEMBER_HEADER = +DDOC_SYMBOL_NAME = +DDOC_HEADER_ANCHOR = +DDOC_DECL = $(DT $(BIG $0)) +DDOC_DECL_DD = $(DD $0) +DDOC_DITTO = $(BR)$0 +DDOC_SECTIONS = $0 +DDOC_SUMMARY = $0$(BR)$(BR) +DDOC_DESCRIPTION = $0$(BR)$(BR) +DDOC_AUTHORS = $(B Authors:)$(BR) +$0$(BR)$(BR) +DDOC_BUGS = $(RED BUGS:)$(BR) +$0$(BR)$(BR) +DDOC_COPYRIGHT = $(B Copyright:)$(BR) +$0$(BR)$(BR) +DDOC_DATE = $(B Date:)$(BR) +$0$(BR)$(BR) +DDOC_DEPRECATED = $(RED Deprecated:)$(BR) +$0$(BR)$(BR) +DDOC_EXAMPLES = $(B Examples:)$(BR) +$0$(BR)$(BR) +DDOC_HISTORY = $(B History:)$(BR) +$0$(BR)$(BR) +DDOC_LICENSE = $(B License:)$(BR) +$0$(BR)$(BR) +DDOC_RETURNS = $(B Returns:)$(BR) +$0$(BR)$(BR) +DDOC_SEE_ALSO = $(B See Also:)$(BR) +$0$(BR)$(BR) +DDOC_STANDARDS = $(B Standards:)$(BR) +$0$(BR)$(BR) +DDOC_THROWS = $(B Throws:)$(BR) +$0$(BR)$(BR) +DDOC_VERSION = $(B Version:)$(BR) +$0$(BR)$(BR) +DDOC_SECTION_H = $(B $0)$(BR) +DDOC_SECTION = $0$(BR)$(BR) +DDOC_MEMBERS = $(DL $0) +DDOC_MODULE_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_ENUM_BASETYPE = $0 +DDOC_PARAMS = $(B Params:)$(BR) +$(TABLE $0)$(BR) +DDOC_PARAM_ROW = $(TR $0) +DDOC_PARAM_ID = $(TD $0) +DDOC_PARAM_DESC = $(TD $0) +DDOC_BLANKLINE = $(BR)$(BR) + +DDOC_ANCHOR = +DDOC_PSYMBOL = $(U $0) +DDOC_PSUPER_SYMBOL = $(U $0) +DDOC_KEYWORD = $(B $0) +DDOC_PARAM = $(I $0) +DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0) +DDOC_OVERLOAD_SEPARATOR = +DDOC_TEMPLATE_PARAM_LIST = $0 +DDOC_TEMPLATE_PARAM = $0 + +ESCAPES = //>/ + /&/&/ diff --git a/src/doc.d b/src/doc.d index ca7ce388f42f..64ebe9632f8f 100644 --- a/src/doc.d +++ b/src/doc.d @@ -349,123 +349,7 @@ extern (C++) static TemplateDeclaration getEponymousParent(Dsymbol s) return (td && getEponymousMember(td)) ? td : null; } -extern (C++) __gshared const(char)* ddoc_default = "DDOC = - $(DDOC_COMMENT Generated by Ddoc from $(SRCFILENAME)) - - $(TITLE) - -

    $(TITLE)

    -$(BODY) -
    $(SMALL Page generated by $(LINK2 http://dlang.org/ddoc.html, Ddoc). $(COPYRIGHT)) - - -B = $0 -I = $0 -U = $0 -P =

    $0

    -DL =
    $0
    -DT =
    $0
    -DD =
    $0
    -TABLE = $0
    -TR = $0 -TH = $0 -TD = $0 -OL =
      $0
    -UL =
      $0
    -LI =
  • $0
  • -BIG = $0 -SMALL = $0 -BR =
    -LINK = $0 -LINK2 = $+ -LPAREN= ( -RPAREN= ) -BACKTICK= ` -DOLLAR= $ -DEPRECATED= $0 - -RED = $0 -BLUE = $0 -GREEN = $0 -YELLOW =$0 -BLACK = $0 -WHITE = $0 - -D_CODE =
    $0
    -DDOC_BACKQUOTED = $(D_INLINECODE $0) -D_INLINECODE =
    $0
    -D_COMMENT = $(GREEN $0) -D_STRING = $(RED $0) -D_KEYWORD = $(BLUE $0) -D_PSYMBOL = $(U $0) -D_PARAM = $(I $0) - -DDOC_COMMENT = -DDOC_MEMBER = $0 -DDOC_MEMBER_HEADER = -DDOC_HEADER_ANCHOR = -DDOC_DECL = $(DT $(BIG $0)) -DDOC_DECL_DD = $(DD $0) -DDOC_DITTO = $(BR)$0 -DDOC_SECTIONS = $0 -DDOC_SUMMARY = $0$(BR)$(BR) -DDOC_DESCRIPTION = $0$(BR)$(BR) -DDOC_AUTHORS = $(B Authors:)$(BR) -$0$(BR)$(BR) -DDOC_BUGS = $(RED BUGS:)$(BR) -$0$(BR)$(BR) -DDOC_COPYRIGHT = $(B Copyright:)$(BR) -$0$(BR)$(BR) -DDOC_DATE = $(B Date:)$(BR) -$0$(BR)$(BR) -DDOC_DEPRECATED = $(RED Deprecated:)$(BR) -$0$(BR)$(BR) -DDOC_EXAMPLES = $(B Examples:)$(BR) -$0$(BR)$(BR) -DDOC_HISTORY = $(B History:)$(BR) -$0$(BR)$(BR) -DDOC_LICENSE = $(B License:)$(BR) -$0$(BR)$(BR) -DDOC_RETURNS = $(B Returns:)$(BR) -$0$(BR)$(BR) -DDOC_SEE_ALSO = $(B See Also:)$(BR) -$0$(BR)$(BR) -DDOC_STANDARDS = $(B Standards:)$(BR) -$0$(BR)$(BR) -DDOC_THROWS = $(B Throws:)$(BR) -$0$(BR)$(BR) -DDOC_VERSION = $(B Version:)$(BR) -$0$(BR)$(BR) -DDOC_SECTION_H = $(B $0)$(BR) -DDOC_SECTION = $0$(BR)$(BR) -DDOC_MEMBERS = $(DL $0) -DDOC_MODULE_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_ENUM_BASETYPE = $0 -DDOC_PARAMS = $(B Params:)$(BR) -$(TABLE $0)$(BR) -DDOC_PARAM_ROW = $(TR $0) -DDOC_PARAM_ID = $(TD $0) -DDOC_PARAM_DESC = $(TD $0) -DDOC_BLANKLINE = $(BR)$(BR) - -DDOC_ANCHOR = -DDOC_PSYMBOL = $(U $0) -DDOC_PSUPER_SYMBOL = $(U $0) -DDOC_KEYWORD = $(B $0) -DDOC_PARAM = $(I $0) -DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0) -DDOC_OVERLOAD_SEPARATOR = -DDOC_TEMPLATE_PARAM_LIST = $0 -DDOC_TEMPLATE_PARAM = $0 - -ESCAPES = //>/ - /&/&/ -"; +extern (C++) __gshared const(char)* ddoc_default = import("default_ddoc_theme.ddoc"); extern (C++) __gshared const(char)* ddoc_decl_s = "$(DDOC_DECL "; extern (C++) __gshared const(char)* ddoc_decl_e = ")\n"; extern (C++) __gshared const(char)* ddoc_decl_dd_s = "$(DDOC_DECL_DD "; diff --git a/src/posix.mak b/src/posix.mak index ea2b1e5ccd9a..b69c3c92c277 100644 --- a/src/posix.mak +++ b/src/posix.mak @@ -312,7 +312,7 @@ TK_SRC = \ $(TK)/filespec.h $(TK)/mem.h $(TK)/list.h $(TK)/vec.h \ $(TK)/filespec.c $(TK)/mem.c $(TK)/vec.c $(TK)/list.c -STRING_IMPORT_FILES = verstr.h SYSCONFDIR.imp +STRING_IMPORT_FILES = verstr.h SYSCONFDIR.imp ../res/default_ddoc_theme.ddoc DEPS = $(patsubst %.o,%.deps,$(DMD_OBJS) $(GLUE_OBJS) $(BACK_OBJS)) @@ -328,14 +328,14 @@ backend.a: $(BACK_OBJS) $(AR) rcs backend.a $(BACK_OBJS) dmd_frontend: $(FRONT_SRCS) gluelayer.d $(ROOT_SRCS) newdelete.o $(STRING_IMPORT_FILES) $(HOST_DMD_PATH) - CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) -version=NoBackend + CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -J../res -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) -version=NoBackend ifdef ENABLE_LTO dmd: $(DMD_SRCS) $(ROOT_SRCS) newdelete.o $(GLUE_OBJS) $(BACK_OBJS) $(STRING_IMPORT_FILES) $(HOST_DMD_PATH) - CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) + CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -J../res -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) else dmd: $(DMD_SRCS) $(ROOT_SRCS) newdelete.o glue.a backend.a $(STRING_IMPORT_FILES) $(HOST_DMD_PATH) - CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) + CC=$(HOST_CXX) $(HOST_DMD_RUN) -of$@ $(MODEL_FLAG) -vtls -J. -J../res -L-lstdc++ $(DFLAGS) $(filter-out $(STRING_IMPORT_FILES) $(HOST_DMD_PATH),$^) endif clean: @@ -493,7 +493,7 @@ zip: ifneq ($(DOCDIR),) html: $(DOCDIR)/.generated $(DOCDIR)/.generated: $(DMD_SRCS) $(ROOT_SRCS) $(HOST_DMD_PATH) project.ddoc - $(HOST_DMD_RUN) -of- $(MODEL_FLAG) -J. -c -Dd$(DOCDIR)\ + $(HOST_DMD_RUN) -of- $(MODEL_FLAG) -J. -J../res -c -Dd$(DOCDIR)\ $(DFLAGS) project.ddoc $(DOCFMT) $(DMD_SRCS) $(ROOT_SRCS) touch $@ endif diff --git a/src/win32.mak b/src/win32.mak index 5cb622b378e4..cef9b8bb4d3c 100644 --- a/src/win32.mak +++ b/src/win32.mak @@ -163,6 +163,8 @@ BACK_HDRS=$C/bcomplex.d $C/cc.d $C/cdef.d $C/cgcv.d $C/code.d $C/cv4.d $C/dt.d $ TK_HDRS= $(TK)/dlist.d +STRING_IMPORT_FILES= verstr.h ../res/default_ddoc_theme.ddoc + DMD_SRCS=$(FRONT_SRCS) $(GLUE_SRCS) $(BACK_HDRS) $(TK_HDRS) # Glue layer @@ -293,11 +295,11 @@ backend.lib : $(BACKOBJ) $(OBJ_MSVC) LIBS= glue.lib backend.lib -dmd_frontend.exe: $(FRONT_SRCS) gluelayer.d $(ROOT_SRCS) newdelete.obj verstr.h - $(HOST_DC) $(DSRC) -of$@ -vtls -J. -L/STACK:8388608 $(DFLAGS) $(FRONT_SRCS) gluelayer.d $(ROOT_SRCS) newdelete.obj -version=NoBackend +dmd_frontend.exe: $(FRONT_SRCS) gluelayer.d $(ROOT_SRCS) newdelete.obj $(STRING_IMPORT_FILES) + $(HOST_DC) $(DSRC) -of$@ -vtls -J. -J../res -L/STACK:8388608 $(DFLAGS) $(FRONT_SRCS) gluelayer.d $(ROOT_SRCS) newdelete.obj -version=NoBackend -$(TARGETEXE): $(DMD_SRCS) $(ROOT_SRCS) newdelete.obj $(LIBS) verstr.h - $(HOST_DC) $(DSRC) -of$@ -vtls -J. -L/STACK:8388608 $(DFLAGS) $(DMD_SRCS) $(ROOT_SRCS) newdelete.obj $(LIBS) +$(TARGETEXE): $(DMD_SRCS) $(ROOT_SRCS) newdelete.obj $(LIBS) $(STRING_IMPORT_FILES) + $(HOST_DC) $(DSRC) -of$@ -vtls -J. -J../res -L/STACK:8388608 $(DFLAGS) $(DMD_SRCS) $(ROOT_SRCS) newdelete.obj $(LIBS) ############################ Maintenance Targets ############################# From fa8c8f2e7fb720a6d678665ec5dfd7c6f93dc007 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Mon, 3 Oct 2016 21:46:42 +0200 Subject: [PATCH 4/6] Add new default ddoc theme This adds a new default ddoc theme that generates a result with a design that can be used as is without manual styling. It outputs modern HTML 5, CSS 3 and passes the W3 HTML validator. This makes the out of the box experience a lot more pleasant. --- res/default_ddoc_theme.ddoc | 836 +++++++++++++++++++++++++++++++----- 1 file changed, 727 insertions(+), 109 deletions(-) diff --git a/res/default_ddoc_theme.ddoc b/res/default_ddoc_theme.ddoc index b4e27b0d70e7..801138b3a94d 100644 --- a/res/default_ddoc_theme.ddoc +++ b/res/default_ddoc_theme.ddoc @@ -1,117 +1,735 @@ -DDOC = - $(DDOC_COMMENT Generated by Ddoc from $(SRCFILENAME)) - - $(TITLE) - -

    $(TITLE)

    -$(BODY) -
    $(SMALL Page generated by $(LINK2 http://dlang.org/ddoc.html, Ddoc). $(COPYRIGHT)) - - -B = $0 -I = $0 -U = $0 -P =

    $0

    -DL =
    $0
    -DT =
    $0
    -DD =
    $0
    +LPAREN = ( +RPAREN = ) +BACKTICK = ` +DOLLAR = $ + +ESCAPES = + //>/ + /&/&/ + +B = $0 +I = $0 +U = $0 +P =

    $0

    +DL =
    $0
    +DT =
    $0
    +DD =
    $0
    TABLE = $0
    -TR = $0 -TH = $0 -TD = $0 -OL =
      $0
    -UL =
      $0
    -LI =
  • $0
  • -BIG = $0 +TR = $0 +TH = $0 +TD = $0 +OL =
      $0
    +UL =
      $0
    +LI =
  • $0
  • +BIG = $0 SMALL = $0 -BR =
    -LINK = $0 -LINK2 = $+ -LPAREN= ( -RPAREN= ) -BACKTICK= ` -DOLLAR= $ -DEPRECATED= $0 - -RED = $0 -BLUE = $0 -GREEN = $0 -YELLOW =$0 -BLACK = $0 -WHITE = $0 - -D_CODE =
    $0
    +BR =
    +LINK = $0 +LINK2 = $+ +DEPRECATED = $0 + +RED = $0 +BLUE = $0 +GREEN = $0 +YELLOW = $0 +BLACK = $0 +WHITE = $0 + +D_CODE = +
    +
    +
    +
      +
    1. $0
    2. +
    +
    +
    +
    + +D_INLINECODE = $0 DDOC_BACKQUOTED = $(D_INLINECODE $0) -D_INLINECODE =
    $0
    -D_COMMENT = $(GREEN $0) -D_STRING = $(RED $0) -D_KEYWORD = $(BLUE $0) -D_PSYMBOL = $(U $0) -D_PARAM = $(I $0) - -DDOC_COMMENT = -DDOC_MEMBER = $0 -DDOC_MEMBER_HEADER = -DDOC_SYMBOL_NAME = -DDOC_HEADER_ANCHOR = -DDOC_DECL = $(DT $(BIG $0)) -DDOC_DECL_DD = $(DD $0) -DDOC_DITTO = $(BR)$0 -DDOC_SECTIONS = $0 -DDOC_SUMMARY = $0$(BR)$(BR) -DDOC_DESCRIPTION = $0$(BR)$(BR) -DDOC_AUTHORS = $(B Authors:)$(BR) -$0$(BR)$(BR) -DDOC_BUGS = $(RED BUGS:)$(BR) -$0$(BR)$(BR) -DDOC_COPYRIGHT = $(B Copyright:)$(BR) -$0$(BR)$(BR) -DDOC_DATE = $(B Date:)$(BR) -$0$(BR)$(BR) -DDOC_DEPRECATED = $(RED Deprecated:)$(BR) -$0$(BR)$(BR) -DDOC_EXAMPLES = $(B Examples:)$(BR) -$0$(BR)$(BR) -DDOC_HISTORY = $(B History:)$(BR) -$0$(BR)$(BR) -DDOC_LICENSE = $(B License:)$(BR) -$0$(BR)$(BR) -DDOC_RETURNS = $(B Returns:)$(BR) -$0$(BR)$(BR) -DDOC_SEE_ALSO = $(B See Also:)$(BR) -$0$(BR)$(BR) -DDOC_STANDARDS = $(B Standards:)$(BR) -$0$(BR)$(BR) -DDOC_THROWS = $(B Throws:)$(BR) -$0$(BR)$(BR) -DDOC_VERSION = $(B Version:)$(BR) -$0$(BR)$(BR) -DDOC_SECTION_H = $(B $0)$(BR) -DDOC_SECTION = $0$(BR)$(BR) -DDOC_MEMBERS = $(DL $0) -DDOC_MODULE_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0) +D_COMMENT = $0 +D_STRING = $0 +D_KEYWORD = $0 +D_PSYMBOL = $0 +D_PARAM = $0 + +DDOC_BLANKLINE = +DDOC_COMMENT = + +DDOC = + + + + + $(TITLE) + + + +
    +
    +

    $(TITLE)

    +
    $(BODY)
    +
    +
    + + + +DDOC_MODULE_MEMBERS =
    +
    + $(DDOC_MEMBERS $0) +
    +
    + +DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0) DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0) -DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0) DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0) + +DDOC_MEMBERS =
      + $0 +
    + +DDOC_MEMBER =
  • + $0 +
  • + +DDOC_MEMBER_HEADER =
    + $0 +
    + +DDOC_HEADER_ANCHOR =
    + $2 +
    + +DDOC_DECL =
    +
    +
    +

    Declaration

    +
    +

    + + $0 + +

    +
    +
    +
    +
    + +DDOC_ANCHOR = + +DDOC_DECL_DD =
    + $0 +
    + +DDOC_SECTIONS =
    + $0 +
    + +DDOC_SUMMARY =
    +

    + $0 +

    +
    + +DDOC_DESCRIPTION =
    +

    Discussion

    +

    + $0 +

    +
    + +DDOC_EXAMPLES =
    +

    Examples

    +

    + $0 +

    +
    + +DDOC_RETURNS =
    +

    Return Value

    +

    + $0 +

    +
    + +DDOC_PARAMS =
    +

    Parameters

    + + + $0 + +
    +
    + +DDOC_PARAM_ROW = + $0 + + +DDOC_PARAM_ID = + + $0 + + + +DDOC_PARAM_DESC = +
    +

    + $0 +

    +
    + + +DDOC_LICENSE =
    +

    License

    +

    + $0 +

    +
    + +DDOC_AUTHORS =
    +

    Authors

    +

    + $0 +

    +
    + +DDOC_BUGS =
    +

    Bugs

    +

    + $0 +

    +
    + +DDOC_COPYRIGHT = + +DDOC_DATE =
    +

    Date

    +

    + $0 +

    +
    + +DDOC_DEPRECATED =
    +

    Deprecated

    +

    + $0 +

    +
    + +DDOC_HISTORY =
    +

    History

    +

    + $0 +

    +
    + +DDOC_SEE_ALSO =
    +

    See Also

    +

    + $0 +

    +
    + +DDOC_STANDARDS =
    +

    Standards

    +

    + $0 +

    +
    + +DDOC_THROWS =
    +

    Throws

    +

    + $0 +

    +
    + +DDOC_VERSION =
    +

    Version

    +

    + $0 +

    +
    + +DDOC_SECTION =
    +

    + $0 +

    +
    + +DDOC_SECTION_H = $0 + +DDOC_DITTO =
    +$0 + +DDOC_PSYMBOL = $0 DDOC_ENUM_BASETYPE = $0 -DDOC_PARAMS = $(B Params:)$(BR) -$(TABLE $0)$(BR) -DDOC_PARAM_ROW = $(TR $0) -DDOC_PARAM_ID = $(TD $0) -DDOC_PARAM_DESC = $(TD $0) -DDOC_BLANKLINE = $(BR)$(BR) - -DDOC_ANCHOR = -DDOC_PSYMBOL = $(U $0) -DDOC_PSUPER_SYMBOL = $(U $0) -DDOC_KEYWORD = $(B $0) -DDOC_PARAM = $(I $0) -DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0) -DDOC_OVERLOAD_SEPARATOR = +DDOC_PSUPER_SYMBOL = $0 +DDOC_KEYWORD = $0 +DDOC_PARAM = $0 +DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0) +DDOC_OVERLOAD_SEPARATOR = $0 DDOC_TEMPLATE_PARAM_LIST = $0 DDOC_TEMPLATE_PARAM = $0 - -ESCAPES = //>/ - /&/&/ From 8ed9640395e5c20cc6f4526a96acc44756735f28 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sun, 9 Oct 2016 17:41:08 +0200 Subject: [PATCH 5/6] Strip leading newlines for unit tests rendered as ddoc examples --- src/doc.d | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/doc.d b/src/doc.d index 64ebe9632f8f..13624f45c4f3 100644 --- a/src/doc.d +++ b/src/doc.d @@ -1758,11 +1758,12 @@ struct DocComment buf.writestring(cast(char*)c); if (utd.codedoc) { - size_t n = getCodeIndent(utd.codedoc); + auto codedoc = utd.codedoc.stripLeadingNewlines; + size_t n = getCodeIndent(codedoc); while (n--) buf.writeByte(' '); buf.writestring("----\n"); - buf.writestring(utd.codedoc); + buf.writestring(codedoc); buf.writestring("----\n"); highlightText(sc, a, buf, o); } @@ -2736,3 +2737,11 @@ extern (C++) int utfStride(const(char)* p) utf_decodeChar(p, 4, i, c); // ignore errors, but still consume input return cast(int)i; } + +inout(char)* stripLeadingNewlines(inout(char)* s) +{ + while (s && *s == '\n' || *s == '\r') + s++; + + return s; +} From 93293258ba750881c4b0390f60fa43ccbb4e5cea Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Sun, 9 Oct 2016 18:07:26 +0200 Subject: [PATCH 6/6] Update ddoc tests --- test/compilable/extra-files/ddoc1.html | 1202 ++++++- test/compilable/extra-files/ddoc10.html | 1526 ++++++++- test/compilable/extra-files/ddoc10325.html | 545 ++- test/compilable/extra-files/ddoc10334.html | 1002 +++++- test/compilable/extra-files/ddoc10366.html | 613 +++- test/compilable/extra-files/ddoc10367.html | 822 ++++- test/compilable/extra-files/ddoc10869.html | 638 +++- test/compilable/extra-files/ddoc10870.html | 551 ++- test/compilable/extra-files/ddoc11.html | 1100 +++++- test/compilable/extra-files/ddoc11479.html | 936 +++++- test/compilable/extra-files/ddoc11511.html | 667 +++- test/compilable/extra-files/ddoc11823.html | 526 ++- test/compilable/extra-files/ddoc12.html | 664 +++- test/compilable/extra-files/ddoc12706.html | 518 ++- test/compilable/extra-files/ddoc12745.html | 563 +++- test/compilable/extra-files/ddoc13.html | 768 ++++- test/compilable/extra-files/ddoc13270.html | 589 +++- test/compilable/extra-files/ddoc13645.html | 489 ++- test/compilable/extra-files/ddoc14.html | 1570 ++++++++- test/compilable/extra-files/ddoc14383.html | 511 ++- test/compilable/extra-files/ddoc14778.html | 935 +++++- test/compilable/extra-files/ddoc15475.html | 506 ++- test/compilable/extra-files/ddoc198.html | 692 +++- test/compilable/extra-files/ddoc2.html | 699 +++- test/compilable/extra-files/ddoc2273.html | 690 +++- test/compilable/extra-files/ddoc3.html | 746 ++++- test/compilable/extra-files/ddoc4.html | 481 ++- test/compilable/extra-files/ddoc4162.html | 580 +++- test/compilable/extra-files/ddoc5.html | 605 +++- test/compilable/extra-files/ddoc5446.html | 1019 +++++- test/compilable/extra-files/ddoc6.html | 518 ++- test/compilable/extra-files/ddoc648.html | 1315 +++++++- test/compilable/extra-files/ddoc6491.html | 526 ++- test/compilable/extra-files/ddoc7.html | 1196 ++++++- test/compilable/extra-files/ddoc7555.html | 613 +++- test/compilable/extra-files/ddoc7656.html | 601 +++- test/compilable/extra-files/ddoc7715.html | 570 +++- test/compilable/extra-files/ddoc7795.html | 551 ++- test/compilable/extra-files/ddoc8.html | 526 ++- test/compilable/extra-files/ddoc8271.html | 528 ++- test/compilable/extra-files/ddoc8739.html | 605 +++- test/compilable/extra-files/ddoc9.html | 707 +++- test/compilable/extra-files/ddoc9037.html | 554 +++- test/compilable/extra-files/ddoc9155.html | 705 +++- test/compilable/extra-files/ddoc9305.html | 708 +++- test/compilable/extra-files/ddoc9369.html | 547 ++- test/compilable/extra-files/ddoc9475.html | 613 +++- test/compilable/extra-files/ddoc9497a.html | 536 ++- test/compilable/extra-files/ddoc9497b.html | 536 ++- test/compilable/extra-files/ddoc9497c.html | 536 ++- test/compilable/extra-files/ddoc9497d.html | 536 ++- test/compilable/extra-files/ddoc9676a.html | 518 ++- test/compilable/extra-files/ddoc9676b.html | 518 ++- test/compilable/extra-files/ddoc9727.html | 590 +++- test/compilable/extra-files/ddoc9764.html | 500 ++- test/compilable/extra-files/ddoc9789.html | 547 ++- test/compilable/extra-files/ddoc9903.html | 760 ++++- test/compilable/extra-files/ddocYear.html | 526 ++- .../compilable/extra-files/ddocbackticks.html | 609 +++- test/compilable/extra-files/ddocunittest.html | 2949 ++++++++++++++--- 60 files changed, 40994 insertions(+), 2803 deletions(-) diff --git a/test/compilable/extra-files/ddoc1.html b/test/compilable/extra-files/ddoc1.html index c6bc0da165a1..4713b2646f10 100644 --- a/test/compilable/extra-files/ddoc1.html +++ b/test/compilable/extra-files/ddoc1.html @@ -1,115 +1,1087 @@ - - - abc - -

    abc

    -This module is for ABC -

    - -
    alias myint = int; -
    -


    -
    -
    myint f; -
    -
    windy - city -

    - paragraph 2 about of F -
    #include <stdio.h>
    -void main()
    -{
    -	printf("hello\n");
    -}
    -
    -

    -Copyright:
    -1998

    - -
    -
    enum E: int; -
    -
    comment1

    - -
    -
    int g; -
    -
    comment2

    - -
    -
    wchar LS; -
    -
    UTF line separator

    - -
    -
    wchar PS; -
    wchar _XX; -
    wchar YY; -
    -
    UTF paragraph separator

    - -
    -
    int foo(char c, int argulid, char u); -
    -
    Function foo takes argument c and adds it to argulid. -

    -Then it munges argulid, u underline. -

    -Params:
    - - - - - - -
    char cthe character which adds c to argulid
    int argulidthe argument
    char uthe other argument

    - -
    -
    int barr(); -
    -
    doc for barr()

    - -
    -
    class Bar; -
    -
    The Class Bar

    - -
    int x; -
    -
    member X

    - -
    -
    int y; -
    -
    member Y

    - -
    -
    protected int z; -
    -
    member Z

    - -
    -
    -
    -
    enum Easy: int; -
    -
    The Enum Easy

    - -
    red
    -
    the Red

    - -
    -
    blue
    -
    the Blue

    - -
    -
    green
    -
    the Green

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. Copyright © - + + + + + + abc + + + +
    +
    +

    abc

    +
    +
    +

    + This module is for ABC + +

    +
    + +
    +
    +
    +
      +
    • +
      +
      + myint +
      +
      +
      +
      +

      Declaration

      +
      +

      + + alias myint = int; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + f +
      +
      +
      +
      +

      Declaration

      +
      +

      + + myint f; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + windy + city + +

      +
      +
      +

      Discussion

      +

      + paragraph 2 about of F + +

      +
      +
      +
        +
      1. #include <stdio.h> +void main() +{ + printf("hello\n"); +} +
      2. +
      +
      +
      +
      + +

      +
      + + +
      + +
      + +
    • +
      +
      + E +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + comment1 +

      +
      + +
      + +
      + +
    • +
      +
      + g +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int g; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + comment2 +

      +
      + +
      + +
      + +
    • +
      +
      + LS +
      +
      +
      +
      +

      Declaration

      +
      +

      + + wchar LS; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + UTF line separator +

      +
      + +
      + +
      + +
    • +
      +
      + PS +
      +
      +
      +
      +

      Declaration

      +
      +

      + + wchar PS; +
      +wchar _XX; +
      +wchar YY; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + UTF paragraph separator +

      +
      + +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int foo(char c, int argulid, char u); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Function foo takes argument c and adds it to argulid. + +

      +
      +
      +

      Discussion

      +

      + Then it munges argulid, u underline. + +

      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + +
      + + char c + + +
      +

      + the character which adds c to argulid +

      +
      +
      + + int argulid + + +
      +

      + the argument +

      +
      +
      + + char u + + +
      +

      + the other argument +

      +
      +
      +
      + +
      + +
      + +
    • +
      +
      + barr +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int barr(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + doc for barr() +

      +
      + +
      + +
      + +
    • +
      +
      + Bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Bar; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + The Class Bar +

      +
      + +
      +
        +
      • +
        +
        + x +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int x; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + member X +

        +
        + +
        + +
        + +
      • +
        +
        + y +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int y; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + member Y +

        +
        + +
        + +
        + +
      • +
        +
        + z +
        +
        +
        +
        +

        Declaration

        +
        +

        + + protected int z; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + member Z +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Easy +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum Easy: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + The Enum Easy +

      +
      + +
      +
        +
      • +
        +
        + red +
        +
        +
        +
        +

        Declaration

        +
        +

        + + red + +

        +
        +
        +
        +
        +
        +
        +
        +

        + the Red +

        +
        + +
        + +
        + +
      • +
        +
        + blue +
        +
        +
        +
        +

        Declaration

        +
        +

        + + blue + +

        +
        +
        +
        +
        +
        +
        +
        +

        + the Blue +

        +
        + +
        + +
        + +
      • +
        +
        + green +
        +
        +
        +
        +

        Declaration

        +
        +

        + + green + +

        +
        +
        +
        +
        +
        +
        +
        +

        + the Green +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10.html b/test/compilable/extra-files/ddoc10.html index 4970e0c1c7a0..63989a5225cc 100644 --- a/test/compilable/extra-files/ddoc10.html +++ b/test/compilable/extra-files/ddoc10.html @@ -1,161 +1,1365 @@ - - - ddoc10 - -

    ddoc10

    -

    -
    struct Foo(T); -
    struct Foo(T, U); -
    -
    The foo

    - -
    -
    int func1(T)(T x); -
    -
    This basic case doesn't work very well. The template signature is - documented twice, but the function signature (argument names and return - type) is not documented at all. This comment is also repeated twice.

    - -
    -
    int func2(T, U)(T x, U y); -
    int func2(T)(T x); -
    -
    This comment is also repeated twice, and the second function signature is - not very well documented.

    - -
    -
    int func2()(); -
    -
    Separate overload item.

    - -
    -
    int func3(T, U)(T x, U y); -
    int func3(T, U = int, V : long)(T x); -
    -
    This used to work adequately and documented both func3 templates - simultaneously. Now, it documents the first template twice and - no longer documents the function argument and return types.

    - -
    -
    void map(char rs); -
    void map(int rs); -
    -
    blah

    - -
    -
    void map2()(char rs); -
    void map2()(int rs); -
    -
    blah

    - -
    -
    void map3(char rs); -
    -
    blah http://www.map3.com map3

    - -
    -
    void map4(string s)(char rs); -
    -
    blah http://www.map.com map

    - -
    -
    template map5(string s)
    -
    blah http://www.map.com map

    - -
    -
    struct bar6; -
    -
    blah

    - -
    -
    struct Foo7(T); -
    -
    template bodies

    - -
    void bar(); -
    -
    Attempt two: Inside. -

    -Attempt one: Doc outside static if.

    - -
    -
    static void abc(); -
    -
    the abc function should be static

    - -
    -
    -
    -
    abstract class Foo8; -
    -
    show abstract

    - -
    -
    void bug4878(string a = ")"); -
    -
    a stray ) mustn't foul the macros

    - -
    -
    struct S; -
    -


    -
    const pure nothrow this(long ticks); -
    -


    -
    -
    const pure nothrow void foo(long ticks); -
    -


    -
    -
    -
    -
    float f10(float a, float b); -
    -
    Produces something in (a;b]

    - -
    -
    float h10(float a, float b); -
    -
    Produces something in [a;b)

    - -
    -
    void bug6090(string f = "$(B b)", char g = ')')(string h = "$(", string i = "$)"); -
    -


    -
    -
    struct T; -
    -


    -
    this(A...)(A args); -
    -


    -
    -
    this(int); -
    -


    -
    -
    -
    -
    int x14547; -
    enum int y14547; -
    -
    doc-comment

    - -
    -
    enum auto isInt14547(T); -
    enum bool isString14547(T); -
    static immutable typeName14547(T); -
    int storageFor14547(T); -
    -
    doc-comment

    - -
    -
    enum int foo14547(T); -
    template bar14547(T) if (is(T == int))
    -
    doc-comment

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10 + + + +
    +
    +

    ddoc10

    +
    +
    +
    +
      +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct Foo(T); +
      +struct Foo(T, U); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + The foo +

      +
      + +
      + +
      + +
    • +
      +
      + func1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int func1(T)(T x); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + This basic case doesn't work very well. The template signature is + documented twice, but the function signature (argument names and return + type) is not documented at all. This comment is also repeated twice. +

      +
      + +
      + +
      + +
    • +
      +
      + func2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int func2(T, U)(T x, U y); +
      +int func2(T)(T x); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + This comment is also repeated twice, and the second function signature is + not very well documented. +

      +
      + +
      + +
      + +
    • +
      +
      + func2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int func2()(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Separate overload item. +

      +
      + +
      + +
      + +
    • +
      +
      + func3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int func3(T, U)(T x, U y); +
      +int func3(T, U = int, V : long)(T x); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + This used to work adequately and documented both func3 templates + simultaneously. Now, it documents the first template twice and + no longer documents the function argument and return types. +

      +
      + +
      + +
      + +
    • +
      +
      + map +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void map(char rs); +
      +void map(int rs); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah +

      +
      + +
      + +
      + +
    • +
      +
      + map2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void map2()(char rs); +
      +void map2()(int rs); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah +

      +
      + +
      + +
      + +
    • +
      +
      + map3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void map3(char rs); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah http://www.map3.com map3 +

      +
      + +
      + +
      + +
    • +
      +
      + map4 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void map4(string s)(char rs); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah http://www.map.com map +

      +
      + +
      + +
      + +
    • +
      +
      + map5 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template map5(string s) + +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah http://www.map.com map +

      +
      + +
      + +
      + +
    • +
      +
      + bar6 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct bar6; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + blah +

      +
      + +
      + +
      + +
    • +
      +
      + Foo7 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct Foo7(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + template bodies +

      +
      + +
      +
        +
      • +
        +
        + bar +
        +
        +
        +
        +

        Declaration

        +
        +

        + + void bar(); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Attempt two: Inside. + +

        +
        +
        +

        Discussion

        +

        + Attempt one: Doc outside static if. +

        +
        + +
        + +
        + +
      • +
        +
        + abc +
        +
        +
        +
        +

        Declaration

        +
        +

        + + static void abc(); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + the abc function should be static +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Foo8 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + abstract class Foo8; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + show abstract +

      +
      + +
      + +
      + +
    • +
      +
      + bug4878 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void bug4878(string a = ")"); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + a stray ) mustn't foul the macros +

      +
      + +
      + +
      + +
    • +
      +
      + S +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + const pure nothrow this(long ticks); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + const pure nothrow void foo(long ticks); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
      +
      + f10 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + float f10(float a, float b); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Produces something in (a;b] +

      +
      + +
      + +
      + +
    • +
      +
      + h10 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + float h10(float a, float b); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Produces something in [a;b) +

      +
      + +
      + +
      + +
    • +
      +
      + bug6090 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void bug6090(string f = "$(B b)", char g = ')')(string h = "$(", string i = "$)"); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + T +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct T; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(A...)(A args); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(int); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
      +
      + x14547 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int x14547; +
      +enum int y14547; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + doc-comment +

      +
      + +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + enum auto isInt14547(T); +
      +enum bool isString14547(T); +
      +static immutable typeName14547(T); +
      +int storageFor14547(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + doc-comment +

      +
      + +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + enum int foo14547(T); +
      +template bar14547(T) if (is(T == int)) +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + doc-comment +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10325.html b/test/compilable/extra-files/ddoc10325.html index b9e478bbbb7d..df21ed363591 100644 --- a/test/compilable/extra-files/ddoc10325.html +++ b/test/compilable/extra-files/ddoc10325.html @@ -1,17 +1,528 @@ - - - ddoc10325 - -

    ddoc10325

    -

    -
    template templ(T...) if (someConstraint!T)
    -


    -
    -
    void foo(T)(T t) if (someConstraint!T); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10325 + + + +
    +
    +

    ddoc10325

    +
    +
    +
    +
      +
    • +
      +
      + templ +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template templ(T...) if (someConstraint!T) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(T)(T t) if (someConstraint!T); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10334.html b/test/compilable/extra-files/ddoc10334.html index bd620ffcb112..8ad215146959 100644 --- a/test/compilable/extra-files/ddoc10334.html +++ b/test/compilable/extra-files/ddoc10334.html @@ -1,67 +1,935 @@ - - - ddoc10334 - -

    ddoc10334

    -

    -
    template Foo10334(T) if (Bar10334!())
    -


    -
    -
    template Foo10334(T) if (Bar10334!100)
    -


    -
    -
    template Foo10334(T) if (Bar10334!3.14)
    -


    -
    -
    template Foo10334(T) if (Bar10334!"str")
    -


    -
    -
    template Foo10334(T) if (Bar10334!1.4i)
    -


    -
    -
    template Foo10334(T) if (Bar10334!null)
    -


    -
    -
    template Foo10334(T) if (Bar10334!true)
    -


    -
    -
    template Foo10334(T) if (Bar10334!false)
    -


    -
    -
    template Foo10334(T) if (Bar10334!'A')
    -


    -
    -
    template Foo10334(T) if (Bar10334!int)
    -


    -
    -
    template Foo10334(T) if (Bar10334!string)
    -


    -
    -
    template Foo10334(T) if (Bar10334!([1, 2, 3]))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(Baz10334!()))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(Baz10334!T))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(Baz10334!100))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(.foo))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(const(int)))
    -


    -
    -
    template Foo10334(T) if (Bar10334!(shared(T)))
    -


    -
    -
    template Test10334(T...)
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10334 + + + +
    +
    +

    ddoc10334

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!()) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!100) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!3.14) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!"str") + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!1.4i) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!null) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!true) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!false) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!'A') + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!int) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!string) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!([1, 2, 3])) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(Baz10334!())) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(Baz10334!T)) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(Baz10334!100)) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(.foo)) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(const(int))) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Foo10334(T) if (Bar10334!(shared(T))) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Test10334(T...) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10366.html b/test/compilable/extra-files/ddoc10366.html index 218742871414..e322d9e197ba 100644 --- a/test/compilable/extra-files/ddoc10366.html +++ b/test/compilable/extra-files/ddoc10366.html @@ -1,28 +1,585 @@ - - - ddoc10366 - -

    ddoc10366

    -

    -
    struct S(T); -
    -


    -
    void method(); -
    -


    -
    -
    struct Nested; -
    -


    -
    void nestedMethod(); -
    -


    -
    -
    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10366 + + + +
    +
    +

    ddoc10366

    +
    +
    +
    +
      +
    • +
      +
      + S +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S(T); + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + method +
        +
        +
        +
        +

        Declaration

        +
        +

        + + void method(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + Nested +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct Nested; + + +

        +
        +
        +
        +
        +
        + +
          +
        • +
          + +
          +
          +
          +

          Declaration

          +
          +

          + + void nestedMethod(); + + +

          +
          +
          +
          +
          +
          + + +
          + +
        • +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10367.html b/test/compilable/extra-files/ddoc10367.html index 01686c3972ef..e0041fe293c9 100644 --- a/test/compilable/extra-files/ddoc10367.html +++ b/test/compilable/extra-files/ddoc10367.html @@ -1,52 +1,770 @@ - - - ddoc10367 - -

    ddoc10367

    -

    -
    enum A: int; -
    -
    A

    - -
    a
    -
    a

    - -
    -
    b
    -
    b

    - -
    -
    -
    -
    enum B: long; -
    -
    B

    - -
    a
    -
    a

    - -
    -
    b
    -
    b

    - -
    -
    -
    -
    enum C: string; -
    -
    C

    - -
    a
    -
    a

    - -
    -
    b
    -
    b

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10367 + + + +
    +
    +

    ddoc10367

    +
    +
    +
    +
      +
    • +
      +
      + A +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum A: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + A +

      +
      + +
      +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + a + +

        +
        +
        +
        +
        +
        +
        +
        +

        + a +

        +
        + +
        + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + b + +

        +
        +
        +
        +
        +
        +
        +
        +

        + b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + B +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum B: long; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + B +

      +
      + +
      +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + a + +

        +
        +
        +
        +
        +
        +
        +
        +

        + a +

        +
        + +
        + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + b + +

        +
        +
        +
        +
        +
        +
        +
        +

        + b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + C +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum C: string; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + C +

      +
      + +
      +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + a + +

        +
        +
        +
        +
        +
        +
        +
        +

        + a +

        +
        + +
        + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + b + +

        +
        +
        +
        +
        +
        +
        +
        +

        + b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10869.html b/test/compilable/extra-files/ddoc10869.html index 47321ab577a7..ec7e7abefb82 100644 --- a/test/compilable/extra-files/ddoc10869.html +++ b/test/compilable/extra-files/ddoc10869.html @@ -1,31 +1,607 @@ - - - ddoc10869 - -

    ddoc10869

    -

    -
    class C; -
    -


    -
    const void c1Foo(); -
    -


    -
    -
    immutable void i1Foo(); -
    -


    -
    -
    immutable void c2Foo(); -
    -


    -
    -
    immutable void i2Foo(); -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10869 + + + +
    +
    +

    ddoc10869

    +
    +
    +
    +
      +
    • +
      +
      + C +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class C; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + c1Foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + const void c1Foo(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + i1Foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + immutable void i1Foo(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + c2Foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + immutable void c2Foo(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + i2Foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + immutable void i2Foo(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc10870.html b/test/compilable/extra-files/ddoc10870.html index 32bd530f03ec..f7ba3337760a 100644 --- a/test/compilable/extra-files/ddoc10870.html +++ b/test/compilable/extra-files/ddoc10870.html @@ -1,19 +1,532 @@ - - - ddoc10870 - -

    ddoc10870

    -

    -
    interface I; -
    -


    -
    abstract void f(); -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc10870 + + + +
    +
    +

    ddoc10870

    +
    +
    +
    +
      +
    • +
      +
      + I +
      +
      +
      +
      +

      Declaration

      +
      +

      + + interface I; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + f +
        +
        +
        +
        +

        Declaration

        +
        +

        + + abstract void f(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc11.html b/test/compilable/extra-files/ddoc11.html index 211b654d7933..6c4416e581eb 100644 --- a/test/compilable/extra-files/ddoc11.html +++ b/test/compilable/extra-files/ddoc11.html @@ -1,91 +1,1009 @@ - - - ddoc11 - -

    ddoc11

    -

    -
    FE_INVALID
    -


    -
    -
    FE_DENORMAL
    -


    -
    -
    FE_DIVBYZERO
    -


    -
    -
    FE_OVERFLOW
    -


    -
    -
    FE_UNDERFLOW
    -


    -
    -
    FE_INEXACT
    -


    -
    -
    FE_ALL_EXCEPT
    -
    Mask of all the exceptions

    - -
    -
    myint bar; -
    -


    -
    -
    myint foo(myint x = myint.max); -
    -


    -
    -
    class Foo; -
    -


    -
    this(string s); -
    -


    -
    -
    -
    -
    struct div_t; -
    -


    -
    -
    struct ldiv_t; -
    -


    -
    -
    struct lldiv_t; -
    -


    -
    -
    div_t div(int, int); -
    -


    -
    -
    ldiv_t ldiv(int, int); -
    -


    -
    -
    lldiv_t lldiv(long, long); -
    -


    -
    -
    void* calloc(size_t, size_t); -
    -


    -
    -
    void* malloc(size_t); -
    -
    dittx

    - -
    -
    void test1(); -
    -
    Example:
    -
    private:
    -    int i = 0;
    -
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc11 + + + +
    +
    +

    ddoc11

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_INVALID + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_DENORMAL + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_DIVBYZERO + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_OVERFLOW + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_UNDERFLOW + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_INEXACT + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + FE_ALL_EXCEPT + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Mask of all the exceptions +

      +
      + +
      + +
      + +
    • +
      +
      + bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + myint bar; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + myint foo(myint x = myint.max); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Foo; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(string s); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
      +
      + div_t +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct div_t; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + ldiv_t +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct ldiv_t; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + lldiv_t +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct lldiv_t; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + div +
      +
      +
      +
      +

      Declaration

      +
      +

      + + div_t div(int, int); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + ldiv +
      +
      +
      +
      +

      Declaration

      +
      +

      + + ldiv_t ldiv(int, int); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + lldiv +
      +
      +
      +
      +

      Declaration

      +
      +

      + + lldiv_t lldiv(long, long); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + calloc +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void* calloc(size_t, size_t); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + malloc +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void* malloc(size_t); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + dittx +

      +
      + +
      + +
      + +
    • +
      +
      + test1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void test1(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Example: + +

      +
      +
      +
        +
      1. private: + int i = 0; +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc11479.html b/test/compilable/extra-files/ddoc11479.html index 2d7778ceb7ba..bc26224f62dc 100644 --- a/test/compilable/extra-files/ddoc11479.html +++ b/test/compilable/extra-files/ddoc11479.html @@ -1,73 +1,863 @@ - - - ddoc11479 - -

    ddoc11479

    -

    -
    struct S1(T); -
    -


    -
    int a; -
    -


    -
    -
    int b; -
    -


    -
    -
    int c; -
    -


    -
    -
    -
    -
    struct S2(T); -
    -


    -
    int a; -
    -


    -
    -
    int b; -
    -


    -
    -
    int c; -
    -


    -
    -
    int d; -
    -


    -
    -
    -
    -
    struct S3(T); -
    -


    -
    int a; -
    -


    -
    -
    int b; -
    -


    -
    -
    int c; -
    -


    -
    -
    int d; -
    -


    -
    -
    int e; -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc11479 + + + +
    +
    +

    ddoc11479

    +
    +
    +
    +
      +
    • +
      +
      + S1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S1(T); + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int a; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int b; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + c +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int c; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
      +
      + S2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S2(T); + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int a; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int b; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + c +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int c; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + d +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int d; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
      +
      + S3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S3(T); + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + a +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int a; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + b +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int b; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + c +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int c; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + d +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int d; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + e +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int e; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc11511.html b/test/compilable/extra-files/ddoc11511.html index 0f384c731987..f03490bcdacb 100644 --- a/test/compilable/extra-files/ddoc11511.html +++ b/test/compilable/extra-files/ddoc11511.html @@ -1,34 +1,633 @@ - - - ddoc11511 - -

    ddoc11511

    -

    -
    void foo(int abcd, int bcdef, ...); -
    -
    Params:
    - - - - - - -
    int abcdnone1
    int bcdefnone23
    ...doo

    - -
    -
    void foo(int abcd, int bcdef, int[] arr...); -
    -
    Params:
    - - - - - - -
    int abcdnone1
    int bcdefnone23
    int[] arrdoo

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc11511 + + + +
    +
    +

    ddoc11511

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(int abcd, int bcdef, ...); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + +
      + + int abcd + + +
      +

      + none1 +

      +
      +
      + + int bcdef + + +
      +

      + none23 +

      +
      +
      + + ... + + +
      +

      + doo +

      +
      +
      +
      + +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(int abcd, int bcdef, int[] arr...); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + +
      + + int abcd + + +
      +

      + none1 +

      +
      +
      + + int bcdef + + +
      +

      + none23 +

      +
      +
      + + int[] arr + + +
      +

      + doo +

      +
      +
      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc11823.html b/test/compilable/extra-files/ddoc11823.html index eaa428631ebe..bd3a64d83ad6 100644 --- a/test/compilable/extra-files/ddoc11823.html +++ b/test/compilable/extra-files/ddoc11823.html @@ -1,15 +1,511 @@ - - - ddoc11823 - -

    ddoc11823

    -

    -
    void file(string arg); -
    -
    file function name is file, arg defaults to __FILE__ but not _something__

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc11823 + + + +
    +
    +

    ddoc11823

    +
    +
    +
    +
      +
    • +
      +
      + file +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void file(string arg); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + file function name is file, arg defaults to __FILE__ but not _something__ +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc12.html b/test/compilable/extra-files/ddoc12.html index 830c87618185..a6b0b09259dc 100644 --- a/test/compilable/extra-files/ddoc12.html +++ b/test/compilable/extra-files/ddoc12.html @@ -1,36 +1,628 @@ - - - ddoc12 - -

    ddoc12

    -

    -
    int ruhred; -
    -
    This documents correctly.

    - -
    -
    int rühred; -
    -
    This should too

    - -
    -
    int foo(int ü, int ş, int ğ); -
    -
    BUG:
    -The parameters are not listed under Params in the generated output - -

    -Params:
    - - - - - - -
    int üfirst
    int ÅŸsecond
    int ÄŸthird

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc12 + + + +
    +
    +

    ddoc12

    +
    +
    +
    +
      +
    • +
      +
      + ruhred +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int ruhred; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + This documents correctly. +

      +
      + +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + int rühred; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + This should too +

      +
      + +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int foo(int ü, int ş, int ğ); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + BUG: +The parameters are not listed under Params in the generated output + + +

      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + +
      + + int ü + + +
      +

      + first +

      +
      +
      + + int ÅŸ + + +
      +

      + second +

      +
      +
      + + int ÄŸ + + +
      +

      + third +

      +
      +
      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc12706.html b/test/compilable/extra-files/ddoc12706.html index cc6e1996aa8b..03c42d55cba8 100644 --- a/test/compilable/extra-files/ddoc12706.html +++ b/test/compilable/extra-files/ddoc12706.html @@ -1,14 +1,504 @@ - - - ddoc12706 - -

    ddoc12706

    -

    -
    void test()(string[] args) if (args[$]); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc12706 + + + +
    +
    +

    ddoc12706

    +
    +
    +
    +
      +
    • +
      +
      + test +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void test()(string[] args) if (args[$]); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc12745.html b/test/compilable/extra-files/ddoc12745.html index 40dcf4b1e2c5..ac2984c51ab9 100644 --- a/test/compilable/extra-files/ddoc12745.html +++ b/test/compilable/extra-files/ddoc12745.html @@ -1,31 +1,532 @@ - - - ddoc12745 - -

    ddoc12745

    -

    -
    int i; -
    -
    i underlined
    -i not underlined
    -_i force underscore
    -
    -0 not underscored
    -_0 force underscored -

    -1 underscore: -
    -1_1
    -1_a
    -a_1
    -a_a
    -
    -2 underscores:
    -1__a
    -2__b

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc12745 + + + +
    +
    +

    ddoc12745

    +
    +
    +
    +
      +
    • +
      +
      + i +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int i; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + i underlined
      +i not underlined
      +_i force underscore
      +
      +0 not underscored
      +_0 force underscored + +

      +
      +
      +

      Discussion

      +

      + 1 underscore: +
      +1_1
      +1_a
      +a_1
      +a_a
      +
      +2 underscores:
      +1__a
      +2__b +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc13.html b/test/compilable/extra-files/ddoc13.html index 24fda54ad09e..e8dc09c457c6 100644 --- a/test/compilable/extra-files/ddoc13.html +++ b/test/compilable/extra-files/ddoc13.html @@ -1,50 +1,718 @@ - - - ddoc13 - -

    ddoc13

    -

    -
    struct Bug4107(T); -
    -
    struct doc

    - -
    void foo(U)(U u); -
    -
    templated function doc

    - -
    -
    -
    -
    struct Bug4107b(T); -
    -
    alpha

    - -
    struct B(U); -
    -
    beta

    - -
    struct C(V); -
    -
    gamma

    - -
    struct D(W); -
    -
    delta

    - -
    B!W e(X)(C!V c, X[] x...); -
    -
    epsilon

    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc13 + + + +
    +
    +

    ddoc13

    +
    +
    +
    +
      +
    • +
      +
      + Bug4107 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct Bug4107(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + struct doc +

      +
      + +
      +
        +
      • +
        +
        + foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + void foo(U)(U u); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + templated function doc +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + struct Bug4107b(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + alpha +

      +
      + +
      +
        +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct B(U); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + beta +

        +
        + +
        +
          +
        • +
          +
          + C +
          +
          +
          +
          +

          Declaration

          +
          +

          + + struct C(V); + + +

          +
          +
          +
          +
          +
          +
          +
          +

          + gamma +

          +
          + +
          +
            +
          • +
            +
            + D +
            +
            +
            +
            +

            Declaration

            +
            +

            + + struct D(W); + + +

            +
            +
            +
            +
            +
            +
            +
            +

            + delta +

            +
            + +
            +
              +
            • +
              +
              + e +
              +
              +
              +
              +

              Declaration

              +
              +

              + + B!W e(X)(C!V c, X[] x...); + + +

              +
              +
              +
              +
              +
              +
              +
              +

              + epsilon +

              +
              + +
              + +
              + +
            • +
            + +
            + +
          • +
          + +
          + +
        • +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc13270.html b/test/compilable/extra-files/ddoc13270.html index d9620f48c62b..e07f8a47b73f 100644 --- a/test/compilable/extra-files/ddoc13270.html +++ b/test/compilable/extra-files/ddoc13270.html @@ -1,25 +1,564 @@ - - - ddoc13270 - -

    ddoc13270

    -

    -
    void doStuff(string task); -
    void doStuff(string[] tasks, int maxJobs); -
    -
    My overloaded function. -

    -Params:
    - - - - - - -
    string taskString description of stuff to do.
    string[] tasksArray of descriptions of stuff to do.
    int maxJobsMax parallel jobs to run while doing stuff.

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc13270 + + + +
    +
    +

    ddoc13270

    +
    +
    +
    +
      +
    • +
      +
      + doStuff +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void doStuff(string task); +
      +void doStuff(string[] tasks, int maxJobs); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + My overloaded function. + +

      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + +
      + + string task + + +
      +

      + String description of stuff to do. +

      +
      +
      + + string[] tasks + + +
      +

      + Array of descriptions of stuff to do. +

      +
      +
      + + int maxJobs + + +
      +

      + Max parallel jobs to run while doing stuff. +

      +
      +
      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc13645.html b/test/compilable/extra-files/ddoc13645.html index 6eb9f8f4a5d5..8843df0a226d 100644 --- a/test/compilable/extra-files/ddoc13645.html +++ b/test/compilable/extra-files/ddoc13645.html @@ -1,10 +1,479 @@ - - - ddoc13645 - -

    ddoc13645

    -Documentation comment on module

    - - -
    Page generated by Ddoc. - + + + + + + ddoc13645 + + + +
    +
    +

    ddoc13645

    +
    +
    +

    + Documentation comment on module +

    +
    + +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc14.html b/test/compilable/extra-files/ddoc14.html index b0d251c8e492..8449c6e8412e 100644 --- a/test/compilable/extra-files/ddoc14.html +++ b/test/compilable/extra-files/ddoc14.html @@ -1,157 +1,1413 @@ - - - ddoc14 - -

    ddoc14

    -

    -
    struct Structure; -
    -
    -1

    - -
    P variable; -
    -
    0

    - -
    -
    V mNone(lazy P p); -
    -
    1

    - -
    -
    pure nothrow V mPrefix(lazy P p); -
    -
    2

    - -
    -
    pure nothrow V mSuffix(lazy P p); -
    -
    3

    - -
    -
    pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); -
    -
    5

    - -
    -
    pure nothrow V mScoped(lazy P p); -
    -
    6

    - -
    -
    pure nothrow auto mAutoPrefix(ref P p); -
    -
    7

    - -
    -
    pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); -
    -
    9

    - -
    -
    pure nothrow V mColon(lazy P p); -
    -
    10

    - -
    -
    -
    -
    class Class; -
    -
    -1

    - -
    P variable; -
    -
    0

    - -
    -
    V mNone(lazy P p); -
    -
    1

    - -
    -
    pure nothrow V mPrefix(lazy P p); -
    -
    2

    - -
    -
    pure nothrow V mSuffix(lazy P p); -
    -
    3

    - -
    -
    pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); -
    -
    5

    - -
    -
    pure nothrow V mScoped(lazy P p); -
    -
    6

    - -
    -
    pure nothrow auto mAutoPrefix(ref P p); -
    -
    7

    - -
    -
    pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); -
    -
    9

    - -
    -
    pure nothrow V mColon(lazy P p); -
    -
    10

    - -
    -
    -
    -
    P variable; -
    -
    0

    - -
    -
    V mNone(lazy P p); -
    -
    1

    - -
    -
    pure nothrow V mPrefix(lazy P p); -
    -
    2

    - -
    -
    pure nothrow V mSuffix(lazy P p); -
    -
    3

    - -
    -
    pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); -
    -
    5

    - -
    -
    pure nothrow V mScoped(lazy P p); -
    -
    6

    - -
    -
    pure nothrow auto mAutoPrefix(ref P p); -
    -
    7

    - -
    -
    pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); -
    -
    9

    - -
    -
    pure nothrow V mColon(lazy P p); -
    -
    10

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc14 + + + +
    +
    +

    ddoc14

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + struct Structure; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + -1 +

      +
      + +
      +
        +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + P variable; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 0 +

        +
        + +
        + +
        + +
      • +
        +
        + mNone +
        +
        +
        +
        +

        Declaration

        +
        +

        + + V mNone(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 1 +

        +
        + +
        + +
        + +
      • +
        +
        + mPrefix +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mPrefix(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 2 +

        +
        + +
        + +
        + +
      • +
        +
        + mSuffix +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mSuffix(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 3 +

        +
        + +
        + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 5 +

        +
        + +
        + +
        + +
      • +
        +
        + mScoped +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mScoped(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 6 +

        +
        + +
        + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow auto mAutoPrefix(ref P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 7 +

        +
        + +
        + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 9 +

        +
        + +
        + +
        + +
      • +
        +
        + mColon +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mColon(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 10 +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Class +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Class; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + -1 +

      +
      + +
      +
        +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + P variable; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 0 +

        +
        + +
        + +
        + +
      • +
        +
        + mNone +
        +
        +
        +
        +

        Declaration

        +
        +

        + + V mNone(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 1 +

        +
        + +
        + +
        + +
      • +
        +
        + mPrefix +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mPrefix(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 2 +

        +
        + +
        + +
        + +
      • +
        +
        + mSuffix +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mSuffix(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 3 +

        +
        + +
        + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 5 +

        +
        + +
        + +
        + +
      • +
        +
        + mScoped +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mScoped(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 6 +

        +
        + +
        + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow auto mAutoPrefix(ref P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 7 +

        +
        + +
        + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 9 +

        +
        + +
        + +
        + +
      • +
        +
        + mColon +
        +
        +
        +
        +

        Declaration

        +
        +

        + + pure nothrow V mColon(lazy P p); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + 10 +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + P variable; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 0 +

      +
      + +
      + +
      + +
    • +
      +
      + mNone +
      +
      +
      +
      +

      Declaration

      +
      +

      + + V mNone(lazy P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 1 +

      +
      + +
      + +
      + +
    • +
      +
      + mPrefix +
      +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow V mPrefix(lazy P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 2 +

      +
      + +
      + +
      + +
    • +
      +
      + mSuffix +
      +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow V mSuffix(lazy P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 3 +

      +
      + +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow V mSuffixTemplate(T)(lazy P p, T[] t...); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 5 +

      +
      + +
      + +
      + +
    • +
      +
      + mScoped +
      +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow V mScoped(lazy P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 6 +

      +
      + +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow auto mAutoPrefix(ref P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 7 +

      +
      + +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow auto mAutoTemplateSuffix(alias T)(ref T t); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 9 +

      +
      + +
      + +
      + +
    • +
      +
      + mColon +
      +
      +
      +
      +

      Declaration

      +
      +

      + + pure nothrow V mColon(lazy P p); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 10 +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc14383.html b/test/compilable/extra-files/ddoc14383.html index fded24ef6577..807dfdc64127 100644 --- a/test/compilable/extra-files/ddoc14383.html +++ b/test/compilable/extra-files/ddoc14383.html @@ -1,15 +1,496 @@ - - - ddoc14383 - -

    ddoc14383

    -Module docs.

    -Examples:
    -Ddoc'd unittest -
    -int iShouldAppearInTheDocs;
    -
    -

    - -
    Page generated by Ddoc. - + + + + + + ddoc14383 + + + +
    +
    +

    ddoc14383

    +
    +
    +

    + Module docs. +

    +
    +
    +

    Examples

    +

    + Ddoc'd unittest + +

    +
    +
    +
      +
    1. int iShouldAppearInTheDocs; +
    2. +
    +
    +
    +
    + +

    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc14778.html b/test/compilable/extra-files/ddoc14778.html index cbf0ef99fc0d..66989cc1b139 100644 --- a/test/compilable/extra-files/ddoc14778.html +++ b/test/compilable/extra-files/ddoc14778.html @@ -1,70 +1,865 @@ - - - ddoc14778 - -

    ddoc14778

    -

    -
    template Z14778(T)
    -
    docs for Z

    - -
    enum E; -
    -
    docs for E

    - -
    -
    enum auto x; -
    -
    docs for x

    - -
    -
    auto mv; -
    -
    docs for mv

    - -
    -
    inout wv; -
    -
    docs for wv

    - -
    -
    const cv; -
    -
    doc for cv

    - -
    -
    inout const wcv; -
    -
    docs for wcv

    - -
    -
    shared sv; -
    -
    doc for sv

    - -
    -
    shared inout swv; -
    -
    doc for swv

    - -
    -
    shared const scv; -
    -
    doc for scv

    - -
    -
    shared inout const swcv; -
    -
    docs for swcv

    - -
    -
    immutable iv; -
    -
    doc for iv

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc14778 + + + +
    +
    +

    ddoc14778

    +
    +
    +
    +
      +
    • +
      +
      + Z14778 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template Z14778(T) + +

      +
      +
      +
      +
      +
      +
      +
      +

      + docs for Z +

      +
      + +
      +
        +
      • +
        +
        + E +
        +
        +
        +
        +

        Declaration

        +
        +

        + + enum E; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for E +

        +
        + +
        + +
        + +
      • +
        +
        + x +
        +
        +
        +
        +

        Declaration

        +
        +

        + + enum auto x; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for x +

        +
        + +
        + +
        + +
      • +
        +
        + mv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + auto mv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for mv +

        +
        + +
        + +
        + +
      • +
        +
        + wv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + inout wv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for wv +

        +
        + +
        + +
        + +
      • +
        +
        + cv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + const cv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + doc for cv +

        +
        + +
        + +
        + +
      • +
        +
        + wcv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + inout const wcv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for wcv +

        +
        + +
        + +
        + +
      • +
        +
        + sv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + shared sv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + doc for sv +

        +
        + +
        + +
        + +
      • +
        +
        + swv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + shared inout swv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + doc for swv +

        +
        + +
        + +
        + +
      • +
        +
        + scv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + shared const scv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + doc for scv +

        +
        + +
        + +
        + +
      • +
        +
        + swcv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + shared inout const swcv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + docs for swcv +

        +
        + +
        + +
        + +
      • +
        +
        + iv +
        +
        +
        +
        +

        Declaration

        +
        +

        + + immutable iv; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + doc for iv +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc15475.html b/test/compilable/extra-files/ddoc15475.html index 6d20808fb2e6..19c1cfad5acd 100644 --- a/test/compilable/extra-files/ddoc15475.html +++ b/test/compilable/extra-files/ddoc15475.html @@ -1,14 +1,492 @@ - - - ddoc15475 - -

    ddoc15475

    -My module -
       // Computes the interval [x,y)
    -   auto interval = computeInterval(x, y);
    -
    -

    - - -
    Page generated by Ddoc. - + + + + + + ddoc15475 + + + +
    +
    +

    ddoc15475

    +
    +
    +

    + My module + +

    +
    +
    +
      +
    1. // Computes the interval [x,y) + auto interval = computeInterval(x, y); +
    2. +
    +
    +
    +
    + +

    +
    + +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc198.html b/test/compilable/extra-files/ddoc198.html index 559f46f68387..a37b67920734 100644 --- a/test/compilable/extra-files/ddoc198.html +++ b/test/compilable/extra-files/ddoc198.html @@ -1,38 +1,654 @@ - - - ddoc198 - -

    ddoc198

    -

    -
    interface I1; -
    -


    -
    -
    class C1; -
    -


    -
    -
    class Foo: ddoc198.C1, ddoc198.I1; -
    -


    -
    -
    enum X: int; -
    -


    -
    -
    enum Y: X; -
    -


    -
    -
    struct S1; -
    -


    -
    -
    enum enS: S1; -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc198 + + + +
    +
    +

    ddoc198

    +
    +
    +
    +
      +
    • +
      +
      + I1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + interface I1; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + C1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class C1; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Foo: ddoc198.C1, ddoc198.I1; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum X: int; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + Y +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum Y: X; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + S1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S1; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + enS +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum enS: S1; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc2.html b/test/compilable/extra-files/ddoc2.html index f635362e21a6..cfbf75483365 100644 --- a/test/compilable/extra-files/ddoc2.html +++ b/test/compilable/extra-files/ddoc2.html @@ -1,51 +1,648 @@ - - - std.test - -

    std.test

    -Summary -

    -Description1 -

    - - Description2 -

    - - Description3 - -

    -See Also:
    -Things to see also. -

    - - And more things.

    - -
    class StreamException: object.Exception; -
    -
    A base class for stream exceptions.

    - -
    this(string msg, int foo); -
    -
    Construct a StreamException with given error message msg. -

    -Params:
    - - - - -
    string msgthe red blue green yellow.
    int foonext parameter which is a much longer - message spanning multiple - lines.

    - -
    -
    int stars; -
    -
    stars

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + std.test + + + +
    +
    +

    std.test

    +
    +
    +

    + Summary + +

    +
    +
    +

    Discussion

    +

    + Description1 + + + Description2 + + + Description3 + + +

    +
    +
    +

    See Also

    +

    + Things to see also. + + + And more things. +

    +
    + +
    +
    +
    +
      +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + class StreamException: object.Exception; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + A base class for stream exceptions. +

      +
      + +
      +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(string msg, int foo); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Construct a StreamException with given error message msg. + +

        +
        +
        +

        Parameters

        + + + + + + + + + + + + +
        + + string msg + + +
        +

        + the red blue green yellow. +

        +
        +
        + + int foo + + +
        +

        + next parameter which is a much longer + message spanning multiple + lines. +

        +
        +
        +
        + +
        + +
        + +
      • +
        +
        + stars +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int stars; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + stars +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc2273.html b/test/compilable/extra-files/ddoc2273.html index b3c96c578a13..788539f3ba48 100644 --- a/test/compilable/extra-files/ddoc2273.html +++ b/test/compilable/extra-files/ddoc2273.html @@ -1,37 +1,653 @@ - - - ddoc2273 - -

    ddoc2273

    -

    -
    interface B: ddoc2273.C, ddoc2273.D; -
    -


    -
    -
    class Foo: ddoc2273.A, ddoc2273.B; -
    -


    -
    -
    MinType!(T1, T2, T) min(T1, T2, T...)(T1 a, T2 b, T xs); -
    -


    -
    -
    Templ!([1, 2, 3]) max(T...)(); -
    -


    -
    -
    template Base64Impl(char Map62th, char Map63th, char Padding)
    -


    -
    -
    int sqlite3_config(int, ...); -
    -


    -
    -
    alias IndexOf = staticIndexOf(T, TList...); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc2273 + + + +
    +
    +

    ddoc2273

    +
    +
    +
    +
      +
    • +
      +
      + B +
      +
      +
      +
      +

      Declaration

      +
      +

      + + interface B: ddoc2273.C, ddoc2273.D; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Foo: ddoc2273.A, ddoc2273.B; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + min +
      +
      +
      +
      +

      Declaration

      +
      +

      + + MinType!(T1, T2, T) min(T1, T2, T...)(T1 a, T2 b, T xs); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + max +
      +
      +
      +
      +

      Declaration

      +
      +

      + + Templ!([1, 2, 3]) max(T...)(); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Base64Impl(char Map62th, char Map63th, char Padding) + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + int sqlite3_config(int, ...); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + IndexOf +
      +
      +
      +
      +

      Declaration

      +
      +

      + + alias IndexOf = staticIndexOf(T, TList...); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc3.html b/test/compilable/extra-files/ddoc3.html index 211bbdf39373..afaab6e1abdc 100644 --- a/test/compilable/extra-files/ddoc3.html +++ b/test/compilable/extra-files/ddoc3.html @@ -1,70 +1,676 @@ - - - std.test - -

    std.test

    -Summary -

    -Description1 -

    - - Description2 -

    - - Description3 - -

    -See Also:
    -Things to see also. -

    - - And more things
    - 'arg1, arg2, arg3' : arg1, arg2, arg3.
    - 'arg2, arg3' : arg2, arg3.
    - 'arg1' : arg1.
    - 'arg2' : arg2.
    - 'arg3' : arg3.
    -

    - - Things to see also world. -

    - - - -
    1 2 3
    4 5 6
    -

    - -
          pragma( name );
    -      pragma( name , option [ option ] );
    -      (
    -  


    - -
    class StreamException: object.Exception; -
    -
    A base class for stream exceptions.

    - -
    this(string msg, int foo); -
    -
    Construct a StreamException with given error message msg. -

    -Params:
    - - - - -
    string msgthe red blue green yellow.
    int foonext parameter which is a much longer - message spanning multiple - lines.

    - -
    -
    int stars; -
    -
    stars

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + std.test + + + +
    +
    +

    std.test

    +
    +
    +

    + Summary + +

    +
    +
    +

    Discussion

    +

    + Description1 + + + Description2 + + + Description3 + + +

    +
    +
    +

    See Also

    +

    + Things to see also. + + + And more things
    + 'arg1, arg2, arg3' : arg1, arg2, arg3.
    + 'arg2, arg3' : arg2, arg3.
    + 'arg1' : arg1.
    + 'arg2' : arg2.
    + 'arg3' : arg3.
    + + + Things to see also world. + + + + +
    1 2 3
    4 5 6
    + + + +

    +
    +
    +
      +
    1. pragma( name ); + pragma( name , option [ option ] ); + ( +
    2. +
    +
    +
    +
    +

    +
    + +
    +
    +
    +
      +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + class StreamException: object.Exception; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + A base class for stream exceptions. +

      +
      + +
      +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(string msg, int foo); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Construct a StreamException with given error message msg. + +

        +
        +
        +

        Parameters

        + + + + + + + + + + + + +
        + + string msg + + +
        +

        + the red blue green yellow. +

        +
        +
        + + int foo + + +
        +

        + next parameter which is a much longer + message spanning multiple + lines. +

        +
        +
        +
        + +
        + +
        + +
      • +
        +
        + stars +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int stars; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + stars +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc4.html b/test/compilable/extra-files/ddoc4.html index 1623a443f8f5..d6b23c4d6ba3 100644 --- a/test/compilable/extra-files/ddoc4.html +++ b/test/compilable/extra-files/ddoc4.html @@ -1,9 +1,472 @@ - - - ddoc4 - -

    ddoc4

    -

    - -
    Page generated by Ddoc. - + + + + + + ddoc4 + + + +
    +
    +

    ddoc4

    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc4162.html b/test/compilable/extra-files/ddoc4162.html index f3efccb01fa6..df89bfb166e2 100644 --- a/test/compilable/extra-files/ddoc4162.html +++ b/test/compilable/extra-files/ddoc4162.html @@ -1,23 +1,557 @@ - - - ddoc4162 - -

    ddoc4162

    -

    -
    interface A; -
    -


    -
    static void staticHello(); -
    -


    -
    -
    final void hello(); -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc4162 + + + +
    +
    +

    ddoc4162

    +
    +
    +
    +
      +
    • +
      +
      + A +
      +
      +
      +
      +

      Declaration

      +
      +

      + + interface A; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + static void staticHello(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + hello +
        +
        +
        +
        +

        Declaration

        +
        +

        + + final void hello(); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc5.html b/test/compilable/extra-files/ddoc5.html index 7193c4d4c5e0..fec325a4eabe 100644 --- a/test/compilable/extra-files/ddoc5.html +++ b/test/compilable/extra-files/ddoc5.html @@ -1,28 +1,577 @@ - - - test - -

    test

    -Test module -

    - -
    class TestMembers(TemplateArg); -
    -
    class to test DDOC on members

    - -
    static void PublicStaticMethod(int idx); -
    -
    a static method -

    -Params:
    - - -
    int idxindex

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + test + + + +
    +
    +

    test

    +
    +
    +

    + Test module + +

    +
    + +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + class TestMembers(TemplateArg); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class to test DDOC on members +

      +
      + +
      +
        +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + static void PublicStaticMethod(int idx); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + a static method + +

        +
        +
        +

        Parameters

        + + + + + + + + +
        + + int idx + + +
        +

        + index +

        +
        +
        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc5446.html b/test/compilable/extra-files/ddoc5446.html index eaf0e2aecf6a..9f9fa1e7da21 100644 --- a/test/compilable/extra-files/ddoc5446.html +++ b/test/compilable/extra-files/ddoc5446.html @@ -1,84 +1,935 @@ - - - ddoc5446 - -

    ddoc5446

    -

    -
    alias This_Foo = ddoc5446a.A_Foo; -
    -


    -
    -
    alias This_Foo_Alias = ddoc5446a.A_Foo; -
    -


    -
    -
    alias This_Int = int; -
    -


    -
    -
    alias This_Enum = ddoc5446a.A_Enum; -
    -


    -
    -
    deprecated alias A_Enum_New = ddoc5446b.A_Enum_New; -
    -


    -
    -
    struct Bar; -
    -


    -
    alias Bar_A_Foo = ddoc5446a.A_Foo; -
    -


    -
    -
    alias Bar_A_Foo_Alias = ddoc5446a.A_Foo; -
    -


    -
    -
    alias Bar_A_Int = int; -
    -


    -
    -
    alias Bar_This_Foo = ddoc5446a.A_Foo; -
    -


    -
    -
    alias Bar_This_Foo_Alias = ddoc5446a.A_Foo; -
    -


    -
    -
    alias Bar_This_Int = int; -
    -


    -
    -
    alias Nested_Alias = Nested; -
    -


    -
    -
    alias Fake_Nested = .Nested; -
    -


    -
    -
    struct Nested; -
    -


    -
    alias Bar_Nested_Bar_Alias = Bar; -
    -


    -
    -
    alias Bar_Alias = .Bar; -
    -


    -
    -
    struct Bar; -
    -


    -
    -
    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc5446 + + + +
    +
    +

    ddoc5446

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + alias This_Foo = ddoc5446a.A_Foo; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + alias This_Foo_Alias = ddoc5446a.A_Foo; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + alias This_Int = int; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + alias This_Enum = ddoc5446a.A_Enum; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + deprecated alias A_Enum_New = ddoc5446b.A_Enum_New; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + Bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct Bar; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_A_Foo = ddoc5446a.A_Foo; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_A_Foo_Alias = ddoc5446a.A_Foo; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_A_Int = int; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_This_Foo = ddoc5446a.A_Foo; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_This_Foo_Alias = ddoc5446a.A_Foo; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Bar_This_Int = int; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Nested_Alias = Nested; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        + +
        +
        +
        +

        Declaration

        +
        +

        + + alias Fake_Nested = .Nested; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
        +
        + Nested +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct Nested; + + +

        +
        +
        +
        +
        +
        + +
          +
        • +
          +
          +
          +

          Declaration

          +
          +

          + + alias Bar_Nested_Bar_Alias = Bar; + + +

          +
          +
          +
          +
          +
          + + +
          + +
        • +
          + +
          +
          +
          +

          Declaration

          +
          +

          + + alias Bar_Alias = .Bar; + + +

          +
          +
          +
          +
          +
          + + +
          + +
        • +
          +
          + Bar +
          +
          +
          +
          +

          Declaration

          +
          +

          + + struct Bar; + + +

          +
          +
          +
          +
          +
          + + +
          + +
        • +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc6.html b/test/compilable/extra-files/ddoc6.html index 59f194467c7b..b8ae1a388f71 100644 --- a/test/compilable/extra-files/ddoc6.html +++ b/test/compilable/extra-files/ddoc6.html @@ -1,14 +1,504 @@ - - - ddoc6 - -

    ddoc6

    -

    -
    struct MyStruct(T); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc6 + + + +
    +
    +

    ddoc6

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + struct MyStruct(T); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc648.html b/test/compilable/extra-files/ddoc648.html index c363c4464fa9..1cbf6c52815e 100644 --- a/test/compilable/extra-files/ddoc648.html +++ b/test/compilable/extra-files/ddoc648.html @@ -1,123 +1,1192 @@ - - - ddoc648 - -

    ddoc648

    -

    -
    template Mixin1()
    -
    Mixin declaration

    - -
    struct S; -
    -
    struct S

    - -
    -
    -
    -
    class A; -
    -
    class A

    - -
    int x; -
    -
    field x

    - -
    -
    struct S; -
    -
    struct S

    - -
    -
    -
    -
    class AB; -
    -
    class AB

    - -
    int x; -
    -
    field x

    - -
    -
    -
    -
    template Mixin2()
    -
    Mixin declaration2

    - -
    struct S2; -
    -
    struct S2

    - -
    -
    -
    -
    template Mixin3()
    -
    Mixin declaration3

    - -
    int f; -
    -
    another field

    - -
    -
    -
    -
    class B1; -
    -
    class B1

    - -
    int f; -
    -
    another field

    - -
    -
    struct S2; -
    -
    struct S2

    - -
    -
    -
    -
    template Mixin4()
    -
    Mixin declaration3

    - -
    int f; -
    -
    another field

    - -
    -
    -
    -
    class B2; -
    -
    class B2

    - -
    int f; -
    -
    another field

    - -
    -
    -
    -
    int f; -
    -
    another field

    - -
    -
    struct S2; -
    -
    struct S2

    - -
    -
    struct TS(T); -
    -


    -
    int field; -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc648 + + + +
    +
    +

    ddoc648

    +
    +
    +
    +
      +
    • +
      +
      + Mixin1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template Mixin1() + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Mixin declaration +

      +
      + +
      +
        +
      • +
        +
        + S +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct S; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + struct S +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + A +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class A; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class A +

      +
      + +
      +
        +
      • +
        +
        + x +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int x; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + field x +

        +
        + +
        + +
        + +
      • +
        +
        + S +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct S; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + struct S +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + AB +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class AB; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class AB +

      +
      + +
      +
        +
      • +
        +
        + x +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int x; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + field x +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Mixin2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template Mixin2() + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Mixin declaration2 +

      +
      + +
      +
        +
      • +
        +
        + S2 +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct S2; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + struct S2 +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Mixin3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template Mixin3() + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Mixin declaration3 +

      +
      + +
      +
        +
      • +
        +
        + f +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int f; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + another field +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + B1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class B1; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class B1 +

      +
      + +
      +
        +
      • +
        +
        + f +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int f; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + another field +

        +
        + +
        + +
        + +
      • +
        +
        + S2 +
        +
        +
        +
        +

        Declaration

        +
        +

        + + struct S2; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + struct S2 +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + Mixin4 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template Mixin4() + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Mixin declaration3 +

      +
      + +
      +
        +
      • +
        +
        + f +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int f; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + another field +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + B2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class B2; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class B2 +

      +
      + +
      +
        +
      • +
        +
        + f +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int f; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + another field +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + f +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int f; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + another field +

      +
      + +
      + +
      + +
    • +
      +
      + S2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S2; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + struct S2 +

      +
      + +
      + +
      + +
    • +
      +
      + TS +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct TS(T); + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + field +
        +
        +
        +
        +

        Declaration

        +
        +

        + + int field; + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc6491.html b/test/compilable/extra-files/ddoc6491.html index 390345fdfaed..1f7a0d61141e 100644 --- a/test/compilable/extra-files/ddoc6491.html +++ b/test/compilable/extra-files/ddoc6491.html @@ -1,15 +1,511 @@ - - - ddoc6491 - -

    ddoc6491

    -

    -
    void bug6491a(int a = ddoc6491.c6491, string b = core.cpuid.vendor); -
    -
    test

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc6491 + + + +
    +
    +

    ddoc6491

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void bug6491a(int a = ddoc6491.c6491, string b = core.cpuid.vendor); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + test +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc7.html b/test/compilable/extra-files/ddoc7.html index 881a0a7ef327..5c03086d7052 100644 --- a/test/compilable/extra-files/ddoc7.html +++ b/test/compilable/extra-files/ddoc7.html @@ -1,101 +1,1095 @@ - - - ddoc7 - -

    ddoc7

    -

    -
    enum E1: int; -
    -
    my enum

    - -
    A
    -
    element a

    - -
    -
    B
    -
    element b

    - -
    -
    -
    -
    enum E2: int; -
    -
    my enum

    - -
    A
    -
    element a

    - -
    -
    B
    -
    element b

    - -
    -
    -
    -
    enum E3: int; -
    -
    my enum

    - -
    A
    -
    element a

    - -
    -
    B
    -
    element b

    - -
    -
    -
    -
    enum E4: int; -
    -
    my enum

    - -
    A
    -
    element a

    - -
    -
    B
    -
    element b

    - -
    -
    -
    -
    enum E5: int; -
    -
    my enum

    - -
    A
    -
    element a

    - -
    -
    B
    -
    element b

    - -
    -
    -
    -
    void foo(); -
    -
    Some doc

    - -
    -
    alias bar = foo; -
    -
    More doc

    - -
    -
    abstract class C; -
    -
    asdf

    - -
    abstract void foo(); -
    -
    Some doc

    - -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc7 + + + +
    +
    +

    ddoc7

    +
    +
    +
    +
      +
    • +
      +
      + E1 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E1: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + my enum +

      +
      + +
      +
        +
      • +
        +
        + A +
        +
        +
        +
        +

        Declaration

        +
        +

        + + A + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element a +

        +
        + +
        + +
        + +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + B + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + E2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E2: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + my enum +

      +
      + +
      +
        +
      • +
        +
        + A +
        +
        +
        +
        +

        Declaration

        +
        +

        + + A + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element a +

        +
        + +
        + +
        + +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + B + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + E3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E3: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + my enum +

      +
      + +
      +
        +
      • +
        +
        + A +
        +
        +
        +
        +

        Declaration

        +
        +

        + + A + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element a +

        +
        + +
        + +
        + +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + B + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + E4 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E4: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + my enum +

      +
      + +
      +
        +
      • +
        +
        + A +
        +
        +
        +
        +

        Declaration

        +
        +

        + + A + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element a +

        +
        + +
        + +
        + +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + B + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + E5 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E5: int; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + my enum +

      +
      + +
      +
        +
      • +
        +
        + A +
        +
        +
        +
        +

        Declaration

        +
        +

        + + A + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element a +

        +
        + +
        + +
        + +
      • +
        +
        + B +
        +
        +
        +
        +

        Declaration

        +
        +

        + + B + +

        +
        +
        +
        +
        +
        +
        +
        +

        + element b +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Some doc +

      +
      + +
      + +
      + +
    • +
      +
      + bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + alias bar = foo; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + More doc +

      +
      + +
      + +
      + +
    • +
      +
      + C +
      +
      +
      +
      +

      Declaration

      +
      +

      + + abstract class C; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + asdf +

      +
      + +
      +
        +
      • +
        +
        + foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + abstract void foo(); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Some doc +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc7555.html b/test/compilable/extra-files/ddoc7555.html index 4fc09e58b40a..133358336d96 100644 --- a/test/compilable/extra-files/ddoc7555.html +++ b/test/compilable/extra-files/ddoc7555.html @@ -1,56 +1,557 @@ - - - ddoc7555 - -

    ddoc7555

    -

    -
    void dummy(); -
    -
    Dummy doc. -

    - DelimitedString - TokenString -

    - - DelimitedString - TokenString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString -

    - -HexString -HexString - -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc7555 + + + +
    +
    +

    ddoc7555

    +
    +
    +
    +
      +
    • +
      +
      + dummy +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void dummy(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Dummy doc. + +

      +
      +
      +

      Discussion

      +

      + DelimitedString + TokenString + + + DelimitedString + TokenString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +HexString +HexString + + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc7656.html b/test/compilable/extra-files/ddoc7656.html index 83759fd36ff0..c07c1bea70d2 100644 --- a/test/compilable/extra-files/ddoc7656.html +++ b/test/compilable/extra-files/ddoc7656.html @@ -1,28 +1,573 @@ - - - ddoc7656 - -

    ddoc7656

    -

    -
    void main(); -
    -
    int x; // This is a $ comment (and here is some
    -int y; // more information about that comment)
    -
    -

    - -
    -
    int add(int a, int b); -
    -
    (Regression check) -

    -Example:
    -
    assert(add(1, 1) == 2);
    -
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc7656 + + + +
    +
    +

    ddoc7656

    +
    +
    +
    +
      +
    • +
      +
      + main +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void main(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + +

      +
      +
      +
        +
      1. int x; // This is a $ comment (and here is some +int y; // more information about that comment) +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
      +
      + add +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int add(int a, int b); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + (Regression check) + +

      +
      +
      +

      + Example: + +

      +
      +
      +
        +
      1. assert(add(1, 1) == 2); +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc7715.html b/test/compilable/extra-files/ddoc7715.html index 8a1208dd8b48..9cfe1ac8a9af 100644 --- a/test/compilable/extra-files/ddoc7715.html +++ b/test/compilable/extra-files/ddoc7715.html @@ -1,22 +1,548 @@ - - - ddoc7656 - -

    ddoc7656

    -

    -
    void foo(); -
    -
    $1 $2 -
    string s = "$1$2 $ &#36;4";
    -
    -

    - -
    -
    void test(string a = ")"); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc7656 + + + +
    +
    +

    ddoc7656

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + $1 $2 + +

      +
      +
      +
        +
      1. string s = "$1$2 $ &#36;4"; +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
      +
      + test +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void test(string a = ")"); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc7795.html b/test/compilable/extra-files/ddoc7795.html index 60b59950a4a1..c4fc960ef22f 100644 --- a/test/compilable/extra-files/ddoc7795.html +++ b/test/compilable/extra-files/ddoc7795.html @@ -1,19 +1,532 @@ - - - ddoc7795 - -

    ddoc7795

    -

    -
    struct DateTime; -
    -


    -
    this(int x, TimeValue t = TimeValue(0, 0)); -
    -


    -
    -
    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc7795 + + + +
    +
    +

    ddoc7795

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + struct DateTime; + + +

      +
      +
      +
      +
      +
      + +
        +
      • +
        +
        + this +
        +
        +
        +
        +

        Declaration

        +
        +

        + + this(int x, TimeValue t = TimeValue(0, 0)); + + +

        +
        +
        +
        +
        +
        + + +
        + +
      • +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc8.html b/test/compilable/extra-files/ddoc8.html index 6b9462866c1f..308a224cdc06 100644 --- a/test/compilable/extra-files/ddoc8.html +++ b/test/compilable/extra-files/ddoc8.html @@ -1,15 +1,511 @@ - - - ddoc8 - -

    ddoc8

    -

    -
    class Foo(T): Bar; -
    -
    foo

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc8 + + + +
    +
    +

    ddoc8

    +
    +
    +
    +
      +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Foo(T): Bar; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc8271.html b/test/compilable/extra-files/ddoc8271.html index 19cd1488eabf..94a52a297a6b 100644 --- a/test/compilable/extra-files/ddoc8271.html +++ b/test/compilable/extra-files/ddoc8271.html @@ -1,16 +1,512 @@ - - - ddoc8271 - -

    ddoc8271

    -

    -
    void ddoc8271(); -
    -
    Macro -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc8271 + + + +
    +
    +

    ddoc8271

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void ddoc8271(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Macro + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc8739.html b/test/compilable/extra-files/ddoc8739.html index c16f646b561c..dff12718411c 100644 --- a/test/compilable/extra-files/ddoc8739.html +++ b/test/compilable/extra-files/ddoc8739.html @@ -1,26 +1,579 @@ - - - ddoc8739 - -

    ddoc8739

    -

    -
    void delegate(int a) dg; -
    -


    -
    -
    void delegate(int b) dg2; -
    -


    -
    -
    void delegate(int c)[] dg3; -
    -


    -
    -
    void delegate(int d)* dg4; -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc8739 + + + +
    +
    +

    ddoc8739

    +
    +
    +
    +
      +
    • +
      +
      + dg +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void delegate(int a) dg; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + dg2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void delegate(int b) dg2; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + dg3 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void delegate(int c)[] dg3; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + dg4 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void delegate(int d)* dg4; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9.html b/test/compilable/extra-files/ddoc9.html index c5e8d1681698..976ad976d26f 100644 --- a/test/compilable/extra-files/ddoc9.html +++ b/test/compilable/extra-files/ddoc9.html @@ -1,38 +1,669 @@ - - - ddoc9 - -

    ddoc9

    -

    -
    template Template(T)
    -
    Template Documentation (OK)

    - -
    -
    void Function(T)(T x); -
    -
    Function Documentation (Not included at all by DDoc)

    - -
    -
    class Class(T); -
    -
    Class Documentation (OK)

    - -
    -
    struct Struct(T); -
    -
    Struct Documentation

    - -
    -
    union Union(T); -
    -
    Union Documentation

    - -
    -
    template TemplateWithAnonEnum(T)
    -
    Template documentation with anonymous enum

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9 + + + +
    +
    +

    ddoc9

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Template(T) + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Template Documentation (OK) +

      +
      + +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void Function(T)(T x); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Function Documentation (Not included at all by DDoc) +

      +
      + +
      + +
      + +
    • +
      +
      + Class +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Class(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Class Documentation (OK) +

      +
      + +
      + +
      + +
    • +
      +
      + Struct +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct Struct(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Struct Documentation +

      +
      + +
      + +
      + +
    • +
      +
      + Union +
      +
      +
      +
      +

      Declaration

      +
      +

      + + union Union(T); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Union Documentation +

      +
      + +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + template TemplateWithAnonEnum(T) + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Template documentation with anonymous enum +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9037.html b/test/compilable/extra-files/ddoc9037.html index f3e5a425313c..5fe8297c442f 100644 --- a/test/compilable/extra-files/ddoc9037.html +++ b/test/compilable/extra-files/ddoc9037.html @@ -1,20 +1,534 @@ - - - ddoc9037 - -

    ddoc9037

    -

    -
    void test9037(); -
    -
    Example:
    -
    D d = d;
    -
    -
    D d = d;
    -
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9037 + + + +
    +
    +

    ddoc9037

    +
    +
    +
    +
      +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void test9037(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Example: + +

      +
      +
      +
        +
      1. D d = d; +
      2. +
      +
      +
      +
      + +
      +
      +
      +
        +
      1. D d = d; +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9155.html b/test/compilable/extra-files/ddoc9155.html index 1ed6a5d925f8..a403dc5ac53c 100644 --- a/test/compilable/extra-files/ddoc9155.html +++ b/test/compilable/extra-files/ddoc9155.html @@ -1,78 +1,627 @@ - - - ddoc9155 - -

    ddoc9155

    -

    -
    void foo(); -
    -
    Note:
    -test document note - 2nd line -

    -Example:
    -
    import std.stdio;   //&
    -writeln("Hello world!");
    -if (test) {
    -  writefln("D programming language");
    -}
    -
    -    algorithm;
    -
    -xxx;    //comment
    -    yyy;
    -/* test
    - * comment
    - */
    -
    -// Create MIME Base64 with CRLF, per line 76.
    -File f = File("./text.txt", "r");
    -uint line = 0;
    -// The ElementType of data is not aggregation type
    -foreach (encoded; Base64.encoder(data))
    -
    -

    - -
    wstring ws;
    -transcode("hello world",ws);
    -    // transcode from UTF-8 to UTF-16
    -
    - -

    -Example:
    -
    import std.stdio;   //&
    -writeln("Hello world!");
    -if (test) {
    -  writefln("D programming language");
    -}
    -
    -    algorithm;
    -
    -xxx;    //comment
    -    yyy;
    -/+ test
    - + comment
    - +/
    -
    -

    - -
    #!/usr/bin/env rdmd
    -// Computes average line length for standard input.
    -import std.stdio;
    -
    -

    - -
    writefln(q"EOS
    -This
    -is a multi-line
    -heredoc string
    -EOS"
    -);
    -
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9155 + + + +
    +
    +

    ddoc9155

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Note: +test document note + 2nd line + +

      +
      +
      +

      + Example: + +

      +
      +
      +
        +
      1. import std.stdio; //& +writeln("Hello world!"); +if (test) { + writefln("D programming language"); +} + + algorithm; + +xxx; //comment + yyy; +/* test + * comment + */ + +// Create MIME Base64 with CRLF, per line 76. +File f = File("./text.txt", "r"); +uint line = 0; +// The ElementType of data is not aggregation type +foreach (encoded; Base64.encoder(data)) +
      2. +
      +
      +
      +
      + + + +
      +
      +
      +
        +
      1. wstring ws; +transcode("hello world",ws); + // transcode from UTF-8 to UTF-16 +
      2. +
      +
      +
      +
      + + +

      +
      +
      +

      + Example: + +

      +
      +
      +
        +
      1. import std.stdio; //& +writeln("Hello world!"); +if (test) { + writefln("D programming language"); +} + + algorithm; + +xxx; //comment + yyy; +/+ test + + comment + +/ +
      2. +
      +
      +
      +
      + + + +
      +
      +
      +
        +
      1. #!/usr/bin/env rdmd +// Computes average line length for standard input. +import std.stdio; +
      2. +
      +
      +
      +
      + + + +
      +
      +
      +
        +
      1. writefln(q"EOS +This +is a multi-line +heredoc string +EOS" +); +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9305.html b/test/compilable/extra-files/ddoc9305.html index f5b3e2c576f0..0f005b5552bc 100644 --- a/test/compilable/extra-files/ddoc9305.html +++ b/test/compilable/extra-files/ddoc9305.html @@ -1,66 +1,642 @@ - - - ddoc9305 - -

    ddoc9305

    -

    -
    void foo(alias p = (a) => a)(); -
    -
    foo()

    - -
    -
    template X(alias pred = (x) => x)
    template X(alias pred = (x) -{ -int y; -return y; -} -)
    template X(alias pred = (int x) => x)
    template X(alias pred = (int x) -{ -int y; -return y; -} -)
    -


    -
    -
    template X(alias pred = function (x) => x)
    template X(alias pred = function (x) -{ -return x + 1; -} -)
    template X(alias pred = function (int x) => x)
    template X(alias pred = function (int x) -{ -return x + 1; -} -)
    template X(alias pred = function int(x) => x)
    template X(alias pred = function int(x) -{ -return x + 1; -} -)
    template X(alias pred = function int(int x) => x)
    template X(alias pred = function int(int x) -{ -return x + 1; -} -)
    -


    -
    -
    template X(alias pred = delegate (x) => x)
    template X(alias pred = delegate (x) -{ -return x + 1; -} -)
    template X(alias pred = delegate (int x) => x)
    template X(alias pred = delegate (int x) -{ -return x + 1; -} -)
    template X(alias pred = delegate int(x) => x)
    template X(alias pred = delegate int(x) -{ -return x + 1; -} -)
    template X(alias pred = delegate int(int x) => x)
    template X(alias pred = delegate int(int x) -{ -return x + 1; -} -)
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9305 + + + +
    +
    +

    ddoc9305

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(alias p = (a) => a)(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo() +

      +
      + +
      + +
      + +
    • +
      +
      + X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template X(alias pred = (x) => x)
      +template X(alias pred = (x) +{ +int y; +return y; +} +)
      +template X(alias pred = (int x) => x)
      +template X(alias pred = (int x) +{ +int y; +return y; +} +) +
      +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template X(alias pred = function (x) => x)
      +template X(alias pred = function (x) +{ +return x + 1; +} +)
      +template X(alias pred = function (int x) => x)
      +template X(alias pred = function (int x) +{ +return x + 1; +} +)
      +template X(alias pred = function int(x) => x)
      +template X(alias pred = function int(x) +{ +return x + 1; +} +)
      +template X(alias pred = function int(int x) => x)
      +template X(alias pred = function int(int x) +{ +return x + 1; +} +) +
      +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + template X(alias pred = delegate (x) => x)
      +template X(alias pred = delegate (x) +{ +return x + 1; +} +)
      +template X(alias pred = delegate (int x) => x)
      +template X(alias pred = delegate (int x) +{ +return x + 1; +} +)
      +template X(alias pred = delegate int(x) => x)
      +template X(alias pred = delegate int(x) +{ +return x + 1; +} +)
      +template X(alias pred = delegate int(int x) => x)
      +template X(alias pred = delegate int(int x) +{ +return x + 1; +} +) +
      +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9369.html b/test/compilable/extra-files/ddoc9369.html index 3a9f15b2c7f4..35506d27dc43 100644 --- a/test/compilable/extra-files/ddoc9369.html +++ b/test/compilable/extra-files/ddoc9369.html @@ -1,21 +1,526 @@ - - - ddoc9369 - -

    ddoc9369

    -

    -
    void foo(); -
    -
    Sample:
    -
    a=1;
    -writeln(AddressOf!a);
    -Exclamation
    -QuestionMark
    -
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9369 + + + +
    +
    +

    ddoc9369

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Sample: + +

      +
      +
      +
        +
      1. a=1; +writeln(AddressOf!a); +Exclamation +QuestionMark +
      2. +
      +
      +
      +
      + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9475.html b/test/compilable/extra-files/ddoc9475.html index 6576aa7c233f..fcbc29d891e5 100644 --- a/test/compilable/extra-files/ddoc9475.html +++ b/test/compilable/extra-files/ddoc9475.html @@ -1,33 +1,580 @@ - - - ddoc9475 - -

    ddoc9475

    -

    -
    void foo(); -
    -
    foo

    -Examples:
    -
    -// comment 1
    -foreach (i; 0 .. 10)
    -{
    -    // comment 2
    -    documentedFunction();
    -}
    -
    -

    -
    -
    void bar(); -
    -
    bar

    -Examples:
    -
    -// bar comment
    -
    -

    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9475 + + + +
    +
    +

    ddoc9475

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. // comment 1 +foreach (i; 0 .. 10) +{ + // comment 2 + documentedFunction(); +} +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void bar(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + bar +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. // bar comment +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9497a.html b/test/compilable/extra-files/ddoc9497a.html index 096073cf5388..10af822208a2 100644 --- a/test/compilable/extra-files/ddoc9497a.html +++ b/test/compilable/extra-files/ddoc9497a.html @@ -1,18 +1,518 @@ - - - ddoc9497a - -

    ddoc9497a

    -

    -
    void foo(); -
    -
    foo function. -

    -Args:
    -

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9497a + + + +
    +
    +

    ddoc9497a

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo function. + +

      +
      +
      +

      + Args: + +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9497b.html b/test/compilable/extra-files/ddoc9497b.html index c2facf1c9093..6ab765598400 100644 --- a/test/compilable/extra-files/ddoc9497b.html +++ b/test/compilable/extra-files/ddoc9497b.html @@ -1,18 +1,518 @@ - - - ddoc9497b - -

    ddoc9497b

    -

    -
    void foo(); -
    -
    foo function. -

    -Args:
    -$(XYZ arg1, arg2)

    - -
    -
    - -
    Page generated by Ddoc. $(COPYRIGHT ) - + + + + + + ddoc9497b + + + +
    +
    +

    ddoc9497b

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo function. + +

      +
      +
      +

      + Args: +$(XYZ arg1, arg2) +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9497c.html b/test/compilable/extra-files/ddoc9497c.html index 4dc80efd3f2d..6d157ba4605b 100644 --- a/test/compilable/extra-files/ddoc9497c.html +++ b/test/compilable/extra-files/ddoc9497c.html @@ -1,18 +1,518 @@ - - - ddoc9497c - -

    ddoc9497c

    -

    -
    void foo(); -
    -
    foo function. -

    -Args:
    -arg1, arg2

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9497c + + + +
    +
    +

    ddoc9497c

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo function. + +

      +
      +
      +

      + Args: +arg1, arg2 +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9497d.html b/test/compilable/extra-files/ddoc9497d.html index 02e5d61aebd6..fd7a025737c4 100644 --- a/test/compilable/extra-files/ddoc9497d.html +++ b/test/compilable/extra-files/ddoc9497d.html @@ -1,18 +1,518 @@ - - - ddoc9497d - -

    ddoc9497d

    -

    -
    void foo(); -
    -
    foo function. -

    -Args:
    -ERROR_UNDEFINED_MACRO: "XYZ"

    - -
    -
    - -
    Page generated by Ddoc. ERROR_UNDEFINED_MACRO: "COPYRIGHT" - + + + + + + ddoc9497d + + + +
    +
    +

    ddoc9497d

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo function. + +

      +
      +
      +

      + Args: +ERROR_UNDEFINED_MACRO: "XYZ" +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9676a.html b/test/compilable/extra-files/ddoc9676a.html index 98962158faf8..0118ccec0e51 100644 --- a/test/compilable/extra-files/ddoc9676a.html +++ b/test/compilable/extra-files/ddoc9676a.html @@ -1,14 +1,504 @@ - - - ddoc9676a - -

    ddoc9676a

    -

    -
    deprecated void foo(); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9676a + + + +
    +
    +

    ddoc9676a

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + deprecated void foo(); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9676b.html b/test/compilable/extra-files/ddoc9676b.html index 3aac09c8baa9..c712bfe26b8a 100644 --- a/test/compilable/extra-files/ddoc9676b.html +++ b/test/compilable/extra-files/ddoc9676b.html @@ -1,14 +1,504 @@ - - - ddoc9676b - -

    ddoc9676b

    -

    -
    deprecated void foo(); -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9676b + + + +
    +
    +

    ddoc9676b

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + deprecated void foo(); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9727.html b/test/compilable/extra-files/ddoc9727.html index cb8245075f27..a5af2e037c8e 100644 --- a/test/compilable/extra-files/ddoc9727.html +++ b/test/compilable/extra-files/ddoc9727.html @@ -1,29 +1,561 @@ - - - ddoc9727 - -

    ddoc9727

    -

    -
    void foo(int x); -
    -
    The function foo.

    -Examples:
    -
    -foo(1);
    -
    -

    Examples:
    -foo can be used like this: -
    -foo(2);
    -
    -

    Examples:
    -foo can also be used like this: -
    -foo(3);
    -
    -

    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9727 + + + +
    +
    +

    ddoc9727

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(int x); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + The function foo. +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo(1); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + foo can be used like this: + +

      +
      +
      +
        +
      1. foo(2); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + foo can also be used like this: + +

      +
      +
      +
        +
      1. foo(3); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9764.html b/test/compilable/extra-files/ddoc9764.html index e3222e2d7cbc..604dc5c7b69a 100644 --- a/test/compilable/extra-files/ddoc9764.html +++ b/test/compilable/extra-files/ddoc9764.html @@ -1,14 +1,486 @@ - - - ddoc9764 - -

    ddoc9764

    - - -Check ddoc9764 document. -
    // Check ddoc9764 comment.
    -ddoc9764();
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9764 + + + +
    +
    +

    ddoc9764

    +
    + +Check ddoc9764 document. + +
    +
    +
    +
      +
    1. // Check ddoc9764 comment. +ddoc9764(); +
    2. +
    +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9789.html b/test/compilable/extra-files/ddoc9789.html index 544771281db3..f345aef73e16 100644 --- a/test/compilable/extra-files/ddoc9789.html +++ b/test/compilable/extra-files/ddoc9789.html @@ -1,18 +1,529 @@ - - - ddoc9789 - -

    ddoc9789

    -

    -
    struct S; -
    -


    -
    -
    alias A = S; -
    -


    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9789 + + + +
    +
    +

    ddoc9789

    +
    +
    +
    +
      +
    • +
      +
      + S +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      + A +
      +
      +
      +
      +

      Declaration

      +
      +

      + + alias A = S; + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddoc9903.html b/test/compilable/extra-files/ddoc9903.html index 64c0d63ba752..9e39a670acad 100644 --- a/test/compilable/extra-files/ddoc9903.html +++ b/test/compilable/extra-files/ddoc9903.html @@ -1,48 +1,712 @@ - - - ddoc9903 - -

    ddoc9903

    -

    -
    struct S9903X; -
    struct S9903Y; -
    -
    sss

    - -
    -
    class C9903X; -
    class C9903Y; -
    -
    ccc

    - -
    -
    union U9903X; -
    union U9903Y; -
    -
    uuu

    - -
    -
    interface I9903X; -
    interface I9903Y; -
    -
    iii

    - -
    -
    enum E9903X: int; -
    enum E9903Y: int; -
    -
    eee

    - -
    -
    a9903
    b9903
    -
    ea

    - -
    -
    c9903
    -
    ec

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddoc9903 + + + +
    +
    +

    ddoc9903

    +
    +
    +
    +
      +
    • +
      +
      + S9903X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S9903X; +
      +struct S9903Y; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + sss +

      +
      + +
      + +
      + +
    • +
      +
      + C9903X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class C9903X; +
      +class C9903Y; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + ccc +

      +
      + +
      + +
      + +
    • +
      +
      + U9903X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + union U9903X; +
      +union U9903Y; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + uuu +

      +
      + +
      + +
      + +
    • +
      +
      + I9903X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + interface I9903X; +
      +interface I9903Y; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + iii +

      +
      + +
      + +
      + +
    • +
      +
      + E9903X +
      +
      +
      +
      +

      Declaration

      +
      +

      + + enum E9903X: int; +
      +enum E9903Y: int; + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + eee +

      +
      + +
      + +
      + +
    • +
      +
      + a9903 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + a9903
      +b9903 +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + ea +

      +
      + +
      + +
      + +
    • +
      +
      + c9903 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + c9903 + +

      +
      +
      +
      +
      +
      +
      +
      +

      + ec +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddocYear.html b/test/compilable/extra-files/ddocYear.html index 72343d2cabc7..75d9d3fb58c3 100644 --- a/test/compilable/extra-files/ddocYear.html +++ b/test/compilable/extra-files/ddocYear.html @@ -1,15 +1,511 @@ - - - ddocYear - -

    ddocYear

    -

    -
    int year; -
    -
    __YEAR__

    - -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddocYear + + + +
    +
    +

    ddocYear

    +
    +
    +
    +
      +
    • +
      +
      + year +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int year; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + 2016 +

      +
      + +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddocbackticks.html b/test/compilable/extra-files/ddocbackticks.html index 6acdf42d994c..ce1ed80bda90 100644 --- a/test/compilable/extra-files/ddocbackticks.html +++ b/test/compilable/extra-files/ddocbackticks.html @@ -1,33 +1,594 @@ - - - ddocbackticks - -

    ddocbackticks

    -Closely related to std.datetime is
    core.time
    , + + + + + + ddocbackticks + + + +
    +
    +

    ddocbackticks

    +
    +
    +

    + Closely related to std.datetime is core.time, and some of the time types used in std.datetime come from there - such as , , and . core.time is publically imported into std.datetime, it isn't necessary - to import it separately.

    + to import it separately. +

    +
    + +
    +
    +
    +
      +
    • +
      +
      + test +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void test(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + This should produce inline code. +

      +
      + +
      + +
      + +
    • +
      +
      + test2 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void test2(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + But `this should NOT be inline' + +

      +
      +
      +

      Discussion

      +

      + However, restarting on a new line should be inline again. +

      +
      + +
      + +
      -
      void test(); -
      -
      This should produce
      inline code
      .

      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); - -

      void test2(); -
      -
      But `this should NOT be inline' -

      -However, restarting on a new line should be
      inline again
      .

      +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + This int foo; should show highlight on foo, but not int. +

      +
      - -
      void foo(); -
      -
      This
      int foo;
      should show highlight on foo, but not int.

      +
      - - +
      -
      Page generated by Ddoc. - +
    • +
    +
    +
    +
    +
    +
    + + diff --git a/test/compilable/extra-files/ddocunittest.html b/test/compilable/extra-files/ddocunittest.html index 88bcd7860325..56aad5eb5eaa 100644 --- a/test/compilable/extra-files/ddocunittest.html +++ b/test/compilable/extra-files/ddocunittest.html @@ -1,399 +1,2550 @@ - - - ddocunittest - -

    ddocunittest

    -

    -
    int foo(int a, int b); -
    -
    foo function - 1 example

    -Examples:
    -
    -assert(foo(1, 1) == 2);
    -
    -

    -
    -
    bool bar(); -
    -
    bar function - 1 example

    -Examples:
    -
    -// documented
    -assert(bar());
    -
    -

    Examples:
    -placeholder -

    -
    -
    void doo(); -
    -
    doo function - no examples

    - -
    -
    int add(int a, int b); -
    -
    add function - 3 examples -

    -Examples:
    -
    assert(add(1, 1) == 2);
    -
    -

    -Examples:
    -
    -// documented
    -assert(add(3, 3) == 6);
    -assert(add(4, 4) == 8);
    -
    -

    Examples:
    -
    -// documented
    -assert(add(5, 5) == 10);
    -assert(add(6, 6) == 12);
    -
    -

    -
    -
    class Foo; -
    -
    class Foo

    -Examples:
    -
    -Foo foo = new Foo;
    -
    -

    -
    -
    class SomeClass; -
    -
    some class - 1 example

    -Examples:
    -
    -SomeClass sc = new SomeClass;
    -
    -

    -
    -
    class Outer; -
    -
    Outer - 1 example

    -Examples:
    -
    -Outer outer = new Outer;
    -
    -

    -
    class Inner; -
    -
    Inner

    -Examples:
    -
    -Inner inner = new Inner;
    -
    -

    -
    -
    -
    -
    void foobar(); -
    -
    foobar - no examples

    - -
    -
    void foo(int x); -
    -
    func - 4 examples -

    -Examples:
    -
    foo(1);
    -
    - -

    -Examples:
    -
    foo(2);
    -
    -

    -Examples:
    -
    -foo(2);
    -
    -

    Examples:
    -
    -foo(4);
    -
    -

    -
    -
    void fooImport(); -
    -
    Examples:
    -test -
    fooImport();
    -
    -

    -
    -
    void fooStaticImport(); -
    -
    Examples:
    -test -
    fooStaticImport();
    -
    -

    -
    -
    void fooPublicImport(); -
    -
    Examples:
    -test -
    fooPublicImport();
    -
    -

    -
    -
    void fooSelectiveImport(); -
    -
    Examples:
    -test -
    fooSelectiveImport();
    -
    -

    -
    -
    void fooRenamedImport(); -
    -
    Examples:
    -test -
    fooRenamedImport();
    -
    -

    -
    -
    void fooConditionalDecl1a(); -
    -
    Examples:
    -
    int x1a;
    -
    -

    -
    -
    void fooConditionalDecl1b(); -
    -
    Examples:
    -
    int x1b;
    -
    -

    -
    -
    void fooConditionalDecl3a(); -
    -


    -
    -
    void fooConditionalDecl3b(); -
    -


    -
    -
    void barConditionalDecl4a(); -
    -
    Examples:
    -
    int x4a;
    -
    -

    -
    -
    void barConditionalDecl4b(); -
    -
    Examples:
    -
    int x4b;
    -
    -

    -
    -
    void barConditionalDecl6a(); -
    -
    Examples:
    -
    int x6a;
    -
    -

    -
    -
    void barConditionalDecl6b(); -
    -
    Examples:
    -
    int x6b;
    -
    -

    -
    -
    void foo9474(); -
    -
    Examples:
    -Example -
    foo9474();
    -
    -

    -
    -
    void bar9474(); -
    -
    doc

    -Examples:
    -Example -
    bar9474();
    -
    -

    -
    -
    struct S9474; -
    -
    Examples:
    -
    S9474 s;
    -
    -

    -
    -
    int autovar9474; -
    -
    Examples:
    -
    int v = autovar9474;
    -
    -

    -
    -
    auto autofun9474(); -
    -
    Examples:
    -
    int n = autofun9474();
    -
    -

    -
    -
    template Template9474()
    -
    Examples:
    -
    alias Template9474!() T;
    -
    -

    -
    void foo(); -
    -
    Shouldn't link following unittest to here

    - -
    -
    -
    -
    void fooNoDescription(); -
    -
    Examples:
    -
    fooNoDescription();
    -
    -

    Examples:
    -
    if (true) {fooNoDescription(); } /* comment */
    -
    -

    -
    -
    void foo9757(); -
    void bar9757(); -
    void baz9757(); -
    -
    test for bugzilla 9757

    -Examples:
    -
    foo9757(); bar9757();
    -
    -

    Examples:
    -
    bar9757(); foo9757();
    -
    -

    -
    -
    auto redBlackTree(E)(E[] elems...); -
    auto redBlackTree(bool allowDuplicates, E)(E[] elems...); -
    auto redBlackTree(alias less, E)(E[] elems...); -
    -
    with template functions

    -Examples:
    -
    -auto rbt1 = redBlackTree(0, 1, 5, 7);
    -auto rbt2 = redBlackTree!string("hello", "world");
    -auto rbt3 = redBlackTree!true(0, 1, 5, 7, 5);
    -auto rbt4 = redBlackTree!"a > b"(0, 1, 5, 7);
    -
    -

    -
    -
    void foo(); -
    -
    test

    -Examples:
    -

    -
    -
    bool balancedParens10519(string, char, char); -
    -
    Examples:
    -
    -auto s = "1 + (2 * (3 + 1 / 2)";
    -assert(!balancedParens10519(s, '(', ')'));
    -
    -

    -
    -
    struct S12097; -
    void f12097(); -
    struct T12097(T); -
    -
    declaration

    -Examples:
    -ddoc code 1 -
    -int a = 1;
    -
    -

    Examples:
    -ddoc code 2 -
    -int[] arr;
    -
    -

    -
    void foo(); -
    -
    method

    - -
    -
    -
    -
    void fun14594a()(); -
    -
    testA

    -Examples:
    -
    fun14594a();
    -
    -

    -
    -
    void fun14594b()(); -
    void fun14594b(T)(T); -
    -
    testB

    -Examples:
    -
    fun14594b(); fun14594b(1);
    -
    -

    -
    -
    void fun14594c()(); -
    void fun14594c(T)(T); -
    -
    testC

    -Examples:
    -
    fun14594c(); fun14594c(1);
    -
    -

    -
    -
    void fun14594d()(); -
    void fun14594d(T)(T); -
    -
    testD

    -Examples:
    -
    fun14594d();
    -
    -

    Examples:
    -
    fun14594d(1);
    -
    -

    -
    -
    void fun14594e()(); -
    -
    testE -

    -concatenated doc-comment fun14594e

    -Examples:
    -doc-unittest fun14594e -
    fun14594e();
    -
    -

    -
    -
    void fun14594f()(); -
    void fun14594f(T)(T); -
    -
    testF -

    -concatenated doc-comment fun14594f

    -Examples:
    -doc-unittest fun14594f -
    fun14594f();
    -
    -

    -
    -
    - -
    Page generated by Ddoc. - + + + + + + ddocunittest + + + +
    +
    +

    ddocunittest

    +
    +
    +
    +
      +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int foo(int a, int b); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foo function - 1 example +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. assert(foo(1, 1) == 2); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + bar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + bool bar(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + bar function - 1 example +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. // documented +assert(bar()); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + placeholder + +

      +
      +
      + +
      + +
    • +
      +
      + doo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void doo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + doo function - no examples +

      +
      + +
      + +
      + +
    • +
      +
      + add +
      +
      +
      +
      +

      Declaration

      +
      +

      + + int add(int a, int b); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + add function - 3 examples + +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. assert(add(1, 1) == 2); +
      2. +
      +
      +
      +
      + +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. // documented +assert(add(3, 3) == 6); +assert(add(4, 4) == 8); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. // documented +assert(add(5, 5) == 10); +assert(add(6, 6) == 12); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + Foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Foo; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + class Foo +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. Foo foo = new Foo; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + class SomeClass; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + some class - 1 example +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. SomeClass sc = new SomeClass; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + Outer +
      +
      +
      +
      +

      Declaration

      +
      +

      + + class Outer; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + Outer - 1 example +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. Outer outer = new Outer; +
      2. +
      +
      +
      +
      + +

      +
      +
      +
        +
      • +
        +
        + Inner +
        +
        +
        +
        +

        Declaration

        +
        +

        + + class Inner; + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Inner +

        +
        +
        +

        Examples

        +

        + +

        +
        +
        +
          +
        1. Inner inner = new Inner; +
        2. +
        +
        +
        +
        + +

        +
        +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      + foobar +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foobar(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + foobar - no examples +

      +
      + +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(int x); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + func - 4 examples + +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo(1); +
      2. +
      +
      +
      +
      + + +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo(2); +
      2. +
      +
      +
      +
      + +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo(2); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo(4); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fooImport(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + test + +

      +
      +
      +
        +
      1. fooImport(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooStaticImport(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + test + +

      +
      +
      +
        +
      1. fooStaticImport(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooPublicImport(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + test + +

      +
      +
      +
        +
      1. fooPublicImport(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooSelectiveImport(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + test + +

      +
      +
      +
        +
      1. fooSelectiveImport(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooRenamedImport(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + test + +

      +
      +
      +
        +
      1. fooRenamedImport(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooConditionalDecl1a(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x1a; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooConditionalDecl1b(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x1b; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooConditionalDecl3a(); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooConditionalDecl3b(); + + +

      +
      +
      +
      +
      +
      + + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void barConditionalDecl4a(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x4a; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void barConditionalDecl4b(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x4b; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void barConditionalDecl6a(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x6a; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void barConditionalDecl6b(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int x6b; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + foo9474 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo9474(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + Example + +

      +
      +
      +
        +
      1. foo9474(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + bar9474 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void bar9474(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + doc +

      +
      +
      +

      Examples

      +

      + Example + +

      +
      +
      +
        +
      1. bar9474(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + S9474 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S9474; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. S9474 s; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + int autovar9474; + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int v = autovar9474; +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + auto autofun9474(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. int n = autofun9474(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + template Template9474() + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. alias Template9474!() T; +
      2. +
      +
      +
      +
      + +

      +
      +
      +
        +
      • +
        +
        + foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + void foo(); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + Shouldn't link following unittest to here +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + void fooNoDescription(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fooNoDescription(); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. if (true) {fooNoDescription(); } /* comment */ +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + foo9757 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo9757(); +
      +void bar9757(); +
      +void baz9757(); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + test for bugzilla 9757 +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. foo9757(); bar9757(); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. bar9757(); foo9757(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + auto redBlackTree(E)(E[] elems...); +
      +auto redBlackTree(bool allowDuplicates, E)(E[] elems...); +
      +auto redBlackTree(alias less, E)(E[] elems...); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + with template functions +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. auto rbt1 = redBlackTree(0, 1, 5, 7); +auto rbt2 = redBlackTree!string("hello", "world"); +auto rbt3 = redBlackTree!true(0, 1, 5, 7, 5); +auto rbt4 = redBlackTree!"a > b"(0, 1, 5, 7); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + foo +
      +
      +
      +
      +

      Declaration

      +
      +

      + + void foo(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + test +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      + +
      + +
    • +
      +
      +
      +

      Declaration

      +
      +

      + + bool balancedParens10519(string, char, char); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. auto s = "1 + (2 * (3 + 1 / 2)"; +assert(!balancedParens10519(s, '(', ')')); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      +
      + S12097 +
      +
      +
      +
      +

      Declaration

      +
      +

      + + struct S12097; +
      +void f12097(); +
      +struct T12097(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + declaration +

      +
      +
      +

      Examples

      +

      + ddoc code 1 + +

      +
      +
      +
        +
      1. int a = 1; +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + ddoc code 2 + +

      +
      +
      +
        +
      1. int[] arr; +
      2. +
      +
      +
      +
      + +

      +
      +
      +
        +
      • +
        +
        + foo +
        +
        +
        +
        +

        Declaration

        +
        +

        + + void foo(); + + +

        +
        +
        +
        +
        +
        +
        +
        +

        + method +

        +
        + +
        + +
        + +
      • +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594a()(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + testA +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fun14594a(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594b()(); +
      +void fun14594b(T)(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + testB +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fun14594b(); fun14594b(1); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594c()(); +
      +void fun14594c(T)(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + testC +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fun14594c(); fun14594c(1); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594d()(); +
      +void fun14594d(T)(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + testD +

      +
      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fun14594d(); +
      2. +
      +
      +
      +
      + +

      +
      +

      Examples

      +

      + +

      +
      +
      +
        +
      1. fun14594d(1); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594e()(); + + +

      +
      +
      +
      +
      +
      +
      +
      +

      + testE + +

      +
      +
      +

      Discussion

      +

      + concatenated doc-comment fun14594e +

      +
      +
      +

      Examples

      +

      + doc-unittest fun14594e + +

      +
      +
      +
        +
      1. fun14594e(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
      + +
      +
      +
      +

      Declaration

      +
      +

      + + void fun14594f()(); +
      +void fun14594f(T)(T); + +
      +

      +
      +
      +
      +
      +
      +
      +
      +

      + testF + +

      +
      +
      +

      Discussion

      +

      + concatenated doc-comment fun14594f +

      +
      +
      +

      Examples

      +

      + doc-unittest fun14594f + +

      +
      +
      +
        +
      1. fun14594f(); +
      2. +
      +
      +
      +
      + +

      +
      +
      + +
      + +
    • +
    +
    +
    +
    +
    +
    + +