mxmlextrema_as3parser/tree/
type_parameter.rs

1
2
3
4
5
6
7
8
9
use crate::ns::*;
use serde::{Serialize, Deserialize};

/// A type parameter as in `function f.<T>(): void {}`.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct TypeParameter {
    pub location: Location,
    pub name: (String, Location),
}