Expand description
§pomsky-syntax
Crate for parsing pomsky expressions.
§Usage
let (result, warnings) = pomsky_syntax::parse("let x = 'test'; x*", 256);
assert!(result.is_some());
assert!(warnings.is_empty());
Modules§
Structs§
- Span
- A source code location, marked by the start and end byte offset. If both are
zero, this is considered as “empty” or “missing”, and
Span::range
returnsNone
.
Functions§
- parse
- Parses a source string as a pomsky expression.