wasm-bindgen-backend 0.2.74

Backend code generation of the wasm-bindgen tool
Documentation

A common backend for bindgen crates.

This (internal) crate provides functionality common to multiple bindgen dependency crates. There are 4 main things exported from this crate:

  1. TryToTokens

Provides the ability to attempt conversion from an AST struct into a TokenStream

  1. Diagnostic

A struct used to provide diagnostic responses for failures of said tokenization

  1. ast

Abstract Syntax Tree types used to represent a Rust program, with the necessary metadata to generate bindings for it

  1. util

Common utilities for manipulating parsed types from syn