Crate cranelift_reader[−][src]
Cranelift file reader library.
The cranelift_reader library supports reading .clif files. This functionality is needed for
testing Cranelift, but is not essential for a JIT compiler.
Structs
| Comment |
A comment in a parsed function. |
| Details |
Additional details about a function parsed from a text string. These are useful for detecting test commands embedded in comments etc. The details to not affect the semantics of the function. |
| Location |
The location of a |
| ParseError |
A parse error is returned when the parse failed. |
| SourceMap |
Mapping from entity names to source locations. |
| TestCommand |
A command appearing in a test file. |
| TestFile |
A parsed test case. |
Enums
| IsaSpec |
The ISA specifications in a |
| TestOption |
An option on a test command. |
Functions
| parse_functions |
Parse the entire |
| parse_options |
Parse an iterator of command line options and apply them to |
| parse_test |
Parse the entire |
Type Definitions
| ParseResult |
Result of a parser operation. The |