STRING_LITERAL_LONG_QUOTE top-level property

Parser<List> STRING_LITERAL_LONG_QUOTE
final

25 STRING_LITERAL_LONG_QUOTE ::= '"""' (('"' | '""')? ([^"] | ECHAR | UCHAR))* '"""'

Implementation

final STRING_LITERAL_LONG_QUOTE = pattern('"').times(3) &
    ((pattern('"') | pattern('"').times(2)).repeat(0, 1) &
            (pattern('^"\\') | ECHAR | UCHAR))
        .star() &
    pattern('"').times(3);