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 const @trusted scope
tokens
()

Return Value

Type: auto

A range over the tokens.

Meta