substringLexer top-level property

Parser<SubstringParser> substringLexer
final

identifies substrings

Implementation

final Parser<SubstringParser> substringLexer =
    (string('substring(') | string('.substring('))
        .map((_) => SubstringParser());