Type Alias Literal
Source pub type Literal = Literal<Span>;
struct Literal {
pub symbol: Symbol,
pub span: SpanData<SyntaxContext>,
pub kind: LitKind,
pub suffix: Option<Symbol>,
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.