Function espr::parser::literal [−][src]
pub fn literal(input: &str) -> ParseResult<'_, Literal>
Expand description
251 literal = binary_literal | logical_literal | real_literal | string_literal .
Integer value, e.g. 23
, will be recognized as a real number 23.0
.
Use integer_literal if you wish to parse it as an integer.