mago_reflection/type/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;
use serde::Serialize;

use mago_span::Span;

use crate::r#type::kind::TypeKind;

pub mod kind;

#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, PartialOrd, Ord)]
pub struct TypeReflection {
    pub kind: TypeKind,
    pub inferred: bool,
    pub span: Span,
}