codgenhelp 0.0.1

Simplifies structure and enum parsing in Macros1.1

Crate codgenhelp [] [src]

Macrohelper

This crate's goal of this crate is to make you not want to tear your hair out when working with syn crate for Macro's1.1

Some core enums from syn are re-exported that represent core types

Reexports

pub use meta::HashTag;

Modules

bodykind
meta

Structs

Lifetime
MacroInput

Input to a macro1.1 invocation

TokenStream [Unstable]

The main type provided by this crate, representing an abstract stream of tokens.

Enums

ConstExpr
FloatTy
FromLiteral

Derive traits for tests

IntTy
Lit

Literal kind.

StrStyle
Ty

The different kinds of types recognized by the compiler