Docs.rs
harn-parser-0.7.17
harn-parser 0.7.17
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
kennethsinder
Dependencies
harn-lexer ^0.7
normal
yansi ^1
normal
Versions
29.88%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module typechecker
harn_
parser
0.7.17
Module typechecker
Module Items
Structs
Enums
Functions
In crate harn_
parser
harn_parser
Module
typechecker
Copy item path
Source
Structs
§
Inlay
Hint
Info
An inlay hint produced during type checking.
Type
Checker
The static type checker.
Type
Diagnostic
A diagnostic produced by the type checker.
Enums
§
Diagnostic
Severity
Functions
§
block_
definitely_
exits
Check whether a block definitely exits (contains a terminating statement).
format_
type
Pretty-print a type expression for display in error messages.
shape_
mismatch_
detail
Produce a detail string describing why a Shape type is incompatible with another Shape type — e.g. “missing field ‘age’ (int)” or “field ‘name’ has type int, expected string”. Returns
None
if both types are not shapes.
stmt_
definitely_
exits
Check whether a single statement definitely exits (return/throw/break/continue or an if/else where both branches exit).