Module wast::token

source · []
Expand description

Common tokens that implement the Parse trait which are otherwise not associated specifically with the wasm text format per se (useful in other contexts too perhaps).

Structs

A parsed floating-point type

A parsed floating-point type

An identifier in a WebAssembly module, prefixed by $ in the textual format.

Parses (func $foo)

A convenience type to use with Parser::peek to see if the next token is an s-expression.

An @name annotation in source, currently of the form @name "foo"

A position in the original source stream, used to render errors.

Enums

A reference to another item in a wasm module.