Crate literalext [−] [src]
This crate provides extension methods to proc-macro
, and proc-macro2
's
Literal
types. These methods provide a mechanism for extracting the value
of the type.
Supported Features
i128
: Add support for interpreting thei128
andu128
integer types. nightly onlyproc-macro2
default: ImplementLiteralExt
onproc_macro2::Literal
.proc-macro
: ImplementLiteralExt
onproc_macro::Literal
. nightly onlydummy
: Export a typeDummyLiteral
with a public constructor which implements theLiteralExt
trait.
Structs
FloatLit |
A type which represents a floating point value. |
IntLit |
A type which represents an integer literal. |
Traits
LiteralExt |