endsWithLexer top-level property

Parser<EndsWithParser> endsWithLexer
final

identifies endsWiths

Implementation

final Parser<EndsWithParser> endsWithLexer =
    (string('endsWith(') | string('.endsWith('))
        .map((_) => EndsWithParser.empty());