memberCall constant

TokenRule const memberCall

After a ., a called name is a function (list.add().

Implementation

static const memberCall = TokenRule(
  r'(?<=\.)[A-Za-z_$][\w$]*(?=[ \t]*(?:<[^<>()\n]*>)?[ \t]*(?:\r?\n[ \t]*)?\()',
  scope: Scopes.function,
);