ddoc.lexer

Members

Classes

DdocException
class DdocException

Class for library exception.

Enums

Type
enum Type

DDoc token types.

Functions

getIndent
string getIndent(size_t offset, string text)

Return the indentation present before the given offset. offset should point past the indentation. e.g. : '\t\ttest' => Offset should be 2 (the index of 't'), and getIndent will return '\t\t'. If offset is 1, getIndent returns '\t'.

Structs

Lexer
struct Lexer

Lexer for DDoc comments.

Token
struct Token

DDoc token

Meta

Authors

Brian Schott