identifierLexer top-level property

Parser<IdentifierParser> identifierLexer
final

An Identifier has no quotes

Implementation

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