| 612 | /// e.g., `\x61`. |
| 613 | #[derive(Clone, Debug, Eq, PartialEq)] |
| 614 | pub struct Literal { |
| 615 | /// The span of this literal. |
| 616 | pub span: Span, |
| 617 | /// The kind of this literal. |
| 618 | pub kind: LiteralKind, |
| 619 | /// The Unicode scalar value corresponding to this literal. |
| 620 | pub c: char, |
| 621 | } |
| 622 | |
| 623 | impl Literal { |
| 624 | /// If this literal was written as a `\x` hex escape, then this returns |
no outgoing calls
no test coverage detected