scarf-syntax 0.1.0

A helper crate of scarf for expressing a SystemVerilog concrete syntax tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
// =======================================================================
// numbers.rs
// =======================================================================
// AST Nodes from 1800-2023 A.8.7

use crate::*;

#[derive(Clone, Debug, PartialEq)]
pub struct FixedPointNumber<'a>(pub UnsignedNumber<'a>, pub UnsignedNumber<'a>);

pub type UnsignedNumber<'a> = (&'a str, Metadata<'a>);