slicec 0.3.3

The Slice parser and other core components for Slice compilers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) ZeroC, Inc.

use super::super::*;
use crate::slice_file::Span;
use std::fmt::Debug;

#[derive(Debug)]
pub struct Integer<T: Debug> {
    pub value: T,
    pub span: Span,
}

implement_Element_for!(Integer<T>, "integer", Debug);
implement_Symbol_for!(Integer<T>, Debug);