Cursor.tokens

Obtain Token instances formulating that compose this Cursor.

This is a generator for Token instances. It returns all tokens which occupy the extent this cursor occupies.

Trusted: the API usage follows the LLVM manual. The potential problem would be if clang_tokenize write back invalid addresses.

struct Cursor
@property
tokens
const @trusted
(
)

Return Value

Type: auto

A RefCounted TokenGroup.

Meta