ptx-90-parser-span-derive 0.1.0

Derive the Spanned helper trait used throughout ptx-90-parser AST types.
Documentation

ptx-90-parser-span-derive

ptx-90-parser-span-derive (imported as ptx_90_parser_span_derive) is a small proc-macro crate that powers the ptx-90-parser project.
It generates Spanned trait implementations for structs and enums whose fields include a span value and mirrors the helper methods that the parser expects.

use ptx_90_parser_span_derive::Spanned;

#[derive(Spanned)]
pub struct Operand {
    pub value: String,
    pub span: Span,
}