sway-core 0.71.0

Sway core language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::language::Visibility;
use serde::{Deserialize, Serialize};
use sway_types::{ident::Ident, Span, Spanned};

#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct TyIncludeStatement {
    pub span: Span,
    pub visibility: Visibility,
    pub mod_name: Ident,
}

impl Spanned for TyIncludeStatement {
    fn span(&self) -> Span {
        self.span.clone()
    }
}