Report a bug
		
				If you spot a problem with this page, click here to create a Bugzilla issue.
		
			Improve this page
		
			Quickly fork, edit online, and submit a pull request for this page.
			Requires a signed-in GitHub account. This works well for small changes.
			If you'd like to make larger changes you may want to consider using
			a local clone.
		
	dmd.doc
Compiler implementation of the
 D programming language.
Authors: 
License: 
Source doc.d
Documentation https://dlang.org/phobos/dmd_doc.html
- classSection;
- classParamSection: dmd.doc.Section;
- classMacroSection: dmd.doc.Section;
- voidgendocfile(Modulem);
- voidescapeDdocString(OutBuffer*buf, size_tstart);
- Having unmatched parentheses can hose the output of Ddoc, as the macros depend on properly nested parentheses. This function replaces all ( with ( and ) with ) to preserve text literally. This also means macros in the text won't be expanded.
- voidescapeStrayParenthesis(Locloc, OutBuffer*buf, size_tstart);
- Having unmatched parentheses can hose the output of Ddoc, as the macros depend on properly nested parentheses.Fix by replacing unmatched ( with ( and unmatched ) with ).
- structDocComment;
- 
- static voidparseMacros(Escape**pescapetable, Macro**pmacrotable, const(char)*m, size_tmlen);
- Parse macros out of Macros: section. Macros are of the form: name1 = value1name2 = value2
- static voidparseEscapes(Escape**pescapetable, const(char)*textstart, size_ttextlen);
- Parse escapes of the form: /c/string/ where c is a single character. Multiple escapes can be separated by whitespace and/or commas.
- voidparseSections(const(char)*comment);
- Parse next paragraph out of *pcomment. Update *pcomment to point past paragraph. Returns NULL if no more paragraphs. If paragraph ends in 'identifier:', then (*pcomment)[0 .. idlen] is the identifier.
 
- intcmp(const(char)*stringz, const(void)*s, size_tslen);
- Compare 0-terminated string with length terminated string. Return < 0, ==0, > 0
- boolisDitto(const(char)*comment);
- Return true if comment consists entirely of "ditto".
- const(char)*skipwhitespace(const(char)*p);
- Skip white space.
- size_tskiptoident(OutBuffer*buf, size_ti);
- Scan forward to one of: start of identifier beginning of next line end of buf
- size_tskippastident(OutBuffer*buf, size_ti);
- Scan forward past end of identifier.
- size_tskippastURL(OutBuffer*buf, size_ti);
- Scan forward past URL starting at i. We don't want to highlight parts of a URL.Returns:i if not a URL index just past it if it is a URL
- boolisIdentifier(Dsymbols*a, const(char)*p, size_tlen);
- boolisKeyword(const(char)*p, size_tlen);
- TypeFunctionisTypeFunction(Dsymbols);
- ParameterisFunctionParameter(Dsymbols*a, const(char)*p, size_tlen);
- TemplateParameterisTemplateParameter(Dsymbols*a, const(char)*p, size_tlen);
- boolisReservedName(const(char)*str, size_tlen);
- Return true if str is a reserved symbol name that starts with a double underscore.
- voidhighlightText(Scope*sc, Dsymbols*a, OutBuffer*buf, size_toffset);
- Highlight text section.
- voidhighlightCode(Scope*sc, Dsymbols, OutBuffer*buf, size_toffset);
- Highlight code for DDOC section.
- voidhighlightCode(Scope*sc, Dsymbols*a, OutBuffer*buf, size_toffset);
- voidhighlightCode3(Scope*sc, OutBuffer*buf, const(char)*p, const(char)*pend);
- voidhighlightCode2(Scope*sc, Dsymbols*a, OutBuffer*buf, size_toffset);
- Highlight code for CODE section.
- boolisCVariadicArg(const(char)*p, size_tlen);
- Determine if p points to the start of a "..." parameter identifier.
- boolisIdStart(const(char)*p);
- Determine if p points to the start of an identifier.
- boolisIdTail(const(char)*p);
- Determine if p points to the rest of an identifier.
- boolisIndentWS(const(char)*p);
- Determine if p points to the indentation space.
- intutfStride(const(char)*p);
- Return number of bytes in UTF character.
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on (no date time)