capitalizedType constant

TokenRule const capitalizedType

A capitalised identifier is a type (Foo, _Bar).

Implementation

static const capitalizedType = TokenRule(
  r'_*[A-Z][\w$]*',
  scope: Scopes.type,
);