DDocUtils.getDocTokens

Returns the surrounding documentation comment tokens.

struct DDocUtils
static
Token*[]
getDocTokens
(
,
bool function(
Token*
)
isDocComment = &isDDocComment
)

Parameters

node
Type: Node

The node to find doc comments for.

isDocComment
Type: bool function(
Token*
)

A function predicate that checks for doc comment tokens. Note: This function works correctly only if the source text is syntactically correct.

Meta