1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::{
parse_tree::{Expression, Visibility},
type_engine::TypeInfo,
};
use sway_types::ident::Ident;
#[derive(Debug, Clone)]
pub struct ConstantDeclaration {
pub name: Ident,
pub type_ascription: TypeInfo,
pub value: Expression,
pub visibility: Visibility,
}