truncateLexer top-level property

Parser<TruncateParser> truncateLexer
final

identifies truncates

Implementation

final Parser<TruncateParser> truncateLexer =
    (string('truncate()') | string('.truncate()')).map(
      (_) => TruncateParser.empty(),
    );