Home | History | Annotate | Download | only in dmd

Lines Matching refs:OutBuffer

48 import dmd.common.outbuffer;
107 void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
162 override void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
321 override void write(Loc loc, DocComment* dc, Scope* sc, Dsymbols* a, OutBuffer* buf)
375 __gshared OutBuffer mbuf;
377 OutBuffer buf;
456 OutBuffer buf2;
524 void escapeDdocString(OutBuffer* buf, size_t start)
560 * buf = an OutBuffer containing the DDoc
566 private void escapeStrayParenthesis(Loc loc, OutBuffer* buf, size_t start, bool respectBackslashEscapes)
688 private bool emitAnchorName(ref OutBuffer buf, Dsymbol s, Scope* sc, bool includeParent)
719 private void emitAnchor(ref OutBuffer buf, Dsymbol s, Scope* sc, bool forHeader = false)
723 OutBuffer anc;
828 OutBuffer anc;
858 private void expandTemplateMixinComments(TemplateMixin tm, ref OutBuffer buf, Scope* sc)
877 private void emitMemberComments(ScopeDsymbol sds, ref OutBuffer buf, Scope* sc)
918 private void emitVisibility(ref OutBuffer buf, Import i)
925 private void emitVisibility(ref OutBuffer buf, Declaration d)
934 private void emitVisibility(ref OutBuffer buf, Visibility vis)
940 private void emitComment(Dsymbol s, ref OutBuffer buf, Scope* sc)
946 OutBuffer* buf;
949 extern (D) this(ref OutBuffer buf, Scope* sc)
1224 private void toDocBuffer(Dsymbol s, ref OutBuffer buf, Scope* sc)
1230 OutBuffer* buf;
1233 extern (D) this(ref OutBuffer buf, Scope* sc)
1870 void writeSections(Scope* sc, Dsymbols* a, OutBuffer* buf)
1986 * buf = an OutBuffer containing the DDoc
1991 private size_t skipChars(ref OutBuffer buf, size_t i, string chars)
2007 OutBuffer buf;
2105 * buf = an OutBuffer containing the DDoc
2110 private int getMarkdownIndent(ref OutBuffer buf, size_t from, size_t to)
2127 size_t skiptoident(ref OutBuffer buf, size_t i)
2156 private size_t skippastident(ref OutBuffer buf, size_t i)
2186 private size_t skipPastIdentWithDots(ref OutBuffer buf, size_t i)
2248 private size_t skippastURL(ref OutBuffer buf, size_t i)
2287 * buf = an OutBuffer containing the DDoc
2293 private void removeBlankLineMacro(ref OutBuffer buf, ref size_t iAt, ref size_t i)
2310 * buf = an OutBuffer containing the DDoc
2318 private bool replaceMarkdownThematicBreak(ref OutBuffer buf, ref size_t i, size_t iLineStart, const ref Loc loc)
2356 * buf = an OutBuffer containing the DDoc
2362 private int detectAtxHeadingLevel(ref OutBuffer buf, const size_t i)
2386 * buf = an OutBuffer containing the DDoc
2389 private void removeAnyAtxHeadingSuffix(ref OutBuffer buf, size_t i)
2425 * buf = an OutBuffer containing the DDoc
2434 private void endMarkdownHeading(ref OutBuffer buf, size_t iStart, ref size_t iEnd, const ref Loc loc, ref int headingLevel)
2458 * buf = an OutBuffer containing the DDoc
2463 private size_t endAllMarkdownQuotes(ref OutBuffer buf, size_t i, ref int quoteLevel)
2475 * buf = an OutBuffer containing the DDoc
2485 private size_t endAllListsAndQuotes(ref OutBuffer buf, ref size_t i, ref MarkdownList[] nestedLists, ref int quoteLevel, out int quoteMacroLevel)
2498 * buf = an OutBuffer containing the DDoc
2504 private size_t replaceMarkdownEmphasis(ref OutBuffer buf, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, int downToLevel = 0)
2853 * buf = an OutBuffer containing the DDoc
2858 static MarkdownList parseItem(ref OutBuffer buf, size_t iLineStart, size_t i)
2872 * buf = an OutBuffer containing the DDoc
2877 private bool isAtItemInThisList(ref OutBuffer buf, size_t iLineStart, size_t i)
2890 * buf = an OutBuffer containing the DDoc
2898 bool startItem(ref OutBuffer buf, ref size_t iLineStart, ref size_t i, ref size_t iPrecedingBlankLine, ref MarkdownList[] nestedLists, const ref Loc loc)
2949 * buf = an OutBuffer containing the DDoc
2954 static size_t endAllNestedLists(ref OutBuffer buf, size_t i, ref MarkdownList[] nestedLists)
2965 * buf = an OutBuffer containing the DDoc
2970 static void handleSiblingOrEndingList(ref OutBuffer buf, ref size_t i, ref size_t iParagraphStart, ref MarkdownList[] nestedLists)
3003 * buf = an OutBuffer containing the DDoc
3008 private static MarkdownList parseUnorderedListItem(ref OutBuffer buf, size_t iLineStart, size_t i)
3031 * buf = an OutBuffer containing the DDoc
3036 private static MarkdownList parseOrderedListItem(ref OutBuffer buf, size_t iLineStart, size_t i)
3079 * buf = an OutBuffer containing the DDoc
3089 static bool replaceLink(ref OutBuffer buf, ref size_t i, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, int delimiterIndex, ref MarkdownLinkReferences linkReferences)
3139 * buf = an OutBuffer containing the DDoc
3149 static bool replaceReferenceDefinition(ref OutBuffer buf, ref size_t i, ref MarkdownDelimiter[] inlineDelimiters, int delimiterIndex, ref MarkdownLinkReferences linkReferences, const ref Loc loc)
3166 * buf = an OutBuffer containing the DDoc
3170 private size_t parseInlineLink(ref OutBuffer buf, size_t i)
3196 * buf = an OutBuffer containing the DDoc
3201 private size_t parseReferenceLink(ref OutBuffer buf, size_t i, MarkdownDelimiter delimiter)
3225 * buf = an OutBuffer containing the DDoc
3230 private size_t parseReferenceDefinition(ref OutBuffer buf, size_t i, MarkdownDelimiter delimiter)
3273 * buf = an OutBuffer containing the DDoc
3278 private bool parseLabel(ref OutBuffer buf, ref size_t i)
3338 * buf = an OutBuffer containing the DDoc
3343 private bool parseHref(ref OutBuffer buf, ref size_t i)
3406 * buf = an OutBuffer containing the DDoc
3411 private bool parseTitle(ref OutBuffer buf, ref size_t i)
3468 * buf = an OutBuffer containing the DDoc
3474 private void replaceLink(ref OutBuffer buf, ref size_t i, size_t iLinkEnd, MarkdownDelimiter delimiter)
3525 * buf = an OutBuffer containing the DDoc
3533 private void storeAndReplaceDefinition(ref OutBuffer buf, ref size_t i, size_t iEnd, ref MarkdownLinkReferences linkReferences, const ref Loc loc)
3634 * buf = an OutBuffer containing the DDoc
3639 private static bool skipOneNewline(ref OutBuffer buf, ref size_t i) pure
3667 * buf = an OutBuffer containing the DDoc
3672 MarkdownLink lookupReference(string label, ref OutBuffer buf, size_t i, const ref Loc loc)
3721 * buf = an OutBuffer containing the DDoc
3726 private void extractReferences(ref OutBuffer buf, size_t i, const ref Loc loc)
3728 static bool isFollowedBySpace(ref OutBuffer buf, size_t i)
3935 * buf = an OutBuffer containing the DDoc
3941 private size_t parseTableDelimiterRow(ref OutBuffer buf, const size_t iStart, bool inQuote, ref TableColumnAlignment[] columnAlignments)
3984 * buf = an OutBuffer containing the DDoc
3993 private size_t startTable(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, bool inQuote, ref MarkdownDelimiter[] inlineDelimiters, out TableColumnAlignment[] columnAlignments)
4017 * buf = an OutBuffer containing the DDoc
4029 private bool replaceTableRow(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, TableColumnAlignment[] columnAlignments, bool headerRow, out size_t delta)
4157 * buf = an OutBuffer containing the DDoc
4162 private size_t endTable(ref OutBuffer buf, size_t i, ref TableColumnAlignment[] columnAlignments)
4176 * buf = an OutBuffer containing the DDoc
4184 private size_t endRowAndTable(ref OutBuffer buf, size_t iStart, size_t iEnd, const ref Loc loc, ref MarkdownDelimiter[] inlineDelimiters, ref TableColumnAlignment[] columnAlignments)
4199 * buf = an OutBuffer containing the DDoc
4202 private void highlightText(Scope* sc, Dsymbols* a, Loc loc, ref OutBuffer buf, size_t offset)
4476 OutBuffer codebuf;
4660 OutBuffer codebuf;
5071 private void highlightCode(Scope* sc, Dsymbol s, ref OutBuffer buf, size_t offset)
5093 OutBuffer ancbuf;
5106 private void highlightCode(Scope* sc, Dsymbols* a, ref OutBuffer buf, size_t offset)
5174 OutBuffer parametersBuf;
5232 private void highlightCode3(Scope* sc, ref OutBuffer buf, const(char)* p, const(char)* pend)
5247 private void highlightCode2(Scope* sc, Dsymbols* a, ref OutBuffer buf, size_t offset)
5252 OutBuffer res;