literal method

Parser literal()

Implementation

Parser literal() => ref0(numberLiteral)
    .or(ref0(stringLiteral))
    .or(ref0(characterLiteral))
    .or(ref0(arrayLiteral))
    .or(ref0(byteLiteral))
    .or(ref0(symbolLiteral))
    .or(ref0(nilLiteral))
    .or(ref0(trueLiteral))
    .or(ref0(falseLiteral));