toList method

List<Token> toList()

Expands all tokens into a list.

Implementation

List<Token> toList() => _scan(text).toList();