IDENTIFIER top-level property

Parser<IdentifierParser> IDENTIFIER
final

An Identifier has no quotes

Implementation

final Parser<IdentifierParser> IDENTIFIER = ((pattern('A-Za-z') | char('_')) &
        (pattern('A-Za-z0-9') | char('_')).star())
    .flatten()
    .map((value) => IdentifierParser('', value));