Crate wit_parser

Source

Modules§

abi
decoding

Structs§

ArchitectureSize
Architecture specific measurement of position, the combined amount in bytes is bytes + pointers * core::mem::size_of::<*const u8>()
Case
Docs
ElementInfo
Information per structure element
Enum
EnumCase
Field
Flag
Flags
Function
IncludeName
Interface
LiveTypes
Package
A WIT package within a Resolve.
PackageMetadata
Represents serializable doc comments parsed from a WIT package.
PackageName
A structure used to keep track of the name of a package, containing optional information such as a namespace and version information.
Record
Remap
Structure returned by Resolve::merge which contains mappings from old-ids to new-ids after the merge.
Resolve
Representation of a fully resolved set of WIT packages.
Result_
SizeAlign
Collect size and alignment for sub-elements of a structure
SourceMap
A listing of source files which are used to get parsed into an [UnresolvedPackage].
Stream
Tuple
TypeDef
UnresolvedPackage
Representation of a parsed WIT package which has not resolved external dependencies yet.
UnresolvedPackageGroup
Tracks a set of packages, all pulled from the same group of WIT source files.
Variant
World

Enums§

Alignment
Architecture specific alignment
AstItem
FlagsRepr
FunctionKind
Handle
Int
ParsedUsePath
Results
ResultsTypeIter
Stability
Representation of the stability attributes associated with a world, interface, function, or type.
Type
TypeDefKind
TypeOwner
WorldItem
WorldKey
The key to the import/export maps of a world. Either a kebab-name or a unique interface.

Functions§

align_to_arch
Increase val to a multiple of align, with special handling for pointers; align must be a power of two or Alignment::Pointer
parse_use_path
validate_id
Checks if the given string is a legal identifier in wit.

Type Aliases§

InterfaceId
PackageId
Params
TypeId
WorldId